Page 1 of 1

Raspberry Pi-4/8GB firmware upgrade over UBUNTU

Posted: Sun Jun 14, 2020 6:04 am
by ebaruk
Hi all,

I know this is probably/maybe already answered few times...But...I`m a real beginner here....
Just started both with RPi and UBUNTU at the same time and no experience

My QUESTION is:

How to run RPi-4 firmware upgrade over UBUNTU 20.04 and not over RPi OS.
So... only commands which could be activated over UBUNTU terminal. Is that possible ?

Thank You in advance for all the help.

I`m using RPi/4, 8GB, current firmware version shown below

.-/+oossssoo+/-. ubuntu@ubuntu-server
`:+ssssssssssssssssss+:` --------------------
-+ssssssssssssssssssyyssss+- OS: Ubuntu 20.04 LTS aarch64
.ossssssssssssssssssdMMMNysssso. Host: Raspberry Pi 4 Model B Rev 1.4
/ssssssssssshdmmNNmmyNMMMMhssssss/ Kernel: 5.4.0-1012-raspi
+ssssssssshmydMMMMMMMNddddyssssssss+ Uptime: 37 mins
/sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Packages: 2406 (dpkg), 4 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Shell: bash 5.0.16
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ Resolution: 1824x984
ossyNMMMNyMMhsssssssssssssshmmmhssssssso DE: GNOME
ossyNMMMNyMMhsssssssssssssshmmmhssssssso WM: Mutter
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ WM Theme: Adwaita
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Theme: Yaru [GTK2/3]
/sssssssshNMMMyhhyyyyhdNMMMNhssssssss/ Icons: Yaru [GTK2/3]
+sssssssssdmydMMMMMMMMddddyssssssss+ Terminal: gnome-terminal
/ssssssssssshdmNNNNmyNMMMMhssssss/ CPU: BCM2835 (4) @ 2.000GHz
.ossssssssssssssssssdMMMNysssso. Memory: 2099MiB / 7811MiB
-+sssssssssssssssssyyyssss+-
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.

Re: Raspberry Pi-4/8GB firmware upgrade over UBUNTU

Posted: Sun Jun 14, 2020 6:54 am
by HawaiianPi
Firmware is normally updated with apt (sudo apt update && sudo apt full-upgrade -y). You don't need to do anything special (other than wait, since 3rd party distros often lag weeks or months behind in development).

If you truly are a real beginner, you should start with Raspbian/Raspberry Pi OS, since that's the officially supported and most compatible OS.

Why do you want to run Ubuntu as a beginner?

Re: Raspberry Pi-4/8GB firmware upgrade over UBUNTU

Posted: Sun Jun 14, 2020 8:28 am
by ebaruk
HawaiianPi wrote:
Sun Jun 14, 2020 6:54 am
Firmware is normally updated with apt (sudo apt update && sudo apt full-upgrade -y). You don't need to do anything special (other than wait, since 3rd party distros often lag weeks or months behind in development).

If you truly are a real beginner, you should start with Raspbian/Raspberry Pi OS, since that's the officially supported and most compatible OS.

Why do you want to run Ubuntu as a beginner?
Thank You very much for the help....As U can see I am beginner.. :D
But in general I do understand systems, network and.....

So if I understand U corectlly this command:
sudo apt update && sudo apt full-upgrade -y
will also upgrade RPI-4 firmware same for commands below?

RPI OS:
$ sudo apt update
$ sudo apt -y full-upgrade
$ sudo apt install -y rpi-eeprom



My idea is to set up a ``SNORT IDS`` over Rp-4...later applying GRAFANA, etc...
so I would mirror all my HOME network traffic from WAN interface to USB 3.0 port ETH1

I would preserve ETH0 for my home network and internal issues...or other projects....
Also I would like to get more used to UBUNTU...since I-m all time windows user and would love to learn something new....

Once again THANK YOU so much for the time and HELP !

Re: Raspberry Pi-4/8GB firmware upgrade over UBUNTU

Posted: Sun Jun 14, 2020 8:43 am
by fruitoftheloom
ebaruk wrote:
Sun Jun 14, 2020 8:28 am
HawaiianPi wrote:
Sun Jun 14, 2020 6:54 am
Firmware is normally updated with apt (sudo apt update && sudo apt full-upgrade -y). You don't need to do anything special (other than wait, since 3rd party distros often lag weeks or months behind in development).

If you truly are a real beginner, you should start with Raspbian/Raspberry Pi OS, since that's the officially supported and most compatible OS.

Why do you want to run Ubuntu as a beginner?
Thank You very much for the help....As U can see I am beginner.. :D
But in general I do understand systems, network and.....

So if I understand U corectlly this command:
sudo apt update && sudo apt full-upgrade -y
will also upgrade RPI-4 firmware same for commands below?

