summaryrefslogtreecommitdiffstats
path: root/meta-yocto-bsp/conf
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2024-05-20 15:37:45 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-21 12:09:05 +0100
commit98471a91e8d74203e0c22aa933bed97e764bb8e2 (patch)
treeef3dd7e87ffcdc869bc9b4522e0f3836336358d5 /meta-yocto-bsp/conf
parent62c517203682b61a4a78d8127606c924b51f9558 (diff)
downloadpoky-98471a91e8d74203e0c22aa933bed97e764bb8e2.tar.gz
genericarm64: depend on u-boot in testimage
genericarm64 supports runqemu, so testimage should work. However, out of the box it does not: runqemu - ERROR - BIOS .../tmp/deploy/images/genericarm64/u-boot.bin not found That is because we make the user explicitly build the qemu-targetting u-boot to avoid the confusing situation where they have real hardware but the deploy directory contains a u-boot for qemu. In automated testing situations, however, we can be a bit more helpful and make testimage depend on u-boot. This will lead to u-boot binaries being in deploy, but at this point the user is already running the images inside a qemu. Reported-by: James McGregor <James.McGregor2@arm.com> (From meta-yocto rev: 90b45c62d34396a20078b55d7d36f66b4e2177f7) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp/conf')
-rw-r--r--meta-yocto-bsp/conf/machine/genericarm64.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-yocto-bsp/conf/machine/genericarm64.conf b/meta-yocto-bsp/conf/machine/genericarm64.conf
index 4fa9395b31..1cb5e46dcf 100644
--- a/meta-yocto-bsp/conf/machine/genericarm64.conf
+++ b/meta-yocto-bsp/conf/machine/genericarm64.conf
@@ -58,3 +58,6 @@ QB_SERIAL_OPT = "-device virtio-serial-pci -chardev null,id=virtcon -device virt
58QB_TCPSERIAL_OPT = "-device virtio-serial-pci -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1,nodelay=on -device virtconsole,chardev=virtcon" 58QB_TCPSERIAL_OPT = "-device virtio-serial-pci -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1,nodelay=on -device virtconsole,chardev=virtcon"
59# Virtio networking 59# Virtio networking
60QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no" 60QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no"
61
62# If we're running testimage then we're in a qemu, so ensure u-boot is build
63TESTIMAGEDEPENDS:append = " u-boot:do_deploy"