Activity log for bug #1925267

Date Who What changed Old value New value Message
2021-04-20 23:30:01 Dimitri John Ledkov bug added bug
2021-04-20 23:30:07 Dimitri John Ledkov u-boot (Ubuntu): milestone ubuntu-21.04
2021-04-21 08:42:24 Dimitri John Ledkov tags block-proposed-hirsute
2021-04-21 08:42:28 Dimitri John Ledkov tags block-proposed-hirsute block-proposed block-proposed-hirsute
2021-04-21 13:35:28 Launchpad Janitor merge proposal linked https://code.launchpad.net/~xnox/ubuntu/+source/u-boot/+git/u-boot/+merge/401545
2021-04-21 16:54:45 Iain Lane tags block-proposed block-proposed-hirsute
2021-04-21 18:23:39 Launchpad Janitor u-boot (Ubuntu): status New Fix Released
2021-07-08 14:57:08 Dave Jones nominated for series Ubuntu Focal
2021-07-08 14:57:08 Dave Jones bug task added u-boot (Ubuntu Focal)
2021-07-13 19:03:10 William Wilson u-boot (Ubuntu Focal): assignee William Wilson (jawn-smith)
2021-07-13 19:21:52 William Wilson description u-boot unmatched dtb does not match kernel dtb We have reverted u-boot-menu upload and stopped using kernel provided dtbs, because that was preventing booting hirsute images under qemu. As dtb generated by qemu should be used, and there is no kernel provided dtb for qemu platform. This resulted in unamtched board using dtb provided by u-boot, instead of loading and using dtb provided by the kernel builds. There are differences between u-boot & kernel dtbs that potentially break compat. There are two ways of fixing this: 1) bring uboot dtb in-line with the kernel dtb 2) fix qemu uboot to not load dtbs from disk, even when extlinux.conf asks to; and resume loading the matching kernel dtb from disk Option 1) sounds easier for release. The diff between u-boot's unmatched dtb & kernel provided dtb is at https://paste.ubuntu.com/p/YGKCvVM6yz/ [Impact] * Without the fix, Unmatched images will not boot in qemu [Test Case] * `qemu-system-riscv64 \ -machine virt -nographic -m 2048 -smp 4 \ -bios /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.elf \ -kernel /usr/lib/u-boot/qemu-riscv64_smode/uboot.elf \ -device virtio-net-device,netdev=eth0 -netdev user,id=eth0 \ -drive file=<unmatched image file>,format=raw,if=virtio` * Observe that the above command fails to boot the image in qemu * Build a new unmatched image with the version of u-boot-menu and u-boot in -proposed. Both are needed. * Re-run the above qemu command on the new image, and observe that it boots * Also boot the new image on HiFive Unmatched hardware to ensure it boots. [Regression Potential] While multiple hardware platforms use u-boot, the only Ubuntu image using u-boot-menu is the Unmatched. The risk of regression is therefore very low, and only the hardware boot and qemu boot need to be tested. [Original Description] u-boot unmatched dtb does not match kernel dtb We have reverted u-boot-menu upload and stopped using kernel provided dtbs, because that was preventing booting hirsute images under qemu. As dtb generated by qemu should be used, and there is no kernel provided dtb for qemu platform. This resulted in unamtched board using dtb provided by u-boot, instead of loading and using dtb provided by the kernel builds. There are differences between u-boot & kernel dtbs that potentially break compat. There are two ways of fixing this: 1) bring uboot dtb in-line with the kernel dtb 2) fix qemu uboot to not load dtbs from disk, even when extlinux.conf asks to; and resume loading the matching kernel dtb from disk Option 1) sounds easier for release. The diff between u-boot's unmatched dtb & kernel provided dtb is at https://paste.ubuntu.com/p/YGKCvVM6yz/
2021-07-13 21:25:29 Brian Murray u-boot (Ubuntu Focal): status New Fix Committed
2021-07-13 21:25:31 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2021-07-13 21:25:34 Brian Murray bug added subscriber SRU Verification
2021-07-13 21:25:38 Brian Murray tags verification-needed verification-needed-focal
2021-07-13 21:52:05 Brian Murray bug task added u-boot-menu (Ubuntu)
2021-07-13 21:52:12 Brian Murray u-boot-menu (Ubuntu): status New Fix Released
2021-07-13 21:52:15 Brian Murray u-boot-menu (Ubuntu Focal): status New Fix Committed
2021-07-20 17:41:23 William Wilson tags verification-needed verification-needed-focal verification-done verification-done-focal
2021-07-29 01:27:39 Launchpad Janitor u-boot (Ubuntu Focal): status Fix Committed Fix Released
2021-07-29 01:27:53 Brian Murray removed subscriber Ubuntu Stable Release Updates Team
2021-07-29 01:28:58 Launchpad Janitor u-boot-menu (Ubuntu Focal): status Fix Committed Fix Released