gmcastil / uzed-sbc

A 6502-based Single Board Computer (SBC) in an FPGA
MIT License
0 stars 0 forks source link

U-Boot does not recognize the ethernet interface on xilinx-v2023.1 tag #1

Open gmcastil opened 1 year ago

gmcastil commented 1 year ago

I get this message when I first boot U-Boot

U-Boot 2023.01 (Sep 18 2023 - 06:52:31 -0600)

CPU:   Zynq 7z010
Silicon: v3.1
Model: Xilinx ZC706 board
DRAM:  ECC disabled 1 GiB
Core:  30 devices, 19 uclasses, devicetree: board
Flash: 0 Bytes
NAND:  0 MiB
MMC:   mmc@e0100000: 0
Loading Environment from FAT... *** Error - No Valid Environment Area found
*** Warning - bad env area, using default environment

In:    serial@e0001000
Out:   serial@e0001000
Err:   serial@e0001000
Net:   Could not get PHY for eth0: addr 7
No ethernet found.

Reading through the U-Boot documentation, it looks like I should have built it with more specific information about the device tree prior to running make xilinx_zynq_virt_defconfig. A cursory look at the top level Makefile suggests that an optional DEVICE_TREE environment variable can be provided to add board specific details (e.g., the PHY) which I did not do. When I get around to trying to network boot everything, I'll rebuild the bootloader and address this. For now, I'm just going to open it as an issue so that I don't have to remember what I came up with as the solution.