Network failing to load

18:52 rneese: Ethernet MAC address: 6c:cf:39:00:05:21
18:52 rneese: --------EEPROM INFO--------
18:52 rneese: In: serial@12440000
18:52 rneese: Out: serial@12440000
18:52 rneese: Err: serial@12440000
18:52 rneese: Net: Could not get PHY for dwmac.10020000: addr 3
18:52 rneese: dwmac.10020000
it seems there is either hardware failure or a firmware bug

Is this problem bound to occur when you start it more than once?

Could you please show your full log?

bootloader version:211102-0b86f96
ddr 0x00000000, 1M test
ddr 0x00100000, 2M test
DDR clk 2133M,Version: 211102-d086aee
0 crc flash: c08c9d08, crc ddr: c08c9d08
crc check PASSED

bootloader.

OpenSBI v1.0


/ __ \ / | _ _ |
| | | |
__ ___ _ __ | (
| |
) || |
| | | | '_ \ / _ \ '_ \ ___ | _ < | |
| || | |) | __/ | | |) | |) || |
_
/| ./ _|| ||/|____/|
| |
|_|

Platform Name : StarFive VisionFive V1
Platform Features : medeleg
Platform HART Count : 2
Platform IPI Device : aclint-mswi
Platform Timer Device : aclint-mtimer @ 6250000Hz
Platform Console Device : uart8250
Platform HSM Device : —
Platform Reboot Device : —
Platform Shutdown Device : —
Firmware Base : 0x80000000
Firmware Size : 296 KB
Runtime SBI Version : 0.3

Domain0 Name : root
Domain0 Boot HART : 1
Domain0 HARTs : 0*,1*
Domain0 Region00 : 0x0000000002000000-0x000000000200ffff (I)
Domain0 Region01 : 0x0000000080000000-0x000000008007ffff ()
Domain0 Region02 : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address : 0x0000000080200000
Domain0 Next Arg1 : 0x0000000082200000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes

Boot HART ID : 1
Boot HART Domain : root
Boot HART ISA : rv64imafdcsux
Boot HART Features : scounteren,mcounteren
Boot HART PMP Count : 16
Boot HART PMP Granularity : 4096
Boot HART PMP Address Bits: 36
Boot HART MHPM Count : 2
Boot HART MIDELEG : 0x0000000000000222
Boot HART MEDELEG : 0x000000000000b109

U-Boot 2022.01-rc4-VisionFive-g0c08d335c5 (Dec 30 2021 - 20:05:04 +0800)StarFive

CPU: rv64imafdc
Model: StarFive VisionFive V1
DRAM: 8 GiB
MMC: mmc@10000000: 0, mmc@10010000: 1
Loading Environment from SPIFlash… cadence_spi spi@11860000: Can’t get reset: -524
SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
StarFive EEPROM format v1

--------EEPROM INFO--------
Vendor : StarFive Technology Co., Ltd.
Product full SN: VF7100A1-2209-D008E000-00000522
data version: 0x1
PCB revision: 0x1
BOM revision: A
Ethernet MAC address: 6c:cf:39:00:05:21
--------EEPROM INFO--------

In: serial@12440000
Out: serial@12440000
Err: serial@12440000
Net: Could not get PHY for dwmac.10020000: addr 3
dwmac.10020000
MMC CD is 0x1, force to True.
MMC CD is 0x1, force to True.
switch to partitions #0, OK
mmc0 is current device
MMC CD is 0x1, force to True.
MMC CD is 0x1, force to True.
Can’t set block device
302 bytes read in 32 ms (8.8 KiB/s)
Importing environment from mmc0 …
** Invalid partition 2 **
Couldn’t find partition mmc 0:2
Can’t set block device
** Invalid partition 3 **
Couldn’t find partition mmc 0:3
Can’t set block device
Run uenvcmd …
MMC CD is 0x1, force to True.
MMC CD is 0x1, force to True.
switch to partitions #0, OK
mmc0 is current device
** Bad device specification mmc -bootable **

updated bl still no go.
bootloader version:211102-0b86f96
ddr 0x00000000, 1M test
ddr 0x00100000, 2M test
DDR clk 2133M,Version: 211102-d086aee
0 crc flash: 7816e82f, crc ddr: 7816e82f
crc check PASSED

bootloader.

OpenSBI v1.0


/ __ \ / | _ _ |
| | | |
__ ___ _ __ | (
| |
) || |
| | | | '_ \ / _ \ '_ \ ___ | _ < | |
| || | |) | __/ | | |) | |) || |
_
/| ./ _|| ||/|____/|
| |
|_|

fdt_reset_driver_init: gpio-restart init failed, -1001
Platform Name : StarFive VisionFive V1
Platform Features : medeleg
Platform HART Count : 2
Platform IPI Device : aclint-mswi
Platform Timer Device : aclint-mtimer @ 6250000Hz
Platform Console Device : uart8250
Platform HSM Device : —
Platform Reboot Device : —
Platform Shutdown Device : —
Firmware Base : 0x80000000
Firmware Size : 300 KB
Runtime SBI Version : 0.3

