diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-04-27 17:55:04 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-05-05 17:30:50 +0200 |
commit | 2794b6744d2959f55a40952a05d92d07fc85d364 (patch) | |
tree | 1273cc16cd9994e7650f64330ba53abf1b2ff5f4 /config | |
parent | 66fc8c5e2ba35c909ffccaa0cd9337be90019db4 (diff) | |
download | ptxdist-2794b6744d2959f55a40952a05d92d07fc85d364.tar.gz ptxdist-2794b6744d2959f55a40952a05d92d07fc85d364.tar.xz |
image-hdimg: add generic HD image
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'config')
-rw-r--r-- | config/images/barebox_partitions.config | 5 | ||||
-rw-r--r-- | config/images/grub.config | 10 | ||||
-rw-r--r-- | config/images/grub_partitions.config | 10 | ||||
-rw-r--r-- | config/images/hd.config | 13 |
4 files changed, 38 insertions, 0 deletions
diff --git a/config/images/barebox_partitions.config b/config/images/barebox_partitions.config new file mode 100644 index 000000000..e60957e3b --- /dev/null +++ b/config/images/barebox_partitions.config @@ -0,0 +1,5 @@ +partition barebox { + in-partition-table = false + image = "barebox-image" + size = 2M +} diff --git a/config/images/grub.config b/config/images/grub.config new file mode 100644 index 000000000..fa33bf75d --- /dev/null +++ b/config/images/grub.config @@ -0,0 +1,10 @@ +image grub-stage1 { + file { + name = "@GRUB_STAGE_DIR@/stage1" + } +} +image grub-stage2 { + file { + name = "@GRUB_STAGE_DIR@/stage2" + } +} diff --git a/config/images/grub_partitions.config b/config/images/grub_partitions.config new file mode 100644 index 000000000..931f4cd57 --- /dev/null +++ b/config/images/grub_partitions.config @@ -0,0 +1,10 @@ +partition stage1 { + size = 512B + in-partition-table = false + image = "grub-stage1" +} +partition stage2 { + offset = 512B + in-partition-table = false + image = "grub-stage2" +} diff --git a/config/images/hd.config b/config/images/hd.config new file mode 100644 index 000000000..092ef3a3d --- /dev/null +++ b/config/images/hd.config @@ -0,0 +1,13 @@ + +@BOOTLOADER_IMAGES@ + +image @IMAGE@ { + hdimage { + align = 1M + } + @BOOTLOADER_PARTIONS@ + partition root { + image = root.ext2 + partition-type = 0x83 + } +} |