Re: [OE-core] [PATCH v4 0/2] Yocto Bug #6945

2016-05-30 Thread He Zhe
Hi Richard,

Do we have plan to try this in v2.2 m1 or some milestone later?

Thanks,
Zhe

On 05/25/2016 04:47 PM, zhe...@windriver.com wrote:
> From: He Zhe 
>
> This has been reviewed several rounds and no more comments are provided so 
> far.
> Here is the brief history. More details can be found in the previous threads.
> Hopefully this can be merged in v2.2 m1.
>
> v1 to v2: 
>  - Change KERNEL_OUTPUT to KERNEL_OUTPUT_DIR and update comments
>  - Update related doc files
>  - Replace all KERNEL_ALT_IMAGETYPEs with KERNEL_IMAGETYPES
>  - Link built vmlinuz to boot directory for reference
>
> v2 to v3: 
>  - Merge existing KERNEL_ALT_IMAGETYPE into KERNEL_IMAGETYPES in order that 
> users can still use the old variables.
>  - Run oe_rummake in a loop for every types so that we can add different 
> configurations to them easily in the future.
>  - Warn, intead of die, users if one of the types are over the size limit.
>  - Remove the replacement of KERNEL_ALT_IMAGETYPE in v2. 
>  - Remove the doc parts. They will be submitted yocto-docs later.
>  - Change some grep usage to make it more clear.
>  - Correct a typo.
>
> v3 to v4: 
>  - Adjust according to the latest code context
>
> The following changes since commit c7e614c438706fb3ed7520b4990ebb3973366942:
>
>   useradd: Fix infinite build loop (2016-05-23 10:33:45 +0100)
>
> are available in the git repository at:
>
>   git.yoctoproject.org/poky-contrib zhe/yocto-bug-6945
>   
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/?h=zhe%2Fyocto-bug-6945
>
> for you to fetch changes up to 4cd0e844d4153f2eb2cc54fafbfd161341ef4539:
>
>   kernel: Make symbol link to vmlinuz in boot directory (2016-05-24 22:57:35 
> -0400)
>
> 
> He Zhe (2):
>   kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time
>   kernel: Make symbol link to vmlinuz in boot directory
>
>  meta/classes/kernel-fitimage.bbclass  |  20 ---
>  meta/classes/kernel-grub.bbclass  |  44 
> +---
>  meta/classes/kernel-uimage.bbclass|  10 +---
>  meta/classes/kernel.bbclass   | 187 
> ---
>  meta/conf/documentation.conf  |   3 ++-
>  meta/recipes-kernel/linux/linux-dtb.inc   |  49 
> ++--
>  meta/recipes-kernel/linux/linux-yocto.inc |   2 +-
>  7 files changed, 212 insertions(+), 103 deletions(-)
>
> He Zhe (2):
>   kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time
>   kernel: Make symbol link to vmlinuz in boot directory
>
>  meta/classes/kernel-fitimage.bbclass  |  20 ++--
>  meta/classes/kernel-grub.bbclass  |  44 ---
>  meta/classes/kernel-uimage.bbclass|  10 +-
>  meta/classes/kernel.bbclass   | 187 
> +-
>  meta/conf/documentation.conf  |   3 +-
>  meta/recipes-kernel/linux/linux-dtb.inc   |  49 +---
>  meta/recipes-kernel/linux/linux-yocto.inc |   2 +-
>  7 files changed, 212 insertions(+), 103 deletions(-)
>

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v4 0/2] Yocto Bug #6945

2016-05-26 Thread He Zhe


On 05/25/2016 08:12 PM, Bruce Ashfield wrote:
>
>
> On Wed, May 25, 2016 at 4:47 AM,  > wrote:
>
> From: He Zhe >
>
> This has been reviewed several rounds and no more comments are provided 
> so far.
> Here is the brief history. More details can be found in the previous 
> threads.
> Hopefully this can be merged in v2.2 m1.
>
> v1 to v2:
>  - Change KERNEL_OUTPUT to KERNEL_OUTPUT_DIR and update comments
>  - Update related doc files
>  - Replace all KERNEL_ALT_IMAGETYPEs with KERNEL_IMAGETYPES
>  - Link built vmlinuz to boot directory for reference
>
> v2 to v3:
>  - Merge existing KERNEL_ALT_IMAGETYPE into KERNEL_IMAGETYPES in order 
> that users can still use the old variables.
>  - Run oe_rummake in a loop for every types so that we can add different 
> configurations to them easily in the future.
>  - Warn, intead of die, users if one of the types are over the size limit.
>  - Remove the replacement of KERNEL_ALT_IMAGETYPE in v2.
>  - Remove the doc parts. They will be submitted yocto-docs later.
>  - Change some grep usage to make it more clear.
>  - Correct a typo.
>
> v3 to v4:
>  - Adjust according to the latest code context
>
>
>
> v4 looks ok to me.
>
> There was another series posted: [kernel-multi: stage and package multiple 
> kernels], did
> you have a look at that one? Do these two series work properly together ?
>

