visionfive: Add initial support for Starfive Visionfive board

This is largely based on the beaglev code nbut tweaked to work with current
starfive kernel repositories and tweak to the board.

The kernel and rootfs boot with working network and graphics. The u-boot
binary builds but is as yet untested.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2022-07-03 23:26:01 +01:00
committed by Khem Raj
parent 29748ea24e
commit d16bc5a3f2
6 changed files with 120 additions and 8 deletions

View File

@@ -6,17 +6,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
KERNEL_VERSION_SANITY_SKIP = "1"
SRCREV = "${AUTOREV}"
SRCREV:visionfive = "f754a58449f0de76312bf84249139f5d8b232c66"
BRANCH:visionfive = "esmil_starlight"
BRANCH:beaglev-starlight-jh7100 = "beaglev_fedora_devel"
FORK ?= "starfive-tech"
BRANCH ?= "esmil_starlight"
SRC_URI = "git://github.com/${FORK}/linux.git;protocol=https;branch=${BRANCH} \
file://0001-riscv-Use-mno-relax-when-using-lld-linker.patch \
file://extra.cfg \
file://modules.cfg \
"
LINUX_VERSION ?= "5.14.0"
LINUX_VERSION_EXTENSION:append = "-starlight"
LINUX_VERSION ?= "5.19.0-rc4"
LINUX_VERSION_EXTENSION:append:beaglev-starlight-jh7100 = "-starlight"
KBUILD_DEFCONFIG:beaglev-starlight-jh7100 = "beaglev_defconfig"
KBUILD_DEFCONFIG:visionfive = "visionfive_defconfig"
COMPATIBLE_MACHINE = "(beaglev-starlight-jh7100)"
COMPATIBLE_MACHINE = "(beaglev-starlight-jh7100|visionfive)"

View File

@@ -15,3 +15,5 @@ CONFIG_SOC_STARFIVE_VIC7100=y
# restart
CONFIG_MFD_TPS65086=y
CONFIG_POWER_RESET_TPS65086=y
CONFIG_HW_RANDOM_STARFIVE_VIC=y