public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Ethernet via USB on Sinlinx SinA33
Date: Tue, 29 Mar 2016 11:59:03 +0200	[thread overview]
Message-ID: <56FA51E7.7030700@redhat.com> (raw)
In-Reply-To: <56FA22D4.7050104@free-electrons.com>

Hi,

On 29-03-16 08:38, Quentin Schulz wrote:
> Hi,
>
> On 28/03/2016 14:56, Hans de Goede wrote:
>> Hi,
>>
>> On 25-03-16 18:14, Quentin Schulz wrote:
>>> Hi,
>>>
>>> I am trying to get Ethernet to work through the USB port of the Sinlinx
>>> SinA33 on U-Boot to use TFTP to get the kernel and dtb files.
>>>
>>> However, I am getting 'data abort' when using dhcp or tftp after adding:
>>> #define CONFIG_USB_HOST_ETHER
>>> #define CONFIG_USB_ETHER_ASIX
>>>
>>> to include/configs/sunxi-common.h and checking CONFIG_USB_EHCI_HCD as
>>> told in the documentation [1]
>>>
>>> I tested this configuration with the C.H.I.P. and it is working well.
>>
>> Are you perhaps building u-boot with gcc6 ? There are some known issues
>> when building u-boot with gcc-6, which look pretty much like this.
>
> No, I'm building with gcc-5:
> $ arm-linux-gnueabihf-gcc --version
> arm-linux-gnueabihf-gcc (Ubuntu 5.2.1-22ubuntu1) 5.2.1 20151010
>
>> Is the ethernet adapter connected to a regular usb host port, or to
>> the otg port ?
>
> The Ethernet adapter is connected to the regular USB host port.

Hmm, then maybe we are missing some cache flusing somewhere in the ehci code?

Otherwise I would not know what the issue might be.

Regards,

Hans

  reply	other threads:[~2016-03-29  9:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-25 17:14 [U-Boot] Ethernet via USB on Sinlinx SinA33 Quentin Schulz
2016-03-28 12:56 ` Hans de Goede
2016-03-29  6:38   ` Quentin Schulz
2016-03-29  9:59     ` Hans de Goede [this message]
2016-04-06 15:24     ` Hans de Goede
2016-04-11 10:25       ` Quentin Schulz
2016-04-11 11:07         ` Hans de Goede
2016-04-11 11:32           ` Quentin Schulz

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=56FA51E7.7030700@redhat.com \
    --to=hdegoede@redhat.com \
    --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