All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 1/3] kernel-fitimage: Support ext2.gz filesystems
@ 2017-05-31  5:23 Chunrong Guo
  2017-05-31  5:23 ` [PATCH V2 2/3] kernel-fitimage: set replacementtype to vmlinux Chunrong Guo
  2017-05-31  5:23 ` [PATCH V2 3/3] kernel-fitimage: fix KERNEL_DEVICETREE includes subdirectory issue Chunrong Guo
  0 siblings, 2 replies; 5+ messages in thread
From: Chunrong Guo @ 2017-05-31  5:23 UTC (permalink / raw)
  To: openembedded-core; +Cc: chunrong.guo

From: Chunrong Guo <chunrong.guo@nxp.com>

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] 5+ messages in thread

* [PATCH V2 2/3] kernel-fitimage: set replacementtype to vmlinux
  2017-05-31  5:23 [PATCH V2 1/3] kernel-fitimage: Support ext2.gz filesystems Chunrong Guo
@ 2017-05-31  5:23 ` Chunrong Guo
       [not found]   ` <DB5PR0401MB1848C9E9F46D0EF94651E4A384CA0@DB5PR0401MB1848.eurprd04.prod.outlook.com>
  2017-05-31  5:23 ` [PATCH V2 3/3] kernel-fitimage: fix KERNEL_DEVICETREE includes subdirectory issue Chunrong Guo
  1 sibling, 1 reply; 5+ messages in thread
From: Chunrong Guo @ 2017-05-31  5:23 UTC (permalink / raw)
  To: openembedded-core; +Cc: chunrong.guo

From: Chunrong Guo <chunrong.guo@nxp.com>

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] 5+ messages in thread

* [PATCH V2 3/3] kernel-fitimage: fix KERNEL_DEVICETREE includes subdirectory issue
  2017-05-31  5:23 [PATCH V2 1/3] kernel-fitimage: Support ext2.gz filesystems Chunrong Guo
  2017-05-31  5:23 ` [PATCH V2 2/3] kernel-fitimage: set replacementtype to vmlinux Chunrong Guo
@ 2017-05-31  5:23 ` Chunrong Guo
  1 sibling, 0 replies; 5+ messages in thread
From: Chunrong Guo @ 2017-05-31  5:23 UTC (permalink / raw)
  To: openembedded-core; +Cc: chunrong.guo

From: Chunrong Guo <chunrong.guo@nxp.com>

     * 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] 5+ messages in thread

* Re: [PATCH V2 2/3] kernel-fitimage: set replacementtype to vmlinux
       [not found]       ` <DB5PR0401MB18483AC47747903C98EDC46484C90@DB5PR0401MB1848.eurprd04.prod.outlook.com>
@ 2017-06-08 12:48         ` Anders Darander
  0 siblings, 0 replies; 5+ messages in thread
From: Anders Darander @ 2017-06-08 12:48 UTC (permalink / raw)
  To: openembedded-core

Hi,


* C.R. Guo <chunrong.guo@nxp.com> [170608 11:44]:
> Can you apply these patches?

No, I can't.


> -----Original Message-----
> From: C.R. Guo [mailto:chunrong.guo@nxp.com] 
> 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

-- 
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB


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

* [[PATCH v2 3/3] kernel-fitimage: fix KERNEL_DEVICETREE includes subdirectory issue
  2017-05-17  4:10 [[PATCH v2 1/3] kernel-fitimage: Support ext2.gz filesystems Chunrong Guo
@ 2017-05-17  4:10 ` Chunrong Guo
  0 siblings, 0 replies; 5+ messages in thread
From: Chunrong Guo @ 2017-05-17  4:10 UTC (permalink / raw)
  To: openembedded-core; +Cc: chunrong.guo

From: Chunrong Guo <chunrong.guo@nxp.com>

  * 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] 5+ messages in thread

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-31  5:23 [PATCH V2 1/3] kernel-fitimage: Support ext2.gz filesystems Chunrong Guo
2017-05-31  5:23 ` [PATCH V2 2/3] kernel-fitimage: set replacementtype to vmlinux Chunrong Guo
     [not found]   ` <DB5PR0401MB1848C9E9F46D0EF94651E4A384CA0@DB5PR0401MB1848.eurprd04.prod.outlook.com>
     [not found]     ` <DB5PR0401MB1848324A568C76F387DD179784CB0@DB5PR0401MB1848.eurprd04.prod.outlook.com>
     [not found]       ` <DB5PR0401MB18483AC47747903C98EDC46484C90@DB5PR0401MB1848.eurprd04.prod.outlook.com>
2017-06-08 12:48         ` Anders Darander
2017-05-31  5:23 ` [PATCH V2 3/3] kernel-fitimage: fix KERNEL_DEVICETREE includes subdirectory issue Chunrong Guo
  -- strict thread matches above, loose matches on Subject: below --
2017-05-17  4:10 [[PATCH v2 1/3] kernel-fitimage: Support ext2.gz filesystems Chunrong Guo
2017-05-17  4:10 ` [[PATCH v2 3/3] kernel-fitimage: fix KERNEL_DEVICETREE includes subdirectory issue Chunrong Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.