]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi: set GMAC TX delay = 0x1 on Cubietruck.
authorIan Campbell <ian.campbell@citrix.com>
Wed, 25 Mar 2015 13:39:05 +0000 (13:39 +0000)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:34:18 +0000 (14:34 +0200)
commita3eff9a4021eadb738df79d0f96697c05d75f31e
tree55bb7bdc248e13db25fd798a0cd862f5249fd50f
parent9b3cc1a6419c251d7546a6291346d2cd42c51b70
sunxi: set GMAC TX delay = 0x1 on Cubietruck.

Of 4 boards in our automated test system 2 do not have reliable
networking with the default TX delay of 0x0. Increasing to 0x1 seems
to make things reliable on all 4 boards.

Some previous ad-hpoc tests with tx delay set to 0, 1, 2 and 3 on one
of the problematic boards showed:

0: mw.l 0x1c20164 0x006 1     -- t/o in 4/5 tftp runs
1: mw.l 0x1c20164 0x406 1     -- t/o in 1/5 tftp runs
2: mw.l 0x1c20164 0x806 1     -- t/o in 1/5 tftp runs
3: mw.l 0x1c20164 0xc06 1     -- t/o many times in first tftp run

For 0, 1 and 2 "t/o" means one or two "T" glitches in the download,
but it did complete. For 3 those were basically continuous and it
couldn't complete.

tftp was of a 16M initrd.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
configs/Cubietruck_defconfig