I'm seeing the same behavior that Marko reported. md5sum matches what you posted. A dump down to bootconf.txt shows BOOT_ORDER=0xf41. However, during the boot process, it shows 0xf21. I will try Marco's workaround....timg236 wrote: ↑Wed May 20, 2020 4:12 pmIt sounds like you may have gotten the EEPROM image via a different route. Different distro?Marko73 wrote: ↑Wed May 20, 2020 3:50 pmJust a small detail but using the EEPROM image from 15/05/20 I initially couldn't get USB booting to work, because the boot order was 0xF21 instead of 0xF41 as described on the bootload configuration page. However, dumping the config to a text file, the boot order was listed as 0xF41. Rewriting the config to the EEPROM also seemed not to behave as expected - rewriting the config with boot order of 0xF41 didn't work at first - I had to change it to something different first, then back to 0xF41 before it worked.
Code: Select all
sudo apt update && sudo apt upgrade cd /lib/firmware/raspberrypi/bootloader/beta md5sum pieeprom-2020-05-15.bin # 7e6c31d3c1af0787a567229ba2e444b9 rpi-eeprom-config pieeprom-2020-05-15.binCode: Select all
[all] BOOT_UART=0 WAKE_ON_GPIO=1 POWER_OFF_ON_HALT=0 DHCP_TIMEOUT=45000 DHCP_REQ_TIMEOUT=4000 TFTP_FILE_TIMEOUT=30000 ENABLE_SELF_UPDATE=1 DISABLE_HDMI=0 SD_BOOT_MAX_RETRIES=1 USB_MSD_BOOT_MAX_RETRIES=1 BOOT_ORDER=0xf41
Code: Select all
pi@ddc4test:~/pieeprom $ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 111.8G 0 disk
├─sda1 8:1 0 512M 0 part /boot
└─sda2 8:2 0 111.3G 0 part /
Code: Select all
pi@ddc4test:~/pieeprom $ blkid
/dev/sda1: LABEL_FATBOOT="SSD_BOOT" LABEL="SSD_BOOT" UUID="E923-8E0A" TYPE="vfat" PARTUUID="5a76e188-01"
/dev/sda2: LABEL="ssd_root" UUID="c0929a72-23fc-4ca5-8a16-919718dcbd8c" TYPE="ext4" PARTUUID="5a76e188-02"
Code: Select all
pi@ddc4test:~/pieeprom $ lsusb
Bus 002 Device 002: ID 174c:55aa ASMedia Technology Inc. Name: ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0557:2213 ATEN International Co., Ltd CS682 2-Port USB 2.0 DVI KVM Switch
Bus 001 Device 003: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Are the characters appearing on the HDMI display or are you using a serial console? There's nothing before Linux which will accept keyboard input. Try removing "quiet" and "splash" from cmdline.txt and make sure that you are using PARTUUID to specify the rootfsRuggedPineapple wrote: ↑Wed May 20, 2020 9:49 pmBooting fails on a Samsung Fit Plus 128 from what I can tell, might be screwing it up. The bootloader appears to see it ( https://imgur.com/a/zTiLHcH screen grab from the boot sequence, board says it's too large to attach) but will just hang forever on a black screen that allows me to input text but isn't a command prompt.
Boot using an SD card and make sure that you have applied to the EEPROM update correctly. You MUST use "rpi-eeprom-update -d -f" and verify BOOT_ORDER=0xf41 (or at least has 4 for MSD boot somewhere)thatchunkylad198966 wrote: ↑Wed May 20, 2020 8:05 pmDone this;
Still won't boot....Create a bootable USB drive
Use the Raspberry Pi Imager to flash Raspbian to a USB mass storage device. Other distros have not been tested and may require updates (e.g. u-boot). One reason for having a public beta is to help get USB MSD boot support into other distros.
Download the updated firmware files *.elf *.dat from the master branch of the Raspberry Pi Firmware Github repo.
Alternatively use sudo rpi-update to update the firmware on a Raspbian SD card install and copy the files from there.
Copy these updates to the boot partition on the USB device. From now on sudo rpi-update can be used from within Raspbian on the USB boot device.
A Linux kernel update is not required. Raspbian has been tested using the 4.19 and 5.4 (32 and 64 bit) kernel.![]()
It might work if the boot file-system is in small partition at the start of the disk. Start.elf and the bootloader assume 512 byte blocks and LBAs are 32-bit, there's a lot of old code so 2TB is completely untested.thatchunkylad198966 wrote: ↑Wed May 20, 2020 6:25 pmThanks. also; can we use drives that are over 2TB?jdb wrote: ↑Wed May 20, 2020 5:40 pmNo. The bootloader uses mass-storage as the boot protocol and is completely unrelated to Linux's choice of access interface.thatchunkylad198966 wrote: ↑Wed May 20, 2020 5:26 pmSorry if this has been asked... do we need usb-storage quirks?
thatchunkylad198966 wrote: ↑Wed May 20, 2020 6:25 pmThanks. also; can we use drives that are over 2TB?
When I run this:timg236 wrote: ↑Thu May 21, 2020 7:54 amBoot using an SD card and make sure that you have applied to the EEPROM update correctly. You MUST use "rpi-eeprom-update -d -f" and verify BOOT_ORDER=0xf41 (or at least has 4 for MSD boot somewhere)thatchunkylad198966 wrote: ↑Wed May 20, 2020 8:05 pmDone this;
Still won't boot....Create a bootable USB drive
Use the Raspberry Pi Imager to flash Raspbian to a USB mass storage device. Other distros have not been tested and may require updates (e.g. u-boot). One reason for having a public beta is to help get USB MSD boot support into other distros.
Download the updated firmware files *.elf *.dat from the master branch of the Raspberry Pi Firmware Github repo.
Alternatively use sudo rpi-update to update the firmware on a Raspbian SD card install and copy the files from there.
Copy these updates to the boot partition on the USB device. From now on sudo rpi-update can be used from within Raspbian on the USB boot device.
A Linux kernel update is not required. Raspbian has been tested using the 4.19 and 5.4 (32 and 64 bit) kernel.![]()
N.B. Vague "it didn't work" posts will be ignored. It's not worth playing 20 questions each time
It just tells me about other commands I should run. I still can't get it to work. I tried flashing Raspbian to the SSD, tried updating the eeprom from within the SDCARD. it doesn't boot. I get four blinking lights and an always on power light. it's a no go.rpi-eeprom-update -d -f
GPT is supported for USB mass storage boot only. SD card GPT will come later because that's different legacy file system code to untangle in start.elf (future rpi-update).
They're on screen. Removing quiet and splash reveals init_resize.sh segfaults all over place, some errors about illegal instructions. It's a freshly etched default raspbian image aside from downloading the .dat and .elf files from git repo, have now also put it on the microSD and it boots. I probably am hosing something in this but can't seem to figure out what.timg236 wrote: ↑Thu May 21, 2020 7:41 amAre the characters appearing on the HDMI display or are you using a serial console? There's nothing before Linux which will accept keyboard input. Try removing "quiet" and "splash" from cmdline.txt and make sure that you are using PARTUUID to specify the rootfsRuggedPineapple wrote: ↑Wed May 20, 2020 9:49 pmBooting fails on a Samsung Fit Plus 128 from what I can tell, might be screwing it up. The bootloader appears to see it ( https://imgur.com/a/zTiLHcH screen grab from the boot sequence, board says it's too large to attach) but will just hang forever on a black screen that allows me to input text but isn't a command prompt.
init_resize.sh will sometimes cause a crash on exit but I think it's more visible with MSD boot. It's interesting that it gets through the bootloader + start.elf loading but fails in a completely different and more reliable Linux stack. I suspect there is something unsafe in init_resize.RuggedPineapple wrote: ↑Thu May 21, 2020 8:54 amThey're on screen. Removing quiet and splash reveals init_resize.sh segfaults all over place, some errors about illegal instructions. It's a freshly etched default raspbian image aside from downloading the .dat and .elf files from git repo, have now also put it on the microSD and it boots. I probably am hosing something in this but can't seem to figure out what.timg236 wrote: ↑Thu May 21, 2020 7:41 amAre the characters appearing on the HDMI display or are you using a serial console? There's nothing before Linux which will accept keyboard input. Try removing "quiet" and "splash" from cmdline.txt and make sure that you are using PARTUUID to specify the rootfsRuggedPineapple wrote: ↑Wed May 20, 2020 9:49 pmBooting fails on a Samsung Fit Plus 128 from what I can tell, might be screwing it up. The bootloader appears to see it ( https://imgur.com/a/zTiLHcH screen grab from the boot sequence, board says it's too large to attach) but will just hang forever on a black screen that allows me to input text but isn't a command prompt.
Yep, that does it. Put the same image on the microSD and let it do it's thing. Used Raspbian's built in SD copier utility to clone it over to the flash drive, shut down, pulled the SD card out and started it up. Boot right to the desktop.timg236 wrote: ↑Thu May 21, 2020 8:59 aminit_resize.sh will sometimes cause a crash on exit but I think it's more visible with MSD boot. It's interesting that it gets through the bootloader + start.elf loading but fails in a completely different and more reliable Linux stack. I suspect there is something unsafe in init_resize.RuggedPineapple wrote: ↑Thu May 21, 2020 8:54 amThey're on screen. Removing quiet and splash reveals init_resize.sh segfaults all over place, some errors about illegal instructions. It's a freshly etched default raspbian image aside from downloading the .dat and .elf files from git repo, have now also put it on the microSD and it boots. I probably am hosing something in this but can't seem to figure out what.timg236 wrote: ↑Thu May 21, 2020 7:41 am
Are the characters appearing on the HDMI display or are you using a serial console? There's nothing before Linux which will accept keyboard input. Try removing "quiet" and "splash" from cmdline.txt and make sure that you are using PARTUUID to specify the rootfs
Are you able to repeat the process but do the first boot from the on-board SD card so that init_resize.sh runs as normal then see if it will boot via MSD afterwards ?
Please post any issues not directly related to USB mass storage boot in a different thread for create firmware/linux bug reports. This sounds like a display issue with either latest firmware or Linux and be sure to post full details of the before/after software version.Janson Hong wrote: ↑Thu May 21, 2020 9:26 amHi - I have one of these
https://www.amazon.co.uk/gp/product/B07 ... UTF8&psc=1
After update to the new firmware this no longer works. The display is blank. Output via HDMI is ok. I have reinstalled the drivers etc but to no avail
JH

@Janson Hong here is probably best place to report issues with 5.4 kernel.timg236 wrote: ↑Thu May 21, 2020 9:45 amPlease post any issues not directly related to USB mass storage boot in a different thread for create firmware/linux bug reports. This sounds like a display issue with either latest firmware or Linux and be sure to post full details of the before/after software version.
You are going to have to be a bit more detailed in your report.stefanu wrote: ↑Thu May 21, 2020 10:39 amcp /lib/firmware/raspberrypi/bootloader/stable/pieeprom-2020-01-17.bin pieeprom.bin on the https://www.raspberrypi.org/documentati ... _config.md ?
I would guess they are intending to say the official documentation is not correct; the file which the configuration info is extracted from no longer exists after the latest updates, cannot therefore be copied as documented.jamesh wrote: ↑Thu May 21, 2020 11:35 amYou are going to have to be a bit more detailed in your report.stefanu wrote: ↑Thu May 21, 2020 10:39 amcp /lib/firmware/raspberrypi/bootloader/stable/pieeprom-2020-01-17.bin pieeprom.bin on the https://www.raspberrypi.org/documentati ... _config.md ?
I've pushed a PR to the docs. If you have a comment on the docs or think that have an improvement suggestion then just do it as a Github PR. It's much more likely that someone will notice.hippy wrote: ↑Thu May 21, 2020 11:47 amI would guess they are intending to say the official documentation is not correct; the file which the configuration info is extracted from no longer exists after the latest updates, cannot therefore be copied as documented.jamesh wrote: ↑Thu May 21, 2020 11:35 amYou are going to have to be a bit more detailed in your report.stefanu wrote: ↑Thu May 21, 2020 10:39 amcp /lib/firmware/raspberrypi/bootloader/stable/pieeprom-2020-01-17.bin pieeprom.bin on the https://www.raspberrypi.org/documentati ... _config.md ?
You need the beta firmware (bootloader), which is dated 2020-05-15.stefanu wrote: ↑Thu May 21, 2020 10:39 amcp /lib/firmware/raspberrypi/bootloader/stable/pieeprom-2020-01-17.bin pieeprom.bin on the https://www.raspberrypi.org/documentati ... _config.md ?
Code: Select all
cp /lib/firmware/raspberrypi/bootloader/beta/pieeprom-2020-05-15.bin pieeprom.bin
The best starting point is to boot from an SD-card then mount the drive under Linux and make sure that's happy copying big files etc. After that, we would probably need UART or Netconsole traces.luftbaum wrote: ↑Thu May 21, 2020 11:13 amI am using a 128GB USB 3.0 SSD.
For me it is working fine through USB 2.0 ports. But when I am plugging it into one of the USB 3.0 Ports, booting takes about 30 minutes and the system is stuttering and halting/freezing a lot (from ranges between thirty seconds to multiple minutes), basically unusable.
If I can assist with any information in that matter, please ask freely!
There's a bug in the current release where if BOOT_ORDER is zero or null it will be set to 0xf21 instead of 0xf41W. H. Heydt wrote: ↑Wed May 20, 2020 11:56 pmI'm seeing the same behavior that Marko reported. md5sum matches what you posted. A dump down to bootconf.txt shows BOOT_ORDER=0xf41. However, during the boot process, it shows 0xf21. I will try Marco's workaround....