linux系统uclinux内核编译
时间:2007-01-05 来源:xjzhang518
linux系统uclinux内核编译
张小军
平台:redhat9.0;
内核:linux2.4.20.8.
|
1、 Grab source code packages
1.1 get uclinux :
http://www.uclinux.org/pub/uClinux/dist/uClinux-dist-20040408.tar.gz
1.2 get cross toolchain:
http://www.uclinux.org/pub/uClinux/uclinux-elf-tools/arm-elf-tools-20040427.sh
将上述两个源文件存放在同一个目录下:/usr/src。
2、 make soure code tree
2.1 install cross toolchain
[root@localhost src]#./arm-elf-tools-20040428.sh
2.2 untar the uClinux
[root@localhost src]#tar zxvf uClinux-dist-20040408.tar.gz
[root@localhost src]#cd uClinux-dist
[root@localhost uClinux-dist]#vi linux2.4.x/arch/armnommu/vmlinux-armv.lds.in
在__sto__kallsyms = ,;
*(.got)后面加上:(Insert键插入)
romfs_data = .;
romfs.o
romfs_data.end = .;
然后Ctrl+C退出,大写ZZ保存退出;
相关阅读 更多 +