summaryrefslogtreecommitdiff
path: root/android_img_layout.conf
diff options
context:
space:
mode:
Diffstat (limited to 'android_img_layout.conf')
-rw-r--r--android_img_layout.conf62
1 files changed, 62 insertions, 0 deletions
diff --git a/android_img_layout.conf b/android_img_layout.conf
new file mode 100644
index 0000000..0b81d83
--- /dev/null
+++ b/android_img_layout.conf
@@ -0,0 +1,62 @@
+device {
+ scheme mbr
+
+ # bytes in a disk "block", must be a power of 2!
+ sector_size 512
+
+ # What LBA should the partitions start at?
+ start_lba 2048
+
+ # Autodetect disk size if == 0
+ num_lba 800000
+
+ partitions {
+ # /dev/sdX1
+ sysloader {
+ active y
+ type linux
+ # 8 cyls in length... about 8M
+ len 8064
+ }
+
+ # /dev/sdX2
+ recovery {
+ active y
+ type linux
+ # 8 cyls in length... about 8M
+ len 8064
+ }
+
+ # /dev/sdX3
+ inst_boot {
+ active y
+ type linux
+ }
+
+ # /dev/sdX4
+ # (extended partion begins)
+
+ # /dev/sdX5
+ third_party {
+ type linux
+ len 8064
+ }
+
+ # /dev/sdX6
+ inst_system {
+ type linux
+ }
+
+ # /dev/sdX7
+ inst_data {
+ type linux
+ }
+
+ # /dev/sdX7
+ cache {
+ type linux
+ len 8064
+ }
+
+ }
+}