Commit Graph

6 Commits

Author SHA1 Message Date
Lukasz Tekieli
c94df402d5 configs/visionfive2_defconfig: add hashes for linux/opensbi/u-boot
Enable BR2_DOWNLOAD_FORCE_CHECK_HASHES and set the patch directory.

Signed-off-by: Lukasz Tekieli <tekieli.lukasz@gmail.com>
[Romain: remove .checkpackageignore entry]
Signed-off-by: Romain Naour <romain.naour@smile.fr>
2024-05-02 00:01:06 +02:00
Lukasz Tekieli
517f032992 board/visionfive2: add spi-nor image
Builds the spi-nor.img together with the sdcard.img.
Readme is extended with SPI NOR flash writing instructions
and recovery.

The spi-nor.img layout is based on the following document:

https://doc-en.rvspace.org/VisionFive2/Boot_UG/JH7110_SDK/boot_address_allocation.html

Signed-off-by: Lukasz Tekieli <tekieli.lukasz@gmail.com>
[Arnout: extend readme.txt with paragraph that either boot mode works.]
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-04-28 20:19:14 +02:00
Lukasz Tekieli
d9e6d2d081 configs/visionfive2: update kernel to upstream 6.8.2
The configuration is based on defconfig from starfive's kernel fork [1].

[1] 076ede06c0/arch/riscv/configs/starfive_visionfive2_defconfig

Signed-off-by: Lukasz Tekieli <tekieli.lukasz@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-04-28 20:14:36 +02:00
Lukasz Tekieli
6dfeb165ee board/visionfive2: enable u-boot
Enables U-Boot and required OpenSBI builds for the VisionFive2. Changes
the sdcard.img to use GPT and adds the SPL and U-Boot to partitions
specified in U-Boot's documentation for the board:

https://docs.u-boot.org/en/v2024.01/board/starfive/visionfive2.html

U-Boot config uses BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME with value
"u-boot.itb". Using BR2_TARGET_UBOOT_FORMAT_ITB fails, because the
build does not support u-boot.itb make target.

Signed-off-by: Lukasz Tekieli <tekieli.lukasz@gmail.com>
[Peter: document boot mode setting, add U-Boot documentation link]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-03-24 08:58:42 +01:00
Francois Dugast
8f48b3983c board/visionfive2: add link to documentation
Add a link to RVspace Documentation Center, which did not exist
when readme.txt was first submitted. It provides datasheet, quick
start, schematics, and so on.

Signed-off-by: Francois Dugast <francois.dugast.foss@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-02-12 21:49:09 +01:00
Francois Dugast
704c62bbc5 configs/visionfive2_defconfig: new defconfig
Add a defconfig for the Starfive VisionFive2 board, a board built around the
Starfive JH7110 RISC-V 64bit SoC.

This board comes with functional lowlevel and U-Boot bootloaders in SPI
flash. The defconfig reuses these and only builds a (5.15 based) kernel and
rootfs.

The factory shipped U-Boot is hard coded to look at MMC partition 3.

Signed-off-by: Francois Dugast <francois.dugast.foss@gmail.com>
[Peter: add to DEVELOPERS]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022-12-19 10:05:23 +01:00