OpenMarine
Boot Raspberry Pi / OpenPlotter 2 From USB SSD - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: How I did it (https://forum.openmarine.net/forumdisplay.php?fid=6)
+--- Thread: Boot Raspberry Pi / OpenPlotter 2 From USB SSD (/showthread.php?tid=2514)

Pages: 1 2 3


RE: Boot Raspberry Pi / OpenPlotter 2 From USB SSD - jamieFL - 2020-05-26

@Sailoog,

Thanks for the quick reply.  I flashed back to the production firmware and all is well again.  It looks like the original solution, from the 1'st post, will be the only way to boot from a USB SSD until the new beta kernel is put into production.

This is good information.  Many have been waiting for the pi 4 to receive native boot from USB, and many, as I did, rushed and will rush to try the beta kernel.  When the production kernel is updated and it is safe, I'll post here.

For anyone who did try the beta kernel, getting back to safety is quite easy as outlined in the article that @Sailoog referenced above.  The commands are pasted below:

sudo apt-get update
sudo apt install --reinstall libraspberrypi0 libraspberrypi-{bin,dev,doc} raspberrypi-bootloader raspberrypi-kernel


RE: Boot Raspberry Pi / OpenPlotter 2 From USB SSD - Sailabout - 2020-05-27

There's a new release of the bootloader (NO rpi-update firmware changes) on the following thread.
https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=275187


RE: Boot Raspberry Pi / OpenPlotter 2 From USB SSD - affinite - 2020-05-27

Just interested in the views of JamieFL & others on SDD ...

As a chartplotter on a boat, my OP2 system works just fine on a RPi 3b + 16GB SDcard. 
Im happy that performance is as good as is necessary for a chartplotter and thats with lots of Node_red and SignalK stuff going on as well as OCPN 


JamieFL, Don't get me wrong I'm not suggesting that the SDD isnt a nice option but do you think it is worth having if your Pi is dedicated to OpenPlotter?


RE: Boot Raspberry Pi / OpenPlotter 2 From USB SSD - jamieFL - 2020-06-01

Im assembling my OP project now in my living room so I have no real world experience with it. I am using a Pi 4, 4gb and was disappointed at the lag when loading and switching between charts. Put this together with what I've heard about the Pi eating SD cards and I thought switching to a faster and more reliable SSD would be a good idea.

If you are happy with what you have, and it has been reliable, why change now?  I had the SSD in a drawer, so all I needed was a $15 cable. The speed difference for me was dramatic. Personally, I'd do it again even if I had to buy the drive too. When native boot from USB arrives...it is in beta now...if you are starting a new project, this would be the first thing I'd get working.


RE: Boot Raspberry Pi / OpenPlotter 2 From USB SSD - Sailabout - 2020-06-02

My reasons to boot from a USB SSD is more reliability and larger capacity (speed to a lesser degree).

I had a couple of SD card failures in as many years but my RPi is running most of the time (live aboard). I not only run qtVlm (and OpenCPN as a secondary navigation program) with lots of mbTiles charts, but use the RPi for other tasks (Internet, OpenOffice, music, . . . ) and plan to expend the usage ( e.g. monitor and log data from several sensors, . . . ).

I now boot from the USB SSD without problem, even my Moitessier Hat is working.

How did I do it?
- Installed the latest rpi-eeprom using the recovery release (https://github.com/raspberrypi/rpi-eeprom/releases/tag/v2020.05.28-137ad). Note: this is BETA.
- Intalled OpenPlotter (image, not NOOBS) on a SD card and booted the RPi 4
- Plugged the USB SSD drive and copied the SD card into it with the copier included in the Openplotter release.
- Installed the latest image release of Raspbian (kernel 4.19) on the SD card and rebooted the RPi 4 (https://www.raspberrypi.org/downloads/raspbian/)
- Re-booted the RPi 4 and copied the USB MSD firmware files in the boot partition of the USB SSD. (https://github.com/raspberrypi/rpi-eeprom/releases/tag/v2020.05.28-137ad)
- Ready to boot from the USB drive without an SD card . . .

Reference: https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=275187

Note. I do not know if using the latest Raspbian OS makes any sense in view of the updating of OpenPlotter which took place when installing it. I only know that we should not use sudo rpi-update because this installs the 5.xx kernel, incompatible with the Moitessier Hat. (I am a dummy in Linux . . .)


RE: Boot Raspberry Pi / OpenPlotter 2 From USB SSD - jamieFL - 2020-08-27

I've been looking and can't seem to find the information. Has native boot from a non-beta boot-loader been implemented yet?


RE: Boot Raspberry Pi / OpenPlotter 2 From USB SSD - rastam4n - 2020-08-27

(2020-08-27, 10:39 PM)jamieFL Wrote: I've been looking and can't seem to find the information.  Has native boot from a non-beta boot-loader been implemented yet?

Yes and that kernel is supported by Moitessier hat as well


RE: Boot Raspberry Pi / OpenPlotter 2 From USB SSD - jamieFL - 2020-08-29

OK.  I finally did it and the Moitessier HAT works...and here is how.
  • sudo apt update
  • sudo apt upgrade
  • sudo rpi-update
  • reboot
  • sudo apt install rpi-eeprom
  • sudo nano /etc/default/rpi-eeprom-update
Change "critical" to "stable" and save.
  • sudo rpi-eeprom-update -d -f /lib/firmware/raspberrypi/bootloader/stable/pieeprom-2020-07-31.bin
  • reboot
  • vcgencmd bootloader_version
Quote:Jul 31 2020 14:43:39

version f8d1dc69144b10b4bd78b4b6d08658ac3005726d (release)
timestamp 1596203019
  • vcgencmd bootloader_config
Quote:
[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
BOOT_ORDER=0xf41
  • findmnt -n -o SOURCE /
Quote:/dev/sda2

Once the critical firmware is updated, I plan to change back because before when I tried this, the Moitessier HAT broke.


RE: Boot Raspberry Pi / OpenPlotter 2 From USB SSD - aitonos - 2021-04-18

Then, your hat broke? Bricked?

Can we or can't we do ssd boot with moetessier 2? Huh
I have just ordered all the gear...


RE: Boot Raspberry Pi / OpenPlotter 2 From USB SSD - SkipperEarly - 2021-04-22

(2021-04-18, 11:05 PM)aitonos Wrote: Then, your hat broke? Bricked?

Can we or can't we do ssd boot with moetessier 2? Huh
I have just ordered all the gear...

I have no problem to boot RPI4 with Moitessier 2 from ssd(USB 2)