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
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
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 u-boot FIT image to load u-boot, optee-os and treustred-firmware-a images Add a variable "UBOOT_FIT_ARM_TRUSTED_FIRMWARE_A" to

[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
According to the design of uboot-sign.bbclass and kernel-fitimage.bbclass, both of them use an UBOOT_LOADADDRESS variable to set the load address of kernel and u-boot image and use an UBOOT_ENTRYPOINT variable to set the entry address of kernel and u-boot image. However, users may want to set

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:04PM -0800, Jamin Lin wrote: >

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:

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

2024-01-16 Thread Jamin Lin via lists.openembedded.org
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 u-boot FIT image to load u-boot, optee-os and treustred-firmware-a images Add a variable "UBOOT_FIT_ARM_TRUSTED_FIRMWARE_A" to

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

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

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

2024-01-14 Thread Jamin Lin via lists.openembedded.org
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 u-boot FIT image to load u-boot, optee-os and treustred-firmware-a images Add a variable "UBOOT_FIT_ARM_TRUSTED_FIRMWARE_A" to

[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

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

2024-01-14 Thread Jamin Lin via lists.openembedded.org
According to the design of uboot-sign.bbclass and kernel-fitimage.bbclass, both of them use an UBOOT_LOADADDRESS variable to set the load address of kernel and u-boot image and use an UBOOT_ENTRYPOINT to set the entry address of kernel and u-boot image. However, users may set the different load

[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

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

2024-01-03 Thread Jamin Lin via lists.openembedded.org
Root Cause: initial_revs is an empty dictionary and do not have "." key. Traceback (most recent call last): File "scripts/devtool", line 349, in ret = main() File "scripts/devtool", line 336, in main ret = args.func(args, config, basepath, workspace) File