|
在skyeye下按照uclinux4skyeye中的installguide.txt的说明将vendors__GDB__ARMulator/* copy到 vendors/GDB/ARMulator/
linux-2.4.x__drivers__net/* tcopy到 linux-2.4.x/drivers/net/
然后重新编译make dep;make
然后启动uclinux时显示 ifconfig eth0 10.0.0.2 up,
然后我再
/>ifconfig eth0 10.0.0.2没有反应,又出现
/>提示符
然后在另一个linux终端
#/sbin/ifconfig
显示的只有eth0和lo,为什么没有tap0呢?
skyeye.config:
#kyeye config file sample
cpu: arm7tdmi
mach: at91
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000
mem_bank: map=M, type=R, addr=0x01400000, size=0x00400000, file=./boot.rom
mem_bank: map=M, type=RW, addr=0x02000000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02400000, size=0x00008000
mem_bank: map=M, type=RW, addr=0x04000000, size=0x00400000
mem_bank: map=I, type=RW, addr=0xf0000000, size=0x10000000
#set nic info state=on/off mac=xxxxxxx ethmod=tuntap/vnet hostip=dd.dd.dd.dd
net: state=on, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1
/dev/net下有tun了,而且我也/sbin/insmod /lib/modules/2.4.20-8/kernel/drivers/net/tun.o
在编译uclinux时我也在网络驱动支持里选择了ne2000的支持。
在运行uclinux时,下面是部分输出
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x8071b10
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
can't find device module: (null)
SKYEYE: use arm7100 mmu ops
Loaded ROM ./boot.rom
exec file "linux"'s format is elf32-little.
load section .init: addr = 0x01000000 size = 0x0000a000.
load section .text: addr = 0x0100a000 size = 0x000c7280.
load section .data: addr = 0x010d2000 size = 0x000084d4.
not load section .bss: addr = 0x010da4e0 size = 0x000227d8 .
not load section .debug_abbrev: addr = 0x00000000 size = 0x0003a125 .
not load section .debug_info: addr = 0x00000000 size = 0x016eb141 .
not load section .debug_line: addr = 0x00000000 size = 0x002ed470 .
not load section .debug_pubnames: addr = 0x00000000 size = 0x0000b546 .
not load section .debug_aranges: addr = 0x00000000 size = 0x00002328 .
start addr is set to 0x01000000 by exec file.
不知道为什么上面显示can't find device module: (null),是不是这儿的问题所以我没有tap0
可是我内核模块装载了,网络节点也有了,请教怎么回事呢?怎么没有tap0呢? |
|