From ff2b468ccd00fe75762394e8cd61df535c9dc178 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 1 Apr 2024 18:25:58 +0200 Subject: starfive-visionfive2: add basic support --- target/riscv64/starfive-visionfive2/extlinux.conf | 4 ++++ target/riscv64/starfive-visionfive2/genimage.cfg | 28 +++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 target/riscv64/starfive-visionfive2/extlinux.conf create mode 100644 target/riscv64/starfive-visionfive2/genimage.cfg (limited to 'target/riscv64/starfive-visionfive2') 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" + } +} -- cgit v1.2.3