diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2022-12-17 09:16:53 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2022-12-19 11:48:49 +0100 |
commit | 13cca63887cce9a73379d19029128fa60c36fc52 (patch) | |
tree | 038fc8e3f9d82a840dd3194890caf07640eb6f4d /target/arm/banana-p2-zero/genimage.cfg | |
parent | 767514154be31670df3f072c44537af64993a6a4 (diff) |
Add support for Banana PI M2 Zero
Diffstat (limited to 'target/arm/banana-p2-zero/genimage.cfg')
-rw-r--r-- | target/arm/banana-p2-zero/genimage.cfg | 35 |
1 files changed, 35 insertions, 0 deletions
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" + } + +} |