anderhoff
Posts: 16
Joined: Thu Dec 25, 2014 8:39 am

BUG: ERROR 44 with Freshly Imaged USB Devices and Unsuccessful Initial Boot(s) using Pi 4Bs

Mon Aug 03, 2020 9:50 am

Hardware:
1x SanDisk Fit 32GB USB 3.0 thumb/flash drive
1x SanDisk Ultra 512GB 3D SSD attached to 1x Apricorn USB 3.x (it's SuperSpeed with UAS for 2.5" Laptop/Notebook HDDs/SSDs) adapter.
1x freshly minted 8GB Raspberry Pi 4 Model B
1x 4GB Raspberry Pi 4 Model B
1x 2GB Raspberry Pi 4 Model B
1x Raspberry Pi 3 Model B (capable of USB booting)

Think I found something here. I used the Raspberry Pi Imager utility to wipe/clear the old data (bad config or otherwise borked for whatever reason) and wrote fresh images to both the SanDisk 512GB Ultra 3D SSD and the SanDisk 32GB FIT USB 3.0 drive.

One will receive an ERROR 44 with any attempted initial boot(s) of these freshly imaged drives when inserted into any Raspberry Pi 4B (my testing with the 2GB/4GB/8GB as I have one each of these models). Power cycling the Pi 4Bs with these freshly imaged USB drives yielded nothing until these USB drives are booted with the Pi 3B first. It's like the Pi 3B somehow sets a bit somewhere that the Pi 4Bs needs and won't boot until set otherwise -- or -- the other work around is to use the SD Copy utility to image the USB drive (seems fine this way from Pi 4B).

What clued me in? Tried moving the then working SSD to the 8GB model - No dice! Is it dead? Test booting with SD card - No issue booting the Pi 4B with the SD card. Checked a few things - realized I needed to update the 8GB Pi 4B's firmware when I saw the version and firmware status. Went back and forth a few times - several times actually - can't prove it now, but it seems the boot order was set to 0x1, but need 0xf41 for USB booting. Also had the "ah-ha light-bulb" moment and pulled up Christopher Barnett's video on USB booting the Raspberry Pi 4B (Jun 14, 2020). Err, oops, wrong video.. In his Jul 26th 2020 "Ultimate Raspberry Pi 4 Rig: M.2 SSD & ICE Tower" video (roughly the 9:30 mark - https://www.youtube.com/watch?v=HIYZwsc19CU), he states he had an issue when he used Etcher to write the image to the NVMe drive (in an USB adapter/enclosure, but the then used the SD Copy utility instead (just like I am doing here). I used the mid-June firmware (as is in his Jun 14th video) and finally got the 0xf41 boot order set; updated the firmware again to the latest and the boot order held ... so things look good.

As I have several Raspberry Pis - a B+ v1.2, 2B v1.1, several 3B v1.2, one of each Pi 4B @ 2GB, 4GB, & 8GB - I found using these freshly imaged devices in a Raspberry Pi 3B first is a work around to this issue. Otherwise, your other option is to boot from an SD card and transfer the information to the SSD with the SD Copy utility.

I got one USB drive to work, and then another, and then another (all those USB drives had prior Pi 3B usage) - but the SSD wasn't well - it somehow became borked. Saved the data needing saving, wiped it clean, and re-imaged it. Then I plugged in the SSD with the USB adapter ... and got ERROR 44 on the Pi 4B - so it wasn't booting. Tried it with the (borked) FIT drive as well .. same results. Place the FIT drive into the Pi 3B - booted, resized, rebooted, running well so far (updating as we speak on the Pi 3B). Likely need to do the same with the SSD .... boot it up once or twice in the Pi 3B, then move/transfer the drive over to the Pi 4B (with success).

So yeah, we have an annoying initial booting from freshly imaged USB devices on Pi 4B bug - it doesn't boot.
Last edited by anderhoff on Mon Aug 03, 2020 10:52 am, edited 1 time in total.

timg236
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 577
Joined: Thu Jun 21, 2018 4:30 pm

Re: BUG: ERROR 44 with Freshly Imaged USB Devices and Unsuccessful Initial Boot(s) using Pi 4Bs

Mon Aug 03, 2020 10:25 am

Your description is missing the previous lines from the HDMI diagnostics screen which would give more context including the hash of the firmware being booted. However, it sounds like the start4.elf file is either missing or too old.

For test purposes (and USB MSD is still under beta test until the next Raspberry Pi OS) nightly builds with latest rpi-update kernel and firmware pre-installed are here

http://downloads.raspberrypi.org/nightlies/

anderhoff
Posts: 16
Joined: Thu Dec 25, 2014 8:39 am

(Resolved) Re: BUG: ERROR 44 with Freshly Imaged USB Devices and Unsuccessful Initial Boot(s) using Pi 4Bs

Mon Aug 03, 2020 1:41 pm

Not your fault. I sometimes think some of these more technical pages should be dated (Posted on ##/##/## && Edited (or Updated) on ##/##/## (---just like ADAFRUIT.com does with their tutorials)).

You are correct, appearantly *.elf & *.dat are newer than those contained in the latest zipped images. The latest firmware is dated something like Jul 17 2020, whereas the zipped images are dated 2020-5-27 (Jun 27 2020). (Another YouTuber's video confirms just that. So, the issue is a) known and b) already has a solution.)

I don't know who, where, when, how, or why.... but somehow far too many people have declared that the public beta of USB MSD (aka USB booting) for the Pi 4B is over and has gone 'stable'. I don't know their source of information. That's an entirely different issue - namely of PR and official communications. Personally, if the Pi 4B "USB Booting" USB MSD is still in public beta, then, for clarity, it should be stated as such rather than "non-default."

I didn't do anything cumbersome, awkward, or super crazy - I just typed maybe three lines at the terminal on the 4GB Pi 4B, and I was off. I can't say the same thing for the 8GB Pi 4B ... clearly, not nearly as smooth. Perhaps the SSD was borked when I tried moving it over to the 8GB Pi 4B. But that almost begs another question (rhetorical, of course)... why would the 2020-5-27 image on the SD card boot the 8GB Pi 4B... but when that same image is installed onto the USB drive, that it wouldn't boot the 8GB Pi 4B ?? why? (rhetorical)

timg236
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 577
Joined: Thu Jun 21, 2018 4:30 pm

Re: BUG: ERROR 44 with Freshly Imaged USB Devices and Unsuccessful Initial Boot(s) using Pi 4Bs

Mon Aug 03, 2020 3:41 pm

" why would the 2020-5-27 image on the SD card boot the 8GB Pi 4B... but when that same image is installed onto the USB drive, that it wouldn't boot the 8GB Pi 4B ?? why? (rhetorical)"
I can't comment on the accuracy of YouTube videos. However, the GPU firmware which supports USB MSD boot is only available via APT-update, rpi-update or a nightly image but not in the 2020-5-27 release.
The next release of Raspberry Pi OS will contain firmware which supports USB MSD.

Return to “Troubleshooting”