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网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
vscode+cmake搭建雅特力AT32L021开发环境被打赏30分 | |
【换取逻辑分析仪】自制底板并驱动ArduinoNanoRP2040ConnectLCD扩展板被打赏47分 | |
【分享评测,赢取加热台】RISC-V GCC 内嵌汇编使用被打赏38分 | |
【换取逻辑分析仪】-基于ADI单片机MAX78000的简易MP3音乐播放器被打赏48分 | |
我想要一部加热台+树莓派PICO驱动AHT10被打赏38分 | |
【换取逻辑分析仪】-硬件SPI驱动OLED屏幕被打赏36分 | |
换逻辑分析仪+上下拉与多路选择器被打赏29分 | |
Let'sdo第3期任务合集被打赏50分 | |
换逻辑分析仪+Verilog三态门被打赏27分 | |
换逻辑分析仪+Verilog多输出门被打赏24分 |