Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v3 1/3] kernel-fitimage: Support ext2.gz filesystems
@ 2017-06-19  8:32 Chunrong Guo
  2017-06-19  8:32 ` [PATCH v3 2/3] kernel-fitimage: set replacementtype to vmlinux Chunrong Guo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chunrong Guo @ 2017-06-19  8:32 UTC (permalink / raw)
  To: openembedded-core; +Cc: chunrong.guo

Signed-off-by: Chunrong Guo <B40290@freescale.com>
---
 meta/classes/kernel-fitimage.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index 2630b47..f40fbf3 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -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
-- 
1.9.0



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

* [PATCH v3 2/3] kernel-fitimage: set replacementtype to vmlinux
  2017-06-19  8:32 [PATCH v3 1/3] kernel-fitimage: Support ext2.gz filesystems Chunrong Guo
@ 2017-06-19  8:32 ` Chunrong Guo
  2017-06-19  8:32 ` [PATCH v3 3/3] kernel-fitimage: fix KERNEL_DEVICETREE includes subdirectory issue Chunrong Guo
  2017-06-19 12:56 ` [PATCH v3 1/3] kernel-fitimage: Support ext2.gz filesystems Denys Dmytriyenko
  2 siblings, 0 replies; 4+ messages in thread
From: Chunrong Guo @ 2017-06-19  8:32 UTC (permalink / raw)
  To: openembedded-core; +Cc: chunrong.guo

Signed-off-by: Chunrong Guo <B40290@freescale.com>
---
 meta/classes/kernel-fitimage.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index f40fbf3..9fa836f 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -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
-- 
1.9.0



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

* [PATCH v3 3/3] kernel-fitimage: fix KERNEL_DEVICETREE includes subdirectory issue
  2017-06-19  8:32 [PATCH v3 1/3] kernel-fitimage: Support ext2.gz filesystems Chunrong Guo
  2017-06-19  8:32 ` [PATCH v3 2/3] kernel-fitimage: set replacementtype to vmlinux Chunrong Guo
@ 2017-06-19  8:32 ` Chunrong Guo
  2017-06-19 12:56 ` [PATCH v3 1/3] kernel-fitimage: Support ext2.gz filesystems Denys Dmytriyenko
  2 siblings, 0 replies; 4+ messages in thread
From: Chunrong Guo @ 2017-06-19  8:32 UTC (permalink / raw)
  To: openembedded-core; +Cc: chunrong.guo

     * 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 <B40290@freescale.com>
---
 meta/classes/kernel-fitimage.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index 9fa836f..08644ea 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -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
-- 
1.9.0



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

* Re: [PATCH v3 1/3] kernel-fitimage: Support ext2.gz filesystems
  2017-06-19  8:32 [PATCH v3 1/3] kernel-fitimage: Support ext2.gz filesystems Chunrong Guo
  2017-06-19  8:32 ` [PATCH v3 2/3] kernel-fitimage: set replacementtype to vmlinux Chunrong Guo
  2017-06-19  8:32 ` [PATCH v3 3/3] kernel-fitimage: fix KERNEL_DEVICETREE includes subdirectory issue Chunrong Guo
@ 2017-06-19 12:56 ` Denys Dmytriyenko
  2 siblings, 0 replies; 4+ messages in thread
From: Denys Dmytriyenko @ 2017-06-19 12:56 UTC (permalink / raw)
  To: Chunrong Guo; +Cc: chunrong.guo, openembedded-core

What has changed in v3 compared to v2 and v1?


On Mon, Jun 19, 2017 at 04:32:14PM +0800, Chunrong Guo wrote:
> Signed-off-by: Chunrong Guo <B40290@freescale.com>
> ---
>  meta/classes/kernel-fitimage.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
> index 2630b47..f40fbf3 100644
> --- a/meta/classes/kernel-fitimage.bbclass
> +++ b/meta/classes/kernel-fitimage.bbclass
> @@ -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
> -- 
> 1.9.0
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

end of thread, other threads:[~2017-06-19 12:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-19  8:32 [PATCH v3 1/3] kernel-fitimage: Support ext2.gz filesystems Chunrong Guo
2017-06-19  8:32 ` [PATCH v3 2/3] kernel-fitimage: set replacementtype to vmlinux Chunrong Guo
2017-06-19  8:32 ` [PATCH v3 3/3] kernel-fitimage: fix KERNEL_DEVICETREE includes subdirectory issue Chunrong Guo
2017-06-19 12:56 ` [PATCH v3 1/3] kernel-fitimage: Support ext2.gz filesystems Denys Dmytriyenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox