Skip to content

Commit 46552ea

Browse files
committed
BoardConfig: Set 'systempart' & 'datapart' kernel cmdline options
This is required for the Halium initramfs to boot from /system.
1 parent 7ce54ff commit 46552ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

BoardConfig.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ TARGET_USES_64_BIT_BINDER := true
6161

6262
# Kernel
6363
BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 boot_cpus=0-7 selinux=permissive
64+
BOARD_KERNEL_CMDLINE += systempart=/dev/disk/by-partlabel/system
65+
BOARD_KERNEL_CMDLINE += datapart=/dev/disk/by-partlabel/userdata
6466
BOARD_KERNEL_BASE := 0x00000000
6567
BOARD_KERNEL_PAGESIZE := 4096
6668
BOARD_KERNEL_TAGS_OFFSET := 0x00000100

0 commit comments

Comments
 (0)