john_alan
Posts: 13
Joined: Mon Jul 22, 2019 7:20 pm

Superseding beta firmware with apt-get

Tue Sep 10, 2019 7:48 am

Hello,

If I install a bleeding edge firmware using rasps-update, can it be organically superseded by an update from apt-get update/upgrade?

Or does one have to leave the 'beta' track before that happens?

fruitoftheloom
Posts: 20706
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Superseding beta firmware with apt-get

Tue Sep 10, 2019 8:24 am

john_alan wrote:
Tue Sep 10, 2019 7:48 am
Hello,

If I install a bleeding edge firmware using rasps-update, can it be organically superseded by an update from apt-get update/upgrade?

Or does one have to leave the 'beta' track before that happens?

What is "rasps-update" never heard of that before ?
Retired disgracefully.....

User avatar
rpdom
Posts: 15189
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Superseding beta firmware with apt-get

Tue Sep 10, 2019 8:32 am

Ignoring fruity's silly pedantry for a simple typo, yes. An apt upgrade will replace the kernel with an updated one if there is one available. If There has been no updates to the apt repository since the last one was installed that way, and rpi-update has been run to install a new testing kernel, then the test one will stay. If a new production kernel has been released in the meantime, that will replace the testing one.

john_alan
Posts: 13
Joined: Mon Jul 22, 2019 7:20 pm

Re: Superseding beta firmware with apt-get

Tue Sep 10, 2019 9:22 am

@rpdom, wonderful thank you!

fruitoftheloom
Posts: 20706
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Superseding beta firmware with apt-get

Tue Sep 10, 2019 11:14 am

rpdom wrote:
Tue Sep 10, 2019 8:32 am
Ignoring fruity's silly pedantry for a simple typo, yes. An apt upgrade will replace the kernel with an updated one if there is one available. If There has been no updates to the apt repository since the last one was installed that way, and rpi-update has been run to install a new testing kernel, then the test one will stay. If a new production kernel has been released in the meantime, that will replace the testing one.

How is rasps-update anything like rpi-update jeez my crystal ball needs cleaning !
Last edited by fruitoftheloom on Tue Sep 10, 2019 11:44 am, edited 1 time in total.
Retired disgracefully.....

User avatar
rpdom
Posts: 15189
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Superseding beta firmware with apt-get

Tue Sep 10, 2019 11:41 am

fruitoftheloom wrote:
Tue Sep 10, 2019 11:14 am
Who is rasps-update anything like rpi-update jeez my crystal ball needs cleaning !
It certainly does when you can't even spell "How" ;-)

fruitoftheloom
Posts: 20706
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Superseding beta firmware with apt-get

Tue Sep 10, 2019 11:45 am

rpdom wrote:
Tue Sep 10, 2019 11:41 am
fruitoftheloom wrote:
Tue Sep 10, 2019 11:14 am
Who is rasps-update anything like rpi-update jeez my crystal ball needs cleaning !
It certainly does when you can't even spell "How" ;-)
Stupid word speller / checker was on.......
Retired disgracefully.....

User avatar
rpdom
Posts: 15189
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Superseding beta firmware with apt-get

Tue Sep 10, 2019 11:47 am

fruitoftheloom wrote:
Tue Sep 10, 2019 11:45 am
rpdom wrote:
Tue Sep 10, 2019 11:41 am
fruitoftheloom wrote:
Tue Sep 10, 2019 11:14 am
Who is rasps-update anything like rpi-update jeez my crystal ball needs cleaning !
It certainly does when you can't even spell "How" ;-)
Stupid word speller / checker was on.......
No worries. Silly otto carrot gets to us all :)

pagenotfound
Posts: 73
Joined: Mon Mar 14, 2016 12:44 pm

Re: Superseding beta firmware with apt-get

Wed Sep 11, 2019 10:21 am

rpdom wrote:
Tue Sep 10, 2019 8:32 am
Ignoring fruity's silly pedantry for a simple typo, yes. An apt upgrade will replace the kernel with an updated one if there is one available. If There has been no updates to the apt repository since the last one was installed that way, and rpi-update has been run to install a new testing kernel, then the test one will stay. If a new production kernel has been released in the meantime, that will replace the testing one.
For the (Linux) kernel this seems obvious. But what about the actual firmware - or rather the two (or three?) different firmwares - that can be loaded/installed in the hardware? I assume that the recently released rpi-eeprom (Raspberry Pi 4 boot EEPROM updater) does part of that. Does it also take care of the USB firmware? Is the save-300-milliwatts-firmware now recommended for general use? And where can I look up whether I already have it?

User avatar
davidcoton
Posts: 4139
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK

Re: Superseding beta firmware with apt-get

Wed Sep 11, 2019 10:27 am

pagenotfound wrote:
Wed Sep 11, 2019 10:21 am
I assume that the recently released rpi-eeprom (Raspberry Pi 4 boot EEPROM updater) does part of that. Does it also take care of the USB firmware? Is the save-300-milliwatts-firmware now recommended for general use? And where can I look up whether I already have it?
https://www.raspberrypi.org/forums/view ... 5#p1534285
Signature retired

timg236
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 195
Joined: Thu Jun 21, 2018 4:30 pm

Re: Superseding beta firmware with apt-get

Wed Sep 11, 2019 10:31 am

pagenotfound wrote:
Wed Sep 11, 2019 10:21 am
rpdom wrote:
Tue Sep 10, 2019 8:32 am
Ignoring fruity's silly pedantry for a simple typo, yes. An apt upgrade will replace the kernel with an updated one if there is one available. If There has been no updates to the apt repository since the last one was installed that way, and rpi-update has been run to install a new testing kernel, then the test one will stay. If a new production kernel has been released in the meantime, that will replace the testing one.
For the (Linux) kernel this seems obvious. But what about the actual firmware - or rather the two (or three?) different firmwares - that can be loaded/installed in the hardware? I assume that the recently released rpi-eeprom (Raspberry Pi 4 boot EEPROM updater) does part of that. Does it also take care of the USB firmware? Is the save-300-milliwatts-firmware now recommended for general use? And where can I look up whether I already have it?
The rpi-eeprom package does not currently update the VLI EEPROM, it's a different update mechanism because the VLI EEPROM is only accessible via PCIe. The VLI EEPROM updates scripts might get rolled into that package or perhaps a helper package that is marked as a dependency.

V2.0 of the VLI firmware is available here and it's still 'beta' https://www.raspberrypi.org/forums/view ... 0&start=25

Once everything (firmwares AND update scripts) the upgrade mechanism will just be

Code: Select all

sudo apt update
sudo apt upgrade

Return to “General discussion”