summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2024-08-06 14:12:30 +0200
committerJaehoon Chung <jh80.chung@samsung.com>2024-10-28 20:28:46 +0900
commit54dfac1a66e24ad58ab557429224012e4e3e1ac6 (patch)
tree222ac375c212ff30224298b38cb315ef1f50d023 /scripts
parentccc011dc917f7f0331a5669634271fcf5fda0971 (diff)
downloadu-boot-54dfac1a66e24ad58ab557429224012e4e3e1ac6.tar.gz
u-boot-54dfac1a66e24ad58ab557429224012e4e3e1ac6.tar.bz2
u-boot-54dfac1a66e24ad58ab557429224012e4e3e1ac6.zip
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 <m.szyprowski@samsung.com> Change-Id: If399c8ae19789acf98b014fcac6307fadc564f5c
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tizen/sd_fusing.py10
1 files changed, 10 insertions, 0 deletions
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'