
本文共 4745 字,大约阅读时间需要 15 分钟。
1 ���������������������������
1.1 ������ubuntu���������FTP���windows���������������������linux-2.6.22.6.tar.bz2���������������linux-2.6.22.6-jz2440.patch������������������/work/hardware���������
1.2 ������cd /work/hardware ��������������������������������������� tar xjf linux-2.6.22.6tar.bz2 ���������linux������������������������������������
1.3 ������cd /linux-2.6.22.6 ������������������������������������������������ patch -p1 < ../linux-2.6.22.6-jz2440.patch ������������������������������������
2 ������������������3������������
������������������������������������������������������������������������������������������meke menuconfig������������������������������������������������������Ubuntu-16.04.2���GNU Make������������4.1������linux���������������make -v������������GNU Make������������������������������������������������
���������������������������������������������������linux-2.6.22.6���������������������������������������GNU Make������������������������������������make������������������������������������������������������������������������������������������������������������Makefile���������������������������
linux-2.6.22.6��������������������������� vi Makefile ��������������� 416gg ���������������416���������������������������
���������������������
������������������1449���
���������������������
��������������������� make menuconfig ���������������������������������������
2.1 ������������ make menuconfig ������������������������������������������������
������make menuconfig������������������������������������������������������������������������������������������������������������
2.2 ���������������������������������������������������������
������cd���������������linux-2.3.22.6������������������������������������������������������������������������������������������ find -name "*defconfig*" ������������������������������������������������������"defconfig"������������������������������������������������������������������"def_config"������������������������������arch������������������������
���������������������������������������arm���������������������cd ./arch/arm/configs ������configs������������������������������������������������������������������������������������������ ls ���������������������������������������������������������������������������������������������������������
������������������������������������������2440���������������������s3c2410_defconfig���������������������������������������linux-2.6.22.6��������������������������������� make s3c2410_defconfig ������������������������������������������������������
������������������������"configuration written to .config"���������������������������������������������.config������������������make menuconfig ������������������������.config���������������
2.3 ���������������������������������
jz2440������������������������������������������������config_ok���������������������������������������������������������������������������������������������make menuconfig ���������������������.config���������������������������������������������������������������������������������������������������.config������������������cd���������������linux-2.3.22.6������������������������������ cp config_ok .config ���������������������������������������������
2.4 ������make menuconfig ������������
������������������������������������
Arrow keys navigate the menu | ��������������������������������������������������������������������������������������������� |
<Enter> selects submenus ---> | ������������Enter(���������)��������������������������������� |
Highlighted letters are hotkeys | ��������������������������������������������������������������������������������������������������������� |
Pressing <Y> includes | Y������������������������ |
<N> excludes | N��������������������������� |
<M> modularizes features | M��������������������� |
Press <Esc><Esc> to exit | Esc��������� |
<?> for Help | ?��������� |
</> for Search | /��������� |
Legend: | ������ |
[*] built-in | ������������������������ |
[ ] excluded | ��������������������� |
<M> module | ��������������� |
< > module capable | ������������������������������ |
3 ������
3.1 ������ make ������������������������
3.2 ������ make uImage������������uImage���������������������uImage���������������������������������������������������������������uboot���������������������uImage������������������������uboot���������mkimage���������������/user/bin������������
3.3 ������uboot������������������k������������dnw���������uImage������������uboot���uboot���������flash������uImage���������������flash������
4 ������������
4.1 ������uboot������uImage������������������������������������������������������b������������������������flash������������������������������������������������������������������������������������������������������
发表评论
最新留言
关于作者
