|
我在测试lwip_on_ucos_test的时候遇到如下信息:
[root@localhost lwip_on_ucos_test]# sudo skyeye -c skyeye.conf -e lwip_on_ucos_test.elf
Your elf file is little endian.
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x8060020
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
sh: ifconfig: command not found
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm7100 mmu ops
exec file "lwip_on_ucos_test.elf"'s format is elf32-little.
load section .text: addr = 0x01000000 size = 0x00014fa0.
load section .data: addr = 0x01016000 size = 0x0000227c.
not load section .bss: addr = 0x0101827c size = 0x00010ccc .
not load section .debug_abbrev: addr = 0x00000000 size = 0x000033e1 .
not load section .debug_info: addr = 0x00000000 size = 0x00031c2c .
not load section .debug_line: addr = 0x00000000 size = 0x00012ed2 .
not load section .debug_pubnames: addr = 0x00000000 size = 0x000017dd .
not load section .debug_aranges: addr = 0x00000000 size = 0x00000500 .
call ARMul_InitSymTable,kernel filename is lwip_on_ucos_test.elf.
start addr is set to 0x01000000 by exec file.
System initialized.
usr_task: hello!
memp_register_reclaim: registering reclaimer for type 0
memp_register_reclaim: registering reclaimer for type 4
memp_register_reclaim: registering reclaimer for type 2
TCP/IP initialized.
netif: added interface lo IP addr 127.0.0.1 netmask 255.0.0.0 gw 127.0.0.1
netif: added interface et IP addr 10.0.0.2 netmask 255.255.255.0 gw 10.0.0.1
netif: setting default interface et
Applications started.
tcpecho created!tcpip_thread: API message
tcp_bind: bind to port 7
tcpip_thread: API message
TCP_REG local port 16881368
貌似lwip跑起来了 但是ping不通 之前我用insmod /lib/modules/2.6.23.1-42.fc8/kernel/drivers/net/tun.ko加载过tun.so
我的skyeye版本是1_2_6_rc1
skyeye.conf配置如下:
#skyeye config file sample
cpu: arm7tdmi
mach: at91
#mem_num: 7
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
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
net:type=rtl8019, state=on, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1
麻烦那位大侠帮忙结一下,为什么一直ping不通???? |
|