> 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
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
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
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 --
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
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
n Environment";
> data = /incbin/("tee-raw.bin");
> type = "tee";
> arch = "";
> os = "tee";
> load = <0xb008>;
> entry = <0xb008>;
> compression =
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
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
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
arch = "arm";
os = "zephyr";
load = <0xb200>;
entry = <0xb200>;
compression = "none";
};
tspfw {
description = "TSP Firmware";
data = /incbin/("ast2
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
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 --
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 --
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
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
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
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
default = "conf";
conf {
firmware = "atf";
loadables = "uboot", "optee";
fdt = "fdt";
};
};
};
'''
Signed-off-by: Jamin Lin
---
meta/classes-recipe/uboot-sign.bbclass
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
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
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
> -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
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
};
configurations {
default = "conf";
conf {
firmware = "atf";
loadables = "uboot", "optee";
fdt = "fdt";
};
};
};
'''
Signed-off-by: Jamin Lin
---
meta/classes-recipe/uboot-sign.bbclass
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
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
default = "conf";
conf {
firmware = "atf";
loadables = "uboot", "optee";
fdt = "fdt";
};
};
};
'''
Signed-off-by: Jamin Lin
---
meta/classes-recipe/uboot-sign.bbclass
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
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
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
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
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(-)
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
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
_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
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
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
_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
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
40 matches
Mail list logo