From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Date: Tue, 8 Mar 2016 11:54:03 +0100 Subject: [U-Boot] Olimex-A20-EVB ethernet stops working with latest U-boot, works with tag v2016.01 In-Reply-To: References: <20160225011057.GA14155@linux-7smt.suse> Message-ID: <56DEAF4B.8020102@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 25-02-16 08:31, Ing. Damiano Bolla wrote: > Good morning Peng > > I did revert the commit, see attached image showing git repository status > > Unfortunately the result is still negative, see the following log > > U-Boot 2016.03-rc2-00117-gde889c0 (Feb 25 2016 - 08:12:50 +0100) Allwinner Technology > CPU: Allwinner A20 (SUN7I) > I2C: ready > DRAM: 1 GiB > MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 > In: serial > Out: serial > Err: serial > SCSI: SUNXI SCSI INIT > SATA link 0 timeout. > AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode > flags: ncq stag pm led clo only pmp pio slum part ccc apst > Net: eth0: ethernet at 01c50000 > starting USB... > USB0: USB EHCI 1.00 > USB1: USB OHCI 1.0 > USB2: USB EHCI 0.00 > USB3: USB OHCI 0.0 > scanning bus 0 for devices... 1 USB Device(s) found > scanning bus 2 for devices... 1 USB Device(s) found > Hit any key to stop autoboot: 0 > ethernet at 01c50000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! > ethernet at 01c50000: No link. > ethernet at 01c50000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! > ethernet at 01c50000: No link. > Bad Linux ARM zImage magic! > > Can I assist further ? Can you please git bisect this, and find out which commit breaks things ? Thanks & Regards, Hans > > Thanks, Damiano > > > In data 25 febbraio 2016 alle ore 02:11:00, Peng Fan ha scritto: > >> Hi Damiano, >> >> Can you try revert the following patch and retest on your board? >> " >> commit a058052c358c3ecf5f394ff37def6a45eb26768c >> Author: Stefan Agner >> Date: Wed Dec 9 11:21:25 2015 -0800 >> >> net: phy: do not read configuration register on reset >> When doing a software reset, the reset flag should be written without >> other bits set. Writing the current state will lead to restoring the >> state of the PHY (e.g. Powerdown), which is not what is expected from >> a software reset. >> >> Signed-off-by: Stefan Agner >> " >> >> This patch breaks ethernet function of i.MX6 Quad Sabresd/Quad Sabreauto. >> Not sure whether reverting this patch can help in your case or not. Please >> try. >> >> Thanks, >> Peng. >> >> On Wed, Feb 24, 2016 at 09:12:02AM +0100, Ing. Damiano Bolla wrote: >>> Good morning all >>> >>> I updated to latest u-boot yesterday (git pull) and ethernet was not working >>> >>> reverted to tag v2016.01 with the command >>> >>> $ git checkout tags/v2016.01 >>> >>> rebuilt, uploaded and ethernet works >>> >>> As far as I can tell the only difference on the two tests (just a simple ping 192.168.1.1) is the u-boot version >>> Ethernet cable was not moved and I manage to load u-boot using FEL >>> >>> I can do further tests is any of you is interested. >>> >>> Thanks, Damiano >>> _______________________________________________ >>> U-Boot mailing list >>> U-Boot at lists.denx.de >>> http://lists.denx.de/mailman/listinfo/u-boot >> > > > > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot >