[Bug 1936370] Please test proposed package
Łukasz Zemczak
1936370 at bugs.launchpad.net
Fri Jul 30 07:41:43 UTC 2021
Hello Dimitri, or anyone else affected,
Accepted u-boot into focal-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/u-boot/2021.01+dfsg-3ubuntu0~20.04.2
in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to u-boot in Ubuntu.
https://bugs.launchpad.net/bugs/1936370
Title:
u-boot-sifive does not upgrade u-boot on disk
Status in u-boot package in Ubuntu:
Fix Released
Status in u-boot source package in Focal:
Fix Committed
Status in u-boot source package in Hirsute:
New
Status in u-boot source package in Impish:
Fix Released
Bug 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
* 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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/u-boot/+bug/1936370/+subscriptions
More information about the foundations-bugs
mailing list