kernel-fitimage: Support ext2.gz filesystems
PATCH v2 1/3 kernel-fitimage: Support ext2.gz filesystems
From: Chunrong Guo <[email protected]>
Signed-off-by Chunrong Guo <[email protected]>
--- meta/classes/kernel-fitimage.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel-fitimage.bbclass +1 -1
@@ -369,7 +369,7 @@ fitimage_assemble() { # if [ "x${ramdiskcount}" = "x1" ] ; then # Find and use the first initramfs image archive type we find - for img in cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.gz cpio; do + for img in cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.gz ext2.gz cpio; do initramfs_path="${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.${img}" echo "Using $initramfs_path" if [ -e "${initramfs_path}" ]; then
Signature · 1 line
1.9.0
PATCH v2 2/3 kernel-fitimage: set replacementtype to vmlinux
From: Chunrong Guo <[email protected]>
Signed-off-by Chunrong Guo <[email protected]>
--- meta/classes/kernel-fitimage.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel-fitimage.bbclass +1 -1
@@ -10,7 +10,7 @@ python __anonymous () { if d.getVar("UBOOT_ARCH") == "x86": replacementtype = "bzImage" else: - replacementtype = "zImage" + replacementtype = "vmlinux" # Override KERNEL_IMAGETYPE_FOR_MAKE variable, which is internal # to kernel.bbclass . We have to override it, since we pack zImage
Signature · 1 line
1.9.0
Re: [[PATCH v2 2/3] kernel-fitimage: set replacementtype to vmlinux
Quoted 12 lines · Chunrong Guo
From: Chunrong Guo <[email protected]>
Signed-off-by Chunrong Guo <[email protected]>--- meta/classes/kernel-fitimage.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/classes/kernel-fitimage.bbclass +0
-0
meta/classes/kernel-fitimage.bbclass python __anonymous () { · line 13
Quoted 5 lines
meta/classes/kernel-fitimage.bbclass +1
-1@@ -10,7 +10,7 @@ python __anonymous () { if d.getVar("UBOOT_ARCH") == "x86": replacementtype = "bzImage" else: - replacementtype = "zImage" + replacementtype = "vmlinux"
Why?
Quoted 10 lines
meta/classes/kernel-fitimage.bbclass +0
-0# Override KERNEL_IMAGETYPE_FOR_MAKE variable, which is internal # to kernel.bbclass . We have to override it, since we pack zImageSignature · 7 lines
1.9.0 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
PATCH v2 3/3 kernel-fitimage: fix KERNEL_DEVICETREE includes subdirectory issue
In reply to Chunrong GuoFrom: Chunrong Guo <[email protected]>
* For example:
KERNEL_DEVICETREE ?= "freescale/fsl-ls1046a-rdb.dtb"
${DTB}= "freescale/fsl-ls1046a-rdb.dtb"
but only fsl-ls1046a-rdb.dtb should be used in fit-image.its
Signed-off-by Chunrong Guo <[email protected]>
--- meta/classes/kernel-fitimage.bbclass | 1 + 1 file changed, 1 insertion(+)
meta/classes/kernel-fitimage.bbclass +1 -0
@@ -347,6 +347,7 @@ fitimage_assemble() { DTB=`basename ${DTB} | sed 's,\.dts$,.dtb,g'` fi DTB_PATH="arch/${ARCH}/boot/dts/${DTB}" + DTB=`basename ${DTB}` if [ ! -e "${DTB_PATH}" ]; then DTB_PATH="arch/${ARCH}/boot/${DTB}" fi
Signature · 1 line
1.9.0