This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Boot Raspberry Pi / OpenPlotter 2 From USB SSD
#11
@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
Reply
#12
There's a new release of the bootloader (NO rpi-update firmware changes) on the following thread.
https://www.raspberrypi.org/forums/viewt...3&t=275187
Reply
#13
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?
Reply
#14
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.
Reply
#15
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-eepro...5.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-eepro...5.28-137ad)
- Ready to boot from the USB drive without an SD card . . .

Reference: https://www.raspberrypi.org/forums/viewt...3&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 . . .)
Reply
#16
I've been looking and can't seem to find the information. Has native boot from a non-beta boot-loader been implemented yet?
Reply
#17
(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
Reply
#18
Thumbs Up 
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)