Booting pi 4 from USB with SSD on Jmicron SATA USB adapter

I have a Pi4 4GB version, it boots ok with sd card. I followed the instruction here:

 https://www.tomshardware.com/how-to/boot-raspberry-pi-4-usb

it works with my TDK 32GB usb drive, but it does not work with my SATA to USB3 adapter.

Mine looks like the one in this video


then in this discussion:
https://www.raspberrypi.org/forums/viewtopic.php?t=286835

it talks about the adapter of JMicron, and what to do to make it works.

https://www.raspberrypi.org/forums/viewtopic.php?t=286835#p1734395

after all the update of eeprom, and setup the pi config, plug in your ssd, use lsusb to find the ID of your adapter. the number may vary, mine is 152d:0578

pi@raspberrypi:~ $ lsusb Bus 002 Device 002: ID 152d:0579 JMicron Technology Corp. / JMicron USA Technology Corp. Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 1411:1819 Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

then do the sd copier stuff, make sure it's a new image on your SSD.

we need to add a line in the cmdline.txt of the boot section. I did this in wondows, shutdown the pi. I took the ssd USB drive and plug in windows, it will show up the boot section(it's FAT format), just use any editor to add this line on top of the file:

usb-storage.quirks=152d:0578:u

make sure the ID is the one you saw in lsusb,remember to leave a blank after these chars.


plug it back to Pi4, remove the SD card, then power it up. the first boot will take few minutes. This time it works, I ran a test on my SSD.

good speed!



留言

這個網誌中的熱門文章

Heltec ESP32+OLED+Lora, hardware testing

micro SD card for ESP32, on lolin32 with OLED and heltec 32 lora oled

Install Network Time Protocol(NTP) on BeagleBone with Angstrom linux and set local time zone