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

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 2:28 am

cormack wrote:
Sun May 24, 2020 2:23 am
If the /boot entry is pointing to the missing SD card, booting will hang.
Yes, I updated it as needed.

Then I'll assume you also updated cmdline.txt in the boot partition (/dev/sda1) of the SSD to:

Code: Select all

root=PARTUUID=5e3da3da-02

User avatar
cormack
Posts: 42
Joined: Fri Jul 12, 2019 7:39 pm

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 2:36 am

Then I'll assume you also updated cmdline.txt in the boot partition (/dev/sda1) of the SSD to:

Code: Select all

root=PARTUUID=5e3da3da-02
I originally used this SSD to boot to a 3B. When I upgraded to the Pi 4, I simply swapped out the Pi, leaving the SSD totally intact (including the "root=" in cmdline.txt of that SSD vfat partition). When I remove the SD card and attempt to boot, the system is seeing the SSD vfat partition's cmdline.txt file, which still (and has always) pointed root to the ext4 partition. There is no need for me to make any changes to that cmdline.txt.

All other files needed have been rsync'd over from the SD card's vfat partition, to the vfat partition on the SSD.

User avatar
cormack
Posts: 42
Joined: Fri Jul 12, 2019 7:39 pm

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 6:54 am

If it's of any help, Windows 10 identifies the X820 as an "Intel 7 Series Chipset Family SATA AHCI Controller"

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

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 7:13 am

@Cormack,

I suggest you unplug all drives, burn a fresh Raspbian Buster SD card and follow the guide in the OP to update the card and Pi4 firmware, then see if that card will boot in a USB card reader.
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?

srochan
Posts: 2
Joined: Sun May 24, 2020 9:07 am

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 9:36 am

Please help!, I have just bought a raspberry pi 4 - 2 GB.. this is my first time with raspberry..
I installed well and it worked.. but later I am getting this error on boot please .. help!! :cry: :cry:

SD CMD: 0x371a0010 (55) 0x0 0x1fff0001
Failed to open device: 'sdcard'
SD boot failed
BOOT_STOPPED: 0x00000001 0x0

I tried to fix it following the recovery instructions - “Pi 4 EEPROM boot recovery”. But nothing.. the error persists
IMG_6281.jpg
IMG_6281.jpg (99.35 KiB) Viewed 1047 times

fatshark
Posts: 1
Joined: Mon Mar 11, 2013 10:57 pm

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 12:09 pm

This works (finally) on a Pi4 with the following couple of flash drives:
64Gb ... Bus 002 Device 002: ID 0781:5583 SanDisk Corp. Ultra Fit
64Gb ... Bus 002 Device 003: ID 0781:5591 SanDisk Corp. Ultra Flair

I could not get it to work using with the SD card mounted in this SD card reader:
ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash Card Reader
The cause of much frustration ... lesson learned ;)

