board: rpi: tizen_rpi: Add the values of GPT_PARTS_DEFAULT 85/320385/1 tizen-next
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 14 Nov 2024 09:04:59 +0000 (18:04 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 14 Nov 2024 09:04:59 +0000 (18:04 +0900)
GPT_PARTS_DEFAULT was missed when it was updated at initial time.
Add the values of GPT_PARTS_DEFAULT to fix wrong value.

Change-Id: I37be4e8beabffe1d887bc73a663e76cae78a6b00
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
board/raspberrypi/rpi/tizen_rpi.env

index 9f8a707..f93a699 100644 (file)
@@ -114,6 +114,28 @@ usb_boot=usb start; if usb dev ${devnum}; then devtype=usb; run scan_dev_for_boo
 #define TIZEN_VC_MEM vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000
 #endif
 
+#define GPT_PARTS_DEFAULT \
+       uuid_disk=${uuid_gpt_disk};                             \
+       name=boot_a,start=4MiB,uuid=${uuid_gpt_boot_a},size=64MiB,type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B; \
+       name=rootfs_a,size=3072MiB,uuid=${uuid_gpt_rootfs_a},type=linux; \
+       name=system-data,size=1344MiB,uuid=${uuid_gpt_data},type=linux; \
+       name=none,size=36MiB,uuid=${uuid_gpt_none},type=linux; \
+       name=user,size=6636MiB,uuid=${uuid_gpt_user},type=linux;        \
+       name=module_a,size=32MiB,uuid=${uuid_gpt_module_a},type=linux;  \
+       name=ramdisk_a,size=32MiB,uuid=${uuid_gpt_ramdisk_a},type=linux;        \
+       name=ramdisk-recovery_a,size=32MiB,uuid=${uuid_gpt_ramdisk-recovery_a},type=linux;      \
+       name=inform,size=8MiB,uuid=${uuid_gpt_inform},type=linux;       \
+       name=hal_a,size=256MiB,uuid=${uuid_gpt_hal_a},type=linux;       \
+       name=boot_b,size=64MiB,uuid=${uuid_gpt_boot_b},type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B;       \
+       name=rootfs_b,size=3072MiB,uuid=${uuid_gpt_rootf_b},type=linux; \
+       name=module_b,size=32MiB,uuid=${uuid_gpt_module_b},type=linux;  \
+       name=ramdisk_b,size=32MiB,uuid=${uuid_gpt_ramdisk_b},type=linux;        \
+       name=ramdisk-recovery_b,size=32MiB,uuid=${uuid_gpt_ramdisk-recovery_b},type=linux;      \
+       name=hal_b,size=256MiB,uuid=${uuid_gpt_hal_b},type=linux;       \
+       name=reserved0,size=4MiB,uuid=${uuid_gpt_reserved0},type=linux; \
+       name=reserved1,size=64MiB,uuid=${uuid_gpt_reserved1},type=linux;        \
+       name=reserved2,size=-,uuid=${uuid_gpt_reserved2},type=linux
+
 kernel=KERNEL_NAME 
 dfu_alt_info=Image fat 0 1;    bcm2710-rpi-3-b.dtb fat 0 1; \
        bcm2837-rpi-3-b.dtb fat 0 1;            \
@@ -153,7 +175,7 @@ set_to_part_a=SET_TO_PARTITION_X("0x61")
 set_to_part_b=SET_TO_PARTITION_X("0x62") 
 disable_delay=setenv console console=ram; setenv bootdelay 0; saveenv
 enable_delay=env delete console; setenv bootdelay 2; saveenv
-gpt_parts= GPT_PARTS_DEFAULT 
+gpt_parts=GPT_PARTS_DEFAULT
 update_gpt_part=gpt write ${devtype} ${devnum} ${gpt_parts}
 reboot_param_clear=CLEAR_REBOOT_PARAM 
 opts=loglevel=4