aboutsummaryrefslogtreecommitdiff
path: root/board/orangepi/orangepi-pc2/genimage.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'board/orangepi/orangepi-pc2/genimage.cfg')
-rw-r--r--board/orangepi/orangepi-pc2/genimage.cfg39
1 files changed, 39 insertions, 0 deletions
diff --git a/board/orangepi/orangepi-pc2/genimage.cfg b/board/orangepi/orangepi-pc2/genimage.cfg
new file mode 100644
index 0000000000..e10c67ffc3
--- /dev/null
+++ b/board/orangepi/orangepi-pc2/genimage.cfg
@@ -0,0 +1,39 @@
+image boot.vfat {
+ vfat {
+ files = {
+ "Image",
+ "sun50i-h5-orangepi-pc2.dtb",
+ "boot.scr"
+ }
+ }
+ size = 64M
+}
+
+image sdcard.img {
+ hdimage {
+ }
+
+ partition spl {
+ in-partition-table = "no"
+ image = "sunxi-spl.bin"
+ offset = 8192
+ }
+
+ partition u-boot {
+ in-partition-table = "no"
+ image = "u-boot.itb"
+ offset = 40K
+ size = 1M # 1MB - 40K
+ }
+
+ partition boot {
+ partition-type = 0xC
+ bootable = "true"
+ image = "boot.vfat"
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext4"
+ }
+}