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

Sat May 23, 2020 1:32 pm

chmuhammadsohaib wrote:
Sat May 23, 2020 10:57 am
The update sounds great, but what about USB-C OTG boot? Is it working too via USB-C?
Please keep entirely unrelated questions to a different thread please. Never ceases to amaze me when we announce something, someone always comes along and asks about something completely different. I think it's just plain rude. If we have something to announce about something we would announce it!
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.

Daddyfix
Posts: 52
Joined: Sun Dec 09, 2012 2:13 pm
Location: Sudbury, Ontario

Re: Raspberry Pi 4 USB mass storage beta

Sat May 23, 2020 2:23 pm

:D :D

Its like Christmas! I guess Santa RPi doesnt have Covid-19

Works great with Raspberry Pi 4 Model B Rev 1.1 2GB

Thank you, Im very pleased!

zerpi
Posts: 1
Joined: Sat May 23, 2020 3:05 pm

Re: Raspberry Pi 4 USB mass storage beta

Sat May 23, 2020 3:09 pm

Hi,

Thanks for the good work. Works fine here :

SanDisk Ultra Fit 256Go

Code: Select all

Bus 002 Device 002: ID 0781:5583 SanDisk Corp. Ultra Fit

protonchris
Posts: 2
Joined: Sat May 23, 2020 4:41 pm

Re: Raspberry Pi 4 USB mass storage beta

Sat May 23, 2020 4:50 pm

I also having some issue. My system starts the bootloader and then freezes. Below is the serial console output. Is anyone else having this issue? I have tried using both the USB 2 and USB 3 ports.

USB to Sata:
ASMedia Technology Inc. Name: ASM1051E SATA 6Gb/s bridge

SSD:
Samsung 860 EVO

Thanks,
Chris.

Code: Select all

PM_RSTS: 0x00001000
RPi: BOOTLOADER release VERSION:23a9f59b DATE: May 15 2020 TIME: 11:05:55 BOOTMO   DE: 0x00000006 part: 0 BUILD_TIMESTAMP=1589537152 0x132519b9 0x00c03111
uSD voltage 3.3V
Initialising SDRAM 'Micron' 16Gb x2 total-size: 32 Gbit 3200
Boot mode: SD (01) order f4
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (   1250) status: 0x1fff0000 delay: 1080
SD HOST: 250000000 CTL0: 0x00000f00 BUS: 100000 Hz actual: 100000 HZ div: 2500 (   1250) status: 0x1fff0000 delay: 1080
EMMC
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (   1250) status: 0x1fff0000 delay: 1080
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (   1250) status: 0x1fff0000 delay: 1080
SDV1
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (   1250) status: 0x1fff0000 delay: 1080
SD CMD: 0x371a0010 (55) 0x0 0x1fff0001
Failed to open device: 'sdcard' (cmd 371a0010 status 1fff0001)
Retry SD 1/1
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (   1250) status: 0x1fff0000 delay: 1080
SD HOST: 250000000 CTL0: 0x00000f00 BUS: 100000 Hz actual: 100000 HZ div: 2500 (   1250) status: 0x1fff0000 delay: 1080
EMMC
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (   1250) status: 0x1fff0000 delay: 1080
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (   1250) status: 0x1fff0000 delay: 1080
SDV1
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (   1250) status: 0x1fff0000 delay: 1080
SD CMD: 0x371a0010 (55) 0x0 0x1fff0001
Failed to open device: 'sdcard' (cmd 371a0010 status 1fff0001)
Boot mode: USB-MSD (04) order f
XHCI-STOP
xHC ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
xHC ports 5 slots 32 intrs 4
USB3 rport 2 status 00000000 -> 000002a0
USB3 rport 3 status 00000000 -> 000002a0
USB3 rport 4 status 00000000 -> 000002a0
USB3 rport 5 status 00000000 -> 000002a0
USB2 rport 1 status 00000000 -> 400002e1
USB2 rport 1 status 40000331 -> 40200e03
root HUB port 1 init
DEV [01:00] 2.16 000000:01 class 9 VID 2109 PID 3431
HUB init [01:00] 2.16 000000:01
HUB [01:00] 2.16 000000:01 init port 3 speed 3
DEV [02:01] 2.16 000003:01 class 0 VID 174c PID 55aa
MSD device [02:01] 2.16 000003:01 conf 0 iface 0 ep 81#512 02#512
MSD [02:01] 2.16 000003:01 register MSD
PM_RSTS: 0x00001000
MSD [02:01] 2.16 000003:01 LUN 0
MBR: 0x0000ffff,  524280 type: 0x0c
MBR: 0x0008fff7,487807353 type: 0x83
MBR: 0x00000000,       0 type: 0x00
MBR: 0x00000000,       0 type: 0x00
lba: 65535 oem: 'mkfs.fat' volume: '  V       ^ '
rsc 8 fat-sectors 256 c-count 65466 c-size 8 r-dir 1 r-sec 32
PM_RSTS: 0x00001000
Partition: 0
lba: 65535 oem: 'mkfs.fat' volume: '  V       ^ '
rsc 8 fat-sectors 256 c-count 65466 c-size 8 r-dir 1 r-sec 32
recover4.elf not found (6)
recovery.elf not found (6)
Read start4.elf bytes  2272832 hnd 0x0000594b hash 'a439c7fcf5a16d52'
Read fixup4.dat bytes     5405 hnd 0x0000350b hash '75312421da0e036f'
0x00c03111 0x00000000 0x0000001f
MEM GPU: 76 ARM: 947 TOTAL: 1023
Starting start4.elf @ 0xfeb00200 partition 0

