summaryrefslogtreecommitdiff
path: root/target/aarch64/rockpi4-plus/genimage.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'target/aarch64/rockpi4-plus/genimage.cfg')
-rw-r--r--target/aarch64/rockpi4-plus/genimage.cfg39
1 files changed, 39 insertions, 0 deletions
diff --git a/target/aarch64/rockpi4-plus/genimage.cfg b/target/aarch64/rockpi4-plus/genimage.cfg
new file mode 100644
index 000000000..6c93aa58c
--- /dev/null
+++ b/target/aarch64/rockpi4-plus/genimage.cfg
@@ -0,0 +1,39 @@
+image boot.vfat {
+ vfat {
+ files = {
+ "kernel",
+ "rk3399-rock-pi-4c-plus.dtb",
+ "extlinux"
+ }
+ }
+
+ size = 112M
+}
+
+image sdcard.img {
+ hdimage {
+ partition-table-type = "gpt"
+ }
+
+ partition loader1 {
+ image = "idbloader.img"
+ offset = 32K
+ }
+
+ partition loader2 {
+ image = "u-boot.itb"
+ offset = 8M
+ }
+
+ partition boot {
+ partition-type-uuid = F
+ bootable = "true"
+ image = "boot.vfat"
+ offset = 16M
+ }
+
+ partition rootfs {
+ partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae
+ image = "rootfs.ext"
+ }
+}