Linux kernel Complier:

http://supportopensource.iteye.com/blog/680483

sudo make mrproper         净化解压后的源代码

sudo make menuconfig     对内核选项进行配置

sudo make dep         建立模块间的依赖信息

sudo make clean       删除配置时留下的一些不用的文件

sudo make bzImage     编译内核,内核较小时可以用make zImage

sudo make modules    编译内核模块

sudo make modules_install   安装内核模块

sudo make install           安装内核

cd / 后在终端输入:sudo mkinitramfs 2.6.33.1 -o /boot/initrd.img-2.6.33.1-generic

make menuconfig' requires the ncurses libraries.

# sudo apt-cache search ncurses   // 查询相关库,发现有很多

# sudo apt-get install libncurses5-dev  // google一下只要libncurses5-dev

drivers/mfd/ezx-pcap.c:206:2: error: implicit declaration of function ‘pxa_irq_to_gpio’

http://permalink.gmane.org/gmane.linux.ports.arm.kernel/155647

Linux2.6 内核的 Initrd 机制解析

http://blog.csdn.net/echoisland/article/details/5955634

arm-fsl-linux-gnueabi-gcc:命令未找到

两个原因:1、真的没有这个交叉编译环境;2、没有调用权限,切换到root  3、sudo apt-get install g++-multilib  4、sudo apt-get install lib32-z1-dev

error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory.

sudo apt-get install lib32z1

实现虚拟机VMware上linux与windows互相复制与粘贴

http://blog.sina.com.cn/s/blog_626e09150101nh0r.html

Linux kernel裁剪

http://www.cnblogs.com/htc-javaMe/archive/2009/12/26/2562548.html

出现这个或者fatal error: openssl/名单.h: No such file or directory。都是没有安装libssl-dev~

使用sudo apt-get install libssl-dev来安装libssl-dev即可

Ubuntu系统启动时出现错误,检查磁盘时发现严重错误:

http://jingyan.baidu.com/article/0aa22375bbffbe88cc0d6419.html

Ubuntu source list :

http://blog.csdn.net/lilongherolilong/article/details/6704855

http://wiki.ubuntu.org.cn/Qref/Source

Ubuntu Soufou input :

http://pinyin.sogou.com/linux/help.php

解决Ubuntu无线网卡突然无法连接

http://www.jianshu.com/p/eb95dbaa30ca

Terminal command:

# df -h  // 查看硬盘使用情况

# sudo passwd root  // root用户建立

# su   //  切换root用户

# sudo apt-get update

# apt-get install "name"

# apt-get remove "name"

# xz -d "filename"     // tar.xz

# tar xvf "filename"  // used after the upper command

#  tar -zxvf "filename" // .tar

# vim ~/.bashrc  //自定义命令设置# apt-get install iptux   //  安装飞秋

# find .  /( -name “_*“  -or  -newer while2 /)  -type  f  -print   // 在当前目录下查找(名字以_为开头并且比while2更新的)目录

# find . –name “.svn” –type d –R | xargs rm –rf :   //就会递归地把.svn目录删掉

# find . -newer while2 -type f -exec ls -l {} /;  // -exec:后面可以接命令,它以/;来结束

# find . -name "*.in" | xargs grep "thermcontact"  // 从当前目录开始查找所有扩展名为.in的文本文件,并找出包含”thermcontact”的行

# sudo nautilus   // 图形化界面root复制

权限控制

sudo chmod 600 ××× (只有所有者有读和写的权限)
sudo chmod 644 ××× (所有者有读和写的权限,组用户只有读的权限)
sudo chmod 700 ××× (只有所有者有读和写以及执行的权限)
sudo chmod 666 ××× (每个人都有读和写的权限)
sudo chmod 777 ××× (每个人都有读和写以及执行的权限)

其中×××指文件名(也可以是文件夹名,不过要在chmod后加-ld)

minicom应用

# sudo minicom -s   // 打开minicom应用

# dmesg | grep ttyUSB     or  dmesg | grep ttyS   // 查看串口端口

# sudo minicom -c on  // 启动应用, 支持彩色字符显示

# 以下设置之后才能进入登陆界面

Hardware Flow Control     NO

Software Flow Control     NO

Ubuntu TFTP配置全过程

http://www.linuxidc.com/Linux/2013-07/87366.htm

登陆开发板后常用命令

# reboot   //  重启

# cat /proc/version  // 查看内核版本

# free    // 查看内存使用情况

# df -m   // 查看硬盘使用情况

# cat /proc/cpuinfo  // 查看CPU等信息

# /etc/rc.d/init.d/start_userapp -->   开机启动脚本文件

  insmod /root/beep.ko   // 挂载驱动

  udevtrigger   // 立即触发

  beep_test   // 执行应用程序

