From: Michael Haas <haas@computerlinguist.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Add CONFIG_GMAC_TX_DELAY=4 for OlinuXino Lime2
Date: Fri, 18 Mar 2016 21:32:27 +0100 [thread overview]
Message-ID: <56EC65DB.2030203@computerlinguist.org> (raw)
In-Reply-To: <56EA8C5E.1070701@redhat.com>
Hello all,
After the board locked up, I am now working exclusively from within
u-boot. Occasionally, gbit will work well. At other times, it will
appear to work well but the kernel won't boot. And sometimes,
downloading a kernel will just time-out.
A reset is often enough to get a behavior change. In my earlier post, I
noted that it's hard for me now to get broken gbit: I've since then also
had spurs where five resets in a row did not work.
On 03/17/2016 11:52 AM, Hans de Goede wrote:
> There are 3 things which would be interesting to save and compare
> with a boot which does have the problem:
>
> ./mmio-dump 0x1c20164
>
>
I have used the u-boot 'md' command here. Between a completely broken
(timeouts) and working (at least a finished download), there is no change:
Working:
=> md 0x1c20164
01c20164: 00000c06 00000000 00000000 00000000 ................
Broken:
md 0x1c20164
01c20164: 00000c06 00000000 00000000 00000000 ................
>
> 2) The pmic settings for various ldo-s, etc. as root run:
>
> i2cdump -f -y 0 0x34
>
>
I used the i2c md command here to get several dumps:
Working 1:
=> i2c md 0x34 0 0xff
0000: c1 10 00 41 00 00 00 00 00 00 00 00 00 00 00 00 ...A............
0010: 01 00 17 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020: 00 00 00 1c 00 00 00 16 cf 54 00 00 00 00 00 00 .........T......
0030: 60 03 42 c9 45 22 9d 08 a5 1f 68 5f fc 16 00 00 `.B.E"....h_....
0040: 00 00 00 00 00 00 00 00 40 40 00 00 00 00 00 00 ........@@......
0050: 09 0a 00 00 00 00 00 00 00 00 00 00 00 00 6d 0f ..............m.
0060: db 07 3e 08 00 00 00 00 00 00 00 00 00 00 00 00 ..>.............
0070: 00 00 00 00 00 00 00 00 1a 03 00 00 00 00 db 08 ................
0080: e0 fd 83 80 32 00 ff 00 00 00 00 00 00 00 00 21 ....2..........!
0090: 07 a5 07 07 00 02 00 00 00 00 00 00 00 00 00 00 ................
00a0: 00 00 00 00 00 00 00 00 08 00 00 00 00 00 db 06 ................
00b0: 00 00 00 00 00 00 00 00 00 7f 00 ba 00 00 00 00 ................
00c0: 01 01 02 04 07 0d 10 1a 24 2e 35 3d 49 54 5c 63 ........$.5=IT\c
00d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00f0: 41 00 80 03 00 00 00 00 00 00 00 00 00 00 00 A..............
Working 2:
=> i2c md 0x34 0 0xff
0000: c1 10 00 41 00 00 00 00 00 00 00 00 00 00 00 00 ...A............
0010: 01 00 17 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020: 00 00 00 1c 00 00 00 16 cf 54 00 00 00 00 00 00 .........T......
0030: 60 03 42 c9 45 22 9d 08 a5 1f 68 5f fc 16 00 00 `.B.E"....h_....
0040: 00 00 00 00 00 00 00 00 40 40 00 00 00 00 00 00 ........@@......
0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6d 0f ..............m.
0060: db 0c 3e 08 00 00 00 00 00 00 00 00 00 00 00 00 ..>.............
0070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 db 08 ................
0080: e0 fd 83 80 32 00 ff 00 00 00 00 00 00 00 00 21 ....2..........!
0090: 07 a5 07 07 00 02 00 00 00 00 00 00 00 00 00 00 ................
00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dc 00 ................
00b0: 00 00 00 00 00 00 00 00 00 7f 00 ba 00 00 00 00 ................
00c0: 01 01 02 04 07 0d 10 1a 24 2e 35 3d 49 54 5c 63 ........$.5=IT\c
00d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00f0: 41 00 80 03 00 00 00 00 00 00 00 00 00 00 00 A..............
Broken 1:
=> i2c md 0x34 0 0xff
0000: c1 10 00 41 00 00 00 00 00 00 00 00 00 00 00 00 ...A............
0010: 01 00 17 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020: 00 00 00 1c 00 00 00 16 cf 54 00 00 00 00 00 00 .........T......
0030: 60 03 42 c9 45 22 9d 08 a5 1f 68 5f fc 16 00 00 `.B.E"....h_....
0040: 00 00 00 00 00 00 00 00 40 40 00 00 00 00 00 00 ........@@......
0050: 22 06 00 00 00 00 00 00 00 00 00 00 00 00 6e 04 ".............n.
0060: db 0a 3e 08 00 00 00 00 00 00 00 00 00 00 00 00 ..>.............
0070: 00 00 00 00 00 00 00 00 03 08 00 00 00 00 db 08 ................
0080: e0 fd 83 80 32 00 ff 00 00 00 00 00 00 00 00 21 ....2..........!
0090: 07 a5 07 07 00 02 00 00 00 00 00 00 00 00 00 00 ................
00a0: 00 00 00 00 00 00 00 00 20 08 00 00 00 00 db 09 ........ .......
00b0: 00 00 00 00 00 00 00 00 00 7f 00 ba 00 00 00 00 ................
00c0: 01 01 02 04 07 0d 10 1a 24 2e 35 3d 49 54 5c 63 ........$.5=IT\c
00d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00f0: 41 00 80 03 00 00 00 00 00 00 00 00 00 00 00 A..............
Broken 2:
=> i2c md 0x34 0 0xff
0000: c1 10 00 41 00 00 00 00 00 00 00 00 00 00 00 00 ...A............
0010: 01 00 17 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020: 00 00 00 1c 00 00 00 16 cf 54 00 00 00 00 00 00 .........T......
0030: 60 03 42 c9 45 22 9d 08 a5 1f 68 5f fc 16 00 00 `.B.E"....h_....
0040: 00 00 00 00 00 00 00 00 40 40 00 00 00 00 00 00 ........@@......
0050: 1d 08 00 00 00 00 00 00 00 00 00 00 00 00 6d 0b ..............m.
0060: db 07 3e 08 00 00 00 00 00 00 00 00 00 00 00 00 ..>.............
0070: 00 00 00 00 00 00 00 00 15 04 00 00 00 00 db 06 ................
0080: e0 fd 83 80 32 00 ff 00 00 00 00 00 00 00 00 21 ....2..........!
0090: 07 a5 07 07 00 02 00 00 00 00 00 00 00 00 00 00 ................
00a0: 00 00 00 00 00 00 00 00 1b 08 00 00 00 00 db 06 ................
00b0: 00 00 00 00 00 00 00 00 00 7f 00 ba 00 00 00 00 ................
00c0: 01 01 02 04 07 0d 10 1a 24 2e 35 3d 49 54 5c 63 ........$.5=IT\c
00d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00f0: 41 00 80 03 00 00 00 00 00 00 00 00 00 00 00 A..............
Some bits seem to differ, but apparently none of the regular enable bits
(if I'm reading the data sheet correctly).
>
> 3) The phy settings, unfortunately I do not know of
> a way to dump these, so lets just forget about these
> and focus on the other 2.
>
> Regards,
>
> Hans
>
>>
>>
next prev parent reply other threads:[~2016-03-18 20:32 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-15 5:41 [U-Boot] [PATCH] Add CONFIG_GMAC_TX_DELAY=4 for OlinuXino Lime2 Michael Haas
[not found] ` <20160315180914.GA1878@excalibur.cnev.de>
2016-03-15 20:41 ` Tom Rini
2016-03-16 8:32 ` Michael Haas
2016-03-16 9:29 ` Hans de Goede
2016-03-16 10:53 ` Hans de Goede
[not found] ` <20160316203642.GC1817@excalibur.cnev.de>
2016-03-17 5:28 ` Michael Haas
2016-03-17 10:52 ` Hans de Goede
2016-03-17 21:53 ` Michael Haas
2016-03-18 7:41 ` Hans de Goede
[not found] ` <20160318190220.GC1815@excalibur.cnev.de>
2016-03-18 19:06 ` Michael Haas
2016-03-20 8:36 ` Michael Haas
2016-03-20 10:05 ` François-David Collin
2016-03-18 20:32 ` Michael Haas [this message]
2016-03-18 21:53 ` Michael Haas
2016-03-19 8:39 ` François-David Collin
2016-03-19 9:32 ` Hans de Goede
2016-03-19 9:35 ` Michael Haas
2016-03-19 9:45 ` Michael Haas
2016-03-19 13:40 ` Michael Haas
2016-03-19 14:35 ` François-David Collin
2016-03-20 13:45 ` Hans de Goede
2016-03-20 15:28 ` Michael Haas
2016-03-20 18:51 ` Hans de Goede
[not found] ` <20160321154714.GA4751@excalibur.cnev.de>
2016-03-21 18:57 ` Michael Haas
2016-03-21 20:59 ` Hans de Goede
2016-03-21 21:01 ` Hans de Goede
2016-03-21 21:47 ` Michael Haas
2016-03-21 22:00 ` Hans de Goede
2016-03-22 5:12 ` Michael Haas
2016-03-22 8:46 ` Peter Korsgaard
2016-03-22 8:57 ` Hans de Goede
2016-03-22 9:01 ` Michael Haas
2016-03-22 9:50 ` Peter Korsgaard
[not found] ` <20160321173000.GD4751@excalibur.cnev.de>
2016-03-21 20:56 ` Hans de Goede
-- strict thread matches above, loose matches on Subject: below --
2016-03-18 17:33 François-David Collin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56EC65DB.2030203@computerlinguist.org \
--to=haas@computerlinguist.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox