aboutsummaryrefslogtreecommitdiff
path: root/board/orangepi/orangepi-one-plus/genimage.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'board/orangepi/orangepi-one-plus/genimage.cfg')
-rw-r--r--board/orangepi/orangepi-one-plus/genimage.cfg33
1 files changed, 33 insertions, 0 deletions
diff --git a/board/orangepi/orangepi-one-plus/genimage.cfg b/board/orangepi/orangepi-one-plus/genimage.cfg
new file mode 100644
index 0000000000..ebb07e8b26
--- /dev/null
+++ b/board/orangepi/orangepi-one-plus/genimage.cfg
@@ -0,0 +1,33 @@
+image boot.vfat {
+ vfat {
+ files = {
+ "Image",
+ "sun50i-h6-orangepi-one-plus.dtb",
+ "extlinux"
+ }
+ }
+ size = 64M
+}
+
+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"
+ }
+}