Forcing u-boot to detect USB3 storage
#2
(12-29-2018, 11:27 AM)jandastroy Wrote: If you're having intermittent problems with your usb bootup and want to try this, you can type the following in at your u-boot console:

Code:
env set bootcmd 'itest 0 == 1; while itest $? != 0; do run usb_bootretry; done'
env set usb_bootretry 'setenv devnum 0; usb reset; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi'
env save
Please pardon my completely ignorant question - but how to does one access the "u-boot console"? I am having the exact same problem here - I want very badly to just boot direct from the SSD attached to the USB 3.0 port and have yet to find a reliable way to do this. It only comes up about 1 out of every 7 to 10 tries of flipping the power on and off and it's getting ridiculous.

I'd even settle for the easy way I handle this on the Pi - just a small microSD card with "bootcode.bin" and an empty file called "TIMEOUT" where when the pi boots, it waits like 20 seconds before it tries to find an image to boot - which is plenty of time. It works 100% of the time on the Pi - but for the life of me I cannot at all get a consistent reboot out of the Rock64 when trying to use an SSD. 

Any ideas you have I would be eternally grateful!
  Reply


Messages In This Thread
RE: Forcing u-boot to detect USB3 storage - by SirRyanTheGeek - 04-02-2019, 04:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to boot an older, working kernel bits 0 94 11-01-2024, 04:43 PM
Last Post: bits
  problem with debian emmc boot G4zCDzWb 10 1,667 11-01-2024, 04:32 PM
Last Post: bits
  arch rock64 does not boot nemnob 1 963 09-20-2024, 11:18 AM
Last Post: AwU2HBg
  Rock64 won't boot dstallmo 0 636 12-27-2023, 10:34 AM
Last Post: dstallmo
  Disabling last mount time check on boot acwest 0 870 03-03-2023, 09:24 PM
Last Post: acwest
  Swap/Upgrade Storage Device? r00t3d 0 889 08-17-2022, 06:11 AM
Last Post: r00t3d
  USB3.0 Issues at DietPi(Armbian) #22.02.1 t4_4t 3 2,918 08-15-2022, 06:58 PM
Last Post: TRS-80
  Rock64 Rev3 doesn't boot and leds blinking fast dishins 6 8,823 06-30-2022, 06:28 PM
Last Post: rookie_267
  my rock64 can't boot rookie_267 0 1,294 06-27-2022, 06:52 PM
Last Post: rookie_267
  Setting a MAC on Rock64 U-Boot kiriakos 2 4,113 03-23-2021, 04:51 AM
Last Post: kiriakos

Forum Jump:


Users browsing this thread: 2 Guest(s)