Kendek
Posts: 180
Joined: Thu Jul 25, 2019 4:39 pm
Location: Kaposvár, Hungary

Re: Raspberry Pi 4 USB mass storage beta

Sat May 23, 2020 4:51 pm

I tested a couple of other USB3 to SATA adapters:
ASMedia ASM1351 (firmware 150708_B1_0A_02, UAS + UNMAP)
ASMedia ASM1153E (firmware 141126_A1_EE_82, UAS + UNMAP)
JMicron JMS551 (firmware 18.0.6.0.11, two SATA ports)
Initio Inic-3609 (firmware 3609V313)

Each works great, the system boots properly from USB.
Then I tried these adapters through a 4-ports 5 Gbps USB 3 HUB (Genesys Logic GL3520), and the OS still seems to boot fine.
I can also confirm that the pure GPT is sufficient, so there is no need to set a hybrid MBR.
Last edited by Kendek on Tue May 26, 2020 2:10 pm, edited 1 time in total.

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

Re: Raspberry Pi 4 USB mass storage beta

Sat May 23, 2020 6:08 pm

I can't seem to boot with my Suptronics X820 SATA v3.0 board, with Samsung 860 QVO 1TB SSD. The board and drive boots fine with my 3B and 3B+, and my 4B (2G, revision b03111) runs fine with it as a rootfs drive if booted from SD, but no joy booting with this board on my 4B.

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

Re: Raspberry Pi 4 USB mass storage beta

Sat May 23, 2020 6:42 pm

cormack wrote:
Sat May 23, 2020 6:08 pm
I can't seem to boot with my Suptronics X820 SATA v3.0 board, with Samsung 860 QVO 1TB SSD. The board and drive boots fine with my 3B and 3B+, and my 4B (2G, revision b03111) runs fine with it as a rootfs drive if booted from SD, but no joy booting with this board on my 4B.

Does running rpi-eeprom-update on the 4B report?:

BOOTLOADER: up-to-date
CURRENT: Fri 15 May 10:05:52 UTC 2020 (1589537152)

When the SSD is booted on your 3B+ (without having used an SD card), does a command prompt/SSH session report?:

