[U-Boot] Olimex-A20-EVB ethernet stops working with latest U-boot, works with tag v2016.01

Ing. Damiano Bolla Damiano.Bolla at urmetenergy.com
Thu Feb 25 08:31:26 CET 2016


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 ?

Thanks, Damiano


In data 25 febbraio 2016 alle ore 02:11:00, Peng Fan <van.freenix at gmail.com> ha scritto:

> Hi Damiano,
>
> Can you try revert the following patch and retest on your board?
> "
> commit a058052c358c3ecf5f394ff37def6a45eb26768c
> Author: Stefan Agner <stefan at agner.ch>
> 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 <stefan at agner.ch>
> "
>
> 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
>


-- 
Ing. Damiano Bolla, 3486947264
-------------- next part --------------
A non-text attachment was scrubbed...
Name: git-status-after-revert.png
Type: image/png
Size: 143879 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160225/fc9d12b8/attachment.png>


More information about the U-Boot mailing list