diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2024-04-01 18:25:58 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-04-13 08:15:31 +0200 |
commit | ff2b468ccd00fe75762394e8cd61df535c9dc178 (patch) | |
tree | 6b07fa7cc85ed9c07b670008c094a3182e06d117 /target/riscv64/starfive-visionfive2 | |
parent | dc6786e6fb019e42b0b01011d1ca80f543e02978 (diff) |
starfive-visionfive2: add basic support
Diffstat (limited to 'target/riscv64/starfive-visionfive2')
-rw-r--r-- | target/riscv64/starfive-visionfive2/extlinux.conf | 4 | ||||
-rw-r--r-- | target/riscv64/starfive-visionfive2/genimage.cfg | 28 |
2 files changed, 32 insertions, 0 deletions
diff --git a/target/riscv64/starfive-visionfive2/extlinux.conf b/target/riscv64/starfive-visionfive2/extlinux.conf new file mode 100644 index 000000000..3d7e45151 --- /dev/null +++ b/target/riscv64/starfive-visionfive2/extlinux.conf @@ -0,0 +1,4 @@ +label starfive-visionfive2 + kernel /boot/kernel + devicetree /boot/jh7110-starfive-visionfive-2-v1.3b.dtb + append console=ttyS0,115200 root=/dev/mmcblk1p3 rootwait diff --git a/target/riscv64/starfive-visionfive2/genimage.cfg b/target/riscv64/starfive-visionfive2/genimage.cfg new file mode 100644 index 000000000..5d26dc49b --- /dev/null +++ b/target/riscv64/starfive-visionfive2/genimage.cfg @@ -0,0 +1,28 @@ +# Minimal SD card image for the Starfive VisionFive2 board + +image sdcard.img { + hdimage { + partition-table-type = "gpt" + } + + partition spl { + partition-type-uuid = 2E54B353-1271-4842-806F-E436D6AF6985 + image = "u-boot-spl.bin.normal.out" + } + + partition uboot { + partition-type-uuid = BC13C2FF-59E6-4262-A352-B275FD6F7172 + image = "u-boot.itb" + } + + partition rootfs { + partition-type-uuid = 0FC63DAF-8483-4772-8E79-3D69D8477DE4 + bootable = true + image = "rootfs.ext" + } + + partition cfgfs { + partition-type-uuid = 0FC63DAF-8483-4772-8E79-3D69D8477DE4 + image = "cfgfs.img" + } +} |