Allow KERNEL_IMAGETYPE override v3
PATCH 1/1 Allow KERNEL_IMAGETYPE override v3
From: Anthony Davies <[email protected]>
Updated inc files to allow overriding KERNEL_IMAGETYPE in local.conf
--- conf/machine/include/px30.inc | 2 +- conf/machine/include/rk3066.inc | 2 +- conf/machine/include/rk3188.inc | 2 +- conf/machine/include/rk3288.inc | 2 +- conf/machine/include/rk3328.inc | 2 +- conf/machine/include/rk3399.inc | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
conf/machine/include/px30.inc +1 -1
@@ -12,7 +12,7 @@ require conf/machine/include/rockchip-wic.inc KBUILD_DEFCONFIG ?= "defconfig" KERNEL_CLASSES = "kernel-fitimage" -KERNEL_IMAGETYPE = "fitImage" +KERNEL_IMAGETYPE ?= "fitImage" TFA_PLATFORM = "px30" TFA_BUILD_TARGET = "bl31"
conf/machine/include/rk3066.inc +1 -1
@@ -11,4 +11,4 @@ SERIAL_CONSOLES = "115200;ttyS2" KBUILD_DEFCONFIG = "multi_v7_defconfig" KERNEL_FEATURES:append:rk3066 = " bsp/rockchip/remove-non-rockchip-arch-arm.scc" -KERNEL_IMAGETYPE = "zImage" +KERNEL_IMAGETYPE ?= "zImage"
conf/machine/include/rk3188.inc +1 -1
@@ -11,4 +11,4 @@ SERIAL_CONSOLES = "115200;ttyFIQ0" KBUILD_DEFCONFIG = "multi_v7_defconfig" KERNEL_FEATURES:append:rk3188 = " bsp/rockchip/remove-non-rockchip-arch-arm.scc" -KERNEL_IMAGETYPE = "zImage" +KERNEL_IMAGETYPE ?= "zImage"
conf/machine/include/rk3288.inc +1 -1
@@ -11,6 +11,6 @@ SERIAL_CONSOLES = "115200;ttyS2" KBUILD_DEFCONFIG ?= "multi_v7_defconfig" KERNEL_FEATURES:append:rk3288 = " bsp/rockchip/remove-non-rockchip-arch-arm.scc" -KERNEL_IMAGETYPE = "zImage" +KERNEL_IMAGETYPE ?= "zImage" UBOOT_SUFFIX ?= "bin"
conf/machine/include/rk3328.inc +1 -1
@@ -13,7 +13,7 @@ require conf/machine/include/rockchip-wic.inc KBUILD_DEFCONFIG ?= "defconfig" KERNEL_FEATURES:append:rk3328 = " bsp/rockchip/remove-non-rockchip-arch-arm64.scc" KERNEL_CLASSES = "kernel-fitimage" -KERNEL_IMAGETYPE = "fitImage" +KERNEL_IMAGETYPE ?= "fitImage" TFA_PLATFORM = "rk3328" TFA_BUILD_TARGET = "bl31"
conf/machine/include/rk3399.inc +1 -1
@@ -13,7 +13,7 @@ require conf/machine/include/rockchip-wic.inc KBUILD_DEFCONFIG ?= "defconfig" KERNEL_FEATURES:append:rk3399 = " bsp/rockchip/remove-non-rockchip-arch-arm64.scc" KERNEL_CLASSES = "kernel-fitimage" -KERNEL_IMAGETYPE = "fitImage" +KERNEL_IMAGETYPE ?= "fitImage" TFA_PLATFORM = "rk3399" TFA_BUILD_TARGET = "bl31"
Signature · 1 line
2.34.1
Hi Anthony,
Quoted 7 lines · Anthony Davies via lists.yoctoproject.org
[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
From: Anthony Davies <[email protected]>
Updated inc files to allow overriding
KERNEL_IMAGETYPEin local.confSigned-off-by Anthony Davies <[email protected]>
Unrelated to this patch set, KERNEL_IMAGETYPE actually defaults to zImage so we could just avoid doing it again in rk3066, rk3188, rk3328.
Also, for newer versions of patch series, please use:
git format-patch -v3
or
git send-email -v3
and it should create a mail with:
[PATCH v3] in there
because with the current subject being
Allow KERNEL_IMAGETYPE override v3
this would be the commit title inside the git repo and this is the kind of information we don't necessarily need in the git repo :) (but thanks for thinknig about adding it, it makes it easier to follow which patch mail is the latest version :) ).
Cheers,
Quentin
Quoted 21 lines · Quentin Schulz
Hi Anthony,
Quoted 7 lines · Anthony Davies via lists.yoctoproject.org
[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
From: Anthony Davies <[email protected]>
Updated inc files to allow overriding
KERNEL_IMAGETYPEin local.confSigned-off-by Anthony Davies <[email protected]>Reviewed-by Quentin Schulz <[email protected]>Unrelated to this patch set,
KERNEL_IMAGETYPEactually defaults to zImage so we could just avoid doing it again in rk3066, rk3188, rk3328.Also, for newer versions of patch series, please use:
git format-patch -v3
or
git send-email -v3
Quoted 8 lines
and it should create a mail with:
[PATCH v3] in there
because with the current subject being
AllowKERNEL_IMAGETYPEoverride v3
this would be the commit title inside the git repo and this is the kind of information we don't necessarily need in the git repo :) (but thanks for thinknig about adding it, it makes it easier to follow which patch mail is the latest version :) ).
Would "git send-email -v3" also add the "meta-rockchip"? I usually just do:
$ git format-patch --subject-prefix="meta-rockchip][PATCH v3" ... $ git send-email <patch>
I'll fix the commit messages up so don't worry about sending a v4. Thanks for your patches! It's nice to not be the only one thinking about this layer.
Best regards,
Trevor
Hi Trevor,
Quoted 31 lines · Trevor Woerner
Quoted 21 lines · Quentin Schulz
Hi Anthony,
Quoted 7 lines · Anthony Davies via lists.yoctoproject.org
[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
From: Anthony Davies <[email protected]>
Updated inc files to allow overriding
KERNEL_IMAGETYPEin local.confSigned-off-by Anthony Davies <[email protected]>Reviewed-by Quentin Schulz <[email protected]>Unrelated to this patch set,
KERNEL_IMAGETYPEactually defaults to zImage so we could just avoid doing it again in rk3066, rk3188, rk3328.Also, for newer versions of patch series, please use:
git format-patch -v3
or
git send-email -v3Quoted 8 lines
and it should create a mail with:
[PATCH v3] in there
because with the current subject being
AllowKERNEL_IMAGETYPEoverride v3
this would be the commit title inside the git repo and this is the kind of information we don't necessarily need in the git repo :) (but thanks for thinknig about adding it, it makes it easier to follow which patch mail is the latest version :) ).
Quoted 1 line
Would "git send-email -v3" also add the "meta-rockchip"?
I assume anything you can pass to git-format-patch can be passed to git-send-email, so git send-email --subject-prefix="meta-rockchip][PATCH v3" probably would work just as fine? However these parameters only work if you pass a gitrev and not a patch
c.f. https://git-scm.com/docs/git-send-email#_description
"""
Patches can be specified as files, directories (which will send all files in the directory), or directly as a revision list. In the last case, any format accepted by git-format-patch[1] can be passed to git send-email, as well as options understood by git-format-patch[1]. """
Cheers,
Quentin
Trevor Woerner
AppliedQuoted 5 lines · On Tue 2023-10-03 @ 11:43:08 AM, [email protected] wrote:
From: Anthony Davies <[email protected]>
Updated inc files to allow overriding
KERNEL_IMAGETYPEin local.confSigned-off-by Anthony Davies <[email protected]>
Quoted 8 lines
--- conf/machine/include/px30.inc | 2 +- conf/machine/include/rk3066.inc | 2 +- conf/machine/include/rk3188.inc | 2 +- conf/machine/include/rk3288.inc | 2 +- conf/machine/include/rk3328.inc | 2 +- conf/machine/include/rk3399.inc | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
Applied, with a couple tweaks, to meta-rockchip, master branch. Thanks!