kernel-fitimage: Support ext2.gz filesystems
PATCH v2 1/3 kernel-fitimage: Support ext2.gz filesystems
From: 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]>
--- 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
A message that is not in the archive (sent off-list or not yet received): DB5PR0401MB1848C9E9F46D0EF94651E4A384CA0@DB5PR0401MB1848.eurprd04.prod.outlook.com
A message that is not in the archive (sent off-list or not yet received): DB5PR0401MB1848324A568C76F387DD179784CB0@DB5PR0401MB1848.eurprd04.prod.outlook.com
A message that is not in the archive (sent off-list or not yet received): DB5PR0401MB18483AC47747903C98EDC46484C90@DB5PR0401MB1848.eurprd04.prod.outlook.com
Re: [PATCH V2 2/3] kernel-fitimage: set replacementtype to vmlinux
Hi,
Quoted 1 line · C.R. Guo
Can you apply these patches?
No, I can't.
Quoted 3 lines
-----Original Message-----
From: C.R. Guo [mailto:[email protected]]
Sent: Tuesday, June 06, 2017 4:05 PM
Besides, wait a little longer for feedback / merging, before you start to send reminders. Everyone has lots of other things to do.
Cheers,
Anders
Signature · 2 lines
Anders Darander, Senior System Architect ChargeStorm AB / eStorm AB
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
--- 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