After a couple of failed attempts what finally worked was:
Write raspbian lite to 32Gb SD card, update the boot loader as instructed (https://www.raspberrypi.org/documentati ... _config.md), reboot, check all OK, update the firmware using sudo rpi-update, reboot, check it works on SD card.

Then install git (sudo apt install git -y) and rpi-clone (see https://github.com/billw2/rpi-clone), then use rpi-clone to copy the SD card to a USB stick (# rpi-clone -f -v sda), shutdown, remove SD card and reboot.

Thanks to all those who contributed to this :)

User avatar
cormack
Posts: 42
Joined: Fri Jul 12, 2019 7:39 pm

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 12:56 pm

HawaiianPi wrote:
Sun May 24, 2020 7:13 am
@Cormack,

I suggest you unplug all drives, burn a fresh Raspbian Buster SD card and follow the guide in the OP to update the card and Pi4 firmware, then see if that card will boot in a USB card reader.
I'd already tried disconnecting everything but the X820, to no effect. I'll re-image the SD card later today, but am curious as to what part of the process specifically, you feel I may have skipped, or that you feel may have been broken and not succeeded the first time.

The current SD card had been created fresh only two weeks ago with the arrival of my 4B, and has not been otherwise manipulated save for regular "apt upgrade", cmdline,txt, and config.txt changes, the latter two of which I am attaching below, for the curious to scrutinize. The thus updated contents of that SD card have been rsync'd to the vfat partition of the SSD so that all files between the two match perfectly. When booting to the SD card, /etc/fstab mounts /boot from the SD card. When attempting to boot from the SSD, I have /etc/fstab set to mount the vfat partition on the SSD. I simply toggle the comment in my fstab...

Code: Select all

#  vvv-- SD CARD VFAT
PARTUUID=97709164-01   /boot                  vfat  defaults 0 2

#  vvv-- SSD VFAT
#PARTUUID=5e3da3da-01   /boot                  vfat  defaults 0 2
Here's the cmdline.txt file...

Code: Select all

console=tty1 root=PARTUUID=5e3da3da-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait logo.nologo plymouth.ignore-serial-consoles ipv6.disable=1
And here is config.txt...

Code: Select all

arm_64bit=0
max_framebuffers=2
gpu_mem=320
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=spi=on
dtparam=watchdog=on
dtparam=audio=on
dtoverlay=w1-gpio
dtoverlay=i2c-rtc,pcf8563
dtoverlay=miniuart-bt
enable_uart=1
core_freq=250
start_x=1
max_usb_current=1
force_turbo=1
Finally, here are the parameters currently configured into the eeprom...

Code: 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

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

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 1:19 pm

cormack wrote:
Sun May 24, 2020 6:54 am
If it's of any help, Windows 10 identifies the X820 as an "Intel 7 Series Chipset Family SATA AHCI Controller"
You're looking at your motherboard SATA controller. That can't be the X820.

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

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 1:23 pm

srochan wrote:
Sun May 24, 2020 9:36 am
Please help!, I have just bought a raspberry pi 4 - 2 GB.. this is my first time with raspberry..
I installed well and it worked.. but later I am getting this error on boot please .. help!! :cry: :cry:

SD CMD: 0x371a0010 (55) 0x0 0x1fff0001
Failed to open device: 'sdcard'
SD boot failed
BOOT_STOPPED: 0x00000001 0x0

I tried to fix it following the recovery instructions - “Pi 4 EEPROM boot recovery”. But nothing.. the error persists
You're not using the beta firmware so there is no USB boot support. You need to follow the instructions on viewtopic.php?f=63&t=274595 if you want to try the USB boot beta.

User avatar
cormack
Posts: 42
Joined: Fri Jul 12, 2019 7:39 pm

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 1:30 pm

trejan wrote:
Sun May 24, 2020 1:19 pm
cormack wrote:
Sun May 24, 2020 6:54 am
If it's of any help, Windows 10 identifies the X820 as an "Intel 7 Series Chipset Family SATA AHCI Controller"
You're looking at your motherboard SATA controller. That can't be the X820.
Ah. I stand corrected. I was mistakenly looking at the IDE controller, and not the "USB Attached SCSI (USA)Mass Storage Device". Unfortunately, the details in that driver are of no value that I can find. :/

jpinhal
Posts: 3
Joined: Sun May 24, 2020 2:02 pm

Re: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)

Sun May 24, 2020 2:23 pm

Hello,

My Raspberry Pi 4B only boots from USB 2.0 ports. Applying quirks doesn't do anything and I have tested all ports.
Does anyone have any idea of what i can do to fix this? (This is my first Pi.)

I followed the procedure below with the exception that that at the end I used the clone SD card utility instead.
https://www.youtube.com/watch?v=zVhYvvrGhMU

My hardware is:
POSUGEAR Carcasa Disco Duro 2.5" USB 3.0 https://www.amazon.es/dp/B077XVTTJC/ref ... 51_TE_item
Kingston A400 SSD SA400S37/240G https://www.amazon.es/dp/B01N5IB20Q/ref ... 51_TE_item
Raspberry Pi 4 Model B Kit 4GB https://www.amazon.es/dp/B07XLK59Z3/ref ... 51_TE_item

I have run the commands below with mouse on USB 2.0, SSD on USB 2.0 and Keyboard on USB 3.0 and no SD card. I do not know how useful they are. Let me know if there are others that could help.

