diff options
author | Rouven Czerwinski <r.czerwinski@pengutronix.de> | 2017-06-16 08:58:08 +0200 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2017-07-03 22:59:34 +0200 |
commit | cc1fee168d497fc1fb2546bf4d3a836208a5b3df (patch) | |
tree | 700ee4fd8eaf33d5e0cf2c48ae135137e12f2c2c /configs/platform-v7a/config/images/vexpress-nor.config | |
parent | 421193e8981287d6edc70af6d2996a5296438f87 (diff) | |
download | DistroKit-cc1fee168d497fc1fb2546bf4d3a836208a5b3df.tar.gz DistroKit-cc1fee168d497fc1fb2546bf4d3a836208a5b3df.tar.xz |
platform-v7a: vexpress: add board support
Add support for Versatile Express, with the configs+rules for image
creation and bootspec entries.
Note that vexpress in qemu can currently only boot from nor, so we put
the bootloader, environment and boot state there and the rest of the
system into mmc.
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
[add vexpress.conf]
Signed-off-by: Chris Fiege <c.fiege@pengutronix.de>
[improve commit description]
[split from vexpress patches]
[fix and cleanupimage generation]
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/config/images/vexpress-nor.config')
-rw-r--r-- | configs/platform-v7a/config/images/vexpress-nor.config | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/configs/platform-v7a/config/images/vexpress-nor.config b/configs/platform-v7a/config/images/vexpress-nor.config new file mode 100644 index 0000000..18e53ed --- /dev/null +++ b/configs/platform-v7a/config/images/vexpress-nor.config @@ -0,0 +1,29 @@ +image @IMAGE@ { + hdimage { + partition-table = false + } + partition barebox { + image = barebox.bin-vexpress + offset = 0 + in-partition-table = false + } + partition barebox-environment { + /* empty environment -> use barebox builtin */ + image = barebox-zero-env-vexpress + offset = 0x80000 /* 512 KiB */ + in-partition-table = false + } + partition barebox-state { + image = /dev/null + offset = 0x100000 /* 1 MiB */ + in-partition-table = false + size = 0x100000 /* 1 MiB */ + } + /* expand image size to 64 MiB; dummy size, results in 0 bytes length */ + partition end { + image = /dev/null + offset = 64M + size = 1M + in-partition-table = false + } +} |