| kernel uclibc bootloader 的编译方法 |
荐 |
| kernel uclibc bootloader 的编译方法 |
|
| |
|
KERNEL 编译
Compile by default configuration (Can compile for Jupiter or virgine)
首先运行cygwin
进入E:\cygwin\home\administrator\uClinux-eisc\uClinux-2.4.20
i. Execute the following at cygwin
1. > make mrproper
2. > make Jupiter_config # or make virgine_config
3. > make oldconfig
4. > make dep
5. > make
ii. At last “romimage.bin” is generated through above process
iii. “romimage.bin” is combined with these part.
1. seloader.bin (bootloader image)
2. linux.bin (linux kernel image)
3. rdgz.bin (compressed ramdisk image)
B. Configuration revision
i. Execute following between ‘2’ and ‘3’ in process ‘i’.
ii. > make menuconfig (if xfee86 is installed, “make xconfig”)
详见UClinux for EISC user manual.doc文件
如果只是修改了部分程序,不用重头编译,只需要将所修改的程序的*.o文件手工删除。
然后进入:\cygwin\home\administrator\uClinux-eisc\uClinux-2.4.20
执行make
uclibc 编译
进入E:\cygwin\home\administrator\uClinux-eisc\uClibc
执行make
bootloader 编译
进入E:\cygwin\home\administrator\uClinux-eisc\forJupiter\seloader
执行make clean
make
注意1.:在cygwin下换行符“\”有时不能被识别,如果出错就把\去掉,并把分开的程序变成
同一行。
注意2.:在makefile中,有些仍使用/uclinux-2.4.6/include/,请改为/uclinux-2.4.20/include/,因为
我已经使用uclinux-2.4.20,所有的库要重新编译。
因为有缺省文件,顺序可以颠倒。
Linux联盟收集整理
 |
频道声明:本频道的文章除部分特别声明禁止转载的专稿外,可以自由转载.但请务必注明出出处和原始作者 文章版权归本频道与文章作者所有.对于被频道转载文章的个人和网站,我们表示深深的谢意。
| 原始作者:佚名 |
录入时间:2007-1-2 4:15:23 |
| 信息来源:不详 |
投稿信箱:itqoo@126.com |
|
|
 |
|
|
|
| 教程录入:itqoo 责任编辑:itqoo |
|
上一个教程: uClinux系统分析
下一个教程: 轻松控制uClinux嵌入式开发过程 |
| 【字体:小 大】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 |