Code: Select all

[email protected]:~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
Bus 001 Device 003: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 005: ID 1e7d:30d4 ROCCAT Arvo Keyboard
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[email protected]:~ $ sudo dmesg | grep usb
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 video=HDMI-A-1:[email protected] smsc95xx.macaddr=DC:A6:32:4E:DD:21 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000  usb-storage:quirks=152d:0578:u  console=ttyS0,115200 console=tty1 root=PARTUUID=d16c64fe-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[    0.133899] usbcore: registered new interface driver usbfs
[    0.133976] usbcore: registered new interface driver hub
[    0.134091] usbcore: registered new device driver usb
[    1.126785] usbcore: registered new interface driver r8152
[    1.126849] usbcore: registered new interface driver lan78xx
[    1.126917] usbcore: registered new interface driver smsc95xx
[    1.130883] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    1.130900] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.130915] usb usb1: Product: xHCI Host Controller
[    1.130930] usb usb1: Manufacturer: Linux 5.4.42-v7l+ xhci-hcd
[    1.130944] usb usb1: SerialNumber: 0000:01:00.0
[    1.132701] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[    1.132717] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.132732] usb usb2: Product: xHCI Host Controller
[    1.132745] usb usb2: Manufacturer: Linux 5.4.42-v7l+ xhci-hcd
[    1.132758] usb usb2: SerialNumber: 0000:01:00.0
[    1.135556] usbcore: registered new interface driver uas
[    1.135719] usbcore: registered new interface driver usb-storage
[    1.145068] usbcore: registered new interface driver usbhid
[    1.145079] usbhid: USB HID core driver
[    1.495684] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    1.678299] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    1.678316] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.678332] usb 1-1: Product: USB2.0 Hub
[    2.005679] usb 1-1.3: new full-speed USB device number 3 using xhci_hcd
[    2.145948] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c534, bcdDevice=29.01
[    2.145966] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.145981] usb 1-1.3: Product: USB Receiver
[    2.145995] usb 1-1.3: Manufacturer: Logitech
[    2.158817] input: Logitech USB Receiver as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C534.0001/input/input0
[    2.226343] hid-generic 0003:046D:C534.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:01:00.0-1.3/input0
[    2.238495] input: Logitech USB Receiver Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/input/input1
[    2.238865] input: Logitech USB Receiver Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/input/input2
[    2.305811] input: Logitech USB Receiver System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/input/input3
[    2.306197] hid-generic 0003:046D:C534.0002: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:01:00.0-1.3/input1
[    2.405673] usb 1-1.4: new high-speed USB device number 4 using xhci_hcd
[    2.616974] usb 1-1.4: New USB device found, idVendor=152d, idProduct=0578, bcdDevice= 2.04
[    2.616992] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.617007] usb 1-1.4: Product: JMS579
[    2.617021] usb 1-1.4: Manufacturer: JMicron
[    2.617035] usb 1-1.4: SerialNumber: 5002627380621689
[    6.269080] usbcore: registered new interface driver brcmfmac
[    6.364412] logitech-djreceiver 0003:046D:C534.0001: hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:01:00.0-1.3/input0
[    6.625759] logitech-djreceiver 0003:046D:C534.0002: hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:01:00.0-1.3/input1
[    6.710894] input: Logitech Wireless Keyboard PID:4023 Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input6
[    6.711867] input: Logitech Wireless Keyboard PID:4023 Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input7
[    6.712052] input: Logitech Wireless Keyboard PID:4023 System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input8
[    6.712318] hid-generic 0003:046D:4023.0003: input,hidraw2: USB HID v1.11 Keyboard [Logitech Wireless Keyboard PID:4023] on usb-0000:01:00.0-1.3/input1:1
[    6.726287] input: Logitech Wireless Mouse PID:4054 Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/0003:046D:4054.0004/input/input13
[    6.726699] hid-generic 0003:046D:4054.0004: input,hidraw3: USB HID v1.11 Mouse [Logitech Wireless Mouse PID:4054] on usb-0000:01:00.0-1.3/input1:2
[    7.300676] input: Logitech Wireless Keyboard PID:4023 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input17
[    7.301719] logitech-hidpp-device 0003:046D:4023.0003: input,hidraw2: USB HID v1.11 Keyboard [Logitech Wireless Keyboard PID:4023] on usb-0000:01:00.0-1.3/input1:1
[    7.444278] input: Logitech Wireless Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/0003:046D:4054.0004/input/input18
[    7.444849] logitech-hidpp-device 0003:046D:4054.0004: input,hidraw3: USB HID v1.11 Mouse [Logitech Wireless Mouse] on usb-0000:01:00.0-1.3/input1:2
[  157.366397] usb 1-1.1: new full-speed USB device number 5 using xhci_hcd
[  157.508856] usb 1-1.1: New USB device found, idVendor=1e7d, idProduct=30d4, bcdDevice= 1.01
[  157.508875] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  157.508891] usb 1-1.1: Product: ROCCAT Arvo
[  157.508906] usb 1-1.1: Manufacturer: ROCCAT
[  157.579135] input: ROCCAT ROCCAT Arvo as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:1E7D:30D4.0005/input/input19
[  157.646956] arvo 0003:1E7D:30D4.0005: input,hidraw4: USB HID v11.10 Keyboard [ROCCAT ROCCAT Arvo] on usb-0000:01:00.0-1.1/input0
[  157.648079] input: ROCCAT ROCCAT Arvo as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.1/0003:1E7D:30D4.0006/input/input20
[  157.716802] arvo 0003:1E7D:30D4.0006: input,hidraw5: USB HID v11.10 Device [ROCCAT ROCCAT Arvo] on usb-0000:01:00.0-1.1/input1
[email protected]:~ $ vcgencmd  bootloader_version
May 15 2020 11:05:52
version 23a9f59b85f5a81bb2eec455e064ef9905216322 (release)
timestamp 1589537152
[email protected]:~ $ vcgencmd  bootloader_config
[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

[email protected]:~ $ 

Iprouteth0
Posts: 3
Joined: Sun May 17, 2020 3:49 am

Re: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)