Linux raspberrypi 5.4.42-v7l+ #1319 SMP Wed May 20 14:12:03 BST 2020 armv7l

beldzhang
Posts: 10
Joined: Tue Jan 14, 2020 5:53 am

Re: Raspberry Pi 4 USB mass storage beta

Sat May 23, 2020 7:56 pm

timg236 wrote:
Wed May 20, 2020 11:42 am
The beta firmware and bootloader for USB mass storage boot on Pi 4 are now available.
a little bit of delay for testing of this release.
I tested with is configuration:

Code: Select all

#
# next 3 lines changed to minimized value
#
DHCP_TIMEOUT=5000
DHCP_REQ_TIMEOUT=500
TFTP_FILE_TIMEOUT=5000
#
# SD card, USB storage, net boot
#
BOOT_ORDER=0xf241
and it works as expected, first SD card then USB storage, at the last from network.
if both of them failed, then auto repeated.

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

Re: Raspberry Pi 4 USB mass storage beta

Sat May 23, 2020 8:19 pm

RonR -

Here's what my 4B reports...

# rpi-eeprom-update
BCM2711 detected
BOOTLOADER: up-to-date
CURRENT: Fri 15 May 2020 10:05:52 AM UTC (1589537152)
LATEST: Thu 16 Apr 2020 05:11:26 PM UTC (1587057086)
FW DIR: /lib/firmware/raspberrypi/bootloader/critical
VL805: up-to-date
CURRENT: 000137ad
LATEST: 000137ad

