1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-06-06 02:40:18 +00:00

wic/qemuarm64: enabled kernel arguments with u-boot

Kernel commandline arguments passed via runqemu don't
configure the kernel when booting with u-boot, as it finds
configuration in extlinux/extlinux.conf instead, which is
generated by wic.

A custom extlinux.conf file is now passed to wic with the
intended arguments, so that the kernel now configures
as directed.

Change-Id: Icbbcab47fe5cf70e4d8d39c7145371f1d6cd8db7
Signed-off-by: Brett Warren <brett.warren@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Brett Warren
2020-10-19 14:23:48 +01:00
committed by Jon Mason
parent 5013182dda
commit 5719261b4d
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
default Yocto
label Yocto
kernel /Image
append root=/dev/vda2 rw console=ttyS0 mem=1024M ip=192.168.7.2::192.168.7.1:255.255.255.0 console=ttyAMA0
+1 -1
View File
@@ -1,4 +1,4 @@
bootloader --ptable gpt
bootloader --ptable gpt --configfile="qemuarm64.cfg"
part /boot --ondisk=vda --align 64 --size=100M --active --source bootimg-partition --fstype=ext4 --label boot --sourceparams="loader=u-boot"
part / --ondisk=vda --source rootfs --fstype=ext4 --label root