Sun May 24, 2020 2:26 pm

:D

Worked great for me on first try. Using SanDisk ultra 32gb usb3.0 100MB speed.

Code: Select all

[email protected]:~ $ lsusb
Bus 002 Device 002: ID 0781:5581 SanDisk Corp. Ultra
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root 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

Code: Select all

[email protected]:~ $ vcgencmd bootloader_version
May 15 2020 11:05:52
version 23a9f59b85f5a81bb2eec455e064ef9905216322 (release)
timestamp 1589537152

Code: Select all

[email protected]:~ $ vcgencmd bootloader_config
[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

[email protected]:~ $ sudo rpi-eeprom-update
BCM2711 detected
BOOTLOADER: up-to-date
CURRENT: Fri 15 May 2020 10:05:52 AM UTC (1589537152)
 LATEST: Fri 15 May 2020 10:05:52 AM UTC (1589537152)
 FW DIR: /lib/firmware/raspberrypi/bootloader/beta
VL805: up-to-date
CURRENT: 000137ad
 LATEST: 000137ad

Code: Select all

[email protected]:~ $ lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    1 28.7G  0 disk
├─sda1   8:1    1  256M  0 part /boot
└─sda2   8:2    1 28.4G  0 part /
Last edited by Iprouteth0 on Sun May 24, 2020 2:33 pm, edited 1 time in total.

franmmd
Posts: 2
Joined: Thu Feb 06, 2014 10:40 am

Re: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)

Sun May 24, 2020 2:28 pm

Hi all,

I have a Raspberry 4 4Gb with bootloader:23a9f59b May 15 2020, it start from my SSD Lexar with Orico case, but when I do "sudo reboot now" it does not start up again.

Last message is:
root HUB port 2 init
MSD [03:00] 3.00 000000:02 register MSD

But if I switch off the power it start again without any problem.

Do you have some idea about this issue?

Thanks in advance. :geek:

hans_ar
Posts: 13
Joined: Wed Jul 17, 2019 8:24 am

