Hi, On 24. 08. 20 13:21, Alexandre GRIVEAUX wrote: > 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@e0100000: 0 > Loading Environment from SPIFlash... Invalid bus 0 (err=-19) > *** Warning - spi_flash_probe_bus_cs() failed, using default environment > > In: serial@e0001000 > Out: serial@e0001000 > Err: serial@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 >
It looks like that manufacturer created different versions where they are not compatible to each other. Please take a look at this thread. https://www.spinics.net/lists/arm-kernel/msg800078.html I didn't accepted the patch because none else didn't test it on both revisions. Issue with spi flash can be also related. Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs
signature.asc
Description: OpenPGP digital signature