2021-07-15 12:00:39 |
Dimitri John Ledkov |
bug |
|
|
added bug |
2021-07-15 12:00:54 |
Dimitri John Ledkov |
nominated for series |
|
Ubuntu Impish |
|
2021-07-15 12:00:54 |
Dimitri John Ledkov |
bug task added |
|
u-boot (Ubuntu Impish) |
|
2021-07-15 12:00:54 |
Dimitri John Ledkov |
nominated for series |
|
Ubuntu Hirsute |
|
2021-07-15 12:00:54 |
Dimitri John Ledkov |
bug task added |
|
u-boot (Ubuntu Hirsute) |
|
2021-07-15 12:00:54 |
Dimitri John Ledkov |
nominated for series |
|
Ubuntu Focal |
|
2021-07-15 12:00:54 |
Dimitri John Ledkov |
bug task added |
|
u-boot (Ubuntu Focal) |
|
2021-07-15 12:01:02 |
Dimitri John Ledkov |
u-boot (Ubuntu Focal): milestone |
|
ubuntu-20.04.3 |
|
2021-07-15 12:03:16 |
Dimitri John Ledkov |
attachment added |
|
impish.debdiff https://bugs.launchpad.net/ubuntu/+source/u-boot/+bug/1936370/+attachment/5511152/+files/impish.debdiff |
|
2021-07-15 12:33:22 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2021-07-15 13:20:37 |
Dimitri John Ledkov |
description |
[Impact]
* u-boot-sifive package currently does not upgrade bootloader on loader1/loader2 partitions.
* there have now been bugs identified, meaning that upgrading u-boot is required to upgrade from v5.8 kernel to v5.11 (i.e. either in-focal, or from focal to hirsute).
* Add maintainer script that identifies if the machine one is running on is unleashed or unamtched, and appropriately upgrades the bootloader on loader1/loader2 partitions.
[Test Plan]
* Boot older unleashed or unmatched image
* Upgrade u-boot-sifive to latest package
* Reboot, and observe on the serial console that u-boot version number is incremented to the latest one.
* Repeat the test twice, once with unleashed board, once with unmatched board
* Upgrade the package under qemu VM and observe no side-effects / no attempts to upgrade anything.
[Where problems could occur]
* It is not possible to atomically upgrade loader1 and loader2 simultaniously.
* A backup of loader1 and loader2 partitions is not stored anywhere.
* Thus in case of errors rollback of older u-boot is not performed.
* However if dd of one or the other partition fails, it is unlikely that one can restore the backup. |
[Impact]
* u-boot-sifive package currently does not upgrade bootloader on loader1/loader2 partitions.
* there have now been bugs identified, meaning that upgrading u-boot is required to upgrade from v5.8 kernel to v5.11 (i.e. either in-focal, or from focal to hirsute).
* Add maintainer script that identifies if the machine one is running on is unleashed or unamtched, and appropriately upgrades the bootloader on loader1/loader2 partitions.
[Test Plan]
* Boot older unleashed or unmatched image
* Check version strings of loader1/loader2 partitions
$ sudo strings /dev/disk/by-partlabel/loader* | grep 202 | grep U-Boot
* Upgrade u-boot-sifive to latest package
* Check version strings of loader1/loader2 partitions, they should have changed
$ sudo strings /dev/disk/by-partlabel/loader* | grep 202 | grep U-Boot
* Reboot, and observe on the serial console that u-boot version number is incremented to the latest one.
* Repeat the test twice, once with unleashed board, once with unmatched board
* Upgrade the package under qemu VM and observe no side-effects / no attempts to upgrade anything.
[Where problems could occur]
* It is not possible to atomically upgrade loader1 and loader2 simultaniously.
* A backup of loader1 and loader2 partitions is not stored anywhere.
* Thus in case of errors rollback of older u-boot is not performed.
* However if dd of one or the other partition fails, it is unlikely that one can restore the backup. |
|
2021-07-15 15:35:42 |
Dimitri John Ledkov |
u-boot (Ubuntu Impish): status |
New |
In Progress |
|
2021-07-15 15:35:47 |
Dimitri John Ledkov |
u-boot (Ubuntu Focal): importance |
Undecided |
Critical |
|
2021-07-15 20:15:36 |
Launchpad Janitor |
u-boot (Ubuntu Impish): status |
In Progress |
Fix Released |
|
2021-07-30 07:41:35 |
Łukasz Zemczak |
u-boot (Ubuntu Focal): status |
New |
Fix Committed |
|
2021-07-30 07:41:37 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2021-07-30 07:41:39 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2021-07-30 07:41:41 |
Łukasz Zemczak |
tags |
patch |
patch verification-needed verification-needed-focal |
|
2021-07-30 14:14:58 |
Łukasz Zemczak |
tags |
patch verification-needed verification-needed-focal |
patch verification-failed-focal verification-needed |
|
2021-08-02 18:54:48 |
Brian Murray |
tags |
patch verification-failed-focal verification-needed |
patch verification-needed verification-needed-focal |
|
2021-08-17 03:57:01 |
William Wilson |
tags |
patch verification-needed verification-needed-focal |
patch verification-done verification-done-focal |
|
2021-08-18 01:12:09 |
Chris Halse Rogers |
u-boot (Ubuntu Hirsute): status |
New |
Incomplete |
|
2021-08-18 03:41:19 |
William Wilson |
attachment added |
|
lp1936370_hirsute.debdiff https://bugs.launchpad.net/ubuntu/+source/u-boot/+bug/1936370/+attachment/5518676/+files/lp1936370_hirsute.debdiff |
|
2021-08-18 12:05:39 |
Launchpad Janitor |
u-boot (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2021-08-18 12:05:45 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2022-01-26 22:00:59 |
Brian Murray |
u-boot (Ubuntu Hirsute): status |
Incomplete |
Won't Fix |
|