-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RockPro64 - spi don't boot from usb3 #257
Comments
Update: An USB-Stick works perfect and boot on USB3 slot. But all my USB3-to-SATA-Adapter (3) failed. Not detected by u-boot |
Ok, i got it working. With an extern usb3 hub (with power supply) my Samsung 860 Pro 256 GB is booting from USB3-Port. I am no coder or linux guru, so i don't know what cause this problem. Power problem? I think it's a timing problem, ssd will get too late power. Sry, for my english. |
I can confirm this issue. Booting from SPI using only an SSD in external USB3 enclosure attached to any USB port (2.0 or 3.0) fails most of the time. However, in my case it doesn't fail every time. Roughly one out of four tries, it works. If it works, systems seems to be stable and reliable (tested up to 1 day of runtime). Is there any progress on this bug? Do you need additional information or logs? |
I've noticed the same irregular booting with 3xRock64's using Apacer SSD on USB3 port with the Pine64 adapter cable |
TLDR; SSD doesn't boot? Try powering SSD drive externally per bullet64 above. So, I think I have a thirsty/different SSD drive. Plugging the 'thirsty/different' SSD drive into a powered USB hub (not the usb->sata adapter port) resulted in consistent booting. I also noticed that during this testing boot behaviour across the rock64's was different. My Rock64's tower case doesn't allow access to the serial pins so I perhaps did this testing the hard way. Off to get/make a multi-head power supply.. |
New USB-Stick. Works fine on active hub with kernel 4.4.x
With kernel 4.18.x sys don't boot.
Kamil, please fix this error ;) |
I have now attached the SSD via an USB 3 compatible Y-cable with a a seperate power supply. This does not resolve the issue for me. The system still hangs 3 out of 4 times when booting, despite the external power supply for the SSD. |
Today i have flashed the u-boot to spi and boot from an ssd with success.
Bootlog https://pastebin.com/asLuPk3G Can someone confirm? |
Can you please try boot multiple times @bullet64 ? |
After this i pushed the button 'Power' and it works. Two times with success!
Two times with success! hard power cycle Two times with success! I am using this image -> https://github.com/ayufan-rock64/linux-u-boot/releases/download/2017.09-rockchip-ayufan-1035-gd646df03ac/u-boot-flash-spi-rockpro64.img.xz |
I think it's a problem with the usb3 connector on the board. I will do some more tests tomorrow. |
If I plug in the plug completely the device will not detected. If I do not plug in the plug completely the device will detected. And all is fine. |
Problem. When i can get ssd to work on usb3 port i have only usb2 transfer rate. I give up....for the moment :) |
I have probably the same issue than @bullet64 , rock64+jms567(pine64)+hdd-wd, both rock64 and jms adapter powered, about half of the time it wont boot (neither from complete power off nor from reboot), if i place a usb3 hub in the middle the device boots every time (no matter if i power the hub or not) (altho i get inconsistent speed in relation to having the hdd plugged directly, probably related to the extra circuitry in the middle or the bad quality of the noname hub, slower than directly plugged but usb3 speed) I have spi flashed on the board and no emmc nor sdcard, and when the device dont boot the card powers the green led, then the red led blinks, then nothing else, when it boots it does the same but it starts to blink activity led on the jms567... When i manage to boot the device from the hdd after a few attempts i have no problems at all, proper usb3 speed, no hang ups, no weird slow downs, no errors that i can see off, totally normal behavior, even under heavy load, i needed to transfer some heavy stuff to the disk and it worked non stop for 4 hours and no issue at all... Im going to use it with the hub for the moment but i would prefer to destiny said hub for other tasks and use the drive plugged directly as intended... I dont have a serial cable atm, maybe ill buy one in a few days and test again... For the SPI i used this method and for the OS im using latest OMV arm64 from here burned with etcher and booted once, then shrink the partition with gparted to make a small partition for the OS and the rest for data...but im 99% sure this is not an OS problem since when it fails the red light on the jms567 never blinks at all, not even once... |
BTW should i start a new issue since @bullet64 have a rockpro64 and i have a rock64? (and refer the issue with this one i guess) |
@bullet64 did you get back to it recently? :) |
@henricazottes No, same error with rc14 and last u-boot. |
I recently updated to U-Boot revision 1063 and have not encountered the problem anymore since then on my Rock64. Updated to the most recent 1065 five days ago and just now tested it again - three restarts in a row without hiccups. Booting fine, directly from a USB3-attached SSD (no SD card, no EMMC). @ayufan At first glance, the fix on the Rock64 might be related to commits 135bc82 and 53c9252. This may be worth looking into to fix it on the RockPro64. |
Log from boot on usb3 -> https://pastebin.com/KaVg2CN0
The text was updated successfully, but these errors were encountered: