aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/sa8155p-adp.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/machine/sa8155p-adp.conf')
-rw-r--r--conf/machine/sa8155p-adp.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/conf/machine/sa8155p-adp.conf b/conf/machine/sa8155p-adp.conf
new file mode 100644
index 0000000..19734d9
--- /dev/null
+++ b/conf/machine/sa8155p-adp.conf
@@ -0,0 +1,24 @@
+#@TYPE: Machine
+#@NAME: SA8155P-ADP
+#@DESCRIPTION: Machine configuration for the SA8155P-ADP (and IOT v2) development board, with Qualcomm Snapdragon SA8155p.
+
+require conf/machine/include/qcom-sa8155p.inc
+
+MACHINE_FEATURES = "usbhost usbgadget ext2"
+
+KERNEL_IMAGETYPE ?= "Image.gz"
+KERNEL_DEVICETREE ?= "qcom/sa8155p-adp.dtb qcom/sa8155p-iot-v2-adp.dtb"
+
+SERIAL_CONSOLE ?= "115200 ttyMSM0"
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += " \
+ kernel-modules \
+"
+
+# /dev/sda6 is 'system' partition for adp board, but its very small, so we
+# use 'userdata' partition here.
+# /dev/sda9 is 'userdata' partition for adp board, so wipe it and use for our build
+QCOM_BOOTIMG_ROOTFS ?= "/dev/sda9"
+
+# UFS partitions setup with 4096 logical sector size
+EXTRA_IMAGECMD:ext4 += " -b 4096 "