[U-Boot-Users] boot kernel from flash

朱成 zhucheng at longcheer.net
Mon May 9 09:55:41 CEST 2005


i'm sorry:)
i found kernel not set Ethernet addr when booted from flash.
i will read kernel/net-device_driver
thanks!!!

boot log:

smc91x.c: v1.0, mar 07 2003 by Nicolas Pitre <nico at cam.org>
smc91x.c: v1.0, mar 07 2003 by Nicolas Pitre <nico at cam.org>
eth0: SMC91C94 (rev 9) at 0xe8000300 IRQ 38 [nowait]
eth0: SMC91C94 (rev 9) at 0xe8000300 IRQ 38 [nowait]
eth0: Ethernet addr: eth0: Ethernet addr:
ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff
ff


/************************/
when boot from ram:

eth0: Ethernet addr: eth0: Ethernet addr:
00:00:50:50:c2:c2:35:35:b0:b0:6a
6a
/************************/


<6>OMAP730 I2C INFO: Driver ver. 1.1
OMAP730 I2C INFO: Driver ver. 1.1
<7>i2c-dev.o: Registered 'OMAP730 I2C adapter' as minor 0
OMAP730 NOR FLASH: MTD Self-Contained Driver ver. 1.0
OMAP730 NOR FLASH: MTD Self-Contained Driver ver. 1.0
<6>OMAP730 NOR FLASH: Intel 28F256L18T found
OMAP730 NOR FLASH: Intel 28F256L18T found
<5>Creating 4 MTD partitions on "OMAP730 NOR FLASH":
Creating 4 MTD partitions on "OMAP730 NOR FLASH":
<5>0x00000000-0x00100000 : "BootLoader and Params"
0x00000000-0x00100000 : "BootLoader and Params"
<5>0x00100000-0x00400000 : "Kernel"
0x00100000-0x00400000 : "Kernel"
<5>0x00400000-0x01fe0000 : "MainFS"
0x00400000-0x01fe0000 : "MainFS"
<5>0x01fe0000-0x02000000 : "GsmFFS"
0x01fe0000-0x02000000 : "GsmFFS"
<6>DSPLinux FB (c) 2001 RidgeRun, Inc.
DSPLinux FB (c) 2001 RidgeRun, Inc.
Console: switching Console: switching to colour frame buffer device
22x27
to colour frame buffer device 22x27
<6>NET4: Linux TCP/IP 1.0 for NET4.0
NET4: Linux TCP/IP 1.0 for NET4.0
<6>IP Protocols: IP Protocols: ICMP, ICMP, UDP, UDP, TCP
TCP
<6>IP: routing cache hash table of 512 buckets, 4Kbytes
IP: routing cache hash table of 512 buckets, 4Kbytes
<6>TCP: Hash tables configured (established 2048 bind 4096)
TCP: Hash tables configured (established 2048 bind 4096)
IP-Config: Complete:IP-Config: Complete:
      device=eth0
      device=eth0, addr=172.16.7.180, addr=172.16.7.180,
mask=255.255.254.0, mask=255.255.254.0, gw=172.16.6.1, gw=172.16.6.1,
     host=172.16.7.180, domain=, nis-domain=(none),
     host=172.16.7.180, domain=, nis-domain=(none),
     bootserver=172.16.7.180,
     bootserver=172.16.7.180, rootserver=172.16.6.79,
rootserver=172.16.6.79, rootpath=, rootpath=

<6>NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
<4>NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
<5>RAMDISK: Couldn't find valid RAM disk image starting at 0.
RAMDISK: Couldn't find valid RAM disk image starting at 0.
<6>Freeing initrd memory: 4096K
Freeing initrd memory: 4096K
<5>Looking up port of RPC 100003/2 on 172.16.6.79
Looking up port of RPC 100003/2 on 172.16.6.79




-- 
朱成
智能手机部
 
龙旗科技(上海)有限公司
电话: 021-64088898-6159
传真: 021-54970876
Email: zhucheng at longcheer.net
地址:上海市漕宝路401号1号楼6楼
邮编:200233






More information about the U-Boot mailing list