summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2017-03-16 11:59:32 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2017-03-16 11:59:32 +0100
commit75267a4fac950f87e93b2f64d9b1a72eeae64187 (patch)
tree2e0042bfd032aa35e786603feacb3256b3d17563
parent547480cbf94e47ad54b01c25f65b805e30bba3ba (diff)
dragonboard410c: add aosp flavor
Some community users want to build AOSP for DB410c, using the Landing Team kernel (or mainline + patches). For this specific use case, we want to have a bootloader package that provide the Android partition table, but uses the firmware (sbl, tz, rpm, LK, ..) which are typically used in Linux builds. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rwxr-xr-xdragonboard410c/aosp/flashall25
-rw-r--r--dragonboard410c/aosp/partitions.txt31
2 files changed, 56 insertions, 0 deletions
diff --git a/dragonboard410c/aosp/flashall b/dragonboard410c/aosp/flashall
new file mode 100755
index 0000000..55b6510
--- /dev/null
+++ b/dragonboard410c/aosp/flashall
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+fastboot flash partition gpt_both0.bin
+fastboot flash hyp hyp.mbn
+fastboot flash modem NON-HLOS.bin
+fastboot flash rpm rpm.mbn
+fastboot flash sbl1 sbl1.mbn
+fastboot flash tz tz-psci.mbn
+fastboot flash aboot emmc_appsboot.mbn
+
+# Android (for some reasons) have bak partition with duplicate..
+fastboot flash sbl1bak sbl1.mbn
+fastboot flash hypbak hyp.mbn
+fastboot flash rpmbak rpm.mbn
+fastboot flash tzbak tz-psci.mbn
+fastboot flash abootbak emmc_appsboot.mbn
+
+fastboot erase boot
+fastboot erase recovery
+fastboot erase system
+fastboot erase userdata
+fastboot erase cache
+fastboot erase devinfo
+fastboot erase persist
+fastboot erase sec
diff --git a/dragonboard410c/aosp/partitions.txt b/dragonboard410c/aosp/partitions.txt
new file mode 100644
index 0000000..b7a3289
--- /dev/null
+++ b/dragonboard410c/aosp/partitions.txt
@@ -0,0 +1,31 @@
+#name,size,align,type,format,file
+,65536,,,
+modem,65536,,EBD0A0A2-B9E5-4433-87C0-68B6B72699C7,,NON-HLOS.bin
+fsc,1,,57B90A16-22C9-E33B-8F5D-0E81686A68CB,
+ssd,8,,2C86E742-745E-4FDD-BFD8-B6A7AC638772,
+sbl1,512,,DEA0BA2C-CBDD-4805-B4F9-F428251C3E98,,sbl1.mbn
+sbl1bak,512,,EBD0A0A2-B9E5-4433-87C0-68B6B72699C7,,sbl1.mbn
+rpm,512,,098DF793-D712-413D-9D4E-89D711772228,,rpm.mbn
+rpmbak,512,,EBD0A0A2-B9E5-4433-87C0-68B6B72699C7,,rpm.mbn
+tz,1024,,A053AA7F-40B8-4B1C-BA08-2F68AC71A4F4,,tz-psci.mbn
+tzbak,1024,,EBD0A0A2-B9E5-4433-87C0-68B6B72699C7,,tz-psci.mbn
+hyp,512,,E1A6A689-0C8D-4CC6-B4E8-55A4320FBD8A,,hyp.mbn
+hypbak,512,,EBD0A0A2-B9E5-4433-87C0-68B6B72699C7,,hyp.mbn
+modemst1,1536,,EBBEADAF-22C9-E33B-8F5D-0E81686A68CB,
+modemst2,1536,,0A288B1F-22C9-E33B-8F5D-0E81686A68CB,
+DDR,32,65536,20A0C19C-286A-42FA-9CE7-F64C3226A794,
+fsg,1536,,638FF8E2-22C9-E33B-8F5D-0E81686A68CB,
+sec,16,,303E6AC3-AF15-4C54-9E9B-D9A8FBECF401,
+aboot,1024,,400FFDCD-22E0-47E7-9A23-F16ED9382388,,emmc_appsboot.mbn
+abootbak,1024,,EBD0A0A2-B9E5-4433-87C0-68B6B72699C7,,emmc_appsboot.mbn
+boot,32768,,20117F86-E985-4357-B9EE-374BC1D8487D,,boot.img
+recovery,32768,,9D72D4E4-9958-42DA-AC26-BEA7A90B0434,,recovery.img
+devinfo,1024,,1B81E7E6-F50D-419B-A739-2AEEF8DA3335,
+system,1258292,,97D7B011-54DA-4835-B3C4-917AD6E73D74,fastboot,system.img
+cache,262144,65536,5594C694-C871-4B5F-90B1-690A6F68E0F7,fastboot,cache.img
+persist,32768,,6C95E238-E343-4BA8-B489-8681ED22AD0B,fastboot,persist.img
+misc,1024,,82ACC91F-357C-4A68-9C8F-689E1B1A23A1,
+keystore,512,,DE7D4029-0F5B-41C8-AE7E-F6C023A02B33,
+config,512,,91B72D4D-71E0-4CBF-9B8E-236381CFF17A,
+oem,65536,,7db6ac55-ecb5-4e02-80da-4d335b973332,
+userdata,5817040,,1B81E7E6-F50D-419B-A739-2AEEF8DA3335,fastboot,userdata.img