RPI OS:
$ sudo apt update
$ sudo apt -y full-upgrade
$ sudo apt install -y rpi-eeprom



My idea is to set up a ``SNORT IDS`` over Rp-4...later applying GRAFANA, etc...
so I would mirror all my HOME network traffic from WAN interface to USB 3.0 port ETH1

I would preserve ETH0 for my home network and internal issues...or other projects....
Also I would like to get more used to UBUNTU...since I-m all time windows user and would love to learn something new....

Once again THANK YOU so much for the time and HELP !

Raspberry Pi OS and Ubuntu are both based of Debian Linux Operating System.

Re: Raspberry Pi-4/8GB firmware upgrade over UBUNTU

Posted: Sun Jun 14, 2020 8:51 am
by HawaiianPi
Ubuntu is based on Debian, which Raspberry Pi OS is also more directly based on (Ubuntu is more of a fork, while Raspberry Pi OS is built on Debian armhf). Their operation is similar enough that transitioning from one to the other is usually not too difficult (except for WiFi, which is annoying to configure in Ubuntu, but simple in Raspberry Pi OS).

Re: Raspberry Pi-4/8GB firmware upgrade over UBUNTU

Posted: Sun Jun 14, 2020 8:53 am
by ebaruk
Raspberry Pi OS and Ubuntu are both based of Debian Linux Operating System.
[/quote]

Sure, I understand that. But not all commands are accepted RPI OS / UBUNTU
That`s why I was not sure mentioned ``UBUNTU`` command would also upgrade RPi firmware
since for an example command: sudo apt install -y rpi-eeprom would not be executed...

But like I said....I`m beginner :)
Thank You for the time and help.

Re: Raspberry Pi-4/8GB firmware upgrade over UBUNTU

Posted: Sun Jun 14, 2020 8:55 am
by ebaruk
HawaiianPi wrote:
Sun Jun 14, 2020 8:51 am
Ubuntu is based on Debian, which Raspberry Pi OS is also more directly based on (Ubuntu is more of a fork, while Raspberry Pi OS is built on Debian armhf). Their operation is similar enough that transitioning from one to the other is usually not too difficult (except for WiFi, which is annoying to configure in Ubuntu, but simple in Raspberry Pi OS).
Thank You once again...It makes sense...

Re: Raspberry Pi-4/8GB firmware upgrade over UBUNTU

Posted: Sun Jun 14, 2020 10:25 am
by fruitoftheloom
ebaruk wrote:
Sun Jun 14, 2020 8:53 am
Raspberry Pi OS and Ubuntu are both based of Debian Linux Operating System.
Sure, I understand that. But not all commands are accepted RPI OS / UBUNTU
That`s why I was not sure mentioned ``UBUNTU`` command would also upgrade RPi firmware
since for an example command: sudo apt install -y rpi-eeprom would not be executed...

But like I said....I`m beginner :)
Thank You for the time and help.
[/quote]


https://github.com/raspberrypi/rpi-eepr ... eleases.md

Re: Raspberry Pi-4/8GB firmware upgrade over UBUNTU

Posted: Mon Jun 15, 2020 6:55 am
by ebaruk
fruitoftheloom wrote:
Sun Jun 14, 2020 10:25 am
ebaruk wrote:
Sun Jun 14, 2020 8:53 am
Raspberry Pi OS and Ubuntu are both based of Debian Linux Operating System.
Sure, I understand that. But not all commands are accepted RPI OS / UBUNTU
That`s why I was not sure mentioned ``UBUNTU`` command would also upgrade RPi firmware
since for an example command: sudo apt install -y rpi-eeprom would not be executed...

But like I said....I`m beginner :)
Thank You for the time and help.

https://github.com/raspberrypi/rpi-eepr ... eleases.md
[/quote]

Thanks,
I've seen that link before...It is "beta" version...
I have fixed few "bugs" with work around as community suggested...
And from today on (finally :) ) I don't have any "issues"...
so I can start with my "NIDS SNORT" project ;)

For now I will just wait for official firmware release...
Any idea when is to expect...mentioned release ?

In any case...Thank You so much for Your time.. :)

SOLVED: Raspberry Pi-4/8GB firmware upgrade over UBUNTU

Posted: Mon Jun 22, 2020 5:29 pm
by ebaruk
Well..., at first I was under the impression that update and upgrade (over UBUNTU terminal) would actually fix the problem....
But I guess the easiest and most straight forward way is to just use another SD card (with RPI OS) and just make sure the "eeprom" is written as explained in link below:

https://jamesachambers.com/raspberry-pi ... ery-guide/

Latest release notes:
https://github.com/raspberrypi/rpi-eepr ... e-notes.md

P.S.
Trying to update RPI firmware from UBUNTU...got me nowhere... I'm not saying it is not possible.. but it didn't work for me...