Domain0 Name : root
Domain0 Boot HART : 1
Domain0 HARTs : 0*,1*
Domain0 Region00 : 0x0000000002000000-0x000000000200ffff (I)
Domain0 Region01 : 0x0000000080000000-0x000000008007ffff ()
Domain0 Region02 : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address : 0x0000000080200000
Domain0 Next Arg1 : 0x0000000082200000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes

Boot HART ID : 1
Boot HART Domain : root
Boot HART ISA : rv64imafdcsux
Boot HART Features : scounteren,mcounteren
Boot HART PMP Count : 16
Boot HART PMP Granularity : 4096
Boot HART PMP Address Bits: 36
Boot HART MHPM Count : 2
Boot HART MIDELEG : 0x0000000000000222
Boot HART MEDELEG : 0x000000000000b109

U-Boot 2022.04-rc2-VisionFive (Mar 07 2022 - 21:12:22 +0800)StarFive

CPU: rv64imafdc
Model: StarFive VisionFive V1
DRAM: 8 GiB
Core: 13 devices, 9 uclasses, devicetree: separate
MMC: mmc@10000000: 0, mmc@10010000: 1
Loading Environment from SPIFlash… cadence_spi spi@11860000: Can’t get reset: -524
SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
StarFive EEPROM format v1

--------EEPROM INFO--------
Vendor : StarFive Technology Co., Ltd.
Product full SN: VF7100A1-2209-D008E000-00000522
data version: 0x1
PCB revision: 0x1
BOM revision: A
Ethernet MAC address: 6c:cf:39:00:05:21
--------EEPROM INFO--------

In: serial@12440000
Out: serial@12440000
Err: serial@12440000
Net: Could not get PHY for dwmac.10020000: addr 3
dwmac.10020000
MMC CD is 0x1, force to True.
MMC CD is 0x1, force to True.
Card did not respond to voltage select! : -110
MMC CD is 0x1, force to True.
MMC CD is 0x1, force to True.
Card did not respond to voltage select! : -110

seeing 2 issues

fdt_reset_driver_init: gpio-restart init failed, -1001

Net: Could not get PHY for dwmac.10020000: addr 3
dwmac.10020000

If you have compiled the software yourself please try to restore the factory Settings.
If it doesn’t work, it’s probably a hardware problem.

how to factory reset. and no the firmware is right from the starfive site .

maybe this can help you
VisionFive Single Board Computer Quick Start Guide (rvspace.org)

(C)SiFive

load 0x18000000

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC, Type ? or help to get CMD info

E#VƊUŊUE

Warning : Error command, Type ? or help to get CMD info

i can not get the recover bl to load

GitHub - xypron/JH71xx-tools: Bootloader recovery and updater tool for StarFive JH71x0 SoCs. this tool worked at reflashing the unit

1 Like

so even after reflashing the board U-Boot 2022.04-rc2-VisionFive (Mar 07 2022 - 21:12:22 +0800)StarFive

CPU: rv64imafdc
Model: StarFive VisionFive V1
DRAM: 8 GiB
Core: 13 devices, 9 uclasses, devicetree: separate
MMC: mmc@10000000: 0, mmc@10010000: 1
Loading Environment from SPIFlash… cadence_spi spi@11860000: Can’t get reset: -524
SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
StarFive EEPROM format v1

--------EEPROM INFO--------
Vendor : StarFive Technology Co., Ltd.
Product full SN: VF7100A1-2209-D008E000-00000522
data version: 0x1
PCB revision: 0x1
BOM revision: A
Ethernet MAC address: 6c:cf:39:00:05:21
--------EEPROM INFO--------

In: serial@12440000
Out: serial@12440000
Err: serial@12440000
Net: Could not get PHY for dwmac.10020000: addr 3
dwmac.10020000

./jh7100-recover -D /dev/cu.usbserial-22340 -r jh7100_recovery_boot.bin -b bootloader-JH7100-211102.bin.out -d ddrinit-2133-211102.bin.out

Waiting for bootloader mode on /dev/cu.usbserial-22340…

(C)SiFive

Bootloader mode active

Uploading recovery binary…

load 0x18000000

Waiting for XMODEM request[C]…

Sending jh7100_recovery_boot.bin

[########################################] 100% 24081/24081 Bytes

do 0x18000000

----------Enter recovery mode----------

Updating bootloader…

Load file ok

do 0x18000000?

VIC second boot, version:210714-d9d6147 debug


***************JH7100 recovery boot ***************


0:updata bootloader

1:updata ddr init

Select the function to test

0

: 0

select 0

send a file by xmodem

Waiting for XMODEM request[C]…

Sending bootloader-JH7100-211102.bin.out

[########################################] 100% 9456/9456 Bytes

Awaiting confirmation…

idcode:0x1860C8

updata flash ok

done.

Updating ddrinit…

updata success


***************JH7100 recovery boot ***************


0:updata bootloader

1:updata ddr init

Select the function to test

1

: 1

select 1

send a file by xmodem

Waiting for XMODEM request[C]…

Sending ddrinit-2133-211102.bin.out

[########################################] 100% 87540/87540 Bytes

Awaiting confirmation…

idcode:0x1860C8

updata flash ok

done.

Firmware update completed!

richardneese@Richards-Mac-mini JH71xx-tools %