Yocto Bug #6945
v3 cover Yocto Bug #6945
From: He Zhe <[email protected]>
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.
The following changes since commit 23056103c949b498c23b47579e8dd57ce78e6ed9:
uclibc: Do not use immediate expansion operator (2016-02-22 20:42:48 +0000)
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/commit/?h=zhe/yocto-bug-6945
for you to fetch changes up to dc52a1efbb8248ea274a1cd0cca5734290b3025f:
kernel: Make symbol link to vmlinuz in boot directory (2016-02-24 07:08:16 -0500)
----------------------------------------------------------------
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(-)
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(-)
Signature · 1 line
1.9.1
PATCH v3 1/2 kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time
From: He Zhe <[email protected]>
Add KERNEL_IMAGETYPES to support building packaging and installing multi types of kernel images, such as zImage uImage, at one time.
KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE work as before.
--- meta/classes/kernel-fitimage.bbclass | 20 ++-- meta/classes/kernel-grub.bbclass | 44 +++++--- meta/classes/kernel-uimage.bbclass | 22 ++-- meta/classes/kernel.bbclass | 174 +++++++++++++++++++++++--------- meta/conf/documentation.conf | 1 + meta/recipes-kernel/linux/linux-dtb.inc | 49 +++++---- 6 files changed, 208 insertions(+), 102 deletions(-)
meta/classes/kernel-fitimage.bbclass +11 -9
@@ -1,8 +1,8 @@ inherit kernel-uboot python __anonymous () { - kerneltype = d.getVar('KERNEL_IMAGETYPE', True) - if kerneltype == 'fitImage': + kerneltypes = d.getVar('KERNEL_IMAGETYPES', True) or "" + if 'fitImage' in kerneltypes.split(): depends = d.getVar("DEPENDS", True) depends = "%s u-boot-mkimage-native dtc-native" % depends d.setVar("DEPENDS", depends)
@@ -10,7 +10,9 @@ python __anonymous () { # Override KERNEL_IMAGETYPE_FOR_MAKE variable, which is internal # to kernel.bbclass . We have to override it, since we pack zImage # (at least for now) into the fitImage . - d.setVar("KERNEL_IMAGETYPE_FOR_MAKE", "zImage") + typeformake = d.getVar("KERNEL_IMAGETYPE_FOR_MAKE", True) or "" + if 'fitImage' in typeformake.split(): + d.setVar('KERNEL_IMAGETYPE_FOR_MAKE', typeformake.replace('fitImage', 'zImage')) image = d.getVar('INITRAMFS_IMAGE', True) if image:
@@ -154,7 +156,7 @@ EOF } do_assemble_fitimage() { - if test "x${KERNEL_IMAGETYPE}" = "xfitImage" ; then + if echo ${KERNEL_IMAGETYPES} | grep -wq "fitImage"; then kernelcount=1 dtbcount="" rm -f fit-image.its
@@ -217,14 +219,14 @@ addtask assemble_fitimage before do_install after do_compile kernel_do_deploy_append() { # Update deploy directory - if test "x${KERNEL_IMAGETYPE}" = "xfitImage" ; then + if echo ${KERNEL_IMAGETYPES} | grep -wq "fitImage"; then cd ${B} echo "Copying fit-image.its source file..." - its_base_name="${KERNEL_IMAGETYPE}-its-${PV}-${PR}-${MACHINE}-${DATETIME}" - its_symlink_name=${KERNEL_IMAGETYPE}-its-${MACHINE} + its_base_name="fitImage-its-${PV}-${PR}-${MACHINE}-${DATETIME}" + its_symlink_name=fitImage-its-${MACHINE} install -m 0644 fit-image.its ${DEPLOYDIR}/${its_base_name}.its - linux_bin_base_name="${KERNEL_IMAGETYPE}-linux.bin-${PV}-${PR}-${MACHINE}-${DATETIME}" - linux_bin_symlink_name=${KERNEL_IMAGETYPE}-linux.bin-${MACHINE} + linux_bin_base_name="fitImage-linux.bin-${PV}-${PR}-${MACHINE}-${DATETIME}" + linux_bin_symlink_name=fitImage-linux.bin-${MACHINE} install -m 0644 linux.bin ${DEPLOYDIR}/${linux_bin_base_name}.bin cd ${DEPLOYDIR}
meta/classes/kernel-grub.bbclass +29 -15
82 lines not on this page · raw message
meta/classes/kernel-uimage.bbclass +12 -10
@@ -1,23 +1,25 @@ inherit kernel-uboot python __anonymous () { - kerneltype = d.getVar('KERNEL_IMAGETYPE', True) - if kerneltype == 'uImage': + if "uImage" in (d.getVar('KERNEL_IMAGETYPES', True) or "").split(): depends = d.getVar("DEPENDS", True) depends = "%s u-boot-mkimage-native" % depends d.setVar("DEPENDS", depends) - # Override KERNEL_IMAGETYPE_FOR_MAKE variable, which is internal - # to kernel.bbclass . We override the variable here, since we need - # to build uImage using the kernel build system if and only if - # KEEPUIMAGE == yes. Otherwise, we pack compressed vmlinux into - # the uImage . - if d.getVar("KEEPUIMAGE", True) != 'yes': - d.setVar("KERNEL_IMAGETYPE_FOR_MAKE", "zImage") + # Override KERNEL_IMAGETYPE_FOR_MAKE variable, which is internal + # to kernel.bbclass . We override the variable here, since we need + # to build uImage using the kernel build system if and only if + # KEEPUIMAGE == yes. Otherwise, we pack compressed vmlinux into + # the uImage . + if d.getVar("KEEPUIMAGE", True) != 'yes': + typeformake = d.getVar("KERNEL_IMAGETYPE_FOR_MAKE", True) or "" + if "uImage" in typeformake.split(): + typeformake.replace('uImage', 'zImage') + d.setVar('KERNEL_IMAGETYPE_FOR_MAKE', typeformake) } do_uboot_mkimage() { - if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then + if echo "${KERNEL_IMAGETYPES}" | grep -Pq "\buImage\b"; then if test "x${KEEPUIMAGE}" != "xyes" ; then uboot_prep_kimage
meta/classes/kernel.bbclass +125 -49
279 lines not on this page · raw message
meta/conf/documentation.conf +1 -0
@@ -246,6 +246,7 @@ KERNEL_CLASSES[doc] = "A list of classes defining kernel image types that kernel KERNEL_EXTRA_ARGS[doc] = "Specifies additional make command-line arguments the OpenEmbedded build system passes on when compiling the kernel." KERNEL_FEATURES[doc] = "Includes additional metadata from the Yocto Project kernel Git repository. The metadata you add through this variable includes config fragments and features descriptions." KERNEL_IMAGETYPE[doc] = "The type of kernel to build for a device, usually set by the machine configuration files and defaults to 'zImage'." +KERNEL_IMAGETYPES[doc] = "The list of types of kernel to build for a device, usually set by the machine configuration files and defaults to KERNEL_IMAGETYPE." KERNEL_MODULE_AUTOLOAD[doc] = "Lists kernel modules that need to be auto-loaded during boot" KERNEL_MODULE_PROBECONF[doc] = "Lists kernel modules for which the build system expects to find module_conf_* values that specify configuration for each of the modules" KERNEL_PATH[doc] = "The location of the kernel sources. This variable is set to the value of the STAGING_KERNEL_DIR within the module class (module.bbclass)."
meta/recipes-kernel/linux/linux-dtb.inc +30 -19
70 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v3 2/2 kernel: Make symbol link to vmlinuz in boot directory
In reply to [email protected]From: He Zhe <[email protected]>
Rename do_kernel_link_vmlinux to do_kernel_link_images and make a symbol link to vmlinuz(if exists) for reference in arch/$arch/boot directory.
--- meta/classes/kernel.bbclass | 13 ++++++++----- meta/conf/documentation.conf | 2 +- meta/recipes-kernel/linux/linux-yocto.inc | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-)
meta/classes/kernel.bbclass +8 -5
@@ -474,15 +474,18 @@ python split_kernel_packages () { } # Many scripts want to look in arch/$arch/boot for the bootable -# image. This poses a problem for vmlinux based booting. This -# task arranges to have vmlinux appear in the normalized directory -# location. -do_kernel_link_vmlinux() { +# image. This poses a problem for vmlinux and vmlinuz based +# booting. This task arranges to have vmlinux and vmlinuz appear +# in the normalized directory location. +do_kernel_link_images() { if [ ! -d "${B}/arch/${ARCH}/boot" ]; then mkdir ${B}/arch/${ARCH}/boot fi cd ${B}/arch/${ARCH}/boot ln -sf ../../../vmlinux + if [ -f ../../../vmlinuz ]; then + ln -sf ../../../vmlinuz + fi } do_strip() {
@@ -512,7 +515,7 @@ do_strip() { } do_strip[dirs] = "${B}" -addtask do_strip before do_sizecheck after do_kernel_link_vmlinux +addtask do_strip before do_sizecheck after do_kernel_link_images # Support checking the kernel size since some kernels need to reside in partitions # with a fixed length or there is a limit in transferring the kernel to memory
meta/conf/documentation.conf +1 -1
@@ -28,7 +28,7 @@ do_install_ptest_base[doc] = "Copies the runtime test suite files from the compi do_kernel_checkout[doc] = "Checks out source/meta branches for a linux-yocto style kernel" do_kernel_configcheck[doc] = "Validates the kernel configuration for a linux-yocto style kernel" do_kernel_configme[doc] = "Assembles the kernel configuration for a linux-yocto style kernel" -do_kernel_link_vmlinux[doc] = "Creates a symbolic link in arch/$arch/boot for vmlinux kernel images" +do_kernel_link_images[doc] = "Creates a symbolic link in arch/$arch/boot for vmlinux and vmlinuz kernel images" do_listtasks[doc] = "Lists all defined tasks for a target" do_menuconfig[doc] = "Runs 'make menuconfig' for the kernel" do_package[doc] = "Analyzes the content of the holding area and splits it into subsets based on available packages and files"
meta/recipes-kernel/linux/linux-yocto.inc +1 -1
@@ -52,6 +52,6 @@ do_install_append(){ } # extra tasks -addtask kernel_link_vmlinux after do_compile before do_install +addtask kernel_link_images after do_compile before do_install addtask validate_branches before do_patch after do_kernel_checkout addtask kernel_configcheck after do_configure before do_compile
Signature · 1 line
1.9.1
Any more comments?
Thanks,
Zhe
Quoted 57 lines · On 02/24/2016 08:20 PM, [email protected] wrote:
From: He Zhe <[email protected]>
v1 to v2:
- ChangeKERNEL_OUTPUTtoKERNEL_OUTPUT_DIRand update comments
- Update related doc files
- Replace allKERNEL_ALT_IMAGETYPEswithKERNEL_IMAGETYPES
- Link built vmlinuz to boot directory for referencev2 to v3:
- Merge existingKERNEL_ALT_IMAGETYPEintoKERNEL_IMAGETYPESin order that users can still use the old variables.
- Runoe_rummakein 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 ofKERNEL_ALT_IMAGETYPEin v2.
- Remove the doc parts. They will be submitted yocto-docs later.
- Change some grep usage to make it more clear.
- Correct a typo.The following changes since commit
23056103c949b498c23b47579e8dd57ce78e6ed9:uclibc: Do not use immediate expansion operator (2016-02-22 20:42:48 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contribzhe/yocto-bug-6945
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=zhe/yocto-bug-6945for you to fetch changes up to
dc52a1efbb8248ea274a1cd0cca5734290b3025f:kernel: Make symbol link to vmlinuz in boot directory (2016-02-24 07:08:16 -0500)
----------------------------------------------------------------
He Zhe (2):
kernel: AddKERNEL_IMAGETYPESto build multi types kernel at one time
kernel: Make symbol link to vmlinuz in boot directorymeta/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(-)He Zhe (2):
kernel: AddKERNEL_IMAGETYPESto build multi types kernel at one time
kernel: Make symbol link to vmlinuz in boot directorymeta/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(-)
Ping.
Thanks,
Zhe
Quoted 63 lines · He Zhe
Any more comments?
Thanks,
ZheQuoted 57 lines · On 02/24/2016 08:20 PM, [email protected] wrote:
From: He Zhe <[email protected]>
v1 to v2:
- ChangeKERNEL_OUTPUTtoKERNEL_OUTPUT_DIRand update comments
- Update related doc files
- Replace allKERNEL_ALT_IMAGETYPEswithKERNEL_IMAGETYPES
- Link built vmlinuz to boot directory for referencev2 to v3:
- Merge existingKERNEL_ALT_IMAGETYPEintoKERNEL_IMAGETYPESin order that users can still use the old variables.
- Runoe_rummakein 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 ofKERNEL_ALT_IMAGETYPEin v2.
- Remove the doc parts. They will be submitted yocto-docs later.
- Change some grep usage to make it more clear.
- Correct a typo.The following changes since commit
23056103c949b498c23b47579e8dd57ce78e6ed9:uclibc: Do not use immediate expansion operator (2016-02-22 20:42:48 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contribzhe/yocto-bug-6945
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=zhe/yocto-bug-6945for you to fetch changes up to
dc52a1efbb8248ea274a1cd0cca5734290b3025f:kernel: Make symbol link to vmlinuz in boot directory (2016-02-24 07:08:16 -0500)
----------------------------------------------------------------
He Zhe (2):
kernel: AddKERNEL_IMAGETYPESto build multi types kernel at one time
kernel: Make symbol link to vmlinuz in boot directorymeta/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(-)He Zhe (2):
kernel: AddKERNEL_IMAGETYPESto build multi types kernel at one time
kernel: Make symbol link to vmlinuz in boot directorymeta/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(-)
Quoted 3 lines · He Zhe
Ping.
This slipped through my filters. Sorry about that.
We are too late for the 2.1 release at this point, but I'll review the changes again in the
morning and send any comments that I may have.
Cheers,
Bruce
Quoted 86 lines
Thanks,
ZheQuoted 16 lines · He Zhe
Any more comments?
Thanks,
ZheQuoted 10 lines · On 02/24/2016 08:20 PM, [email protected] wrote:
From: He Zhe <[email protected]>
v1 to v2:
- ChangeKERNEL_OUTPUTtoKERNEL_OUTPUT_DIRand update comments
- Update related doc files
- Replace allKERNEL_ALT_IMAGETYPEswithKERNEL_IMAGETYPES
- Link built vmlinuz to boot directory for referencev2 to v3:
- Merge existingKERNEL_ALT_IMAGETYPEintoKERNEL_IMAGETYPESin orderthat users can still use the old variables.
Quoted 1 line
Quoted 1 line
- Run
oe_rummakein a loop for every types so that we can adddifferent configurations to them easily in the future.
Quoted 1 line
Quoted 1 line
- Warn, intead of die, users if one of the types are over the size
limit.
Quoted 6 lines
Quoted 6 lines
- Remove the replacement of
KERNEL_ALT_IMAGETYPEin v2.
- Remove the doc parts. They will be submitted yocto-docs later.
- Change some grep usage to make it more clear.
- Correct a typo.The following changes since commit
23056103c949b498c23b47579e8dd57ce78e6ed9:Quoted 2 lines
Quoted 2 lines
uclibc: Do not use immediate expansion operator (2016-02-22 20:42:48
+0000)
Quoted 5 lines
Quoted 5 lines
are available in the git repository at:
git://git.yoctoproject.org/poky-contribzhe/yocto-bug-6945http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=zhe/yocto-bug-6945
Quoted 4 lines
Quoted 4 lines
for you to fetch changes up to
dc52a1efbb8248ea274a1cd0cca5734290b3025f:kernel: Make symbol link to vmlinuz in boot directory (2016-02-24
07:08:16 -0500)
Quoted 4 lines
Quoted 4 lines
----------------------------------------------------------------
He Zhe (2):
kernel: AddKERNEL_IMAGETYPESto build multi types kernel at onetime
Quoted 4 lines
Quoted 4 lines
kernel: Make symbol link to vmlinuz in boot directory
meta/classes/kernel-fitimage.bbclass | 20 ++++++++------- meta/classes/kernel-grub.bbclass | 44+++++++++++++++++++++-----------
Quoted 2 lines
Quoted 2 lines
meta/classes/kernel-uimage.bbclass | 22 ++++++++-------- meta/classes/kernel.bbclass | 187++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------
Quoted 2 lines
Quoted 2 lines
meta/conf/documentation.conf | 3 ++- meta/recipes-kernel/linux/linux-dtb.inc | 49++++++++++++++++++++++--------------
Quoted 11 lines
Quoted 11 lines
meta/recipes-kernel/linux/linux-yocto.inc | 2 +- 7 files changed, 218 insertions(+), 109 deletions(-)He Zhe (2):
kernel: AddKERNEL_IMAGETYPESto build multi types kernel at one time
kernel: Make symbol link to vmlinuz in boot directorymeta/classes/kernel-fitimage.bbclass | 20 ++-- meta/classes/kernel-grub.bbclass | 44 ++++--- meta/classes/kernel-uimage.bbclass | 22 ++-- meta/classes/kernel.bbclass | 187+++++++++++++++++++++---------
Quoted 5 lines
Quoted 5 lines
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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Quoted 4 lines · Bruce Ashfield
On Mon, Mar 21, 2016 at 10:31 PM, He Zhe <[email protected]> wrote:
Quoted 9 lines
Quoted 3 lines
Ping.
This slipped through my filters. Sorry about that.
We are too late for the 2.1 release at this point, but I'll review the changes again in the
morning and send any comments that I may have.
I reviewed this version, and it looks fine to me.
Bruce
Quoted 100 lines
Cheers,
Bruce
Quoted 81 lines
Thanks,
ZheQuoted 16 lines · He Zhe
Any more comments?
Thanks,
ZheQuoted 10 lines · On 02/24/2016 08:20 PM, [email protected] wrote:
From: He Zhe <[email protected]>
v1 to v2:
- ChangeKERNEL_OUTPUTtoKERNEL_OUTPUT_DIRand update comments
- Update related doc files
- Replace allKERNEL_ALT_IMAGETYPEswithKERNEL_IMAGETYPES
- Link built vmlinuz to boot directory for referencev2 to v3:
- Merge existingKERNEL_ALT_IMAGETYPEintoKERNEL_IMAGETYPESin orderthat users can still use the old variables.
Quoted 1 line
Quoted 1 line
- Run
oe_rummakein a loop for every types so that we can adddifferent configurations to them easily in the future.
Quoted 1 line
Quoted 1 line
- Warn, intead of die, users if one of the types are over the size
limit.
Quoted 6 lines
Quoted 6 lines
- Remove the replacement of
KERNEL_ALT_IMAGETYPEin v2.
- Remove the doc parts. They will be submitted yocto-docs later.
- Change some grep usage to make it more clear.
- Correct a typo.The following changes since commit
23056103c949b498c23b47579e8dd57ce78e6ed9:Quoted 2 lines
Quoted 2 lines
uclibc: Do not use immediate expansion operator (2016-02-22 20:42:48
+0000)
Quoted 5 lines
Quoted 5 lines
are available in the git repository at:
git://git.yoctoproject.org/poky-contribzhe/yocto-bug-6945http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=zhe/yocto-bug-6945
Quoted 2 lines
Quoted 2 lines
for you to fetch changes up to
dc52a1efbb8248ea274a1cd0cca5734290b3025f:Quoted 2 lines
Quoted 2 lines
kernel: Make symbol link to vmlinuz in boot directory (2016-02-24
07:08:16 -0500)
Quoted 4 lines
Quoted 4 lines
----------------------------------------------------------------
He Zhe (2):
kernel: AddKERNEL_IMAGETYPESto build multi types kernel at onetime
Quoted 4 lines
Quoted 4 lines
kernel: Make symbol link to vmlinuz in boot directory
meta/classes/kernel-fitimage.bbclass | 20 ++++++++------- meta/classes/kernel-grub.bbclass | 44+++++++++++++++++++++-----------
Quoted 2 lines
Quoted 2 lines
meta/classes/kernel-uimage.bbclass | 22 ++++++++-------- meta/classes/kernel.bbclass | 187++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------
Quoted 2 lines
Quoted 2 lines
meta/conf/documentation.conf | 3 ++- meta/recipes-kernel/linux/linux-dtb.inc | 49++++++++++++++++++++++--------------
Quoted 11 lines
Quoted 11 lines
meta/recipes-kernel/linux/linux-yocto.inc | 2 +- 7 files changed, 218 insertions(+), 109 deletions(-)He Zhe (2):
kernel: AddKERNEL_IMAGETYPESto build multi types kernel at one time
kernel: Make symbol link to vmlinuz in boot directorymeta/classes/kernel-fitimage.bbclass | 20 ++-- meta/classes/kernel-grub.bbclass | 44 ++++--- meta/classes/kernel-uimage.bbclass | 22 ++-- meta/classes/kernel.bbclass | 187+++++++++++++++++++++---------
Quoted 5 lines
Quoted 5 lines
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(-)Quoted 6 lines
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Quoted 11 lines · Bruce Ashfield
On Mon, Mar 21, 2016 at 11:37 PM, Bruce Ashfield <[email protected] <mailto:[email protected]>>wrote:
On Mon, Mar 21, 2016 at 10:31 PM, He Zhe <[email protected] <mailto:[email protected]>>wrote:
Ping.
Quoted 8 lines
This slipped through my filters. Sorry about that.
We are too late for the 2.1 release at this point, but I'll review the changes again in the morning and send any comments that I may have.
I reviewed this version, and it looks fine to me.
Thank you Bruce. And which version do we expect this to be merged into? 2.1.1 or 2.2 M1?
Zhe
Quoted 94 lines
Bruce
Cheers, Bruce Thanks, Zhe On 03/11/2016 11:32 AM, He Zhe wrote: > Any more comments? > > Thanks, > Zhe > > On 02/24/2016 08:20 PM, [email protected] <mailto:[email protected]>wrote: >> From: He Zhe <[email protected] <mailto:[email protected]>> >> >> 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. >> >> The following changes since commit 23056103c949b498c23b47579e8dd57ce78e6ed9: >> >> uclibc: Do not use immediate expansion operator (2016-02-22 20:42:48 +0000) >> >> are available in the git repository at: >> >> git://git.yoctoproject.org/poky-contrib <http://git.yoctoproject.org/poky-contrib>zhe/yocto-bug-6945 >> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=zhe/yocto-bug-6945 >> >> for you to fetch changes up to dc52a1efbb8248ea274a1cd0cca5734290b3025f: >> >> kernel: Make symbol link to vmlinuz in boot directory (2016-02-24 07:08:16 -0500) >> >> ---------------------------------------------------------------- >> 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(-) >> >> 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 [email protected] <mailto:[email protected]> http://lists.openembedded.org/mailman/listinfo/openembedded-core -- "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"Signature · 1 line
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Quoted 20 lines · He Zhe
Quoted 3 lines · Bruce Ashfield
On Mon, Mar 21, 2016 at 11:37 PM, Bruce Ashfield <
Quoted 4 lines · [email protected] <mailto:[email protected]>>wrote:
On Mon, Mar 21, 2016 at 10:31 PM, He Zhe <[email protected]Quoted 7 lines · <mailto:[email protected]>>wrote:
Ping.
This slipped through my filters. Sorry about that.
We are too late for the 2.1 release at this point, but I'll review
the changes again in the
Quoted 9 lines
Quoted 5 lines
morning and send any comments that I may have.
I reviewed this version, and it looks fine to me.
Thank you Bruce. And which version do we expect this to be merged into? 2.1.1 or 2.2 M1?
In the end, it isn't up to me. But 2.2 M1 is the reasonable target. This isn't a bug fix, so backporting it to 2.1.1 is unlikely.
Also, since there's always a huge amount of churn, everyone is busy, etc,.. to avoid it slipping through the cracks, I'd
suggest that you re-send the series about a week after 2.1 releases (with a history of the submissions, so we'll know
that it has been fully reviewed).
Bruce
Quoted 124 lines
Zhe
Quoted 19 lines
Bruce
Cheers, Bruce Thanks, Zhe On 03/11/2016 11:32 AM, He Zhe wrote: > Any more comments? > > Thanks, > Zhe > > On 02/24/2016 08:20 PM, [email protected] <mailto:Quoted 1 line · [email protected]>wrote:
>> From: He Zhe <[email protected] <mailto:
Quoted 3 lines
>> >> v1 to v2: >> - Change KERNEL_OUTPUT to KERNEL_OUTPUT_DIR and updatecomments
Quoted 6 lines
>> - 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_IMAGETYPESin order that users can still use the old variables.
Quoted 1 line
>> - Run
oe_rummakein a loop for every types so that we canadd different configurations to them easily in the future.
Quoted 1 line
>> - Warn, intead of die, users if one of the types are over
the size limit.
Quoted 2 lines
>> - Remove the replacement of
KERNEL_ALT_IMAGETYPEin v2. >> - Remove the doc parts. They will be submitted yocto-docslater.
Quoted 4 lines
>> - Change some grep usage to make it more clear. >> - Correct a typo.
>>
>> The following changes since commit
23056103c949b498c23b47579e8dd57ce78e6ed9:Quoted 2 lines
>>
>> uclibc: Do not use immediate expansion operator (2016-02-2220:42:48 +0000)
Quoted 4 lines
>>
>> are available in the git repository at:
>>
>>git://git.yoctoproject.org/poky-contrib<http://git.yoctoproject.org/poky-contrib>zhe/yocto-bug-6945
Quoted 1 line
>>http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=zhe/yocto-bug-6945
Quoted 2 lines
>>
>> for you to fetch changes up to
dc52a1efbb8248ea274a1cd0cca5734290b3025f:Quoted 2 lines
>>
>> kernel: Make symbol link to vmlinuz in boot directory(2016-02-24 07:08:16 -0500)
Quoted 2 lines
>> >>----------------------------------------------------------------
Quoted 2 lines
>> He Zhe (2):
>> kernel: AddKERNEL_IMAGETYPESto build multi typeskernel at one time
Quoted 3 lines
>> kernel: Make symbol link to vmlinuz in boot directory
>>
>> meta/classes/kernel-fitimage.bbclass | 20++++++++-------
Quoted 1 line
>> meta/classes/kernel-grub.bbclass | 44+++++++++++++++++++++-----------
Quoted 1 line
>> meta/classes/kernel-uimage.bbclass | 22++++++++--------
Quoted 1 line
>> meta/classes/kernel.bbclass | 187++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------
Quoted 2 lines
>> meta/conf/documentation.conf | 3 ++- >> meta/recipes-kernel/linux/linux-dtb.inc | 49++++++++++++++++++++++--------------
Quoted 5 lines
>> meta/recipes-kernel/linux/linux-yocto.inc | 2 +- >> 7 files changed, 218 insertions(+), 109 deletions(-) >> >> He Zhe (2): >> kernel: Add KERNEL_IMAGETYPES to build multi types kernelat one time
Quoted 6 lines
>> 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+++++++++++++++++++++---------
Quoted 10 lines
>> 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 [email protected] <mailto:Quoted 7 lines
http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
"Thou shalt not follow the NULL pointer, for chaos and madness awaitthee at its end"
Quoted 6 lines
--
"Thou shalt not follow the NULL pointer, for chaos and madness awaitthee at its end"
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"