diff options
Diffstat (limited to 'target/aarch64/rockpi4-plus')
-rw-r--r-- | target/aarch64/rockpi4-plus/extlinux.conf | 4 | ||||
-rw-r--r-- | target/aarch64/rockpi4-plus/genimage-dual.cfg | 34 | ||||
-rw-r--r-- | target/aarch64/rockpi4-plus/genimage.cfg | 45 |
3 files changed, 83 insertions, 0 deletions
diff --git a/target/aarch64/rockpi4-plus/extlinux.conf b/target/aarch64/rockpi4-plus/extlinux.conf new file mode 100644 index 000000000..d754675c4 --- /dev/null +++ b/target/aarch64/rockpi4-plus/extlinux.conf @@ -0,0 +1,4 @@ +label rockpi4-plus-openadk + kernel /kernel + devicetree /rk3399-rock-pi-4b-plus.dtb + append console=ttyS2,115200n8 root=/dev/mmcblk0p2 rootwait diff --git a/target/aarch64/rockpi4-plus/genimage-dual.cfg b/target/aarch64/rockpi4-plus/genimage-dual.cfg new file mode 100644 index 000000000..27f9a797e --- /dev/null +++ b/target/aarch64/rockpi4-plus/genimage-dual.cfg @@ -0,0 +1,34 @@ +image sdcard.img { + hdimage { + } + + partition loader1 { + in-partition-table = "no" + image = "idbloader.img" + offset = 32K + } + + partition loader2 { + in-partition-table = "no" + image = "u-boot.itb" + offset = 8M + } + + partition root1 { + partition-type = 0x83 + bootable = "true" + image = "rootfs1.ext" + size = 64M + } + + partition root2 { + partition-type = 0x83 + image = "rootfs2.ext" + size = 64M + } + + partition cfgfs { + partition-type = 0x88 + image = "cfgfs.img" + } +} diff --git a/target/aarch64/rockpi4-plus/genimage.cfg b/target/aarch64/rockpi4-plus/genimage.cfg new file mode 100644 index 000000000..4cb5f3593 --- /dev/null +++ b/target/aarch64/rockpi4-plus/genimage.cfg @@ -0,0 +1,45 @@ +image boot.vfat { + vfat { + files = { + "kernel", + "rk3399-rock-pi-4b-plus.dtb", + "extlinux" + } + } + + size = 32M +} + +image sdcard.img { + hdimage { + } + + partition loader1 { + in-partition-table = "no" + image = "idbloader.img" + offset = 32K + } + + partition loader2 { + in-partition-table = "no" + image = "u-boot.itb" + offset = 8M + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 16M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext" + } + + partition cfgfs { + partition-type = 0x88 + image = "cfgfs.img" + } +} |