summaryrefslogtreecommitdiff
path: root/board/orangepi/orangepi-pc/genimage.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'board/orangepi/orangepi-pc/genimage.cfg')
-rw-r--r--board/orangepi/orangepi-pc/genimage.cfg36
1 files changed, 36 insertions, 0 deletions
diff --git a/board/orangepi/orangepi-pc/genimage.cfg b/board/orangepi/orangepi-pc/genimage.cfg
new file mode 100644
index 000000000..932d81cf1
--- /dev/null
+++ b/board/orangepi/orangepi-pc/genimage.cfg
@@ -0,0 +1,36 @@
+# Minimal SD card image for the OrangePi PC
+#
+image boot.vfat {
+ vfat {
+ files = {
+ "zImage",
+ "sun8i-h3-orangepi-pc.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 = 512M
+ }
+}