Z-Turn board support on U-Boot 2020.10-rc2, got some errors.

Alexandre GRIVEAUX agriveaux at deutnet.info
Mon Aug 24 13:21:29 CEST 2020


Hello,


I've tried the u-boot 2020.10-rc2 and it's seem i've got some errors:


U-Boot 2020.10-rc2-00204-gc84341f5ac (Aug 24 2020 - 09:49:25 +0200)

CPU:   Zynq 7z020
Silicon: v3.1
Model: Zynq Z-Turn MYIR Board
DRAM:  ECC disabled 1 GiB
Flash: 0 Bytes
NAND:  0 MiB
MMC:   mmc at e0100000: 0
Loading Environment from SPIFlash... Invalid bus 0 (err=-19)
*** Warning - spi_flash_probe_bus_cs() failed, using default environment

In:    serial at e0001000
Out:   serial at e0001000
Err:   serial at e0001000
Net:  
ZYNQ GEM: e000b000, mdio bus e000b000, phyaddr 0, interface rgmii-id
Could not get PHY for eth0: addr 0
No ethernet found.

Hit any key to stop autoboot:  0
Zynq>


According to [0] the board use a winbond W25Q128BVFIG but on the board
it's seem to usea spansion FL128SAIF00.

I've checked if FL128SAIF00 is registered on drivers/mtd/spi/spi-nor-ids.c:

({ INFO6("s25fl128s",  0x012018, 0x4d0180, 64 * 1024, 256,
SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | USE_CLSR) },)


I've checked if flash manufacturer was enabled on
configs/xilinx_zynq_virt_defconfig:

CONFIG_SPI_FLASH_SPANSION=y


I checked on [1] to see if the pinout is broken but not.


I dont know how to correct this problem.



For the ethernet it's seem CONFIG_PHY_MICREL_KSZ90X1=y and
CONFIG_PHY_MICREL=y was not on configs/xilinx_zynq_virt_defconfig

But adding it doesn't resolve it:


ZYNQ GEM: e000b000, mdio bus e000b000, phyaddr 0, interface rgmii-id
Could not get PHY for eth0: addr 0
No ethernet found.


I dont (again) know how to correct this problem.



Can you help me ?


[0] http://www.myirtech.com/download/Zynq7000/Z-TURNBOARD_schematic.pdf

[1]
https://www.xilinx.com/support/documentation/boards_and_kits/zc702_zvik/ug850-zc702-eval-bd.pdf




More information about the U-Boot mailing list