thatchunkylad198966
Posts: 450
Joined: Thu Jul 04, 2019 10:21 am
Location: UK, Birmingham

Re: USB-MSD boot EEPROM update - 2020-05-28

Wed Jun 03, 2020 3:47 pm

Why doesn't 5ghz work?

User avatar
HawaiianPi
Posts: 6217
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: USB-MSD boot EEPROM update - 2020-05-28

Wed Jun 03, 2020 4:24 pm

thatchunkylad198966 wrote:
Wed Jun 03, 2020 3:47 pm
Why doesn't 5ghz work?
Works for me. ¯\_(ツ)_/¯

When did it stop working for you?
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

wildestpixel
Posts: 72
Joined: Sun May 26, 2019 7:45 pm
Contact: Website

Re: USB-MSD boot EEPROM update - 2020-05-28

Wed Jun 03, 2020 6:59 pm

HawaiianPi wrote:
Wed Jun 03, 2020 4:24 pm
thatchunkylad198966 wrote:
Wed Jun 03, 2020 3:47 pm
Why doesn't 5ghz work?
Works for me. ¯\_(ツ)_/¯

When did it stop working for you?
A lot of peoples issues with 5G WIFI tend to stem from having routers which have a combined SSID enabled. When you split the 2.4 and 5 to seperate SSID's the power saving roaming effect goes and you can stably attach to either.

In my case in the UK I have the popular BT Whole Home Mesh Discs, which cannot split SSID's, but are rock solid in what they do. Solution for PI's I have to use wifi on - use my ISP's router which I have setup with split bands.
much solution-ness - https://www.wildestpixel.co.uk

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 28358
Joined: Sat Jul 30, 2011 7:41 pm

Re: USB-MSD boot EEPROM update - 2020-05-28

Wed Jun 03, 2020 10:23 pm

thatchunkylad198966 wrote:
Wed Jun 03, 2020 3:47 pm
Why doesn't 5ghz work?
Off topic. Start a new thread for non-MSD related stuff.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

knute
Posts: 664
Joined: Thu Oct 23, 2014 12:14 am
Location: Texas
Contact: Website

Re: USB-MSD boot EEPROM update - 2020-05-28

Thu Jun 04, 2020 12:02 am

trejan wrote:
Wed Jun 03, 2020 2:04 am
knute wrote:
Wed Jun 03, 2020 2:01 am
That doesn't work?

Code: Select all

echo | sudo tee /boot/.firmware_revision 
sudo rpi-update
What does that do?

pi@raspberrypi4B:/boot $ cat /boot/.firmware_revision
b2aabc3ac7852481cb7833ce068f65eaa4476a2f


trejan
Posts: 3064
Joined: Tue Jul 02, 2019 2:28 pm

Re: USB-MSD boot EEPROM update - 2020-05-28

Thu Jun 04, 2020 12:11 am

knute wrote:
Thu Jun 04, 2020 12:02 am
What does that do?

pi@raspberrypi4B:/boot $ cat /boot/.firmware_revision
b2aabc3ac7852481cb7833ce068f65eaa4476a2f
/boot/.firmware_revision is the commit hash for the firmware/kernel that rpi-update last installed. If an apt upgrade overwrote the firmware/kernel but there hasn't been a newer development firmware/kernel then rpi-update will say you're up to date and do nothing. Blanking /boot/.firmware_revision forces rpi-update to run.

RonR
Posts: 2004
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: USB-MSD boot EEPROM update - 2020-05-28

Thu Jun 04, 2020 12:19 am

trejan wrote:
Thu Jun 04, 2020 12:11 am
Blanking /boot/.firmware_revision forces rpi-update to run.

A simple 'sudo rm /boot/.firmware_revision' works equally well and doesn't make people scratch their head.

trejan
Posts: 3064
Joined: Tue Jul 02, 2019 2:28 pm

