From: Jaehoon Chung Date: Tue, 2 Jan 2024 01:40:55 +0000 (+0900) Subject: scripts: Add InitParams about RV64 X-Git-Tag: accepted/tizen/unified/riscv/20240110.052257~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F38%2F303538%2F1;p=platform%2Fkernel%2Fu-boot.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/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