Re: [OE-core] [PATCH v5 0/3] uboot-sign: support ATF and TFE ITS generation

2025-01-01 Thread Jamin Lin via lists.openembedded.org
> From: Jamin Lin > Sent: Wednesday, December 11, 2024 10:35 AM > To: openembedded-core@lists.openembedded.org > Cc: Troy Lee ; Jamin Lin > > Subject: [PATCH v5 0/3] uboot-sign: support ATF and TFE ITS generation > > v0: > 1. add variable to set load address an

Re: [OE-core] [PATCH v4 0/3] uboot-sign: support ATF and TFE ITS generation

2024-12-10 Thread Jamin Lin via lists.openembedded.org
Hi Adrian, Ross I resend v5 patch series here, https://patchwork.yoctoproject.org/project/oe-core/cover/20241211023515.2108415-1-jamin_...@aspeedtech.com/ Thanks-Jamin > Subject: RE: [OE-core] [PATCH v4 0/3] uboot-sign: support ATF and TFE ITS > generation > -=-=-=-=-=-=-=-=-=-=-=- Links: Yo

[OE-core] [PATCH v5 2/3] uboot-sign: support to add users specific image tree source

2024-12-10 Thread Jamin Lin via lists.openembedded.org
quot;; os = "myos"; load = <0xb200>; entry = <0xb200>; compression = "none"; }; ``` Add a variable "UBOOT_FIT_CONF_USER_LOADABLES" to load users specific images and it is an empty by default. Signed-off-by: Jamin L

[OE-core] [PATCH v5 1/3] uboot-sign: support to create TEE and ATF image tree source

2024-12-10 Thread Jamin Lin via lists.openembedded.org
TS generation and it is disable by default. Add a variable "UBOOT_FIT_TEE" to enable TEE ITS generation and it is disable by default. Signed-off-by: Jamin Lin --- meta/classes-recipe/uboot-sign.bbclass | 80 +- 1 file changed, 79 insertions(+), 1 deletion(-) diff --

[OE-core] [PATCH v5 3/3] oe-selftest: fitimage: add testcases to test ATF and TEE

2024-12-10 Thread Jamin Lin via lists.openembedded.org
y images for testing. Signed-off-by: Jamin Lin --- meta/lib/oeqa/selftest/cases/fitimage.py | 288 +++ 1 file changed, 288 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/fitimage.py b/meta/lib/oeqa/selftest/cases/fitimage.py index 0b5f4602fb..fc9d224f50 100644

[OE-core] [PATCH v5 0/3] uboot-sign: support ATF and TFE ITS generation

2024-12-10 Thread Jamin Lin via lists.openembedded.org
signed FIT c. add variable to set load address and entrypoint. v5: 1. create a new variable to add users snippet ITS. 2. remove uboot_fitimage_user_image hook function Jamin Lin (3): uboot-sign: support to create TEE and ATF image tree source uboot-sign: support to add users specific image

Re: [OE-core] [PATCH v4 0/3] uboot-sign: support ATF and TFE ITS generation

2024-12-10 Thread Jamin Lin via lists.openembedded.org
n Environment"; > data = /incbin/("tee-raw.bin"); > type = "tee"; > arch = ""; > os = "tee"; > load = <0xb008>; > entry = <0xb008>; > compression =

Re: [OE-core] [PATCH v1] python3-pyhsslms: Add 2.0.0 recipe

2024-12-09 Thread Jamin Lin via lists.openembedded.org
it works. Thanks-Jamin > Alex > > On Mon, 9 Dec 2024 at 10:43, Jamin Lin wrote: > > > > Hi Alex > > > > I followed this recipe, python3-cryptography.bb and send this patch to > > place pyhsslms into OpeneEmbedded-Core/meta layer > > > https://gith

Re: [OE-core] [PATCH v1] python3-pyhsslms: Add 2.0.0 recipe

2024-12-09 Thread Jamin Lin via lists.openembedded.org
tests > that ensure it works? > > Alex > > On Mon, 9 Dec 2024 at 09:41, Jamin Lin via lists.openembedded.org > wrote: > > > > This recipe was placed in meta-arm meta layer, > > https://git.yoctoproject.org/meta-arm/tree/meta-arm/recipes-devtools/p > > y

[OE-core] [PATCH v1] python3-pyhsslms: Add 2.0.0 recipe

2024-12-09 Thread Jamin Lin via lists.openembedded.org
his recipe from meta-arm to OpenEmbedded-Core/meta layer. Signed-off-by: Jamin Lin --- .../python/python3-pyhsslms_2.0.0.bb | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-pyhsslms_2.0.0.bb diff --git a/meta/recipes-devto

Re: [OE-core] [PATCH v4 0/3] uboot-sign: support ATF and TFE ITS generation

2024-12-05 Thread Jamin Lin via lists.openembedded.org
arch = "arm"; os = "zephyr"; load = <0xb200>; entry = <0xb200>; compression = "none"; }; tspfw { description = "TSP Firmware"; data = /incbin/("ast2

Re: [OE-core] [PATCH v4 0/3] uboot-sign: support ATF and TFE ITS generation

2024-12-01 Thread Jamin Lin via lists.openembedded.org
Then, users set “USER_XXX” variables to create their own ITS file for u-boot/kernel FIT image generation. Or can you give me any suggestion about your goal and ITS improvement? Thanks-Jamin > Cheers, > Ross > > > > On 18 Nov 2024, at 06:32, Jamin Lin via lists.openembedded.o

[OE-core] [PATCH v1] meta:kernel-uboot: Support lzma compressed algorithm

2024-11-19 Thread Jamin Lin via lists.openembedded.org
to support lzma. This command is refer to Linux kernel, https://github.com/torvalds/linux/blob/master/arch/powerpc/boot/wrapper "xz --format=lzma -f -6 linux.bin" Signed-off-by: Jamin Lin --- meta/classes-recipe/kernel-uboot.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --

[OE-core] [PATCH v4 1/3] uboot-sign: support to create TEE and ATF image tree source

2024-11-18 Thread Jamin Lin via lists.openembedded.org
TS generation and it is disable by default. Add a variable "UBOOT_FIT_TEE" to enable TEE ITS generation and it is disable by default. Signed-off-by: Jamin Lin --- meta/classes-recipe/uboot-sign.bbclass | 80 +- 1 file changed, 79 insertions(+), 1 deletion(-) diff --

[OE-core] [PATCH v4 0/3] uboot-sign: support ATF and TFE ITS generation

2024-11-18 Thread Jamin Lin via lists.openembedded.org
signed FIT c. add variable to set load address and entrypoint. Jamin Lin (3): uboot-sign: support to create TEE and ATF image tree source uboot-sign: support to create users specific image tree source oe-selftest: fitimage: add testcases to test ATF and TEE meta/classes-recipe/uboot

[OE-core] [PATCH v4 2/3] uboot-sign: support to create users specific image tree source

2024-11-17 Thread Jamin Lin via lists.openembedded.org
to enable users specific ITS generation and it is disable by default. Add a variable "UBOOT_FIT_CONF_USER_LOADABLES" to load users specific images and it is an empty by default. Signed-off-by: Jamin Lin --- meta/classes-recipe/uboot-sign.bbclass | 20 1 file chang

[OE-core] [PATCH v4 3/3] oe-selftest: fitimage: add testcases to test ATF and TEE

2024-11-17 Thread Jamin Lin via lists.openembedded.org
y images for testing. Signed-off-by: Jamin Lin --- meta/lib/oeqa/selftest/cases/fitimage.py | 288 +++ 1 file changed, 288 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/fitimage.py b/meta/lib/oeqa/selftest/cases/fitimage.py index 0b5f4602fb..fc9d224f50 100644

Re: [OE-core] [PATCH v1] uboot-sign: support to load optee-os and TFA images

2024-01-18 Thread Jamin Lin via lists.openembedded.org
1444 Thanks-Jamin > On 17/01/2024 10:10:51+0800, Jamin Lin via lists.openembedded.org wrote: > > Currently, u-boot FIT image only support to load u-boot image. > > To support optee-os and trusted-firmware-a, update ITS file generation > > scripts, so users are able to use

[OE-core] [PATCH v2 4/4] uboot-sign: support to load optee-os and TFA images

2024-01-18 Thread Jamin Lin via lists.openembedded.org
default = "conf"; conf { firmware = "atf"; loadables = "uboot", "optee"; fdt = "fdt"; }; }; }; ''' Signed-off-by: Jamin Lin --- meta/classes-recipe/uboot-sign.bbclass

[OE-core] [PATCH v2 2/4] uboot-sign: Fix to install nonexistent dtb file

2024-01-18 Thread Jamin Lin via lists.openembedded.org
Add to check dtb file exist, then install it. Signed-off-by: Jamin Lin --- meta/classes-recipe/uboot-sign.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/classes-recipe/uboot-sign.bbclass b/meta/classes-recipe/uboot-sign.bbclass index abde0bc61c..4b462698f9

[OE-core] [PATCH v2 3/4] u-boot-sign:uboot-config: support to verify signed FIT image

2024-01-18 Thread Jamin Lin via lists.openembedded.org
It does not verify the signed FIT image of kernel and uboot. To catch the unexpected errors as far as possible at the build time, add uboot-fit-check-sign tool which is provided by u-boot to verify the signed FIT image. Signed-off-by: Jamin Lin --- meta/classes-recipe/uboot-config.bbclass | 3

[OE-core] [PATCH v2 1/4] uboot-sign: set load address and entrypoint

2024-01-18 Thread Jamin Lin via lists.openembedded.org
UBOOT_FIT_UBOOT_ENTRYPOINT is UBOOT_ENTRYPOINT by default. Signed-off-by: Jamin Lin --- meta/classes-recipe/uboot-sign.bbclass | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/classes-recipe/uboot-sign.bbclass b/meta/classes-recipe/uboot-sign.bbclass index ad04c82378

Re: [OE-core] [PATCH] uboot-sign: support to load optee-os and TFA images

2024-01-17 Thread Jamin Lin via lists.openembedded.org
> -Original Message- > From: Tom Rini > Sent: Wednesday, January 17, 2024 10:37 PM > To: Jamin Lin > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [PATCH] uboot-sign: support to load optee-os and TFA images > > On Tue, Jan 16, 2024 at 07:37:04P

Re: [OE-core] [PATCH] uboot-sign: support to load optee-os and TFA images

2024-01-16 Thread Jamin Lin via lists.openembedded.org
Hi Alexander, One more thing, So far, bitman only support hash 256. Thanks -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#193885): https://lists.openembedded.org/g/openembedded-core/message/193885 Mute This Topic: https://lists.openembedded.org/m

[OE-core] [PATCH v1] uboot-sign: support to load optee-os and TFA images

2024-01-16 Thread Jamin Lin via lists.openembedded.org
}; configurations { default = "conf"; conf { firmware = "atf"; loadables = "uboot", "optee"; fdt = "fdt"; }; }; }; ''' Signed-off-by: Jamin Lin --- meta/classes-recipe/uboot-sign.bbclass

Re: [OE-core] [PATCH] uboot-sign: support to load optee-os and TFA images

2024-01-16 Thread Jamin Lin via lists.openembedded.org
Yes, it is a typo and will fix it. Thanks-Jamin -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#193882): https://lists.openembedded.org/g/openembedded-core/message/193882 Mute This Topic: https://lists.openembedded.org/mt/103734859/21656 Group Owner

Re: [OE-core] [PATCH] uboot-sign: support to load optee-os and TFA images

2024-01-16 Thread Jamin Lin via lists.openembedded.org
Hi Alexander, Thanks for review. I tested it in ASPEED AST2600 and AST2700 SOCs. Yoc can see our Github repository here. https://github.com/AspeedTech-BMC You are right the latest version of u-boot(2024.01) support binman python tool to create FIT image and support optee-os and trusted-firmwa

[OE-core] [PATCH] uboot-sign: support to load optee-os and TFA images

2024-01-14 Thread Jamin Lin via lists.openembedded.org
default = "conf"; conf { firmware = "atf"; loadables = "uboot", "optee"; fdt = "fdt"; }; }; }; ''' Signed-off-by: Jamin Lin --- meta/classes-recipe/uboot-sign.bbclass

[OE-core] [PATCH v1] u-boot-sign.bbclass: support to verify signed FIT image

2024-01-14 Thread Jamin Lin via lists.openembedded.org
It does not verify the signed FIT image of kernel and uboot. To catch the unexpected errors as far as possible at the build time, add uboot-fit-check-sign tool which is provided by u-boot tools to verify the signed FIT image. Signed-off-by: Jamin Lin --- meta/classes-recipe/uboot-config.bbclass

[OE-core] [PATCH] uboot-sign: Fix to install nonexistent dtb file

2024-01-14 Thread Jamin Lin via lists.openembedded.org
Add to check dtb file is exist, then install it. Signed-off-by: Jamin Lin --- meta/classes-recipe/uboot-sign.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/classes-recipe/uboot-sign.bbclass b/meta/classes-recipe/uboot-sign.bbclass index ad04c82378

[OE-core] [PATCH] uboot-sign: add variables to set load address and entrypoint

2024-01-14 Thread Jamin Lin via lists.openembedded.org
UBOOT_ENTRYPOINT by default. Signed-off-by: Jamin Lin --- meta/classes-recipe/uboot-sign.bbclass | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/classes-recipe/uboot-sign.bbclass b/meta/classes-recipe/uboot-sign.bbclass index ad04c82378..abde0bc61c 100644 --- a/meta

[OE-core] create-spdx-2.2.bbclass issue

2024-01-11 Thread Jamin Lin via lists.openembedded.org
Hi all, I encountered the issue about do_create_spdx task and my descriptions as following. 1. I have two target machines whcih are ast2700-default and ast2700-emmc, respectively. 2. I have an appliction package call phosphor-logging. I succesfully to build ast2700-emmc target machine and crea

[OE-core] [PATCH] devtool: modify: fix exception

2024-01-03 Thread Jamin Lin via lists.openembedded.org
e) File "scripts/lib/devtool/standard.py", line 922, in modify if not initial_revs["."]: KeyError: '.' Solution: check key exists, then get its value. Signed-off-by: Jamin Lin --- scripts/lib/devtool/standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [OE-core] [PATCH 1/2] kernel-fitimage: support 64 bits address

2023-04-13 Thread Jamin Lin
Thanks for your review and correct me. I should create a patch based on an openembedded-core repository rather than a poky repository. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#179983): https://lists.openembedded.org/g/openembedded-core/mess

[OE-core] [PATCH 0/2] kernel-fitimage/uboot-sign: support 64bits address

2023-04-13 Thread Jamin Lin
v1: kernel-fitimage.bbclass: allow users to change address-cells to support 64bits address uboot-sign.bbclass: allow users to change address-cells to support 64bits address. Jamin Lin (2): kernel-fitimage: support 64 bits address uboot-sign: support 64bits address meta/classes-recipe/kernel

[OE-core] [PATCH 1/2] kernel-fitimage: support 64 bits address

2023-04-13 Thread Jamin Lin
_LOADADDRESS= "0x04 0x" (From OE-Core rev: f79046d082f3a7752e6780b2990470dcd36cbba4) Signed-off-by: Jamin Lin --- meta/classes-recipe/kernel-fitimage.bbclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/classes-recipe/kernel-fitimage.bbclass b/meta/classes

[OE-core] [PATCH 2/2] uboot-sign: support 64bits address

2023-04-13 Thread Jamin Lin
SS= "0x04 0x" (From OE-Core rev: f79046d082f3a7752e6780b2990470dcd36cbba4) Signed-off-by: Jamin Lin --- meta/classes-recipe/uboot-sign.bbclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/classes-recipe/uboot-sign.bbclass b/meta/classes-recipe/uboot-sign.bbclass inde

[OE-core] [PATCH 2/2] uboot-sign: support 64bits address

2023-04-13 Thread Jamin Lin
SS= "0x04 0x" (From OE-Core rev: f79046d082f3a7752e6780b2990470dcd36cbba4) Signed-off-by: Jamin Lin --- meta/classes-recipe/uboot-sign.bbclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/classes-recipe/uboot-sign.bbclass b/meta/classes-recipe/uboot-sign.bbclass inde

[OE-core] [PATCH 1/2] kernel-fitimage: support 64 bits address

2023-04-13 Thread Jamin Lin
_LOADADDRESS= "0x04 0x" (From OE-Core rev: f79046d082f3a7752e6780b2990470dcd36cbba4) Signed-off-by: Jamin Lin --- meta/classes-recipe/kernel-fitimage.bbclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/classes-recipe/kernel-fitimage.bbclass b/meta/classes

[OE-core] [PATCH 0/2] kernel-fitimage/uboot-sign: support 64bits address

2023-04-13 Thread Jamin Lin
v1: kernel-fitimage.bbclass: allow users to change address-cells to support 64bits address uboot-sign.bbclass: allow users to change address-cells to support 64bits address. Jamin Lin (2): kernel-fitimage: support 64 bits address uboot-sign: support 64bits address meta/classes-recipe/kernel