[Bug 1923162] Re: riscv64 images fail to boot in qemu
William Wilson
1923162 at bugs.launchpad.net
Wed Sep 1 17:59:20 UTC 2021
** Changed in: u-boot (Ubuntu Hirsute)
Status: Confirmed => Fix Released
--
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/1923162
Title:
riscv64 images fail to boot in qemu
Status in linux-riscv package in Ubuntu:
Invalid
Status in u-boot package in Ubuntu:
Fix Released
Status in u-boot-menu package in Ubuntu:
Fix Released
Status in linux-riscv source package in Focal:
Invalid
Status in u-boot source package in Focal:
Fix Released
Status in u-boot-menu source package in Focal:
Fix Released
Status in linux-riscv source package in Hirsute:
Invalid
Status in u-boot source package in Hirsute:
Fix Released
Status in u-boot-menu source package in Hirsute:
Fix Released
Bug description:
[Impact]
* u-boot may crash when attempting to boot extlinux.conf which
specifies fdtdir; the given u-boot config doesn't specify a dtb
filename to load; autodetection tries to make one up using $soc &
$board variables; and if one or both of them are not set (as it is the
case for qemu) it would crash. Fix this crash by doing validation /
checking when quering for $soc & $board variables in autodetectionn.
[Test Plan]
* Use qemu & uboot produced by the build that fixes this bug report
properly and attempt to boot hirsute's riscv64+unmatched image.
* It should boot correctly without a crash / qemu backtrace.
[Where problems could occur]
* This patch is bein upstreamed. If one is using external uboot (i.e.
provided by some other vendor) it may still crash when trying to boot
Ubuntu's riscv64 rootfs or cloud image.
[Other Info]
* Patch is being reviewed upstream https://lists.denx.de/pipermail/u-boot/2021-May/449176.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-riscv/+bug/1923162/+subscriptions
More information about the foundations-bugs
mailing list