[Buildroot] [PATCH 5/8] odroidc2: add mainline genimage
Dagg Stompler
daggs at gmx.com
Sun Dec 3 12:56:16 UTC 2017
add mainline's image layout as it differs from the vendor's one because it doesn't
have the signed firmware bundled in the uboot image.
Signed-off-by: Dagg Stompler <daggs at gmx.com>
---
board/hardkernel/odroidc2/genimage-mainline.cfg | 33 +++++++++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 board/hardkernel/odroidc2/genimage-mainline.cfg
diff --git a/board/hardkernel/odroidc2/genimage-mainline.cfg b/board/hardkernel/odroidc2/genimage-mainline.cfg
new file mode 100644
index 0000000000..77e4d6dd2f
--- /dev/null
+++ b/board/hardkernel/odroidc2/genimage-mainline.cfg
@@ -0,0 +1,33 @@
+image boot.vfat {
+ vfat {
+ files = {
+ "uImage",
+ "meson-gxbb-odroidc2.dtb",
+ "boot.scr"
+ }
+ }
+ size = 64M
+}
+
+image sdcard.img {
+ hdimage {
+ }
+
+ partition u-boot {
+ in-partition-table = "no"
+ image = "uboot-odc2.img"
+ offset = 49664
+ }
+
+ partition boot {
+ partition-type = 0xC
+ bootable = "true"
+ image = "boot.vfat"
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext4"
+ size = 512M
+ }
+}
--
2.15.1
More information about the buildroot
mailing list