All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] beaglebone-yocto: use correct CPU and QB_RNG
@ 2021-10-14 14:31 Jon Mason
  2021-10-14 14:31 ` [PATCH 2/2] genericx86-common.inc: add qemu requirement Jon Mason
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jon Mason @ 2021-10-14 14:31 UTC (permalink / raw)
  To: poky

The beagles use the AM3358 SoC, which is an Arm Cortex-A8.  Use that for
QB_CPU.  Also, use QB_RNG to specify the random number generator device.
Finally, correct the image deps to get qemu to run.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
---
 meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
index b3d960a8cd80..06746afa96ae 100644
--- a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
+++ b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
@@ -41,16 +41,16 @@ MACHINE_FEATURES = "usbgadget usbhost vfat alsa"
 IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} ${SPL_BINARY} ${KERNEL_IMAGETYPE} ${KERNEL_DEVICETREE}"
 
 # support runqemu
-EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
+EXTRA_IMAGEDEPENDS += "qemu-system-native qemu-helper-native:do_addto_recipe_sysroot"
 IMAGE_CLASSES += "qemuboot"
 QB_DEFAULT_FSTYPE = "wic"
 QB_FSINFO = "wic:no-kernel-in-fs"
 QB_KERNEL_ROOT = "/dev/vda2"
 QB_SYSTEM_NAME = "qemu-system-arm"
 QB_MACHINE = "-machine virt"
-QB_CPU = "-cpu cortex-a15"
+QB_CPU = "-cpu cortex-a8"
 QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0 systemd.mask=systemd-networkd"
-QB_OPT_APPEND = "-device virtio-rng-device"
+QB_RNG = "-device virtio-rng-device"
 QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no"
 QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@"
 QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=disk0"
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-10-19 14:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-14 14:31 [PATCH 1/2] beaglebone-yocto: use correct CPU and QB_RNG Jon Mason
2021-10-14 14:31 ` [PATCH 2/2] genericx86-common.inc: add qemu requirement Jon Mason
2021-10-14 17:34 ` [poky] [PATCH 1/2] beaglebone-yocto: use correct CPU and QB_RNG Tom Rini
2021-10-14 22:45   ` Richard Purdie
2021-10-14 22:51     ` Tom Rini
2021-10-19 14:47       ` Jon Mason
2021-10-19 14:54         ` Tom Rini
2021-10-19 14:38 ` Jon Mason
2021-10-19 14:43   ` [poky] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.