|
skyeye版本:1.2.6
ucosii4skyeye版本:1.9.3
编译lwip_on_ucos_test正常,生成lwip_on_ucos_test.elf
tun模块已经加载
在root下运行:
skyeye -e lwip_on_ucos_test.elf
ifconfig查看,并没有出现tap0,也就ping不通10.0.0.2。输出如下:
debian:/home/czy0818/bs/skyeye/ucosii4skyeye/samples/lwip_on_ucos_test# skyeye -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 0x805f800
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
can't find device module: (name:net, typenull))
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm7100 mmu ops
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
IO error in at91_io_write_byte,addr=0xbfce922c
IO error in at91_io_write_byte,addr=0x80561ce
IO erro in at91_io_read_byte, addr=0xfffa007c
IO error in at91_io_write_byte,addr=0x80561ce
IO error in at91_io_write_byte,addr=0x80561ce
IO error in at91_io_write_byte,addr=0x80561ce
IO error in at91_io_write_byte,addr=0x80561ce
IO error in at91_io_write_byte,addr=0x80561ce
IO error in at91_io_write_byte,addr=0x80561ce
IO error in at91_io_write_byte,addr=0x80561ce
IO error in at91_io_write_byte,addr=0x80561ce
IO error in at91_io_write_byte,addr=0x80561ce
IO error in at91_io_write_byte,addr=0x80561ce
IO error in at91_io_write_byte,addr=0x80561ce
IO error in at91_io_write_byte,addr=0x80561ce
IO erro in at91_io_read_byte, addr=0xfffa0004
IO erro in at91_io_read_byte, addr=0xfffa0008
IO erro in at91_io_read_byte, addr=0xfffa000c
IO erro in at91_io_read_byte, addr=0xfffa0010
IO erro in at91_io_read_byte, addr=0xfffa0014
IO erro in at91_io_read_byte, addr=0xfffa0018
IO error in at91_io_write_byte,addr=0x80561ce
IO error in at91_io_write_byte,addr=0x80561ce
IO error in at91_io_write_byte,addr=0x80561ce
IO error in at91_io_write_byte,addr=0x80561ce
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 16946496
然后用tunctl自己添加一个虚拟网卡tap0(10.0.0.1 255.255.255.0),
再运行skyeye -e lwip_on_ucos_test.elf
依然ping不到10.0.0.2 |
|