aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--i9300.bpt54
-rw-r--r--include/configs/i9300.h9
2 files changed, 62 insertions, 1 deletions
diff --git a/i9300.bpt b/i9300.bpt
new file mode 100644
index 0000000000..2b6a711bf3
--- /dev/null
+++ b/i9300.bpt
@@ -0,0 +1,54 @@
+{
+ "settings": {
+ "disk_size": "15753805312"
+ },
+ "partitions": [
+ {
+ "label": "bootinfo",
+ "size": "12561920",
+ "position": -4
+ },
+ {
+ "label": "efs",
+ "size": "20 MiB",
+ "position": -3
+ },
+ {
+ "label": "boot",
+ "size": "24 MiB",
+ "type_guid": "brillo_boot",
+ "position": -2
+ },
+ {
+ "label": "radio",
+ "size": "32 MiB",
+ "position": -1
+ },
+ {
+ "label": "recovery",
+ "size": "24 MiB"
+ },
+ {
+ "label": "misc",
+ "size": "1 MiB",
+ "type_guid": "brillo_misc"
+ },
+ {
+ "label": "system",
+ "size": "1 GiB",
+ "type_guid": "brillo_system"
+ },
+ {
+ "label": "vendor",
+ "size": "1 GiB"
+ },
+ {
+ "label": "userdata",
+ "size": "1 GiB",
+ "grow": true,
+ "type_guid": "brillo_userdata"
+ }
+ ]
+}
+
+
diff --git a/include/configs/i9300.h b/include/configs/i9300.h
index a99497a958..0f74474856 100644
--- a/include/configs/i9300.h
+++ b/include/configs/i9300.h
@@ -79,7 +79,14 @@
"mmc dev 0 1; mmc write 0x50000000 0x0 0x1000;\0" \
"sdupdate=" /* install updated u-boot from bootable SD card */ \
"mmc dev 1; mmc read 0x50000000 0x1 0x1000;" \
- "mmc dev 0 1; mmc write 0x50000000 0x0 0x1000;\0"
+ "mmc dev 0 1; mmc write 0x50000000 0x0 0x1000;\0" \
+ "mmcbootpart=3\0" \
+ "mmcrecoverypart=5\0" \
+ "mmcbootinfopart=0\0" \
+ "mmcboot=" \
+ "read mmc 0:${mmcbootpart} 0x50000000 0x0 0xbfff; bootm 0x50000000\0" \
+ "mmcrecovery=" \
+ "read mmc 0:${mmcrecoverypart} 0x50000000 0x0 0xbfff; bootm 0x50000000\0"
#include <linux/sizes.h>