BlueWave Studio forum
Native USB Mass Storage Boot Without Micro SD - Printable Version

+- BlueWave Studio forum (https://bluewavestudio.io/community)
+-- Forum: Community (https://bluewavestudio.io/community/forum-85.html)
+--- Forum: General (https://bluewavestudio.io/community/forum-57.html)
+--- Thread: Native USB Mass Storage Boot Without Micro SD (/thread-1650.html)

Pages: 1 2


Native USB Mass Storage Boot Without Micro SD - jhornbr225 - 05-21-2020

I see that Beta support is now available for Pi4 boot without SD card.

https://www.raspberrypi.org/forums/viewtopic.php?t=274595&p=1663644#p1663644

I am starting to do it, as I currently running with an SSD on my USB3 port, but still have the MicroSD card per instructions by Youtuber Andreas Spiess uploaded on Feb 16 2020:

https://www.youtube.com/watch?v=gp6XW-fGVjo

He has released a new video with instructions on updating the eeprom and additional steps so that it will boot without MicroSD card installed. I'm currently backing up my SSD to another MicroSD card in case something goes wrong. Here's the new video:

https://www.youtube.com/watch?v=zVhYvvrGhMU

Has anyone tried this yet?

I'm assuming I can just do this without installing a new image of Raspbian. I am planning on just doing the updates to my current Raspban hiding under Open Auto Pro. It looks like it's basically updating the eeprom, and then copying some .elf and .dat files to the SSD.

Andreas Spiess Text Instructions here:

https://www.dropbox.com/s/6bjx6nlu5sa7bxt/USB%20Boot%20Commands.docx?dl=0


RE: Native USB Mass Storage Boot Without Micro SD - GFunkbus76 - 05-22-2020

Haven't done it yet, but going to try soon.


RE: Native USB Mass Storage Boot Without Micro SD - skrimo - 05-22-2020

As I was watching video, there seems to be just a little boot speed up using SSD, it's the afterwards usage that is much faster. But can OAP be any faster than it is? I mean I really don't notice any delays and/or slow performance.

But it does mention that he still had SDcard boot priority. With usb ssd as native and only boot it would probably be much faster.

I was thinking of using
#Aliexpress € 36,92 6%OFF | Raspberry Pi X872 NVMe M.2 2280/2260/2242/2230 SATA SSD Shield, X872 Expansion Board for Raspberry Pi 4 Model B
https://a.aliexpress.com/_dU8VcRR
And then just a 30eur 120GB ssd, and that would be pretty fast headunit solution. The problem is finding the right ssd key


RE: Native USB Mass Storage Boot Without Micro SD - Great - 05-22-2020

From what I realized if the SSD isn't fast enough, the boot time can be even worse than with the SD card because the RPi gives priority to the SD card and wastes 5 seconds of the boot time searching for it.


RE: Native USB Mass Storage Boot Without Micro SD - jhornbr225 - 05-22-2020

Yeah, I did it and got it booting. I didn't time anything yet. But I started copying music over to the SSD, and quickly ran out of disk space. A df -h in terminal shows that /dev/root is 5.9G, and 100% used.

I tried sudo raspi-config, and told it to expand file system, but it replied "sda2 is not an SD card. Don't know how to expand"

Not sure what to do to get this Samsung 850EVO 250GB SSD expanded to use the whole size.


RE: Native USB Mass Storage Boot Without Micro SD - skrimo - 05-22-2020

That shouldn't be a problem if you would expand it using gparted.


RE: Native USB Mass Storage Boot Without Micro SD - jhornbr225 - 05-22-2020

Exactly what my Google search provided.

So I shutdown, installed the SD card I used to get this whole thing set up, unplugged the SSD. Booted, installed GParted, plugged in the SSD. Found it in devices, and expanded sda2 to the full size. After 35 seconds it was done.

I then shutdown, removed the SD card, and booted. It seemed to take forever, but the splash screen finally came up, and currently that's where I'm sitting. The first, then the second splash screen showed, but has not moved on.

EDIT: I let it sit at the second splash for several minutes. Finally got impatient and powered it off. I waited 10 seconds, then applied power. It booted in a normal amount of time, and started playing music. Now time to see if I can copy more music over to it to play locally.


RE: Native USB Mass Storage Boot Without Micro SD - jhornbr225 - 05-25-2020

Well, I timed the boot. It took 17 seconds until the splash screen started, but the music started playing at about 26 seconds.

I think the splash screen may have started faster with the hybrid boot. But the time to music is the same. I hope with refinements to the USB boot that time will come down. But for now, I'll keep it pure USB boot.


RE: Native USB Mass Storage Boot Without Micro SD - skrimo - 05-28-2020

Is there any noticeable benefits when in OAP and AA? I believe 5sec is the time bootloader is searching for sdcard before searching for boot code on usb. At least on rpi3b+ it was


RE: Native USB Mass Storage Boot Without Micro SD - DarkWader - 05-29-2020

Other than better performance, does this lower the chance of data corruption on powerloss?