这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » 未什么uclinux加载后8019找不到了?

共4条 1/1 1 跳转至

未什么uclinux加载后8019找不到了?

菜鸟
2005-06-01 00:02:01     打赏

44b0x的板子,网卡8019,u-boot移植成功了。

在u-boot启动时的配置里,网络各方面都是好的,也能够通过

网络正确加载pc上的内核镜像。

但是uclinux加载完全后,网卡设备就找不到了。

这是什么原因?是和start_kernel()里的一些初始化相关吗?如何修改?

希望有经验的大侠不吝赐教!

bow!

[em06]



关键词: 什么     uclinux     加载     找不     到了    

菜鸟
2005-06-01 21:37:00     打赏
2楼

启动画面如下:

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) />


菜鸟
2005-06-02 02:59:00     打赏
3楼

自己搞定了。

主要是网卡的偏移地址没有全部改好,在8390.h和ne.c


菜鸟
2005-06-21 02:21:00     打赏
4楼
realseven老兄,可否把你怎么弄好的详细的说一下,小弟也遇到同样的问题,谢谢了

共4条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]