aboutsummaryrefslogtreecommitdiff
path: root/board/nanopi-neo/genimage.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'board/nanopi-neo/genimage.cfg')
-rw-r--r--board/nanopi-neo/genimage.cfg34
1 files changed, 34 insertions, 0 deletions
diff --git a/board/nanopi-neo/genimage.cfg b/board/nanopi-neo/genimage.cfg
new file mode 100644
index 0000000000..ad43d31049
--- /dev/null
+++ b/board/nanopi-neo/genimage.cfg
@@ -0,0 +1,34 @@
+image boot.vfat {
+ vfat {
+ files = {
+ "zImage",
+ "sun8i-h3-nanopi-neo.dtb",
+ "boot.scr"
+ }
+ }
+ size = 10M
+}
+
+image sdcard.img {
+ hdimage {
+ }
+
+ partition u-boot {
+ in-partition-table = "no"
+ image = "u-boot-sunxi-with-spl.bin"
+ offset = 8192
+ size = 1040384 # 1MB - 8192
+ }
+
+ partition boot {
+ partition-type = 0xC
+ bootable = "true"
+ image = "boot.vfat"
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext4"
+ size = 32M
+ }
+}