Re: USB-MSD boot EEPROM update - 2020-05-28

Thu Jun 04, 2020 12:21 am

RonR wrote:
Thu Jun 04, 2020 12:19 am
A simple 'sudo rm /boot/.firmware_revision' works equally well and doesn't make people scratch their head.
If you delete the file then it overwrites the /boot backup.

RonR
Posts: 2004
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: USB-MSD boot EEPROM update - 2020-05-28

Thu Jun 04, 2020 12:57 am

trejan wrote:
Thu Jun 04, 2020 12:21 am
RonR wrote:
Thu Jun 04, 2020 12:19 am
A simple 'sudo rm /boot/.firmware_revision' works equally well and doesn't make people scratch their head.
If you delete the file then it overwrites the /boot backup.

Different strokes, I guess.

If I didn't want the backup firmware and modules overwritten, I'd use:

Code: Select all

sudo SKIP_BACKUP=1 rpi-update

User avatar
HawaiianPi
Posts: 6217
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: USB-MSD boot EEPROM update - 2020-05-28

Thu Jun 04, 2020 1:48 am

Interestingly, VLC stopped displaying video sometime recently.

Not sure exactly when (or why), but sudo apt update && sudo apt full-upgrade -y && sudo rpi-update fixed it, and USB boot still works.

Code: Select all

tim@RaspberryPi4B2:~$ uname -a
Linux RaspberryPi4B2 5.4.44-v8+ #1320 SMP PREEMPT Wed Jun 3 16:20:05 BST 2020 aarch64 GNU/Linux
tim@RaspberryPi4B2:~$ sudo rpi-eeprom-update
BCM2711 detected
Dedicated VL805 EEPROM detected
BOOTLOADER: up-to-date
CURRENT: Thu 28 May 2020 07:22:33 AM UTC (1590650553)
 LATEST: Wed 27 May 2020 05:47:29 PM UTC (1590601649)
 FW DIR: /lib/firmware/raspberrypi/bootloader/beta
VL805: up-to-date
CURRENT: 000138a1
 LATEST: 000137ad
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

User avatar
Gavinmc42
Posts: 5170
Joined: Wed Aug 28, 2013 3:31 am

Re: USB-MSD boot EEPROM update - 2020-05-28

Thu Jun 04, 2020 3:30 am

Kernel 5.4.44?
Time to update again.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

W. H. Heydt
Posts: 14417
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: USB-MSD boot EEPROM update - 2020-05-28

Thu Jun 04, 2020 5:41 pm

Bug (somewhere) that makes the task bar blink in and out a few times then go away if the logged in user is not 'pi' is still present.

If anything more than what is below is needed for debugging, let me know.

Code: Select all

pi@ddc4test:~ $ uname -a
Linux ddc4test 5.4.44-v7l+ #1320 SMP Wed Jun 3 16:13:10 BST 2020 armv7l GNU/Linux

Code: Select all

pi@ddc4test:~ $ sudo rpi-update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Your firmware is already up to date

Code: Select all

pi@ddc4test:~ $ sudo rpi-eeprom-update
BCM2711 detected
Dedicated VL805 EEPROM detected
BOOTLOADER: up-to-date
CURRENT: Wed 03 Jun 2020 12:53:47 PM UTC (1591188827)
 LATEST: Wed 03 Jun 2020 12:53:47 PM UTC (1591188827)
 FW DIR: /lib/firmware/raspberrypi/bootloader/beta
VL805: up-to-date
CURRENT: 000137ad
 LATEST: 000137ad

W. H. Heydt
Posts: 14417
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: USB-MSD boot EEPROM update - 2020-05-28

Thu Jun 04, 2020 5:41 pm

Gavinmc42 wrote:
Thu Jun 04, 2020 3:30 am
Kernel 5.4.44?
Time to update again.
New beta EEPROM package as well.

satadru
Posts: 42
Joined: Thu Apr 18, 2013 5:18 pm

