From 40fc02d15804f8e992abd8fb2ac32ed42100dd8a Mon Sep 17 00:00:00 2001 From: Marek Szyprowski Date: Tue, 6 Aug 2024 13:57:10 +0200 Subject: [PATCH] scripts: sd_fusing: Add support for writing bootinfo_sd.bin for BananaPiF3 Add support for writing bootinfo_sd.bin to the protective MBR bootcode (sector zero) are of the SD card for BananaPiF3 boards. Signed-off-by: Marek Szyprowski Change-Id: I88b88aa34604f70ec6343ef26a8b535361c4f872 --- sd_fusing.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sd_fusing.py b/sd_fusing.py index 30abf4c..5494178 100755 --- a/sd_fusing.py +++ b/sd_fusing.py @@ -756,6 +756,11 @@ class BpiF3(InitParams, SdFusingTargetAB): {"size": 64, "name": "reserved1"}, {"size": 125, "name": "reserved2"}, ] + raw_binary_table = [ + {"name": "bootinfo_sd", + "start_sector": 0, # part of protective MBR (bootcode) + "binaries": "bootinfo_sd.bin", }, + ] def __init__(self, device, args): self.user_partition = 7 -- 2.34.1