Can‘t boot

U-Boot SPL 2021.10 (Dec 19 2022 - 17:24:44 +0800)
DDR version: dc2e84f0.
Trying to boot from SPI

OpenSBI v1.0
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name             : StarFive VisionFive V2
Platform Features         : medeleg
Platform HART Count       : 5
Platform IPI Device       : aclint-mswi
Platform Timer Device     : aclint-mtimer @ 4000000Hz
Platform Console Device   : uart8250
Platform HSM Device       : ---
Platform Reboot Device    : ---
Platform Shutdown Device  : ---
Firmware Base             : 0x40000000
Firmware Size             : 360 KB
Runtime SBI Version       : 0.3

Domain0 Name              : root
Domain0 Boot HART         : 1
Domain0 HARTs             : 0*,1*,2*,3*,4*
Domain0 Region00          : 0x0000000002000000-0x000000000200ffff (I)
Domain0 Region01          : 0x0000000040000000-0x000000004007ffff ()
Domain0 Region02          : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address      : 0x0000000040200000
Domain0 Next Arg1         : 0x0000000042200000
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yes

Boot HART ID              : 1
Boot HART Domain          : root
Boot HART Priv Version    : v1.11
Boot HART Base ISA        : rv64imafdcbx
Boot HART ISA Extensions  : none
Boot HART PMP Count       : 8
Boot HART PMP Granularity : 4096
Boot HART PMP Address Bits: 34
Boot HART MHPM Count      : 2
Boot HART MIDELEG         : 0x0000000000000222
Boot HART MEDELEG         : 0x000000000000b109


U-Boot 2021.10 (Dec 19 2022 - 17:24:44 +0800)

CPU:   rv64imacu
Model: StarFive VisionFive V2
DRAM:  8 GiB
MMC:   sdio0@16010000: 0, sdio1@16020000: 1
Loading Environment from SPIFlash... SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
StarFive EEPROM format v2

--------EEPROM INFO--------
Vendor : StarFive Technology Co., Ltd.
Product full SN: VF7110B1-2253-D008E000-00002052
data version: 0x2
PCB revision: 0xb2
BOM revision: A
Ethernet MAC0 address: 6c:cf:39:00:31:d1
Ethernet MAC1 address: 6c:cf:39:00:31:d2
--------EEPROM INFO--------

In:    serial@10000000
Out:   serial@10000000
Err:   serial@10000000
Model: StarFive VisionFive V2
Net:   eth0: ethernet@16030000, eth1: ethernet@16040000
Card did not respond to voltage select! : -110
Card did not respond to voltage select! : -110
bootmode flash device 0
Card did not respond to voltage select! : -110
Hit any key to stop autoboot:  0
Card did not respond to voltage select! : -110
Couldn't find partition mmc 0:3
Can't set block device
Importing environment from mmc0 ...
## Warning: Input data exceeds 1048576 bytes - truncated
## Info: input data size = 1048578 = 0x100002
Card did not respond to voltage select! : -110
Couldn't find partition mmc 1:2
Can't set block device
## Warning: defaulting to text format
## Error: "boot2" not defined
Card did not respond to voltage select! : -110
ethernet@16030000 Waiting for PHY auto negotiation to complete...... done
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.0.100 (376 ms)
Using ethernet@16030000 device
TFTP from server 192.168.0.12; our IP address is 192.168.0.100
Filename 'boot.scr.uimg'.
Load address: 0x43900000
Loading: *
ARP Retry count exceeded; starting again
BOOTP broadcast 1
DHCP client bound to address 192.168.0.100 (123 ms)
Using ethernet@16030000 device
TFTP from server 192.168.0.12; our IP address is 192.168.0.100
Filename 'boot.scr.uimg'.
Load address: 0x40200000
Loading: *
ARP Retry count exceeded; starting again

I can’t figure out the problem. I’d appreciate any help figuring it out.

1 Like

You have to update the firmware maybe. :flushed:

Which specific firmware?

1 Like

Take Releases · starfive-tech/VisionFive2 · GitHub if you prefer the Debian StarFive provided, or take Packages in “Ubuntu RISC-V Release PPA” : Ubuntu RISC-V Release PPA : “Development of Ubuntu software for RISC-V platforms” team if you’d like to install Ubuntu.

Just try step 1&2 from Install Ubuntu 23.10 for VF2 (NVMe SSD) step by step . (Pay attention to the file names, u-boot.itb is called visionfive2_fw_payload.img if you use the firmware StarFive released.)

I am using the 69image version of debain. I use putty to connect vf2. When I power on vf2, it will report this error.

1 Like

Folk, did you update the firmware?

@Zen You can actually have practice for step 1&2, and feel free to mention me for every possible issue.

What should I do if I am using a Windows system? What you provide is the operation of Linux system.Should I write commands directly on the putty port?

1 Like

Ha…, :rofl: :rofl: my friend, it stumps me.

I haven’t been using Windows for a long time and haven’t tried it.

Thank you for your patient answer.