From de06cd50a0d5f959d87b9dd8c8b6ce4c9899feca Mon Sep 17 00:00:00 2001 From: Marek Szyprowski Date: Tue, 13 Aug 2024 15:13:59 +0200 Subject: [PATCH] scripts: sd_fusing: bpif3: remove unused 'env' partition Tizen u-boot for BPif3 has been patched to store its environment on the first 'boot' partition (FAT filesystem) in uboot.env file, like on other Tizen boards. The 'env' partition is unused then, so remove it. Signed-off-by: Marek Szyprowski Change-Id: Ie6b648f817e55f795e77358b8ce23846953cefa3 --- sd_fusing.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sd_fusing.py b/sd_fusing.py index 72a090e..1fb061c 100755 --- a/sd_fusing.py +++ b/sd_fusing.py @@ -712,10 +712,6 @@ class BpiF3(InitParams, SdFusingTargetAB): "start_sector": 256, "size_sectors": 512, "ptype": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B", "binaries": ["FSBL.bin"],}, - {"size": None, "name": "env", - "start_sector": 768, "size_sectors": 128, - "ptype": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B", - "binaries": ["u-boot-env-default.bin"],}, {"size": None, "name": "opensbi", "start_sector": 2048, "size_sectors": 2048, "ptype": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B", @@ -766,7 +762,7 @@ class BpiF3(InitParams, SdFusingTargetAB): ] def __init__(self, device, args): - self.user_partition = 7 + self.user_partition = 6 self.reserved_space = 5 self.update = args.update self.apply_partition_sizes(args.partition_sizes) -- 2.34.1