Skip to content

Commit 3c16d9f

Browse files
committed
transformer: set boot and recovery partitions as raw
Asus Transformers boot and recovery partitions are hidden from main partition table. Set them as raw for correct handling. Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
1 parent 08a3ae6 commit 3c16d9f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

include/configs/transformer.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,18 @@
2121
"dtb_addr_r=0x83000000\0" \
2222
"ramdisk_addr_r=0x84000000\0" \
2323
"script_addr_r=0x87000000\0" \
24-
"lnx_offset_r=0x9C00\0" \
25-
"lnx_size=0x4000\0" \
2624
"ebt_offset_r=0x1C00\0" \
2725
"ebt_size=0x4000\0" \
26+
"sos_offset_r=0x5C00\0" \
27+
"sos_size=0x4000\0" \
28+
"lnx_offset_r=0x9C00\0" \
29+
"lnx_size=0x4000\0" \
2830
"kernel_file=vmlinuz\0" \
2931
"dtb_file="CONFIG_DEFAULT_DEVICE_TREE".dtb\0" \
3032
"ramdisk_file=initramfs\0" \
3133
"bootloader_file=u-boot-dtb-tegra.bin\0" \
32-
"fastboot_partition_alias_boot=LNX\0" \
33-
"fastboot_partition_alias_recovery=SOS\0" \
34+
"fastboot_raw_partition_boot=${lnx_offset_r} ${lnx_size} mmcpart 0\0" \
35+
"fastboot_raw_partition_recovery=${sos_offset_r} ${sos_size} mmcpart 0\0" \
3436
"fastboot_partition_alias_system=APP\0" \
3537
"fastboot_partition_alias_cache=CAC\0" \
3638
"fastboot_partition_alias_misc=MSC\0" \

0 commit comments

Comments
 (0)