diff options
Diffstat (limited to 'target/arm/banana-p2-zero')
-rw-r--r-- | target/arm/banana-p2-zero/extlinux.conf | 4 | ||||
-rw-r--r-- | target/arm/banana-p2-zero/genimage.cfg | 35 |
2 files changed, 39 insertions, 0 deletions
diff --git a/target/arm/banana-p2-zero/extlinux.conf b/target/arm/banana-p2-zero/extlinux.conf new file mode 100644 index 000000000..08a063d7f --- /dev/null +++ b/target/arm/banana-p2-zero/extlinux.conf @@ -0,0 +1,4 @@ +label banana-p2-zero-openadk + kernel /kernel + devicetree /sun8i-h2-plus-bananapi-m2-zero.dtb + append console=ttyS0,115200n8 rw rootwait 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" + } + +} |