[PATCH v0 0/2] Secure Boot Advanced Targeting (SBAT) support on powerpc

2024-04-16 Thread Sudhakar Kuppusamy
This patch set contains the v0 for Secure Boot Advanced Targeting (SBAT) support on powerpc secure boot. In powerpc, PE format Binary are not supported and can't use shim (https://github.com/rhboot/shim/blob/main/SBAT.md). However, ELF binary are supported. So, we created new ELF note for SBAT

[PATCH v0 1/2] mkimage: create new ELF Note for SBAT

2024-04-16 Thread Sudhakar Kuppusamy
we add a new ELF note for SBAT which store the SBAT data. The name field of shall be the string "Secure-Boot-Advanced-Targeting", zero-padded to 4 byte alignment. The type field shall be 0x41536967 (the ASCII values for the string "sbat"). Signed-off-by: Sudhakar Kuppusamy Co-authored-by: Daniel

[PATCH v0 1/2] mkimage: create new ELF Note for SBAT

2024-04-16 Thread Sudhakar Kuppusamy
we add a new ELF note for SBAT which store the SBAT data. The name field of shall be the string "Secure-Boot-Advanced-Targeting", zero-padded to 4 byte alignment. The type field shall be 0x41536967 (the ASCII values for the string "sbat"). Signed-off-by: Sudhakar Kuppusamy Co-authored-by: Daniel

[PATCH v0 0/2] Secure Boot Advanced Targeting (SBAT) support on powerpc

2024-04-16 Thread Sudhakar Kuppusamy
This patch set contains the v0 for Secure Boot Advanced Targeting (SBAT) support on powerpc secure boot. In powerpc, PE format Binary are not supported and can't use shim (https://github.com/rhboot/shim/blob/main/SBAT.md). However, ELF binary are supported. So, we created new ELF note for SBAT

[PATCH v0 2/2] mkimage: adding sbat data into sbat ELF Note on powerpc

2024-04-16 Thread Sudhakar Kuppusamy
it reads the SBAT data from sbat.csv and create the ELF Note for it then store the SBAT data on it while generate image with -s option Signed-off-by: Sudhakar Kuppusamy Co-authored-by: Daniel Axtens --- util/mkimage.c | 21 - 1 file changed, 16 insertions(+), 5 deletions(-)