initrd failures?

Thu Jun 04, 2020 6:50 pm

Quirk: using older firmware files (*.elf, *.dat) but current beta rpi4 eeprom firmware.

Code: Select all

sudo vcgencmd version
Feb 10 2020 15:15:59 
Copyright (c) 2012 Broadcom
version d21c2d51634b793e0b0ce2816c4e3d1cf0d87e6b (clean) (release) (start)
sudo ./rpi-eeprom/rpi-eeprom-update 
BCM2711 detected
Dedicated VL805 EEPROM detected
BOOTLOADER: up-to-date
CURRENT: Wed Jun  3 12:53:47 UTC 2020 (1591188827)
 LATEST: Wed Jun  3 12:53:47 UTC 2020 (1591188827)
 FW DIR: /lib/firmware/raspberrypi/bootloader/beta
VL805: up-to-date
CURRENT: 000138a1
 LATEST: 000137ad
This let's me netboot successfully. Obviously those firmware files don't work for USB-MSD, but current *.elf, *.dat files don't let me boot, with the system crapping out before initrd loads.

Before I file a bug report: Is anyone having success at loading an initrd over USB-MSD? I have kernel loading fine, but reliably have failure with the initrd. (Error sometimes ends with a "vcc_sd disabling" message.)

I'm able to load kernel 5.4.44 + initrd just fine via netboot over tftp (using the Feb 10th firmware files but June 3rd eeprom firmware), but newer *.elf and *.dat with the same kernel, dtb, and initrd are causing problems for me.

I'm using an ubuntu focal system, but that shouldn't make a difference since I'm not getting past USB device enumeration when booted via USB-MSD.

This is with a JMS583 equipped m2 nvme enclosure, and those are known to have issues with sketchier cables, but since it reliably works via netboot and not over usb-msd, I figured that there was an issue with usb-msd.

Maybe there is a timeout which helps? If I unplug the cable from the drive, wait the 20 seconds for network booting to start, and then plug in the drive, the drive is seen and works just fine.

I tried setting boot_delay=20 in config.txt on the drive's boot partition, and that didn't help.

Also tried adding usb-storage.delay_use=10 to cmdline.txt, and that didn't help either.

User avatar
dickon
Posts: 1886
Joined: Sun Dec 09, 2012 3:54 pm
Location: Home, just outside Reading

Re: USB-MSD boot EEPROM update - 2020-05-28

Thu Jun 04, 2020 7:08 pm

I managed it with last week's EEPROM and firmware, booting from a USB uSD card reader, and a Pi 0 in gadget mode. Haven't attempted with the 06-03, though.
As it is apparently board policy to disallow any criticism of anything, as it appears to criticise something is to criticise all the users of that something, I will no longer be commenting in threads which are not directly relevant to my uses of the Pi.

User avatar
HawaiianPi
Posts: 6217
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: USB-MSD boot EEPROM update - 2020-05-28

Fri Jun 05, 2020 3:36 am

W. H. Heydt wrote:
Thu Jun 04, 2020 5:41 pm
New beta EEPROM package as well.
:? WTH? I must have updated right before that came out. Oh well, up to date now.

Code: Select all

tim@RaspberryPi4B2:~$ uname -a && sudo rpi-eeprom-update
Linux RaspberryPi4B2 5.4.44-v8+ #1320 SMP PREEMPT Wed Jun 3 16:20:05 BST 2020 aarch64 GNU/Linux
BCM2711 detected
Dedicated VL805 EEPROM detected
BOOTLOADER: up-to-date
CURRENT: Wed 03 Jun 2020 12:53:47 PM UTC (1591188827)
 LATEST: Wed 03 Jun 2020 12:53:47 PM UTC (1591188827)
 FW DIR: /lib/firmware/raspberrypi/bootloader/beta
VL805: up-to-date
CURRENT: 000138a1
 LATEST: 000137ad
