The early August and now late September bootloaders and images seem more stable than the previous. Issue I see on the roc-rk3328-cc on boot with usb storage is “scanning for usb storage” returns 0 devices. It will randomly identify the storage and boot but most times won’t. I’m not sure if this is a timing issue as usb storage devices (I’m specifically using SSD) initiate. Is there a way to add a slight delay before the usb/usb storage scan takes place allowing the devices to initiate if that is actually the problem?
Is this a regression? Some USB storage devices (SanDisk) are just poorly designed and not scannable occasionally no matter if you wait or reset the USB device. You have to do a full power cycle for them to work in u-boot.
I see the same issue with SSD boots on other devices googling the issue. Solutions I have found discuss delaying the boot allowing the SSD devices to power and fully startup before the scan starts. I have 2 different brands Samsung and Crucial. Seems if the board is holding any power, it boots faster than being turned off for a while and powered on. If I reboot or unplug wait a few seconds and plug back in it fails to boot. If I unplug for a while and come back later, once I plug back in it works. The failure also occurs with a powered usb hub. Seems a slightly longer delay in the boot is needed before storage scan.
Is there a boot delay in uboot to pause for an extra second while devices power up/initiate with the board?
You can override the preboot environment variable at the u-boot prompt. It controls how and when USB is detected. You must have a FAT/EFI partition on your boot device to save the environment variables.
env set preboot "sleep 5; $preboot"
env save
reset
Does that matter if the boot usb discovery finds 0 storage devices? Is it even getting to u-boot if 0 storage devices are found? I thought about u-boot interaction but isn’t that on the first partition of the SSD? Or is u-boot still the firmware?
The above assumes Tritium Le Potato or Renegade where the bootloader is from the MMC device. If you are using a board with onboard firmware, then all bets are off.
to clarify, It does not get to u-boot prompt. The latest firmware I am unable to get to boot at all. Will let sit overnight and see if I can tomorrow. I have attached where it fails.
Maybe I misunderstand and what you posted I can still do. I just assume that not getting to the boot prompt I’m not as far as u-boot on the first drive partition since it can’t find a storage device.
Please take the time to read our previous responses about needing a FAT partition. You should be able to control the aspect ratio of your TV on the TV remote.