data: use /dev/disk/by-partlabel/* path for VisionFive2 63/317763/1 accepted/tizen_9.0_unified accepted/tizen_unified_toolchain tizen_9.0 accepted/tizen/9.0/unified/20241101.025324 accepted/tizen/unified/20241101.174158 accepted/tizen/unified/toolchain/20241022.122635 accepted/tizen/unified/toolchain/20241022.123041 accepted/tizen/unified/x/20241008.135223 accepted/tizen/unified/x/asan/20241014.000430
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 16 Sep 2024 06:01:09 +0000 (08:01 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 16 Sep 2024 06:03:15 +0000 (08:03 +0200)
VF2 board always uses GPT layout, so /dev/disk/by-partlabel/* links are
always available on it. Use them to avoid hardcoding the partition
numbers and relying on the particular device probe order (numbers).

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Iace5787aadbd49fddf2b8f7d05c60efa8155d52a

data/partition_visionfive2.info

index dbbcf55d2c3730fcbe41f9f803a02d913b259326..898e814013684a81723c0ebcf0470c51da26a269 100644 (file)
@@ -1,26 +1,26 @@
-p:/dev/mmcblk1p1:u-boot-spl.bin.normal.out:x:x
-p:/dev/mmcblk1p2:u-boot.itb:x:x
-p:/dev/mmcblk1p3:boot.img:x:a
-p:/dev/mmcblk1p8:modules.img:x:a
-p:/dev/mmcblk1p12:hal.img:x:a
-p:/dev/mmcblk1p9:ramdisk.img:x:a
-p:/dev/mmcblk1p10:ramdisk-recovery.img:x:a
-p:/dev/mmcblk1p5:rootfs.img:x:a
-p:/dev/mmcblk1p6:system-data.img:x:x
-p:/dev/mmcblk1p7:user.img:x:x
-f:/dev/mmcblk1p3:uboot.env:/:a
-f:/dev/mmcblk1p3:boot.scr.uimg:/:a
-f:/dev/mmcblk1p3:Image:/:a
-f:/dev/mmcblk1p3:jh7110-starfive-visionfive-2-v1.2a.dtb:/:a
-f:/dev/mmcblk1p3:jh7110-starfive-visionfive-2-v1.3b.dtb:/:a
-p:/dev/mmcblk1p13:boot.img:x:b
-p:/dev/mmcblk1p15:modules.img:x:b
-p:/dev/mmcblk1p18:hal.img:x:b
-p:/dev/mmcblk1p16:ramdisk.img:x:b
-p:/dev/mmcblk1p17:ramdisk-recovery.img:x:b
-p:/dev/mmcblk1p14:rootfs.img:x:b
-f:/dev/mmcblk1p13:uboot.env:/:b
-f:/dev/mmcblk1p13:boot.scr.uimg:/:b
-f:/dev/mmcblk1p13:Image:/:b
-f:/dev/mmcblk1p13:jh7110-starfive-visionfive-2-v1.2a.dtb:/:b
-f:/dev/mmcblk1p13:jh7110-starfive-visionfive-2-v1.3b.dtb:/:b
+p:/dev/disk/by-partlabel/SPL:u-boot-spl.bin.normal.out:x:x
+p:/dev/disk/by-partlabel/u-boot:u-boot.itb:x:x
+p:/dev/disk/by-partlabel/boot_a:boot.img:x:a
+p:/dev/disk/by-partlabel/module_a:modules.img:x:a
+p:/dev/disk/by-partlabel/hal_a:hal.img:x:a
+p:/dev/disk/by-partlabel/ramdisk_a:ramdisk.img:x:a
+p:/dev/disk/by-partlabel/ramdisk-recovery_a:ramdisk-recovery.img:x:a
+p:/dev/disk/by-partlabel/rootfs_a:rootfs.img:x:a
+p:/dev/disk/by-partlabel/system-data:system-data.img:x:x
+p:/dev/disk/by-partlabel/user:user.img:x:x
+f:/dev/disk/by-partlabel/boot_a:uboot.env:/:a
+f:/dev/disk/by-partlabel/boot_a:boot.scr.uimg:/:a
+f:/dev/disk/by-partlabel/boot_a:Image:/:a
+f:/dev/disk/by-partlabel/boot_a:jh7110-starfive-visionfive-2-v1.2a.dtb:/:a
+f:/dev/disk/by-partlabel/boot_a:jh7110-starfive-visionfive-2-v1.3b.dtb:/:a
+p:/dev/disk/by-partlabel/boot_b:boot.img:x:b
+p:/dev/disk/by-partlabel/module_b:modules.img:x:b
+p:/dev/disk/by-partlabel/hal_b:hal.img:x:b
+p:/dev/disk/by-partlabel/ramdisk_b:ramdisk.img:x:b
+p:/dev/disk/by-partlabel/ramdisk-recovery_b:ramdisk-recovery.img:x:b
+p:/dev/disk/by-partlabel/rootfs_b:rootfs.img:x:b
+f:/dev/disk/by-partlabel/boot_b:uboot.env:/:b
+f:/dev/disk/by-partlabel/boot_b:boot.scr.uimg:/:b
+f:/dev/disk/by-partlabel/boot_b:Image:/:b
+f:/dev/disk/by-partlabel/boot_b:jh7110-starfive-visionfive-2-v1.2a.dtb:/:b
+f:/dev/disk/by-partlabel/boot_b:jh7110-starfive-visionfive-2-v1.3b.dtb:/:b