From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: device tree binding documentation outdated
Date: Fri, 27 Sep 2013 19:31:02 +0100 [thread overview]
Message-ID: <20130927183101.GE12758@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <20130927170552.GC12758@n2100.arm.linux.org.uk>
On Fri, Sep 27, 2013 at 06:05:52PM +0100, Russell King - ARM Linux wrote:
> On Fri, Sep 27, 2013 at 09:15:54AM -0400, Jason Cooper wrote:
> > Russell,
> >
> > On Fri, Sep 27, 2013 at 12:29:07AM +0100, Russell King - ARM Linux wrote:
> > > I haven't sorted out a rootfs for this yet, so it fails trying to find
> > > that. (Rabeeh's kernel contained an initramfs buildroot image - it
> > > might be useful to find some way to load that as a separate image -
> > > does appended DT support that?)
> >
> > yes, point to it in your config, kbuild will build the initramfs in.
> > Appending the dtb and running mkimage has been working fine for me.
>
> Yes... if I could rip the initramfs out of Rabeeh's kernel.
>
> Having sorted out the beer problem (pintctrl-names), I now have ethernet
> sort of working, but not quite. It produces data on my LAN, but that
> data is not correct.
>
> Here's an extract from the interesting bits that I captured using another
> machine (other bytes are zeros):
>
> 0x0000: ffff ffff ffff d063 0000 0000 0800 4500
> 0x0010: 0240 0000 0000 0800 4500 0240 0000 4000
> 0x0020: 4011 38ae 0000 0000 4000 4011 38ae 0043
> 0x0030: 0200 ffff ffff 0044 0043 022c ffff ffff
> 0x0040: 0600 5fe9 bf2c 0000 0101 0600 5fe9 bfd8
> 0x0050: 0002 0000 0000 0000 0000 0002 0000 0000
> 0x0060: 0000 0000 0000 0000 0000 0000 0000 0000
> 0x0070: 0000 0000 0000 0000 d063 0000 0000 0000
> 0x0080: 0000 d063 0000 0000 0000 0000 0000 0000
> ...
> 0x01d0: 0000 0000 0000 0000 0000 0000 0000 6382
> 0x01e0: 0000 0000 0000 0000 0382 5363 3501 0137
> 0x01f0: 0801 0306 5363 3501 0137 0000 0006 0c0f
> 0x0200: 111a 28ff 0000 0000 0c0f 111a 0000 0000
>
> That data has a pattern to it. It's supposed to be a DHCP packet, which
> would be something like (this is from the same board but booting Rabeeh's
> kernel instead):
>
> 0x0000: ffff ffff ffff d063 0000 0000 0800 4500
> 0x0010: 0240 0000 4000 4011 38ae 0000 0000 ffff
> 0x0020: ffff 0044 0043 022c 0000 0101 0600 5e9a
> 0x0030: dac5 0000 0000 0000 0000 0000 0000 0000
> 0x0040: 0000 0000 0000 d063 0000 0000 0000 0000
> 0x0050: 0000 0000 0000 0000 0000 0000 0000 0000
> ...
> 0x0110: 0000 0000 0000 6382 5363 3501 0137 0801
> 0x0120: 0306 0c0f 111a 28ff 0000 0000 0000 0000
>
> Now, there's a pattern to the corruption - let me rearrange them slightly:
>
> ff ff ff ff ff ff d0 63
>
> 00 00 00 00 08 00 45 00 02 40
> 00 00 00 00 08 00 45 00 02 40
>
> 00 00 40 00 40 11 38 ae 00 00
> 00 00 40 00 40 11 38 ae
>
> 00 43 02 00 ff ff ff ff 00 44
> 00 43 02 2c ff ff ff ff 06 00
> 5f e9 bf 2c 00 00 01 01 06 00
> 5f e9 bf d8
>
> 00 02 00 00 00 00 00 00 00 00
> 00 02 00 00 00 00 00 00 00 00
>
> 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00
> d0 63 00 00 00 00 00 00 00 00
> d0 63 00 00 00 00 00 00 00 00
> 00 00 00 00
> ...
>
> 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00
> 63 82 00 00 00 00 00 00 00 00
> 03 82 53 63 35 01 01 37 08 01
> 03 06 53 63 35 01 01 37 00 00
> 00 06 0c 0f 11 1a 28 ff 00 00
> 00 00 0c 0f 11 1a 00 00 00 00
>
> That's the same order of bytes as in the original packet. Notice how there
> are identical bytes between ones below and above, and notice how the repeated
> groups of bytes are always 10 bytes apart. No, it's not giving any errors
> in the interface which I ran tcpdump on!
>
> I'm not yet sure what could cause this...
An interesting data point. Connect it to a 100mbit switch and it works.
gigabit and it behaves as above.
So, the question is: does anyone have gigabit networking working on imx6
with recent DT based kernels?
next prev parent reply other threads:[~2013-09-27 18:31 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-26 19:51 device tree binding documentation outdated Russell King - ARM Linux
2013-09-26 20:29 ` Fabio Estevam
2013-09-26 20:59 ` Russell King - ARM Linux
2013-09-26 23:10 ` Matt Sealey
2013-09-26 23:29 ` Russell King - ARM Linux
2013-09-26 23:48 ` Matt Sealey
2013-09-27 13:15 ` Jason Cooper
2013-09-27 17:05 ` Russell King - ARM Linux
2013-09-27 18:31 ` Russell King - ARM Linux [this message]
2013-09-27 18:52 ` Fabio Estevam
2013-09-27 20:16 ` Matt Sealey
2013-09-27 20:43 ` Russell King - ARM Linux
2013-09-26 23:25 ` Fabio Estevam
2013-09-27 12:13 ` Russell King - ARM Linux
2013-09-27 13:26 ` Shawn Guo
2013-09-27 15:19 ` Russell King - ARM Linux
2013-09-27 15:49 ` Russell King - ARM Linux
2013-09-27 16:52 ` Matt Sealey
2013-09-27 17:49 ` Russell King - ARM Linux
2013-09-27 18:33 ` Matt Sealey
2013-09-27 19:05 ` Russell King - ARM Linux
2013-09-27 19:41 ` Matt Sealey
2013-09-27 19:48 ` Matt Sealey
2013-09-27 20:21 ` Russell King - ARM Linux
2013-09-28 8:38 ` Russell King - ARM Linux
2013-09-29 6:13 ` Shawn Guo
2013-09-29 6:23 ` Duan Fugang-B38611
2013-09-29 6:35 ` Shawn Guo
2013-09-29 6:47 ` Duan Fugang-B38611
2013-10-02 19:33 ` Russell King - ARM Linux
2013-10-02 23:49 ` Russell King - ARM Linux
2013-10-03 2:21 ` Fabio Estevam
2013-10-04 15:45 ` Shawn Guo
2013-10-04 15:58 ` Russell King - ARM Linux
2013-09-29 5:01 ` Shawn Guo
2013-09-27 20:18 ` Russell King - ARM Linux
2013-09-28 3:28 ` Fabio Estevam
2013-09-26 21:35 ` Linus Walleij
2013-09-27 2:51 ` Shawn Guo
2013-09-27 8:45 ` Russell King - ARM Linux
2013-09-27 12:28 ` Shawn Guo
2013-09-27 13:12 ` Jason Cooper
2013-09-27 13:21 ` Russell King - ARM Linux
2013-09-27 13:29 ` Linus Walleij
2013-09-27 13:31 ` Jason Cooper
2013-09-27 16:33 ` Matt Sealey
2013-09-27 20:52 ` Russell King - ARM Linux
2013-09-27 13:52 ` Arnaud Patard (Rtp)
2013-09-27 15:40 ` Matt Sealey
2013-09-27 9:49 ` Russell King - ARM Linux
2013-09-27 12:08 ` Sascha Hauer
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=20130927183101.GE12758@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).