mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] link detection
@ 2012-10-04 13:53 Johannes De Smedt
  2012-10-05  6:38 ` Robert Schwebel
  2012-10-05  7:54 ` Wolf Erik
  0 siblings, 2 replies; 4+ messages in thread
From: Johannes De Smedt @ 2012-10-04 13:53 UTC (permalink / raw)
  To: ptxdist

When I boot my freescale iMX28 board without an ethernet cable, it waits just
after ADDRCONF: link is not ready. When I plug in an ethernet cable, booting
resumes.

[    2.320000] eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] 
(mii_bus:phy_addr=imx28-fec-1:00, irq=-1)
[    2.330000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   11.320000] PHY: imx28-fec-1:00 - Link is Up - 100/Full
[   11.340000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   11.360000] IP-Config: Complete:

Why does the boot process wait for an ethernet cable? Is there a timeout that can
be configured (so the boot process can resume faster)?

Thanks!


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] link detection
  2012-10-04 13:53 [ptxdist] link detection Johannes De Smedt
@ 2012-10-05  6:38 ` Robert Schwebel
  2012-10-05  7:54 ` Wolf Erik
  1 sibling, 0 replies; 4+ messages in thread
From: Robert Schwebel @ 2012-10-05  6:38 UTC (permalink / raw)
  To: ptxdist

On Thu, Oct 04, 2012 at 01:53:53PM +0000, Johannes De Smedt wrote:
> When I boot my freescale iMX28 board without an ethernet cable, it waits just
> after ADDRCONF: link is not ready. When I plug in an ethernet cable, booting
> resumes.
> 
> [    2.320000] eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] 
> (mii_bus:phy_addr=imx28-fec-1:00, irq=-1)
> [    2.330000] ADDRCONF(NETDEV_UP): eth0: link is not ready
> [   11.320000] PHY: imx28-fec-1:00 - Link is Up - 100/Full
> [   11.340000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
> [   11.360000] IP-Config: Complete:
> 
> Why does the boot process wait for an ethernet cable? Is there a timeout that can
> be configured (so the boot process can resume faster)?

This looks like a kernel issue, not a ptxdist issue. So this is the
wrong mailing list.

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] link detection
  2012-10-04 13:53 [ptxdist] link detection Johannes De Smedt
  2012-10-05  6:38 ` Robert Schwebel
@ 2012-10-05  7:54 ` Wolf Erik
  2012-10-05 19:10   ` Dave Festing
  1 sibling, 1 reply; 4+ messages in thread
From: Wolf Erik @ 2012-10-05  7:54 UTC (permalink / raw)
  To: ptxdist

Hi,

Johannes De Smedt wrote:
> When I boot my freescale iMX28 board without an ethernet cable, it
> waits just after ADDRCONF: link is not ready. When I plug in an
> ethernet cable, booting resumes.  
> 
> [    2.320000] eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720]
> (mii_bus:phy_addr=imx28-fec-1:00, irq=-1)
> [    2.330000] ADDRCONF(NETDEV_UP): eth0: link is not ready
> [   11.320000] PHY: imx28-fec-1:00 - Link is Up - 100/Full
> [   11.340000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
> [   11.360000] IP-Config: Complete:
> 
> Why does the boot process wait for an ethernet cable? Is there a
> timeout that can be configured (so the boot process can resume
> faster)?  

I had the same problem some times ago. If you use Barebox, try to set ip in the evironment file to "none" and set up your eth link after the kernel has started.

> 
> Thanks!



Mit freundlichen Grüßen

i.A. Erik Wolf
Hardwareentwicklung

Neuberger Gebäudeautomation GmbH
Oberer Kaiserweg 6
91541 Rothenburg o.d.T.

Telefon:  +49 9861 402-542
Telefax:  +49 9861 402-533
E-Mail:   erik.wolf@neuberger.net
Internet: www.neuberger.net

Handelsregister: AG Ansbach HRB 4933
Sitz: Rothenburg ob der Tauber
Geschäftsführer: Klaus Lenkner
Ust.IdNr. DE 271 188 426

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] link detection
  2012-10-05  7:54 ` Wolf Erik
@ 2012-10-05 19:10   ` Dave Festing
  0 siblings, 0 replies; 4+ messages in thread
From: Dave Festing @ 2012-10-05 19:10 UTC (permalink / raw)
  To: ptxdist

>

Starting at least with PTXdist 2011.12.0 (for the mini2440) I have had to do:

ip=none with SD cards and #ip=none for NFS in /env/config

Don't use NAND so can't say what is needed there.  Note, this is with the
networking parameters set to your values.


Cheers,
Dave


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-05 19:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-04 13:53 [ptxdist] link detection Johannes De Smedt
2012-10-05  6:38 ` Robert Schwebel
2012-10-05  7:54 ` Wolf Erik
2012-10-05 19:10   ` Dave Festing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox