Using three-dimensional nonlinear simulations of tokamak turbulence, we show that an edge transport barrier (ETB) forms naturally once input power exceeds a threshold value. Profiles, turbulence-driven flows, and neoclassical coefficients are evolved self-consistently. A slow power ramp-up simulation shows that ETB transition is triggered by the turbulence-driven flows via an intermediate phase which involves coherent oscillation of turbulence intensity and E Â B flow shear. A novel observation of the evolution is that the turbulence collapses and the ETB transition begins when R T > 1 at t ¼ t R (R T : normalized Reynolds power), while the conventional transition criterion (x EÂB > c lin where x EÂB denotes mean flow shear) is satisfied only after t ¼ t C ( >t R ), when the mean flow shear grows due to positive feedback. V C 2015 AIP Publishing LLC.