Thanks Juergen
Am 19.10.2011 09:24, schrieb Juergen Beisert:
Hi John-eric,
John-eric Kamps wrote:
I have a question to this phenomenon.
Some informations:
* Barbox is configured with a static network address.
* /etc/network/interfaces is the original one without an entry for eth0
(if I write the same static configuration like Barebox in it, it's the
same phenomenon)
* booting from nand
If I boot the Mini2440 with an ethernet cable installed, the kernel is
loading fast without waiting.
If I boot the Mini2440 without an ethernet cable installed, the kernel
is waiting for a lot of seconds (~60 or more) behind the memory card
detection.
=====================
mmc0: new SDHC card at address aaaa
mmcblk0: mmc0:aaaa SD04G 3.69 GiB
mmcblk0: p1 p2
=====================
behind this in the file: mini2440_without_cable
I made two dumps of the kernel-messages.
One with and one without cable installed.
How can I speed up the booting process without a network cable.
Your kernel receives the "ip=[...]"[1] kernel parameter. If you start your
Mini2440 from NAND (without NFS root and so on) you should remove this kernel
parameter. In this case network initialization should be done from userland
instead.
Regards,
Juergen
[1] "ip=172.16.0.19:172.16.0.10:172.16.0.1:255.255.255.0:::"
(remove it or use "ip=none" instead, also refer
to "linux-3.0/Documentation/filesystems/nfs/nfsroot.txt")
I set IP=none in Barbox and set up the network-configuration in the
/etc/network/interfaces
and all work well.
Thanks and reagards
John-Eric