# ulimt -n    // 文件描述符的取值范围,一般1024

  

嵌入式Linux系统开发环境搭建的更多相关文章

  1. win10子系统linux.ubuntu开发环境搭建

    移步新博客... win10子系统linux.ubuntu开发环境搭建

  2. s3c6410 Linux 驱动开发环境搭建

    s3c6410 Linux 驱动开发环境搭建 -- 既然你是做Linux开发的,你还用虚拟机? 非常多人都在win下做开发,于是SD_writer.exe之类的烧写工具"大行其道" ...

  3. Linux PC开发环境搭建建议

    搭建Linux PC开发环境 很早之前整理的在Linux(ubuntu)系统下搭建 PC开发环境的工具的推荐和简单说明,尽管现在有些已经不再使用,但还是要备份一下,作为以后的参考: package: ...

  4. Unix/Linux环境C编程入门教程(10) SUSE Linux EnterpriseCCPP开发环境搭建

    安装SUSE企业版以及搭建C/C++开发环境 1.      SUSELinux Enterprise是一款服务器操作系统,异常稳定. 2.设置虚拟机类型. 3.选择稍后安装操作系统. 4.选择SUS ...

  5. linux android开发环境搭建

    android开发环境搭建的一些有用链接:1.sdk manager的国内服务器http://www.cnblogs.com/huangjacky/p/4077982.html2.常见问题的解决htt ...

  6. visual studio 2015下使用gcc调试linux c++开发环境搭建完整详解

    一直以来,相信绝大部分的开发都是windows/mac下做开发,尤其是非嵌入式和qt系的,而开源服务器程序绝大部分都是跑在Linux下,几乎就没有跑在windows下的.一直以来开发人员都是在wind ...

  7. 【转载】4412开发板嵌入式QtE应用开发环境搭建

    本文转自迅为iTOP-4412开发板实战教程书籍:http://topeetboard.com QtE应用需要使用开发工具qtcreator,本文介绍qtcreator-3.2.2的安装和使用.1. ...

  8. Linux交叉开发环境搭建 —— 效率之源

    楼主今天终于把所有Linux开发环境需要的软件下载完毕了.虽然以前也是搭建过的,时间久了又折腾了一晚上. 交叉环境: Windows.Linux文件共享 SecureCRT 连接虚拟机终端 工具: V ...

  9. Linux应用开发环境搭建

    因为笔者是一名大学生,对Linux内核开发方向非常感兴趣,可是实在是能(ji)力(shu)有(cha)限(jin),仅仅能从Linux应用开发開始,由浅入深,逐步进步,登上人生高峰,因此,昨天搭建了开 ...

随机推荐

  1. 11-cp 命令总结

  2. android Envieroment类

    Constants String MEDIA_BAD_REMOVAL 在没有挂载前存储媒体已经被移除. String MEDIA_CHECKING 正在检查存储媒体. String MEDIA_MOU ...

  3. 作业4-两人编程<词频统计>

     协作:苗中峰,刘鑫成       我主要攻克排序,成哥写了文件流的使用.整合工作由我完成,成哥帮我查阅资料,避免和解决语法错误.              这次任务较作业三的变化是:       * ...

  4. 网站移植到linux上后常犯的错误

    常犯的错误 1:gcc库没装或者没装全 表现:没有可用的C编译器 同类错误:提示g++ not found, 解决:出现以上错误,则是因为gcc编译器没装,或者是没装全. 挂载光盘,到Pakeges里 ...

  5. mybatis和ibatis控制台打印sql语句方法

    #将ibatis log4j运行级别调到DEBUG可以在控制台打印出ibatis运行的sql语句 log4j.rootLogger=debug,stdout,logfile### 把日志信息输出到控制 ...

  6. java 上传图片 并压缩图片大小

    Thumbnailator 是一个优秀的图片处理的Google开源Java类库.处理效果远比Java API的好.从API提供现有的图像文件和图像对象的类中简化了处理过程,两三行代码就能够从现有图片生 ...

  7. [转]Spring——jar包详解

    原文地址:http://my.oschina.net/huhaoren/blog/300856?p=1 spring.jar是包含有完整发布的单个jar包,spring.jar中包含除了 spring ...

  8. 关于如何调用苹果自带的地图APP

    CLGeocoder *geoCoder = [[CLGeocoder alloc] init]; // 通过地理编码,得到位置, CLLocation *loc = [[CLLocation all ...

  9. nginx之location

    1locations简介 location的主要作用就是根据用户请求的uri来执行不同的应用. 2location的语法 location [=|~|~*|^~|@] uri{...........} ...

  10. Yii2的Debug工具

    yii2的Debug工具 调用   r=debug 可以对程序进行性能分析,从而对程序进行改良 (1)数据库某条sql语句的执行时间 (2)debug的profiling标签 \YII::beginP ...