linux-yocto-tiny: Enable qemux86-64 on linux-yocto-tiny 4.4
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/5 core-image-tiny-initramfs: Enable running poky-tiny on qemux86-64
Building poky-tiny for x86-64 seems fine, but when executing qemu it complains during boot time about not being able to execute init:
[ 5.409730] Failed to execute /init (error -8)
And then it drops to a login prompt (which it should't do on tiny)
This is supposed to be complaining about init's format, it only happens on x86-64 architectures so perhaps is a 32/64 bit issue, but since core-image-tiny-initramfs does not actually provide a traditional init, the script is simply meant to drop to shell, we can workaround the issue by specifying the kernel to run the init script via busybox's sh, dropping to shell correctly on x86-64 leaving x86 unaffected.
--- meta/recipes-core/images/core-image-tiny-initramfs.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-core/images/core-image-tiny-initramfs.bb +2 -0
@@ -39,3 +39,5 @@ python tinyinitrd () { } IMAGE_PREPROCESS_COMMAND += "tinyinitrd;" + +QB_KERNEL_CMDLINE_APPEND += "debugshell=3 init=/bin/busybox sh init"
Signature · 1 line
2.12.3
PATCH 2/5 linux-yocto-tiny: Enable qemux86-64 on linux-yocto-tiny 4.4
--- meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb +1 -1
@@ -17,7 +17,7 @@ PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.4.git;branch=${KBRANCH};name=machine \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}" -COMPATIBLE_MACHINE = "(qemux86$)" +COMPATIBLE_MACHINE = "qemux86|qemux86-64" # Functionality flags KERNEL_FEATURES = ""
Signature · 1 line
2.12.3
PATCH 3/5 linux-yocto-tiny: Enable qemux86-64 on linux-yocto-tiny 4.9
In reply to Alejandro Hernandez--- meta/recipes-kernel/linux/linux-yocto-tiny_4.9.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/linux/linux-yocto-tiny_4.9.bb +1 -1
@@ -17,7 +17,7 @@ PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.9.git;branch=${KBRANCH};name=machine \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.9;destsuffix=${KMETA}" -COMPATIBLE_MACHINE = "(qemux86$)" +COMPATIBLE_MACHINE = "qemux86|qemux86-64" # Functionality flags KERNEL_FEATURES = ""
Signature · 1 line
2.12.3
PATCH 4/5 linux-yocto-tiny: Enable qemux86-64 on linux-yocto-tiny 4.10
In reply to Alejandro Hernandez--- meta/recipes-kernel/linux/linux-yocto-tiny_4.10.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/linux/linux-yocto-tiny_4.10.bb +1 -1
@@ -17,7 +17,7 @@ PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.10.git;branch=${KBRANCH};name=machine \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.10;destsuffix=${KMETA}" -COMPATIBLE_MACHINE = "(qemux86$)" +COMPATIBLE_MACHINE = "qemux86|qemux86-64" # Functionality flags KERNEL_FEATURES = ""
Signature · 1 line
2.12.3
PATCH 5/5 linux-yocto-tiny: Enable qemux86-64 on linux-yocto-tiny 4.12
In reply to Alejandro Hernandez--- meta/recipes-kernel/linux/linux-yocto-tiny_4.12.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/linux/linux-yocto-tiny_4.12.bb +1 -1
@@ -17,7 +17,7 @@ PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.12.git;branch=${KBRANCH};name=machine \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.12;destsuffix=${KMETA}" -COMPATIBLE_MACHINE = "(qemux86$)" +COMPATIBLE_MACHINE = "qemux86|qemux86-64" # Functionality flags KERNEL_FEATURES = ""
Signature · 1 line
2.12.3