0
JDO

Rock64 randomly hangs when booting from USB (via SPI flash)

Recommended Posts

Hi everybody,

 

I recently set up a small server with the Rock64 booting armbian stretch 5.59 stable directly from a 120 GB SSD attached via USB3. Booting is handled with U-Boot from ayufan on the SPI flash. The Rock64 is board revision 2.0, the power supply is the original Pine64 one for the Rock. Besides the SSD, there are no other peripherals connected.

 

The board often (3 out of 4 times) hangs when booting. In this case, all LEDs are lit, the orange network LED will flash and the board is not reachable by SSH and not pingable. My impression is, that it is stuck because the SSD either powered up too late or the USB connection is delayed. However, I cannot confirm my suspicion, because the board also does not output any HDMI signal to my monitor (even if it boots up correctly). If I cut power, re-power and give it another try, it will boot at some point and everything (except the HDMI) will work perfectly.

 

My issue seems to identical to the one described here for the ayufan build. It is noted in that thread, that an external power supply for the SSD might mitigate the problem. I did not have a chance to test this, yet. But I also hope that you guys have a better insight into this and might catch a bug in the armbian image.

Share this post


Link to post
Share on other sites

Hi again,

 

I just wanted to report that the problem persists with the most recent kernel (4.4.156-rockchip64). An external power supply for the SSD did not solve it either. Would be nice if anybody could look into this.

Share this post


Link to post
Share on other sites

I have the same issue and i "solved" it using a usb3 hub between the drive and the rock64, its more like a workaround than a fix but maybe it can help you too, in my case said hub can be powered but its not relevant since the issue goes away no matter if i power it or not...and its a noname hub, if you need any extra information tell me how...also i dont have a serial interface yet, gonna get one in a week or two when i have some extra time...

 

I commented about this on the same post you reference on the ayufan github...

Share this post


Link to post
Share on other sites

I can report that the USB 3 hub did not solve the problem for me. Made no difference at all. The hub was not powered, but since I already tried to power the SSD externally via a Y-cable, I can't imagine that a powered hub would make any difference. The problem persists.

Share this post


Link to post
Share on other sites

USB3.0 boot is problematic for me with 6x Rock64's, 3 SATA->USB, Y cables and powered hub or not. 
Using USB2 is reliable for booting from USB with Ayufan's bionic image.
I seem to get constant kernel crashes on boot with Armbian 4.4.162 though. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0