[Skyeye-developer] The source code of 8019 netcard driver that can run onSkyEye

Michael.Kang blackfin.kang at gmail.com
Tue Jul 31 09:34:01 CST 2007


hi
        That attachment is source code of 8019 netcard driver for at91
simulation of SkyEye. That is originally provided by AnthonyLee and I
had done some minor changes for at91 processor.  I can run it with
uClinux-2007 by skyeye-1.2.3 version successfully.
           A simple guide about how to use them as the following:
1. Copy these two files to uClinux-dist/linux-2.4.x/driver/net
2. Modify the Makefile under uClinux-dist/linux-2.4.x/driver/net, add
a line like this:
obj-y += rtl8019.o
3. Run make menuconfig, to select GDB/Armulator option. Then run "make
dep", "make" to build uClinux image. At the end of build , you can get
image of at91 at linux-2.4.x/linux.
4. Use the following config file skyeye.conf to run at91 image.
###########################################
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
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
net: type=rtl8019_16, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1
##############################################

5. Change to root  user and run the following command:
skyeye -e linux-2.4.x/linux

6.After run into the shell of uClinux, you can use ifconfig to set ip
address , then to ping your host as the following:
#ifconfig eth0 10.0.0.2
#ping 10.0.0.1

--Thanks
-- Michael.Kang
-- 
www.skyeye.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtl8019.c
Type: application/octet-stream
Size: 10300 bytes
Desc: not available
Url : http://lists.gro.clinux.org/pipermail/skyeye-developer/attachments/20070731/bd425cf0/rtl8019-0002.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtl8019.h
Type: application/octet-stream
Size: 1898 bytes
Desc: not available
Url : http://lists.gro.clinux.org/pipermail/skyeye-developer/attachments/20070731/bd425cf0/rtl8019-0003.obj


More information about the Skyeye-developer mailing list