From: Marek Szyprowski Date: Tue, 6 Aug 2024 12:12:30 +0000 (+0200) Subject: scripts: sd_fusing: Add entry for raw binary bootcode for LicheePi4A X-Git-Tag: accepted/tizen/unified/20240808.160409~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d010d911ea07873b7fffd075de092ced1ea4cfe;p=platform%2Fkernel%2Fu-boot.git scripts: sd_fusing: Add entry for raw binary bootcode for LicheePi4A The content of the bootcode will be moved from sd_fusing.py script to the boot images, so add a new raw binary entry for the bootcode.bin file for the LicheePi4A platform. Signed-off-by: Marek Szyprowski Change-Id: If399c8ae19789acf98b014fcac6307fadc564f5c --- diff --git a/scripts/tizen/sd_fusing.py b/scripts/tizen/sd_fusing.py index 2954838c63..dc0015e492 100755 --- a/scripts/tizen/sd_fusing.py +++ b/scripts/tizen/sd_fusing.py @@ -613,6 +613,11 @@ class LicheePi4A(InitParams, SdFusingTargetAB): {"size": 64, "name": "reserved1"}, {"size": 125, "name": "reserved2"}, ] + raw_binary_table = [ + {"name": "bootcode", + "start_sector": 0, # part of protective MBR (bootcode) + "binaries": "bootcode.bin", }, + ] # bootcode written to the protective MBR, aka RV64 'J 0x4400' (sector 34) bootcode = b'\x6f\x40\x00\x40' @@ -660,6 +665,11 @@ class LicheePi4ASuper(InitParams, SdFusingTargetAB): {"size": 64, "name": "reserved1"}, {"size": 125, "name": "reserved2"} ] + raw_binary_table = [ + {"name": "bootcode", + "start_sector": 0, # part of protective MBR (bootcode) + "binaries": "bootcode.bin", }, + ] # bootcode written to the protective MBR, aka RV64 'J 0x4400' (sector 34) bootcode = b'\x6f\x40\x00\x40'