开机出问题?

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         : 2
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              : 2
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......... TIMEOUT !
phy_startup() failed: -110FAILED: -110ethernet@16040000 Waiting for PHY auto negotiation to complete...... done
BOOTP broadcast 1
DHCP client bound to address 192.168.0.100 (99 ms)
Using ethernet@16040000 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 (133 ms)
Using ethernet@16040000 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

是要更新固件,但连不上怎么更新呢?

1 Like

你问这个美女 @Chloe

我私信她了

我是应该下载minimal版本的debian,还是下载完整版本的?

你更新固件了吗?

更新固件要先连接上vf2?我无法成功通过tftp服务和putty连接上vf2,你有什么其他办法吗?


现在你手上应该有这个东西吧?

装有 Linux 发行版的计算机呢?有?

更新固件有很多种方法,你为什么非要选择 tftp 方案呢? :face_exhaling:

VF2 在 Linux 里面就能更新固件。
而且其实如果你没有特殊需求,比如裸启动 nvme 里面的系统,用 TF 卡版本的 debian 可以绕过固件需求而直接启动进图形界面的。
因为 TF 卡的系统,自己带了对应发行日期提供的固件了,不依赖 QSPI 存储器的固件。用 TF 卡的镜像,主板设置 SD 启动就行了。

另外如果你不需要让出 TF 卡插槽,那么即便去启动 nvme 的系统也完全可以直接用 TF 卡的 boot 分区启动 Linux 内核和 initrd ,设置 root= 你的 nvme 分区就行了。
我现在就是用 TF 卡,启动 USB 硬盘盒的系统。运行良好。QSPI 存储器还是出厂的版本。

可以尝试一下恢复bootloader?
恢复Bootloader (rvspace.org)