public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Vagrant Cascadian <vagrant@aikidev.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 2/4] mx6cuboxi: Add USB host support
Date: Thu, 30 Apr 2015 22:50:54 -0700	[thread overview]
Message-ID: <87vbgcu9q9.fsf@aikidev.net> (raw)
In-Reply-To: <CAOMZO5AAR0fba3cuVxmpF+YcFK8XM7-k7zBztLYBcDdFg4tWVA@mail.gmail.com>

On 2015-04-30, Fabio Estevam wrote:
> On Thu, Apr 30, 2015 at 8:50 PM, Vagrant Cascadian <vagrant@aikidev.net> wrote:
>> So network works fine on the hummingboard i1 and i2ex, but the cubox
>> i4pro is still inconsistant:
>>
>>   Net:   Phy 0 not found
>>   PHY reset timed out
>>   FEC
>
> When you see this error: does U-boot warn you about the MAC address
> stored in the environment does not match the one read by the fuses?

No such warning. Rather than keep you guessing, here's the output on
boot:

U-Boot 2015.04+dfsg1-2~20150430~5 (Apr 30 2015 - 20:46:44)

CPU:   Freescale i.MX6Q rev1.2 at 792 MHz
CPU:   Temperature 17 C
Reset cause: POR
Board: MX6 Cubox-i
DRAM:  2 GiB
MMC:   FSL_SDHC: 0
*** Warning - bad CRC, using default environment

No panel detected: default to HDMI
Display: HDMI (1024x768)
In:    serial
Out:   vga
Err:   vga
Net:   Phy 0 not found
PHY reset timed out
FEC
starting USB...
USB0:   Port not available.
USB1:   USB EHCI 1.00
scanning bus 1 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Hit any key to stop autoboot:  0


> I think if you use a clean environment (env default -f -a

Running "env default -f -a" resets the environment and clears out
ethaddr (as well as board_name and board_rev, which can be tricky for
findfdt), though I believe it is already using the default environment
because of the message:

  *** Warning - bad CRC, using default environment

But it doesn't really help with the ethernet changes.


> or do the setenv ethaddr; save) then the MAC address will be re-read
> from the fuse and stored in the env. Then ethernet should work fine.

I'm guessing you mean "saveenv" and not "save".

"setenv ethaddr; saveenv ; reset" still fails to work.


I generally try to avoid using saveenv as it makes it harder to test the
default environment when testing a new version of u-boot.


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150430/ec22f743/attachment.sig>

  reply	other threads:[~2015-05-01  5:50 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-30  1:28 [U-Boot] [PATCH v2 1/4] mx6cuboxi: Add HDMI output support Fabio Estevam
2015-04-30  1:28 ` [U-Boot] [PATCH v2 2/4] mx6cuboxi: Add USB host support Fabio Estevam
2015-04-30 21:26   ` Vagrant Cascadian
2015-04-30 21:40     ` Fabio Estevam
2015-04-30 22:20       ` Vagrant Cascadian
2015-04-30 23:50         ` Vagrant Cascadian
2015-05-01  2:14           ` Fabio Estevam
2015-05-01  5:50             ` Vagrant Cascadian [this message]
2015-05-01  7:33               ` Stefano Babic
2015-05-01 15:06                 ` Fabio Estevam
2015-05-01 16:20                 ` Vagrant Cascadian
2015-05-01 17:10                   ` Fabio Estevam
2015-05-01 20:20                     ` Fabio Estevam
2015-05-01 21:37                       ` Fabio Estevam
2015-05-02  0:07                         ` [U-Boot] mx6cuboxi: PHY/FEC detection Vagrant Cascadian
2015-05-02  8:54                           ` Stefano Babic
2015-05-02 14:12                             ` Fabio Estevam
2015-05-04  3:24                               ` Fabio Estevam
2015-05-04  6:19                                 ` Stefano Babic
2015-04-30 22:21   ` [U-Boot] [PATCH v2 2/4] mx6cuboxi: Add USB host support Vagrant Cascadian
2015-05-02  9:15   ` Stefano Babic
2015-04-30  1:28 ` [U-Boot] [PATCH v2 3/4] mx6cuboxi: Allow HDMI and USB keyboard to be stdout/stdin Fabio Estevam
2015-04-30 21:27   ` Vagrant Cascadian
2015-05-02  9:16   ` Stefano Babic
2015-04-30  1:28 ` [U-Boot] [PATCH v2 4/4] logos: Add Solidrun's logo Fabio Estevam
2015-05-02  9:19   ` Stefano Babic
2015-04-30 21:28 ` [U-Boot] [PATCH v2 1/4] mx6cuboxi: Add HDMI output support Vagrant Cascadian
2015-05-02  9:15 ` Stefano Babic

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=87vbgcu9q9.fsf@aikidev.net \
    --to=vagrant@aikidev.net \
    --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