JDO Posted September 11, 2018 Posted September 11, 2018 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.
JDO Posted November 12, 2018 Author Posted November 12, 2018 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.
TrashCanMan Posted December 1, 2018 Posted December 1, 2018 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... 1
JDO Posted December 3, 2018 Author Posted December 3, 2018 Thanks TrashCanMan, I'll get a USB 3 hub and look into this.
JDO Posted December 14, 2018 Author Posted December 14, 2018 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.
suberimakuri Posted December 29, 2018 Posted December 29, 2018 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.
JDO Posted July 4, 2019 Author Posted July 4, 2019 Just wanted to report that this has never been fixed or even acknowledged. Not happy
WrongWorld Posted July 10, 2019 Posted July 10, 2019 Add me to the list. Currently I've reluctantly solved by moving the SSD to the USB2 port, which nulls one of the main reasons for having chosen the Rock64. However, I have this idea that the problem is not the kernel, but u-boot which does not properly initialize the USB3 port. It is a fact that sometime you are able to boot from USB3, as long as you have no other current-dragging devices connected (included the HDMI cable). It is still a shot in the dark, i.e. will mostly fail, but if you have other devices connected, in my own experience, there is 0% possibility that the boot from USB3 succeeds. And no, using an USB3 hub does not make any difference, I agree.
JDO Posted September 21, 2019 Author Posted September 21, 2019 Seems to be fixed now. Using ayufan's U-Boot 1065 I had no trouble restarting the board three times in a row. Also multiple times last week. I hope this isn't just a "good phase", but right now, it looks fine.
WrongWorld Posted October 9, 2019 Posted October 9, 2019 Unfortunately it's not my case, I still cannot boot from USB3 even with the latest version of U-Boot.
Recommended Posts