Chinaunix首页 | 论坛 | 博客
  • 博客访问: 219692
  • 博文数量: 39
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 584
  • 用 户 组: 普通用户
  • 注册时间: 2015-04-18 20:24
个人简介

学习总结,分享快乐。 望指正错误, 共同提高!!!

文章分类

全部博文(39)

分类: 嵌入式

2015-05-28 07:12:47

现阶段用友善之臂提供的源码包,以后非得自己玩。

1> tar   -zxvf   linux-3.5-20141114.tgz    -C /
2> cp   tiny4412_linux_defconfig   .config                   //友善之臂配置好的
3> make   -j2                                             //2个cpu核同时编译
4>生成 arch/arm/boot/zImage                              //内核镜像文件
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
选择编译:
#  make menuconfig
通过菜单,选择和取消。> 生成新的.config配置文件。
重新# make -j2
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ubuntu出现问题:

点击(此处)折叠或打开

  1. 1>
  2. *** Unable to find the ncurses libraries or the
  3. *** required header files.
  4. *** 'make menuconfig' requires the ncurses libraries.
  5. ***
  6. *** Install ncurses (ncurses-devel) and try again.
  7. ***
  8. make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
  9. make: *** [menuconfig] Error 2

  10. 解决办法:
  11.                 #apt-get install libncurses5-dev


阅读(2719) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~