These two can not work properly together for the moment. My series build multi 
types of
kernels. "kernel-multi" aims at building another version of kernel by 
optionally extending
kernel.bbclass to kernel-multi.bbclass.

If we want both of the two features, "kernel-multi" might need to be changed 
according to
mine, since it inherits kernel.bbclass and overrides some variables before 
doing its own job.
e.g. "kernel-multi" uses KERNEL_IMAGETYPE as the only kernel image type, 
whereas my
series use KERNEL_IMAGETYPE plus KERNEL_IMAGETYPES as bug #6945 wants.

Thanks,
Zhe

> Bruce
>
>
> The following changes since commit 
> c7e614c438706fb3ed7520b4990ebb3973366942:
>
>   useradd: Fix infinite build loop (2016-05-23 10:33:45 +0100)
>
> are available in the git repository at:
>
>   git.yoctoproject.org/poky-contrib 
>  zhe/yocto-bug-6945
>   
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/?h=zhe%2Fyocto-bug-6945
>
> for you to fetch changes up to 4cd0e844d4153f2eb2cc54fafbfd161341ef4539:
>
>   kernel: Make symbol link to vmlinuz in boot directory (2016-05-24 
> 22:57:35 -0400)
>
> 
> He Zhe (2):
>   kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one 
> time
>   kernel: Make symbol link to vmlinuz in boot directory
>
>  meta/classes/kernel-fitimage.bbclass  |  20 ---
>  meta/classes/kernel-grub.bbclass  |  44 
> +---
>  meta/classes/kernel-uimage.bbclass|  10 +---
>  meta/classes/kernel.bbclass   | 187 
> ---
>  meta/conf/documentation.conf  |   3 ++-
>  meta/recipes-kernel/linux/linux-dtb.inc   |  49 
> ++--
>  meta/recipes-kernel/linux/linux-yocto.inc |   2 +-
>  7 files changed, 212 insertions(+), 103 deletions(-)
>
> He Zhe (2):
>   kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time
>   kernel: Make symbol link to vmlinuz in boot directory
>
>  meta/classes/kernel-fitimage.bbclass  |  20 ++--
>  meta/classes/kernel-grub.bbclass  |  44 ---
>  meta/classes/kernel-uimage.bbclass|  10 +-
>  meta/classes/kernel.bbclass   | 187 
> +-
>  meta/conf/documentation.conf  |   3 +-
>  meta/recipes-kernel/linux/linux-dtb.inc   |  49 +---
>  meta/recipes-kernel/linux/linux-yocto.inc |   2 +-
>  7 files changed, 212 insertions(+), 103 deletions(-)
>
> --
> 2.8.1
>
> --
> ___
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org 
> 
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
>
>
> -- 
> "Thou shalt not follow the NULL pointer, for chaos and madness await thee at 
> its end"

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v4 0/2] Yocto Bug #6945

2016-05-25 Thread Bruce Ashfield
On Wed, May 25, 2016 at 4:47 AM,  wrote:

> From: He Zhe 
>
> This has been reviewed several rounds and no more comments are provided so
> far.
> Here is the brief history. More details can be found in the previous
> threads.
> Hopefully this can be merged in v2.2 m1.
>
> v1 to v2:
>  - Change KERNEL_OUTPUT to KERNEL_OUTPUT_DIR and update comments
>  - Update related doc files
>  - Replace all KERNEL_ALT_IMAGETYPEs with KERNEL_IMAGETYPES
>  - Link built vmlinuz to boot directory for reference
>
> v2 to v3:
>  - Merge existing KERNEL_ALT_IMAGETYPE into KERNEL_IMAGETYPES in order
> that users can still use the old variables.
>  - Run oe_rummake in a loop for every types so that we can add different
> configurations to them easily in the future.
>  - Warn, intead of die, users if one of the types are over the size limit.
>  - Remove the replacement of KERNEL_ALT_IMAGETYPE in v2.
>  - Remove the doc parts. They will be submitted yocto-docs later.
>  - Change some grep usage to make it more clear.
>  - Correct a typo.
>
> v3 to v4:
>  - Adjust according to the latest code context
>


v4 looks ok to me.

There was another series posted: [kernel-multi: stage and package multiple
kernels], did
you have a look at that one? Do these two series work properly together ?

