buildroot制作文件系统
/*******************************************************************
* buildroot制作文件系统
* 使用buildroot制作文件系统,比busybox简单许多。虽然以前也使用过buildroot
* 编译内核和文件系统,但是没有自己操作过详细的配置。今天总算体会到它的便捷。
*
* 参考文档:
* http://www.cnblogs.com/zengjfgit/p/5174376.html
*
* Tony Liu, 2016-5-16, Shenzhen
******************************************************************/
编译之后,下载的工具目录,dl:
Qt@tony:~/buildroot/buildroot-2016.02/dl$ ls -lh
total 105M
-rw-r--r-- Qt Qt 98M May : arm-2014.05--arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
-rw-r--r-- Qt Qt 2.0M May : busybox-1.24..tar.bz2
-rw-r--r-- Qt Qt 4.6M May : e2fsprogs-1.42..tar.xz
-rw-r--r-- Qt Qt 320K May : fakeroot_1.20.2.orig.tar.bz2
-rw-r--r-- Qt Qt 101K May : genext2fs-1.4..tar.gz
-rw-r--r-- Qt Qt 86K May : pkgconf-0.9..tar.bz2 打包好的镜像:
Qt@tony:~/buildroot/buildroot-2016.02/output/images$ ls -lh
total 9.3M
-rwxrwxrwx Qt Qt 6.5M May : rootfs.ext2
lrwxrwxrwx Qt Qt May : rootfs.ext4 -> rootfs.ext2
-rwxrwxrwx Qt Qt 4.2M May : rootfs.tar 可以自己打包文件系统,制作成自己需要的压缩格式。
要将文件系统的own和group都改为root,否则会进不了文件系统。
Qt@tony:~/buildroot/buildroot-2016.02/output/target$ ls -l
total
drwxr-xr-x root root May : bin
drwxr-xr-x root root May : dev
drwxr-xr-x root root May : etc
drwxr-xr-x root root May : lib
lrwxrwxrwx Qt Qt May : lib32 -> lib
lrwxrwxrwx Qt Qt May : linuxrc -> bin/busybox
drwxr-xr-x root root Mar : media
drwxr-xr-x root root Mar : mnt
drwxr-xr-x root root Mar : opt
drwxr-xr-x root root Mar : proc
drwx------ root root Mar : root
drwxr-xr-x root root Mar : run
drwxr-xr-x root root May : sbin
drwxr-xr-x root root Mar : sys
-rw-r--r-- root root May : THIS_IS_NOT_YOUR_ROOT_FILESYSTEM
drwxrwxrwt root root Mar : tmp
drwxr-xr-x root root May : usr
drwxr-xr-x root root May : var
buildroot制作文件系统的更多相关文章
- buildroot 制作的文件系统烧入到nand中打开设备没有权限
利用buildroot 制作的文件系统,启动系统加载文件系统后出现打开设备Permission denied 解决方法记录. 这应该是制作文件系统的机制问题,暂时没有搞清楚为什么. 解决方式: 给生成 ...
- linux制作文件系统
1.获取文件系统源码并解压 这里使用的源码是天嵌提供的“root_qtopia_2.2.0_2.6.30.4_20100601.tar.bz2” #tar xvf root_qtopia_2..0_2 ...
- Buildroot 打包文件系统流程跟踪
/********************************************************************************* * Buildroot 打包文件系 ...
- [Busybox]Busybox制作文件系统
问题: 1.目前busybox和bootstrap两种方案制作文件系统,哪种开发周期更短,更加简单? 2.如果需要在文件系统中添加某个package,要怎么做,如vim/udhcpd等? 转自:htt ...
- [置顶]
从零制作文件系统到JZ2440,使其支持telnet , ftp 和tftp
转自:http://mp.weixin.qq.com/s?__biz=MzAxNTAyOTczMw==&mid=2649328515&idx=1&sn=5849fba4b44e ...
- Linux的VMWare中Centos7磁盘分区管理 fdisk分区和制作文件系统格式化和开机自动挂载
一.硬盘的组成零件扇区 磁道 磁盘容量 磁盘分区 简介 硬盘由容量.柱面数.磁头数.扇区数 C/H/S, Cylinder, Head, Sector(柱面/磁头数/扇区数) 1.磁头数表示硬盘总共有 ...
- buildroot 制作Linux文件系统初级使用教程
buildroot 下载地址:https://buildroot.org/download.html 放在Linux文件下解压出来. 使用make menuconfig 进行配置相关的东西. 在使用这 ...
- linux 创建虚拟块设备,制作文件系统并挂载,用于测试lustre
1.制作块文件 3 个 [root@localhost yaoxu]# [root@localhost yaoxu]# [root@localhost yaoxu]# 2.创建回环设备 [root@l ...
- 编译busybox-1.24.1 制作文件系统
arm-linux-gcc 3.4.5 busybox-1.24.1.tar.bz21, 修改 Makefile找到以下2处修改为ARCH ?= armCROSS_COMPILE ?= arm-li ...
随机推荐
- java与数据库交互常用到的一些方法
下面我整理了一下java中常用的几个与数据库交互的常用方法,仅供参考: 1.执行SQL(dao层的实现类中) (1)SQL查询: //import org.hibernate.Query;//impo ...
- InnoDB Master Thread I/O Rate详解
一.innodb 在刷盘时要面对的问题: 1.对于innodb 的master thread 这个线程来说,它会在后台执行许多的任务,这些任务大多数都是与IO操作相关的, 比如“刷新脏页到磁盘”.“合 ...
- 配置新服务器 的一些 依赖库 php mysql nginx
利用CentOS Linux系统自带的yum命令安装.升级所需的程序库 LANG=C yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel ...
- 3dmax 2012 贴图通道与uv通道,烘焙场景
1,修改贴图通道(假设要将贴图由自发光通道改至漫反射通道): 选中材质球,通入贴图栏,选中自发光通道中的贴图路径,拖至漫反射通道,松开鼠标时弹出对话框,选'交换'.(有时候解析fbx文件时解析不出贴图 ...
- springcloud Ribbon自定义负载均衡插件
现在我们通过插件的方式添加新的一种策略. package com.zhuyang.config; import org.springframework.beans.factory.annotation ...
- 关于ASP.NET 中 Global.asax 文件的后台事件处理程序
Global.asax.cs中的事件处理程序,像 Application_Start.Application_Error 等,这些名称和事件都是怎么来的呢? MSDN上的这篇文章描述了相关的内容: h ...
- java.lang.IllegalStateException: The specified child already has a parent. You must call removeView
java.lang.IllegalStateException: The specified child already has a parent. You must call removeVi ...
- [na]win7系统安装在t450s
电脑配置 电脑型号 联想 ThinkPad T450s 笔记本电脑(最近买了个ngff口的128g的固态ssd) 操作系统 Windows 旗舰版 64位 主显卡 集成显卡 IE浏览器 版本号 8.0 ...
- Storm API,Tutorial,Trident,Windowing BOOKS
http://storm.apache.org/releases/1.0.0/Trident-API-Overview.html https://stackoverflow.com/questions ...
- 李洪强漫谈iOS开发[C语言-054]-函数
// // main.c // 02 翻译数字的优化 // // Created by vic fan on 2017/6/4. // Copyright © 2017年 李洪强. All r ...