Re: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)

Sun May 24, 2020 2:50 pm

Hi guys,

I updated firmware and copied all *.dat and *.elf files from github, and i get this

Have to say that i booted raspbian from ssd, so drive is good

Thanks
Attachments
FFC80CAE-56AD-4CB4-B718-7AAD80D4936A.jpeg
FFC80CAE-56AD-4CB4-B718-7AAD80D4936A.jpeg (100.79 KiB) Viewed 903 times

Austin Wilson
Posts: 1
Joined: Sun May 24, 2020 2:49 pm

Re: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)

Sun May 24, 2020 2:58 pm

Can confirm the beta is working on my RPi 4B 4GB model. Tested a 32GB Samsung Fit Plus USB3.1 Flash Drive and a 64GB ADATA SP600 SSD in a StarTech USB3.0 enclosure. Both were using Raspbian desktop. I prefer 64 bit Ubuntu myself, hopefully once this is official they will get their image updated. I even checked this with my overclock of 2.1GHz, no stability issues. Good work RPi team! I have been waiting for this since the release of the 4B and I am not disappointed.

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

Re: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)

Sun May 24, 2020 3:14 pm

Hope the title change is clear, but just to be really sure.

THIS IS BETA QUALITY SOFTWARE. There are likely to be bugs, failures, errors in documentation. If you are a beginner to Raspberry Pi I advise NOT using the USB boot features - stick to SD cards - they will work fine for you just as they have done for the last 8 years for the majority of users.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

sm6hoc
Posts: 1
Joined: Mon Feb 17, 2020 7:55 am

Re: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)

Sun May 24, 2020 3:26 pm

Hi

I think I have done everything but this picture explain maybee for experts on this site whats wrong

https://imgur.com/download/Y1MDXSd/

Lars

User avatar
cormack
Posts: 42
Joined: Fri Jul 12, 2019 7:39 pm

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 3:36 pm

HawaiianPi wrote:
Sun May 24, 2020 7:13 am
@Cormack,

I suggest you unplug all drives, burn a fresh Raspbian Buster SD card and follow the guide in the OP to update the card and Pi4 firmware, then see if that card will boot in a USB card reader.
@HawaiianPi -

I've looked around, but don't have a USB SD card reader available. If unable to proceed otherwise, I suppose I could test with the X820 disconnected, and reclaim the separate SSD i normally use for backups on this system (the one that identifies itself as the VIA Labs device in the lsusb output), to see if that drive will boot. But since I need that drive to backup my primary SSD, I don't see that that will aid in getting the X820 going. Every other indication seems to show that upgrading to the beta eeprom "took", that the bootloader and firmware are reporting the expected versions, the bootloader configuration BOOT_ORDER=0xf41 is correct, and that everything else about the system is working. That it simply won't boot to the X820 is the only challenge.

I'll wait for later releases and go from there.

hans_ar
Posts: 13
Joined: Wed Jul 17, 2019 8:24 am

Re: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)

Sun May 24, 2020 3:47 pm

hans_ar wrote:
Sun May 24, 2020 2:50 pm
Hi guys,

I updated firmware and copied all *.dat and *.elf files from github, and i get this

Have to say that i booted raspbian from ssd, so drive is good

Thanks
I just downloaded .html files that was an error

WZ9V
Posts: 2
Joined: Mon Jan 02, 2017 3:47 am

Re: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)

Sun May 24, 2020 5:35 pm

I just tried mine with a MicroCenter (Kingston) 16GB stick and a Verbatim 32GB stick and neither of them worked.

srochan
Posts: 2
Joined: Sun May 24, 2020 9:07 am

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 6:28 pm

trejan wrote:
Sun May 24, 2020 1:23 pm
srochan wrote:
Sun May 24, 2020 9:36 am
Please help!, I have just bought a raspberry pi 4 - 2 GB.. this is my first time with raspberry..
I installed well and it worked.. but later I am getting this error on boot please .. help!! :cry: :cry:

SD CMD: 0x371a0010 (55) 0x0 0x1fff0001
Failed to open device: 'sdcard'
SD boot failed
BOOT_STOPPED: 0x00000001 0x0

