beaglebone: adds barebox bootloader
jkt: This is a port of https://patchwork.ozlabs.org/patch/614226/
Change-Id: I646d843fe2b9248d5a2ed3855142f1545b7bab52
Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
diff --git a/board/czechlight_beaglebone/genimage.cfg b/board/czechlight_beaglebone/genimage.cfg
new file mode 100644
index 0000000..a058ce9
--- /dev/null
+++ b/board/czechlight_beaglebone/genimage.cfg
@@ -0,0 +1,32 @@
+image boot.vfat {
+ vfat {
+ file MLO {
+ image = "barebox-am33xx-beaglebone-mlo.img"
+ }
+ file barebox.bin {
+ image = "barebox-am33xx-beaglebone.img"
+ }
+ files = {
+ "barebox.env",
+ "zImage"
+ }
+ }
+ size = 32M
+}
+
+image sdcard.img {
+ hdimage {
+ }
+
+ partition boot {
+ partition-type = 0xC
+ in-partition-table = "yes"
+ bootable = "true"
+ image = "boot.vfat"
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext4"
+ }
+}