44b0x的板子,网卡8019,u-boot移植成功了。
在u-boot启动时的配置里,网络各方面都是好的,也能够通过
网络正确加载pc上的内核镜像。
但是uclinux加载完全后,网卡设备就找不到了。
这是什么原因?是和start_kernel()里的一些初始化相关吗?如何修改?
希望有经验的大侠不吝赐教!
bow!
[em06]启动画面如下:
U-Boot 1.1.2 (May 29 2005 - 21:07:12)
U-Boot code: 0C700000 -> 0C71AB74 BSS: -> 0C71ECEC RAM Configuration: Bank #0: c0000000 8 MB Flash: 2 MB In: serial Out: serial Err: serial Hit any key to stop autoboot: 0 RTL8019_CONFIG3:0x0 RTL8019_CONFIG3:0x0 TFTP from server 10.13.72.4; our IP address is 10.13.72.3 Filename 'linux_ram.bin'. Load address: 0xc008000 Loading: T ####################T ############################################# ######################T ####T #####T ###T #######################T #### #### ########T ######T #######T #T ###########################T ###T T ####T ########### ################################################################# #################################################################T T #######################T ########### done Bytes transferred = 1833004 (1bf82c hex) ## Starting application at 0x0C008000 ... Linux version 2.4.24-uc0 (root@panther) (gcc version 2.95.3 20010315 (release)(C oldFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux XIP and sha red lib patches from http://www.snapgear.com/)) #373 Wed Jun 1 11:49:57 CST 2005
Processor: Samsung S3C44B0X revision 0 Architecture: S3C44B0X Warning: bad configuration page, trying to continue On node 0 totalpages: 2048 zone(0): 0 pages. zone(1): 2048 pages. zone(2): 0 pages. Kernel command line: root=/dev/rom0 init=/linuxrc Calibrating delay loop... 25.44 BogoMIPS Memory: 8MB = 8MB total Memory: 6144KB available (1715K code, 156K data, 40K init) Dentry cache hash table entries: 1024 (order: 1, 8192 bytes) Inode cache hash table entries: 512 (order: 0, 4096 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 2048 (order: 1, 8192 bytes) POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd ttyS0 at I/O 0x1d00000 (irq = 3) is a S3C44B0 ttyS1 at I/O 0x1d04000 (irq = 2) is a S3C44B0 Blkmem copyright 1998,1999 D. Jeff Dionne Blkmem copyright 1998 Kenneth Albanowski Blkmem 1 disk images: 0: C0C1BD0-C1BEFCF [VIRTUAL C0C1BD0-C1BEFCF] (RO) RAMDISK driver initialized: 16 RAM disks of 1024K size 1024 blocksize NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 512 bind 512) VFS: Mounted root (romfs filesystem) readonly. Freeing init memory: 40K Shell invoked to run file: /etc/rc Command: hostname Samsung Command: /bin/expand /etc/ramfs.img /dev/ram0 Command: /bin/expand /etc/ramfs2048.img /dev/ram1 Command: mount -t proc proc /proc Command: mount -t ext2 /dev/ram0 /var mount: Mounting /dev/ram0 on /var failed: No such device pid 12: failed 256 Command: mount -t ext2 /dev/ram1 /ramdisk mount: Mounting /dev/ram1 on /ramdisk failed: No such device pid 13: failed 256 Command: chmod 777 /ramdisk /ramdisk: Read-only file system Command: mkdir /var/config /var/config: Read-only file system Command: mkdir /var/tmp /var/tmp: Read-only file system Command: mkdir /var/log /var/log: Read-only file system Command: mkdir /var/run /var/run: Read-only file system Command: mkdir /var/lock /var/lock: Read-only file system Command: cat /etc/motd Welcome to ____ _ _ / __| ||_| _ _| | | | _ ____ _ _ _ _ | | | | | | || | _ \| | | |\ \/ / | |_| | |__| || | | | | |_| |/ | ___\____|_||_|_| |_|\____|\_/\_/ | | |_|
For further information check: http://www.uclinux.org/
Command: ifconfig lo 127.0.0.1 Command: route add -net 127.0.0.0 netmask 255.255.255.0 lo Command: ifconfig eth0 10.13.72.3 netmask 255.255.255.0 up SIOCSIFADDR: No such device eth0: unknown interface: No such device SIOCSIFNETMASK: No such device eth0: unknown interface: No such device pid 16: failed 65280 Command: demo
Hello world! Command: Execution Finished, Exiting
Sash command shell (version 1.1.1) />
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
与电子爱好者谈读图二被打赏50分 | |
【FRDM-MCXN947评测】Core1适配运行FreeRtos被打赏50分 | |
【FRDM-MCXN947评测】双核调试被打赏50分 | |
【CPKCORRA8D1B评测】---移植CoreMark被打赏50分 | |
【CPKCORRA8D1B评测】---打开硬件定时器被打赏50分 | |
【FRDM-MCXA156评测】4、CAN loopback模式测试被打赏50分 | |
【CPKcorRA8D1评测】--搭建初始环境被打赏50分 | |
【FRDM-MCXA156评测】3、使用FlexIO模拟UART被打赏50分 | |
【FRDM-MCXA156评测】2、rt-thread MCXA156 BSP制作被打赏50分 | |
【FRDM-MCXN947评测】核间通信MUTEX被打赏50分 |