全部博文(92)
分类: 嵌入式
2010-05-15 14:49:43
使用rz命令通过串口下程序到开发板
#tar xzvf rzsz-3.48.tar.gz
#cd src
#vim Makefile
CC=arm-linux-gcc(修改交叉编译器)
#make
这时候出现下列信息,主要是选择该软件的运行平台,我选择posix
Please study the #ifdef's in crctab.c, rbsb.c, rz.c and sz.c,
make any necessary hacks for oddball or merged SYSV/BSD systems,
then type 'make SYSTEM' where SYSTEM is one of:
posix POSIX compliant systems
aix AIX systems
next NeXtstep v3.x (POSIX)
odt SCO Open Desktop
everest SCO Open Desktop (elf, strict)
sysvr4 SYSTEM 5.4 Unix
sysvr3 SYSTEM 5.3 Unix with mkdir(2), COHERENT 4.2
sysv SYSTEM 3/5 Unix
sysiii SYS III/V Older Unix or Xenix compilers
xenix Xenix
x386 386 Xenix
bsd
tandy Tandy 6000 Xenix
dnix DIAB Dnix 5.2
dnix5r3 DIAB Dnix 5.3
amiga 3000UX running SVR4
POSIX POSIX compliant systems (SCO Open Desktop, strict)
undos Make the undos, todos, etc. program.
doc Format the man pages with nroff
#make posix
将生成的rb rc rx rz sb sx sz zcommand zcommandi 拷贝到 root_2.6.31/usr/bin/目录下
重新制作根文件系统,下载到板子上
执行
#rz