Port-RISCV archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: VisionFive 2 Boot/Root Device
On Tue, Jan 21, 2025 at 06:03:19AM +0000, Nick Hudson wrote:
> On 20/01/2025 21:37, gary%duzan.org@localhost wrote:
> > I have a VisionFive 2 board that I bought to play with. It boots the
> > StarFive Debian image fine, but it doesn't do as well with a NetBSD
> > riscv64.img image downloaded recently from releng. Once I sorted out
> > the serial console, I got the boot log which I have uploaded here:
>
> Is this really a first generation VF2? The options are
>
> jh7110-starfive-visionfive-2.dtsi
> jh7110-starfive-visionfive-2-v1.2a.dts
> jh7110-starfive-visionfive-2-v1.3b.dts
FWIW, I see the same on my VF2 - it does not properly probe the SD card
even if I loaded u-boot from it:
U-Boot SPL 2024.10 (Dec 04 2024 - 16:00:54 +0100)
DDR version: dc2e84f0.
Trying to boot from SPI
OpenSBI v1.4
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : StarFive VisionFive 2 v1.3B
..
[ 1.0000000] dwcmmc0 at simplebus1: DesignWare SD/MMC
[ 1.0000000] dwcmmc0: interrupting on plic0 irq 74
[ 1.0000000] dwcmmc1 at simplebus1: DesignWare SD/MMC
[ 1.0000000] dwcmmc1: interrupting on plic0 irq 75
..
[ 1.7799862] cpu_boot_secondary_processors: starting secondary processors
[ 1.7908440] cpu_boot_secondary_processors: secondary processors hatched. 4 running
[ 1.7908440] sdmmc0 at dwcmmc0
[ 1.7999842] sdmmc1 at dwcmmc1
[ 1.8099830] dk0 at ld4: "29b914c0-4f58-499b-8938-45f6f4e75a72", 131072 blocks at 4096, type: msdos
[ 1.8217082] dk1 at ld4: "71bd3e43-ef59-4db4-8dd9-abbb568f3552", 20971520 blocks at 135168, type: swap
[ 1.8309530] dk2 at ld4: "a4559d3f-d529-4f27-ab1c-7ac0bc6621cd", 955666432 blocks at 21106688, type: ffs
[ 1.8999772] sdmmc0: couldn't enable card: 60
[ 2.9099787] swwdog0: software watchdog initialized
[ 2.9199782] WARNING: 3 errors while detecting hardware; check system log.
[ 2.9299777] boot device: <unknown>
[ 2.9299777] root device: ?
[ 38.0899762] use one of: dk0 dk1 dk2 eqos0 eqos1 ld4[a-p] wedge:29b914c0-4f58-499b-8938-45f6f4e75a72 wedge:71bd3e43-ef59-4db4-8dd9-abbb568f3552 wedge:a4559d3f-d529-4f27-ab1c-7ac0bc6621cd ddb halt reboot
In u-boot printenv I see:
board_name=visionfive2
and
fdtfile=starfive/jh7110-starfive-visionfive-2-v1.3b.dtb
which seems correct.
Martin
Home |
Main Index |
Thread Index |
Old Index