From: Jaehoon Chung Date: Tue, 2 Jan 2024 01:40:55 +0000 (+0900) Subject: scripts: Add InitParams about RV64 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b8f5bfa14238f61b438b362bcba65f580d1a5040;p=platform%2Fkernel%2Ftizen-fusing-scripts.git 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 --- diff --git a/sd_fusing.py b/sd_fusing.py index a3d4415..8fff28b 100755 --- a/sd_fusing.py +++ b/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