USB booting, audio and video all still working. So far so good...


EDIT
Guess that means it's time to close this thread and start a new one...
timg236 wrote:
Tue May 26, 2020 3:07 pm
** Edit: Point at 2020-05-28 release for corrected VLI update fix **
(No more edits, the next release gets a new thread!)
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

User avatar
davidcoton
Posts: 5874
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK
Contact: Website

Re: USB-MSD boot EEPROM update - 2020-05-28

Fri Jun 05, 2020 8:49 am

HawaiianPi wrote:
Fri Jun 05, 2020 3:36 am

Code: Select all

tim@RaspberryPi4B2:~$ uname -a && sudo rpi-eeprom-update
Linux RaspberryPi4B2 5.4.44-v8+ #1320 SMP PREEMPT Wed Jun 3 16:20:05 BST 2020 aarch64 GNU/Linux
BCM2711 detected
Dedicated VL805 EEPROM detected
BOOTLOADER: up-to-date
CURRENT: Wed 03 Jun 2020 12:53:47 PM UTC (1591188827)
 LATEST: Wed 03 Jun 2020 12:53:47 PM UTC (1591188827)
 FW DIR: /lib/firmware/raspberrypi/bootloader/beta
VL805: up-to-date
CURRENT: 000138a1
 LATEST: 000137ad
Why does rpi-eeprom-update insist that VL805 000137ad is later than 000138a1 ?
Is something forgetting to check the beta/stable/critical setting, or is 000138a1 installed in such a way as to confuse the test?
Location: 345th cell on the right of the 210th row of L2 cache

andrum99
Posts: 1384
Joined: Fri Jul 20, 2012 2:41 pm

Re: USB-MSD boot EEPROM update - 2020-05-28

Fri Jun 05, 2020 11:24 am

davidcoton wrote:
Fri Jun 05, 2020 8:49 am

Why does rpi-eeprom-update insist that VL805 000137ad is later than 000138a1 ?
It doesn't. The latest update available to the rpi-eeprom-update script is 000137ad, so when it finds the VL805 has a newer EEPROM it tells you that it is up-to-date. It also reports the latest version available to it, 000137ad, which is correct, although earlier than the version you have installed.

(000138a1 has not been packaged as part of rpi-eeprom-images yet, since it is still under test).

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

Re: USB-MSD boot EEPROM update - 2020-05-28

Fri Jun 05, 2020 12:47 pm

andrum99 wrote:
Fri Jun 05, 2020 11:24 am
davidcoton wrote:
Fri Jun 05, 2020 8:49 am

Why does rpi-eeprom-update insist that VL805 000137ad is later than 000138a1 ?
It doesn't. The latest update available to the rpi-eeprom-update script is 000137ad, so when it finds the VL805 has a newer EEPROM it tells you that it is up-to-date. It also reports the latest version available to it, 000137ad, which is correct, although earlier than the version you have installed.

(000138a1 has not been packaged as part of rpi-eeprom-images yet, since it is still under test).
There's a PR under test for the version number comparison https://github.com/raspberrypi/rpi-eeprom/pull/146

User avatar
davidcoton
Posts: 5874
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK
Contact: Website

Re: USB-MSD boot EEPROM update - 2020-05-28

Fri Jun 05, 2020 1:23 pm

timg236 wrote:
Fri Jun 05, 2020 12:47 pm
There's a PR under test for the version number comparison https://github.com/raspberrypi/rpi-eeprom/pull/146
Looks like that should fix it.
Location: 345th cell on the right of the 210th row of L2 cache

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

Re: USB-MSD boot EEPROM update - 2020-05-28

Fri Jun 05, 2020 1:23 pm

RonR wrote:
Sun May 31, 2020 9:04 pm
@timg236,

I'm using the latest bootloader and vl805:

