From 97746c3cb58bf34caf1db820728feba5c1899aeb Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Tue, 2 Jan 2024 10:40:55 +0900 Subject: [PATCH] scripts: Add InitParams about RV64 Add InitParams about RV64(Visionfive2 board). It will be created reboot-param.bin and reboot-param.info. Change-Id: I282d974e777b5caea50353eb3ccc8922099f6d0c Signed-off-by: Jaehoon Chung --- scripts/tizen/sd_fusing.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/tizen/sd_fusing.py b/scripts/tizen/sd_fusing.py index a3d4415678..8fff28bfa2 100755 --- a/scripts/tizen/sd_fusing.py +++ b/scripts/tizen/sd_fusing.py @@ -322,7 +322,7 @@ class Rpi4(InitParams, SdFusingTargetAB): self.update = args.update super().__init__(device, "gpt") -class RV64(SdFusingTarget): +class RV64(InitParams, SdFusingTarget): long_name = "QEMU RISC-V 64-bit" part_table = [ {"size": 2, "fstype": "raw", "name": "SPL", "start": 4, @@ -347,13 +347,15 @@ class RV64(SdFusingTarget): "binaries": "ramdisk.img"}, {"size": 32, "fstype": "ext4", "name": "ramdisk-recovery_a", "binaries": "ramdisk-recovery.img"}, - {"size": 8, "fstype": "raw", "name": "inform"}, + {"size": 8, "fstype": "ext4", "name": "inform"}, {"size": 256, "fstype": "ext4", "name": "hal_a", "binaries": "hal.img"}, {"size": 4, "fstype": "raw", "name": "reserved0"}, {"size": 64, "fstype": "raw", "name": "reserved1"}, {"size": 125, "fstype": "raw", "name": "reserved2"}, ] + params = (('reboot-param.bin', 'norm'), + ('reboot-param.info', 'norm')) def __init__(self, device, args): self.user_partition = 6 -- 2.34.1