03 2012 档案

摘要:一、定义 Linux支持多种文件系统类型,包括ext2、ext3、vfat、 jffs、 romfs和nfs等,为了对各类文件系统进行统一管理,Linux引入了虚拟文件系统 VFS(Virtual File System),为各类文件系统提供一统一的应用编程接口。二、文件系统类型 根据存储设备的硬件特性、系统需求,不同的文件系统类型有不同的用场合。在嵌入式 Linux应用中,主要的存储设备为 RAM和FLASH,常用的基于存储设备的文件系统类型包括 :jffs2, yaffs, cramfs, ramdisk, ramfs等。1、基于FLASH的文件系统Flash(闪存)作为嵌入式系统的主要存 阅读全文
posted @ 2012-03-27 22:11 欢乐小飞 阅读(382) 评论(0) 推荐(0)
摘要:一、如何制作一个根文件系统 1、创建根文件系统的目录 2、创建设备文件 3、安装 /etc tar etc.tar.gz –C /xxx/rootfs 4、编译内核模块 进入Linux内核目录( linux 2.6.29) make modules ARCH=arm CROSS_COMPILE=ar 阅读全文
posted @ 2012-03-27 21:58 欢乐小飞 阅读(379) 评论(0) 推荐(0)
摘要:制作嵌入式平台使用的Linux内核,方和制作 PC平台的Linux内核基本一致,下面用对比的方式介绍如何制作用于mini2440开发板的内核 1、清除原有配直与中间文件 x86: make distclean arm: make distclean 2、配置内核 x86: make menuconf 阅读全文
posted @ 2012-03-27 21:36 欢乐小飞 阅读(302) 评论(0) 推荐(0)
摘要:一、安装进行嵌入式开发前,首先需安装交叉工具链,步骤如下: 1、 解压工具链到某一目录下 例: tar xvzf arm-linux-gcc-4.3.2.tar.gz –C / 2、 修改/etc/profile ,添加 pathmunge /usr/local/arm/4.3.2/bin 3、 source /etc/profile 二、使用• 编译器 :arm-linux-gcc arm-linux-gcc hello.c –o hello• 汇编工具 :arm-linux-objdump arm-linux-objdump –D –S hello• ELF文件查看工具 : arm-lin 阅读全文
posted @ 2012-03-27 21:29 欢乐小飞 阅读(242) 评论(0) 推荐(0)
摘要:1)CscopeUsing Cscope on large projects (example: the Linux kernel)Cscope can be a particularly useful tool if you need to wade into a large code base. You can save yourself a lot of time by being able to do fast, targeted searches rather than randomly grepping through the source files by hand (espec 阅读全文
posted @ 2012-03-20 15:28 欢乐小飞 阅读(11713) 评论(0) 推荐(0)
摘要:错误提示:GPG 错误:http://mirrors.163.com maverick-updates Release: 下列签名无效: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster @ubuntu.com> </ftpmaster>修复方法gpg --keyserver keyserver.ubuntu.com --recv 40976EAF437D05B5 gpg --export --armor 40976EAF437D05B5 | sudo apt-key add 阅读全文
posted @ 2012-03-20 11:54 欢乐小飞 阅读(985) 评论(0) 推荐(0)
摘要:1、清除临时文件、中间文件与配置文件 make clean remove most generated files but keep the config make mrproperremove all generated files + config files make distclean mr 阅读全文
posted @ 2012-03-19 15:18 欢乐小飞 阅读(282) 评论(0) 推荐(0)
摘要:1 # make menuconfigHOSTCC scripts/basic/fixdepHOSTCC scripts/basic/docprocHOSTCC scripts/kconfig/conf.oHOSTCC scripts/kconfig/kxgettext.o*** Unable to find the ncurses libraries or the*** required header files.*** 'make menuconfig' requires the ncurses libraries.****** Install ncurses (ncurs 阅读全文
posted @ 2012-03-19 14:49 欢乐小飞 阅读(3224) 评论(0) 推荐(0)
摘要:以后要多写写东西,多记录一点心得 阅读全文
posted @ 2012-03-16 11:17 欢乐小飞 阅读(137) 评论(0) 推荐(0)