From 13cca63887cce9a73379d19029128fa60c36fc52 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 17 Dec 2022 09:16:53 +0100 Subject: Add support for Banana PI M2 Zero --- target/arm/banana-p2-zero/genimage.cfg | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 target/arm/banana-p2-zero/genimage.cfg (limited to 'target/arm/banana-p2-zero/genimage.cfg') diff --git a/target/arm/banana-p2-zero/genimage.cfg b/target/arm/banana-p2-zero/genimage.cfg new file mode 100644 index 000000000..98c9de077 --- /dev/null +++ b/target/arm/banana-p2-zero/genimage.cfg @@ -0,0 +1,35 @@ +image boot.vfat { + vfat { + files = { + "kernel", + "sun8i-h2-plus-bananapi-m2-zero.dtb", + "boot.scr" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext" + } + +} -- cgit v1.2.3