I tried to fix it following the recovery instructions - “Pi 4 EEPROM boot recovery”. But nothing.. the error persists
You're not using the beta firmware so there is no USB boot support. You need to follow the instructions on viewtopic.php?f=63&t=274595 if you want to try the USB boot beta.
Thank you @trejan for answer me. I am really disappointed. It is really possible to do something?. I read the post indicated, but how do I do the rpi-update and the next steps if the raspberry pi doesn't boot? or change the firmware in this conditions?

Mikerhinos
Posts: 3
Joined: Fri May 22, 2020 9:19 am

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 6:35 pm

timg236 wrote:
Fri May 22, 2020 10:22 am
Mikerhinos wrote:
Fri May 22, 2020 9:37 am
Switched to it a few hours ago, working pretty fine using a USB 3.0 key 64Go where I cloned microSD system with the SD Card Copier tool after I upgraded the firmware and rebooted.

Only problems I have for now are sometimes CPU that gets mad and is 100% of charge for 4-5 seconds, and some random raspi crashes (black screen a few seconds, then no more signal to my TV, have to reboot manually.

Overclocked to CPU 2000Mhz and GPU 700Mhz, over voltage 6. Working fine with previous firmware for several months so not sure if it has an incidence (temp is ok, 45-50°C).

Is there any log where I could find some clues on these crashes ?
There's no persistent crash recorder functionality in Raspbian so logging is the best best. Either use a UART or use Linux netconsole
https://wiki.archlinux.org/index.php/Ge ... leshooting

The new bootloader has basic net-console functionality (just text but same configuration string) but that's not supported by start.elf
https://www.raspberrypi.org/documentati ... _config.md

A bit of a background project to remove the dependency on USB serial cables. Making it easy to use would be a good intern project!

Someone else mentioned the over-clocking change. If you are able to find the new stable overclocking speed / voltage then it would be useful to raise a firmware bug about that.

Ok I made a few tests with lower O/C on GPU, no luck, I removed GPU O/C line and got over voltage down to 4, no luck.
I got CPU down to 1900Mhz, no luck.
I removed CPU O/C and over voltage, got back on SD card, lowered my keyboard backlighting to 50%, and it still crashes when trying to watch for example this video : https://www.youtube.com/watch?v=hFZFjoX2cGg

I made a sudo rpi-update, it updated to:
May 22 2020 21:11:13
Copyright (c) 2012 Broadcom
version 4da3e1264076308eda90652cb98b553ae0586390 (clean) (release) (start)
But still these almost instant raspi/video crash when watching some the video I linked (crashes randomly when watching other videos or doing other things).

jpinhal
Posts: 3
Joined: Sun May 24, 2020 2:02 pm

Re: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)

Sun May 24, 2020 10:18 pm

Hello

I just wanted to inform that I finally got it working on the USB 3.0 port.

As it has a JMicron JMS578 chip the solution was to do a firmware update as described in:
viewtopic.php?f=28&t=245931&start=50#p1570022

Please be warned that in my case after doing the firmware update and rebooting, the mouse directly connected on USB2.0 has a bit of wierd behaviour where it stops moving and then moves again.
But since I will be connecting via VNC for me currently is not a big issue. Keyboard on USB2.0 was ok.

Testing returned the following results:

Code: Select all

     Category                  Test                      Result     
HDParm                    Disk Read                 395.96 MB/s              
HDParm                    Cached Disk Read          274.00 MB/s              
DD                        Disk Write                183 MB/s                 
FIO                       4k random read            18945 IOPS (75781 KB/s)  
FIO                       4k random write           7404 IOPS (29616 KB/s)   
IOZone                    4k read                   28381 KB/s               
IOZone                    4k write                  25825 KB/s               
IOZone                    4k random read            19762 KB/s               
IOZone                    4k random write           31227 KB/s               

                          Score: 7827  
jpinhal wrote:
Sun May 24, 2020 2:23 pm
Hello,

My Raspberry Pi 4B only boots from USB 2.0 ports. Applying quirks doesn't do anything and I have tested all ports.
Does anyone have any idea of what i can do to fix this? (This is my first Pi.)