BCM2711 detected
Dedicated VL805 EEPROM detected
BOOTLOADER: up-to-date
CURRENT: Thu 28 May 07:22:33 UTC 2020 (1590650553)
LATEST: Thu 16 Apr 17:11:26 UTC 2020 (1587057086)
FW DIR: /lib/firmware/raspberrypi/bootloader/critical
VL805: up-to-date
CURRENT: 000138a1
LATEST: 000137ad

and the latest RaspOS (Lite) (4.19.118) + usb-msd-boot-firmware.

With an empty /boot/config.txt, the green activity LED flashes at one second intervals polling an empty SD card slot as expected.

With only 'enable_uart=1' in /boot/config.txt, the green activity LED is solid on 99.9% of the time with an empty SD card slot.

Is this expected behavior?
What's the bootloader configuration?
Do you see anything on the HDMI display when it's in this state?

It might be worth trying the 2020-06-03 release

User avatar
recantha2
Posts: 355
Joined: Wed Nov 14, 2012 9:34 am
Location: Potton, Bedfordshire
Contact: Website Facebook Twitter

Re: USB-MSD boot EEPROM update - 2020-05-28

Fri Jun 05, 2020 1:49 pm

Hi,
I'm trying to test out the latest update (2020-05-28).
I've done the firmware update using rpi-update following the instructions posted.
I've then written the latest Raspbian Lite to a Samsung 850 EVO 500GB SSD.
I've removed the SD card, plugged in the SSD into a USB3 port with a USB-SATA bridge cable.

I'm currently getting the following errors in a loop:

Read start4.elf bytes 2252416 hnd 0x0001010108 hash '604055cff3214d78'
Read fixup4.dat bytes 5400 hnd 0x000002e9 hash 'a29f862f2cffc816'

0x00d03114 0x00000000 0x0000000f

start4.elf: is not compatible
USB-MSD boot requires new software
Get the latest software from https://www.raspberrypi.org/downloads/
ERROR: 00000044

Any ideas what I can do to continue with the test?

Thanks,
--
Michael Horne - @recantha on Twitter
Raspberry Pi Pod blog - http://www.recantha.co.uk/blog
Cambridge Raspberry Jam - https://camjam.me
Pi Wars - https://piwars.org

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

Re: USB-MSD boot EEPROM update - 2020-05-28

Fri Jun 05, 2020 2:52 pm

That doesn't match the start of the hash in rpi-update master

git clone --depth 1 https://github.com/raspberrypi/firmware.git
cd firmware
sha256sum start4.elf
319662b44a4c80d506a1294015c94eef2b5d45fe52ddfad60e58161b2e6ca7df start4.elf

neilshep50
Posts: 21
Joined: Mon Jul 01, 2019 5:02 pm

Re: USB-MSD boot EEPROM update - 2020-05-28

Fri Jun 05, 2020 2:54 pm

recantha2 wrote:
Fri Jun 05, 2020 1:49 pm
Hi,
I'm trying to test out the latest update (2020-05-28).
I've done the firmware update using rpi-update following the instructions posted.
I've then written the latest Raspbian Lite to a Samsung 850 EVO 500GB SSD.
I've removed the SD card, plugged in the SSD into a USB3 port with a USB-SATA bridge cable.

I'm currently getting the following errors in a loop:

Read start4.elf bytes 2252416 hnd 0x0001010108 hash '604055cff3214d78'
Read fixup4.dat bytes 5400 hnd 0x000002e9 hash 'a29f862f2cffc816'

0x00d03114 0x00000000 0x0000000f

start4.elf: is not compatible
USB-MSD boot requires new software
Get the latest software from https://www.raspberrypi.org/downloads/
ERROR: 00000044

Any ideas what I can do to continue with the test?

Thanks,
Plug your SSD into a 3B+, let it set up, then do:

Code: Select all

sudo apt update
sudo apt upgrade
sudo apt rpi-update
Enjoy!

Return to “General discussion”