Bruce


> The following changes since commit
> c7e614c438706fb3ed7520b4990ebb3973366942:
>
>   useradd: Fix infinite build loop (2016-05-23 10:33:45 +0100)
>
> are available in the git repository at:
>
>   git.yoctoproject.org/poky-contrib zhe/yocto-bug-6945
>
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/?h=zhe%2Fyocto-bug-6945
>
> for you to fetch changes up to 4cd0e844d4153f2eb2cc54fafbfd161341ef4539:
>
>   kernel: Make symbol link to vmlinuz in boot directory (2016-05-24
> 22:57:35 -0400)
>
> 
> He Zhe (2):
>   kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time
>   kernel: Make symbol link to vmlinuz in boot directory
>
>  meta/classes/kernel-fitimage.bbclass  |  20 ---
>  meta/classes/kernel-grub.bbclass  |  44
> +---
>  meta/classes/kernel-uimage.bbclass|  10 +---
>  meta/classes/kernel.bbclass   | 187
> ---
>  meta/conf/documentation.conf  |   3 ++-
>  meta/recipes-kernel/linux/linux-dtb.inc   |  49
> ++--
>  meta/recipes-kernel/linux/linux-yocto.inc |   2 +-
>  7 files changed, 212 insertions(+), 103 deletions(-)
>
> He Zhe (2):
>   kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time
>   kernel: Make symbol link to vmlinuz in boot directory
>
>  meta/classes/kernel-fitimage.bbclass  |  20 ++--
>  meta/classes/kernel-grub.bbclass  |  44 ---
>  meta/classes/kernel-uimage.bbclass|  10 +-
>  meta/classes/kernel.bbclass   | 187
> +-
>  meta/conf/documentation.conf  |   3 +-
>  meta/recipes-kernel/linux/linux-dtb.inc   |  49 +---
>  meta/recipes-kernel/linux/linux-yocto.inc |   2 +-
>  7 files changed, 212 insertions(+), 103 deletions(-)
>
> --
> 2.8.1
>
> --
> ___
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v4 0/2] Yocto Bug #6945

2016-05-19 Thread He Zhe
Ping.

On 05/12/2016 05:48 PM, zhe...@windriver.com wrote:
> From: He Zhe 
>
> This has been reviewed several rounds and no more comments are provided so 
> far.
> Here are the brief history. More details can be found in the previous threads.
>
> v1 to v2:
>  - Change KERNEL_OUTPUT to KERNEL_OUTPUT_DIR and update comments
>  - Update related doc files
>  - Replace all KERNEL_ALT_IMAGETYPEs with KERNEL_IMAGETYPES
>  - Link built vmlinuz to boot directory for reference
>
> v2 to v3:
>  - Merge existing KERNEL_ALT_IMAGETYPE into KERNEL_IMAGETYPES in order that 
> users can still use the old variables.
>  - Run oe_rummake in a loop for every types so that we can add different 
> configurations to them easily in the future.
>  - Warn, intead of die, users if one of the types are over the size limit.
>  - Remove the replacement of KERNEL_ALT_IMAGETYPE in v2.
>  - Remove the doc parts. They will be submitted yocto-docs later.
>  - Change some grep usage to make it more clear.
>  - Correct a typo.
>
> v3 to v4:
>  - Adjust according to the latest code context
>
> The following changes since commit 7ca60ec8bff7656b4e52f5a4d238913e851da089:
>
>   test-empty-image: Fix LIC_FILES_CHKSUM typo (2016-05-06 10:48:06 +0100)
>
> are available in the git repository at:
>
>   git://git.yoctoproject.org/poky-contrib zhe/yocto-bug-6945
>   
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/?h=zhe%2Fyocto-bug-6945
>
> for you to fetch changes up to 1f37fe5af2c41d0a4e1aa5543466a48d3ae41ddc:
>
>   kernel: Make symbol link to vmlinuz in boot directory (2016-05-11 04:05:08 
> -0400)
>
> 
> He Zhe (2):
>   kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time
>   kernel: Make symbol link to vmlinuz in boot directory
>
>  meta/classes/kernel-fitimage.bbclass  |  20 ---
>  meta/classes/kernel-grub.bbclass  |  44 
> +---
>  meta/classes/kernel-uimage.bbclass|  22 
>  meta/classes/kernel.bbclass   | 187 
> ---
>  meta/conf/documentation.conf  |   3 ++-
>  meta/recipes-kernel/linux/linux-dtb.inc   |  49 
> ++--
>  meta/recipes-kernel/linux/linux-yocto.inc |   2 +-
>  7 files changed, 218 insertions(+), 109 deletions(-)
>

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core