And although I haven't re-connected the drive to either a 3B or 3B+ since getting the 4B two weeks ago, it would boot all the way up to the GUI desktop, with VNC, SSH, and everything else running, just fine. I've rsync'd the contents of the updated SD to the existing vfat partition on the SSD drive (cd /boot ; rsync -axv . /SSDboot --delete) to ensure the /boot partition on the SSD drive has everything the updated SD card has, but as I said, the 4B just doesn't want to boot. It boots fine from the SD card (and deals with rootfs on the SSD dine. It just wont boot to the usb-attached SATA board/SSD.

EDIT: The files on the SD card (and those that have been rsync'd to the vfat partition on my SSD) report the following:
Linux pi-dev 5.4.42-v7l+ #1319 SMP Wed May 20 14:12:03 BST 2020 armv7l GNU/Linux

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

Re: Raspberry Pi 4 USB mass storage beta

Sat May 23, 2020 8:43 pm

cormack wrote:
Sat May 23, 2020 8:19 pm
RonR -

Here's what my 4B reports...

# rpi-eeprom-update
BCM2711 detected
BOOTLOADER: up-to-date
CURRENT: Fri 15 May 2020 10:05:52 AM UTC (1589537152)
LATEST: Thu 16 Apr 2020 05:11:26 PM UTC (1587057086)
FW DIR: /lib/firmware/raspberrypi/bootloader/critical
VL805: up-to-date
CURRENT: 000137ad
LATEST: 000137ad

And although I haven't re-connected the drive to either a 3B or 3B+ since getting the 4B two weeks ago, it would boot all the way up to the GUI desktop, with VNC, SSH, and everything else running, just fine. I've rsync'd the contents of the updated SD to the existing vfat partition on the SSD drive (cd /boot ; rsync -axv . /SSDboot --delete) to ensure the /boot partition on the SSD drive has everything the updated SD card has, but as I said, the 4B just doesn't want to boot. It boots fine from the SD card (and deals with rootfs on the SSD dine. It just wont boot to the usb-attached SATA board/SSD.

EDIT: The files on the SD card (and those that have been rsync'd to the vfat partition on my SSD) report the following:
Linux pi-dev 5.4.42-v7l+ #1319 SMP Wed May 20 14:12:03 BST 2020 armv7l GNU/Linux
It would help to include data on your SATA adapter.

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

Re: Raspberry Pi 4 USB mass storage beta

Sat May 23, 2020 9:02 pm

W. H. Heydt - Not sure what data there is to publish, that would necessarily be helpful.

It's a Suptronix x820 SATA III board, version 3.0. Although designed and marketed for Pi models prior to the Pi 4B (I've owned this particular one for almost two years), it is a pretty straight-forward board.

The manufacturer's info is here:
http://www.suptronics.com/miniPCkits/x820.html

As for the system and how it sees the unit, here is everything I can gather from the OS...

===============================================================================
PI MODEL 4B EEPROM VERSION
===============================================================================

May 15 2020 11:05:52
version 23a9f59b85f5a81bb2eec455e064ef9905216322 (release)
timestamp 1589537152

===============================================================================
PI MODEL 4B EEPROM UPDATE STATUS
===============================================================================

BCM2711 detected
BOOTLOADER: up-to-date
CURRENT: Fri 15 May 2020 10:05:52 AM UTC (1589537152)
LATEST: Thu 16 Apr 2020 05:11:26 PM UTC (1587057086)
FW DIR: /lib/firmware/raspberrypi/bootloader/critical
VL805: up-to-date
CURRENT: 000137ad
LATEST: 000137ad

===============================================================================
PI MODEL 4B EEPROM 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

"lshw" identifies the X820 and SSD as follows:

[email protected]:1.2 scsi1 storage X820 V3.0
[email protected]:0.0.0 /dev/sda disk 1TB SSD 860 QVO 1TB
[email protected]:0.0.0,1 /dev/sda1 volume 256MiB Windows FAT volume
[email protected]:0.0.0,2 /dev/sda2 volume 931GiB EXT4 volume

*-usb:0
description: Mass storage device
product: X820 V3.0
vendor: SupTronics
physical id: 2
bus info: [email protected]:1.2
logical name: scsi1
version: 1.00
serial: 20180809000F
capabilities: usb-2.10 scsi
configuration: driver=uas speed=480Mbit/s

"blkid" shows them as:

/dev/sda1: LABEL_FATBOOT="boot" LABEL="boot" UUID="9F2D-0578" TYPE="vfat" PARTUUID="5e3da3da-01"
/dev/sda2: LABEL="rootfs" UUID="efc2ea8b-042f-47f5-953e-577d8860de55" TYPE="ext4" PARTUUID="5e3da3da-02"


When booted to the SD card, I see the SSD partitions as:

/dev/sda1: LABEL_FATBOOT="boot" LABEL="boot" UUID="9F2D-0578" TYPE="vfat" PARTUUID="5e3da3da-01"
/dev/sda2: LABEL="rootfs" UUID="efc2ea8b-042f-47f5-953e-577d8860de55" TYPE="ext4" PARTUUID="5e3da3da-02"

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

Re: Raspberry Pi 4 USB mass storage beta

Sat May 23, 2020 9:32 pm

What does lsusb show about your Suptronics X820 adapter?
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?

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

Re: Raspberry Pi 4 USB mass storage beta

Sat May 23, 2020 9:34 pm

cormack wrote:
Sat May 23, 2020 9:02 pm
W. H. Heydt - Not sure what data there is to publish, that would necessarily be helpful.
I generally include the output of "lsusb" as that gives chipset information the adapter, e.g.

Code: Select all

[email protected]:~ $ 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
The first entry, the one for Bus 002 Device 002 is my Eluteng USB 3 to SATA III adapter. You can see that, never mind the company brand on the outside, it's using ASMedia chips. If you read Hawaiianpi's post, he's been checking out a lot of different chipsets to see how they work. *If* your adapter has a chipset that he's tested and found wanting, he may have posted what you need to know to get it to work.

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

Re: Raspberry Pi 4 USB mass storage beta

Sat May 23, 2020 9:40 pm

Here's the output of lsusb. Not much help there.

Bus 002 Device 002: ID 2109:0715 VIA Labs, Inc.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 2047:03df Texas Instruments
Bus 001 Device 003: ID 138c:55aa
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

protonchris
Posts: 2
Joined: Sat May 23, 2020 4:41 pm

Re: Raspberry Pi 4 USB mass storage beta

Sat May 23, 2020 9:43 pm

protonchris wrote:
Sat May 23, 2020 4:50 pm
I also having some issue. My system starts the bootloader and then freezes. Below is the serial console output. Is anyone else having this issue? I have tried using both the USB 2 and USB 3 ports.

USB to Sata:
ASMedia Technology Inc. Name: ASM1051E SATA 6Gb/s bridge

SSD:
Samsung 860 EVO

Thanks,
Chris.
I was able to solve my own problem and get my raspberry pi to boot. The trouble seemed to stem from this line in the bootloader serial console:

Code: Select all

lba: 65535 oem: 'mkfs.fat' volume: '  V       ^ '
The bootloader was finding the drive, but would get stuck booting the kernel. My boot partition was formatted fat16. I reformatted it fat32 and relabeled the drive. After the reformatting, the bootloader serial console said:

Code: Select all

lba: 65535 oem: 'mkfs.fat' volume: '  boot       '
After that it worked.

I had been running my raspberry pi with an sd boot and usb root for a couple of months. I didn't want to start over. My usb drive had the correct partition structure, but the first partition was unformatted. When I formatted it in preparation for USB boot, I accidentally formatted it fat16 and that seemed to be problem.

Chris.

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

Re: Raspberry Pi 4 USB mass storage beta

Sat May 23, 2020 9:45 pm

Here's the output of "lsusb -v" for the board, if it offers anything of value...

Bus 001 Device 003: ID 138c:55aa
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x138c
idProduct 0x55aa
bcdDevice 1.00
iManufacturer 2 SupTronics
iProduct 3 X820 V3.0
iSerial 1 20180809000F
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0055
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 4
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 98
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Data-in pipe (0x03)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Data-out pipe (0x04)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Status pipe (0x02)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Command pipe (0x01)
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 0x0016
bNumDeviceCaps 2
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x0000f41e
BESL Link Power Management (LPM) Supported
BESL value 1024 us
Deep BESL value 61440 us
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 10 micro seconds
bU2DevExitLat 2047 micro seconds
Device Status: 0x0001
Self Powered

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

Re: Raspberry Pi 4 USB mass storage beta

Sat May 23, 2020 10:37 pm

And here's what dmesg has to say...

Code: Select all

# dmesg | grep 1-1.2
[    1.512419] usb 1-1.2: new high-speed USB device number 3 using xhci_hcd
[    1.644365] usb 1-1.2: New USB device found, idVendor=138c, idProduct=55aa, bcdDevice= 1.00
[    1.645858] usb 1-1.2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[    1.647146] usb 1-1.2: Product: X820 V3.0
[    1.648634] usb 1-1.2: Manufacturer: SupTronics
[    1.650202] usb 1-1.2: SerialNumber: 20180809000F


Hammer379
Posts: 12
Joined: Thu Jan 09, 2020 4:45 pm

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 12:34 am

Getting this error on boot please any help
Attachments
19C6CDB6-9034-4A06-B485-28DC10226CF2.jpeg
19C6CDB6-9034-4A06-B485-28DC10226CF2.jpeg (26.16 KiB) Viewed 651 times

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

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 12:42 am

Hammer379 wrote:
Sun May 24, 2020 12:34 am
Getting this error on boot please any help
You need to update the firmware as well. The error you see is it complaining your firmware is too old. Instructions are on https://www.raspberrypi.org/documentati ... _config.md

Your photo is low resolution, fuzzy and hard to read. Next time upload to https://imgur.com/ and link it here. This forum doesn't let you upload big files.
Last edited by trejan on Sun May 24, 2020 12:49 am, edited 3 times in total.

LTolledo
Posts: 3100
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 12:43 am

I've waited long enough.....
won't matter if I waited a few more week or so....

will wait for the functionality when it's ready for "primetime"....

just posted to convey my thanks to the team doing this.
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

Hammer379
Posts: 12
Joined: Thu Jan 09, 2020 4:45 pm

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 1:08 am

The firmware was updated and appears to be correct

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

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 1:46 am

cormack wrote:
Sat May 23, 2020 9:40 pm
Here's the output of lsusb. Not much help there.

Bus 002 Device 002: ID 2109:0715 VIA Labs, Inc.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 2047:03df Texas Instruments
Bus 001 Device 003: ID 138c:55aa
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Hmmm... The138c:55aa vendor and product ID pair isn't getting any hits for me. Each on its own points to multiple products, but the combination doesn't seem to exist. You could try adding usb-storage.quirks=138c:55aa:u to the beginning of /boot/cmdline.txt and see if that helps.

You could try sudo lsusb -vvvs 1:3 for more information on the Suptronics (post in code tags please).


You seem to have a lot of things connected to your Pi. What are the other 2 devices on USB (2:2 and 1:4)?
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
cormack
Posts: 42
Joined: Fri Jul 12, 2019 7:39 pm

Re: Raspberry Pi 4 USB mass storage beta

Sun May 24, 2020 2:18 am

Hmmm... The138c:55aa vendor and product ID pair isn't getting any hits for me. Each on its own points to multiple products, but the combination doesn't seem to exist. You could try adding usb-storage.quirks=138c:55aa:u to the beginning of /boot/cmdline.txt and see if that helps.

You could try sudo lsusb -vvvs 1:3 for more information on the Suptronics (post in code tags please).


You seem to have a lot of things connected to your Pi. What are the other 2 devices on USB (2:2 and 1:4)?
Tried the quirks, but still no joy.

The other devices you asked about are:

VIA Labs is an additional usb-attached SSD drive, used for backups (containing only a single ext4 partition.
https://www.amazon.com/gp/product/B077Q ... UTF8&psc=1

The Texas Instruments device is a "Fit-StatUSB" programmable LED (this system is headless, so I program it in some of my scripts to notify me of the status of something I may not be otherwise watching directly - such as when backups are in progress.)
https://www.amazon.com/gp/product/B07CK ... UTF8&psc=1

[EDIT} The Bus/Device numbers for the X820/SSD changed when I rebooted, but here is the info...

Code: Select all

Bus 002 Device 002: ID 138c:55aa
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         9
  idVendor           0x138c
  idProduct          0x55aa
  bcdDevice            1.00
  iManufacturer           2 SupTronics
  iProduct                3 X820 V3.0
  iSerial                 1 20180809000F
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0079
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           4
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     98
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
        MaxStreams             32
        Data-in pipe (0x03)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
        MaxStreams             32
        Data-out pipe (0x04)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
        MaxStreams             32
        Status pipe (0x02)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               0
        Command pipe (0x01)
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength       0x0016
  bNumDeviceCaps          2
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x0000f41e
      BESL Link Power Management (LPM) Supported
    BESL value     1024 us
    Deep BESL value    61440 us
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat          10 micro seconds
    bU2DevExitLat        2047 micro seconds
Device Status:     0x000d
  Self Powered
  U1 Enabled
  U2 Enabled
Last edited by cormack on Sun May 24, 2020 2:20 am, edited 1 time in total.

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:18 am

cormack wrote:
Sat May 23, 2020 6:08 pm
my 4B (2G, revision b03111) runs fine with it as a rootfs drive if booted from SD, but no joy booting with this board on my 4B.

Did you remember to change /etc/fstab to:

Code: Select all

PARTUUID=5e3da3da-01  /boot   ...
PARTUUID=5e3da3da-02  /   ...

If the /boot entry is pointing to the missing SD card, booting will hang.

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:23 am

If the /boot entry is pointing to the missing SD card, booting will hang.
Yes, I updated it as needed.

Return to “General discussion”