I followed the procedure below with the exception that that at the end I used the clone SD card utility instead.
https://www.youtube.com/watch?v=zVhYvvrGhMU

My hardware is:
POSUGEAR Carcasa Disco Duro 2.5" USB 3.0 https://www.amazon.es/dp/B077XVTTJC/ref ... 51_TE_item
Kingston A400 SSD SA400S37/240G https://www.amazon.es/dp/B01N5IB20Q/ref ... 51_TE_item
Raspberry Pi 4 Model B Kit 4GB https://www.amazon.es/dp/B07XLK59Z3/ref ... 51_TE_item

I have run the commands below with mouse on USB 2.0, SSD on USB 2.0 and Keyboard on USB 3.0 and no SD card. I do not know how useful they are. Let me know if there are others that could help.

Code: Select all

[email protected]:~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
Bus 001 Device 003: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 005: ID 1e7d:30d4 ROCCAT Arvo Keyboard
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[email protected]:~ $ sudo dmesg | grep usb
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 video=HDMI-A-1:[email protected] smsc95xx.macaddr=DC:A6:32:4E:DD:21 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000  usb-storage:quirks=152d:0578:u  console=ttyS0,115200 console=tty1 root=PARTUUID=d16c64fe-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[    0.133899] usbcore: registered new interface driver usbfs
[    0.133976] usbcore: registered new interface driver hub
[    0.134091] usbcore: registered new device driver usb
[    1.126785] usbcore: registered new interface driver r8152
[    1.126849] usbcore: registered new interface driver lan78xx
[    1.126917] usbcore: registered new interface driver smsc95xx
[    1.130883] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    1.130900] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.130915] usb usb1: Product: xHCI Host Controller
[    1.130930] usb usb1: Manufacturer: Linux 5.4.42-v7l+ xhci-hcd
[    1.130944] usb usb1: SerialNumber: 0000:01:00.0
[    1.132701] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[    1.132717] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.132732] usb usb2: Product: xHCI Host Controller
[    1.132745] usb usb2: Manufacturer: Linux 5.4.42-v7l+ xhci-hcd
[    1.132758] usb usb2: SerialNumber: 0000:01:00.0
[    1.135556] usbcore: registered new interface driver uas
[    1.135719] usbcore: registered new interface driver usb-storage
[    1.145068] usbcore: registered new interface driver usbhid
[    1.145079] usbhid: USB HID core driver
[    1.495684] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    1.678299] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    1.678316] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.678332] usb 1-1: Product: USB2.0 Hub
[    2.005679] usb 1-1.3: new full-speed USB device number 3 using xhci_hcd
[    2.145948] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c534, bcdDevice=29.01
[    2.145966] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.145981] usb 1-1.3: Product: USB Receiver
[    2.145995] usb 1-1.3: Manufacturer: Logitech
[    2.158817] input: Logitech USB Receiver as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C534.0001/input/input0
[    2.226343] hid-generic 0003:046D:C534.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:01:00.0-1.3/input0
[    2.238495] input: Logitech USB Receiver Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/input/input1
[    2.238865] input: Logitech USB Receiver Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/input/input2
[    2.305811] input: Logitech USB Receiver System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/input/input3
[    2.306197] hid-generic 0003:046D:C534.0002: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:01:00.0-1.3/input1
[    2.405673] usb 1-1.4: new high-speed USB device number 4 using xhci_hcd
[    2.616974] usb 1-1.4: New USB device found, idVendor=152d, idProduct=0578, bcdDevice= 2.04
[    2.616992] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.617007] usb 1-1.4: Product: JMS579
[    2.617021] usb 1-1.4: Manufacturer: JMicron
[    2.617035] usb 1-1.4: SerialNumber: 5002627380621689
[    6.269080] usbcore: registered new interface driver brcmfmac
[    6.364412] logitech-djreceiver 0003:046D:C534.0001: hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:01:00.0-1.3/input0
[    6.625759] logitech-djreceiver 0003:046D:C534.0002: hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:01:00.0-1.3/input1
[    6.710894] input: Logitech Wireless Keyboard PID:4023 Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input6
[    6.711867] input: Logitech Wireless Keyboard PID:4023 Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input7
[    6.712052] input: Logitech Wireless Keyboard PID:4023 System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input8
[    6.712318] hid-generic 0003:046D:4023.0003: input,hidraw2: USB HID v1.11 Keyboard [Logitech Wireless Keyboard PID:4023] on usb-0000:01:00.0-1.3/input1:1
[    6.726287] input: Logitech Wireless Mouse PID:4054 Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/0003:046D:4054.0004/input/input13
[    6.726699] hid-generic 0003:046D:4054.0004: input,hidraw3: USB HID v1.11 Mouse [Logitech Wireless Mouse PID:4054] on usb-0000:01:00.0-1.3/input1:2
[    7.300676] input: Logitech Wireless Keyboard PID:4023 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input17
[    7.301719] logitech-hidpp-device 0003:046D:4023.0003: input,hidraw2: USB HID v1.11 Keyboard [Logitech Wireless Keyboard PID:4023] on usb-0000:01:00.0-1.3/input1:1
[    7.444278] input: Logitech Wireless Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/0003:046D:4054.0004/input/input18
[    7.444849] logitech-hidpp-device 0003:046D:4054.0004: input,hidraw3: USB HID v1.11 Mouse [Logitech Wireless Mouse] on usb-0000:01:00.0-1.3/input1:2
[  157.366397] usb 1-1.1: new full-speed USB device number 5 using xhci_hcd
[  157.508856] usb 1-1.1: New USB device found, idVendor=1e7d, idProduct=30d4, bcdDevice= 1.01
[  157.508875] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  157.508891] usb 1-1.1: Product: ROCCAT Arvo
[  157.508906] usb 1-1.1: Manufacturer: ROCCAT
[  157.579135] input: ROCCAT ROCCAT Arvo as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:1E7D:30D4.0005/input/input19
[  157.646956] arvo 0003:1E7D:30D4.0005: input,hidraw4: USB HID v11.10 Keyboard [ROCCAT ROCCAT Arvo] on usb-0000:01:00.0-1.1/input0
[  157.648079] input: ROCCAT ROCCAT Arvo as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.1/0003:1E7D:30D4.0006/input/input20
[  157.716802] arvo 0003:1E7D:30D4.0006: input,hidraw5: USB HID v11.10 Device [ROCCAT ROCCAT Arvo] on usb-0000:01:00.0-1.1/input1
[email protected]:~ $ vcgencmd  bootloader_version
May 15 2020 11:05:52
version 23a9f59b85f5a81bb2eec455e064ef9905216322 (release)
timestamp 1589537152
[email protected]:~ $ vcgencmd  bootloader_config
[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

[email protected]:~ $ 

User avatar
cormack
Posts: 42
Joined: Fri Jul 12, 2019 7:39 pm

Re: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)

Sun May 24, 2020 10:27 pm

Found something that may be related to "rpi-update" in all of this.

Where "tvservice -l" would previously show:

Code: Select all

2 attached device(s), display ID's are :
Display Number 2, type HDMI 0
Display Number 7, type HDMI 1
It now renders:

Code: Select all

[E] No multi display support in firmware!
This system, a Pi 4B (2GB), runs headless, with an HDMI Display Emulator dummy plug plugged into each HDMI port on this Pi. So it appears I've got two issues at the moment. A.) I can't boot to the X820 as explained previously, and now I've spotted B.) this glitch with tvservice.

This Pi runs the native Broadcom display driver, not the kms or fkms GL drivers.

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

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 10:36 pm

srochan wrote:
Sun May 24, 2020 6:28 pm
Thank you @trejan for answer me. I am really disappointed. It is really possible to do something?. I read the post indicated, but how do I do the rpi-update and the next steps if the raspberry pi doesn't boot? or change the firmware in this conditions?
I'm giad--in light of your later posts--that you got past these particular issues. However, having these particular issues suggests that you might want to think again about participating in a BETA test. Particularly this early in the beta test.

Return to “General discussion”