|
发表于 2005-5-11 21:45:55
|
显示全部楼层
1>下载http://gro.clinux.org/frs/download.php/739/skyeye-v0.7.4.rh9.bin
直接执行文件[]#skyeye-v0.7.4.rh9.bin
2>下载http://www.uclinux.org/pub/uClinux/uclinux-elf-tools/arm-elf-tools-20030314.sh
[]#sh arm-elf-tools-20030314.sh
3>下载ftp://166.111.68.183/pub/embed/uclinux/soft/ uClinux-dist-20020927.tar.gz
[]#tar zxf uClinux-dist-20020927.tar.gz
[]#cd uClinux-dist
[]#make xconfg(或者make menuconfig)
[]#make dep
[]#make
[]#make romfs
[]#make image
[]#ln -s imags/romfs.img boot.rom
4>
新建skyeye.conf文件,内容如下
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=images/romfs.img
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
5>
在uclinux-dist目录下执行
skyeye linux-2.4.x/linux
(skyeye)target sim
(skyeye)load
(skyeye)run
老师让我做实时接口方面的东西。太笼统了,我也不知道该做什么? 反正我现在是在读skyeye的源代码。 |
|