基于ROCKCHIP的ubuntu-base根文件系统构建
1、ubuntu根文件系统获取
根文件系统下载地址http://cdimage.ubuntu.com/ubuntu-base/releases/
Ubuntu 针对不同的 CPU 架构提供相应的 ubuntu base 根文件系统,有 amd64(64 位 X86)、 armhf、 i386(32 位 X86)、 powerpc、 ppc64el 等系统的。
首先根据ubuntu系统的版本号确认版本,再根据ROCKCHIP选择ARM版本的文件系统。
1:cd /home/xxx/mkdir ubuntu_rootfs
2:cp ubuntu-base-18.04.5-base-arm64.tar.gz /home/xxx/ubuntu_rootfs
3:sudo tar -vzxf ubuntu-base-18.04.5-base-arm64.tar.gz
2、准备arm环境
安装qemu工具
sudo apt-get install qemu-user-static
将安装生成的qemu-user-static 拷贝到刚刚解压出来的 ubuntu base 目录中:
cp /usr/bin/qemu-aarch64-static usr/bin
设置ubuntu base的网络
cp -b /etc/resolv.conf /home/xxx/ubuntu_rootfs/etc/
3、给ubuntu文件系统安装软件
修改软件源,建议使用国内的源,安装软件速度快。
进入/etc/apt/:cd /etc/apt
修改sources.list文件中的ubutnu官方软件源,修改为国内网易云的源,修改后如下所示:
#deb cdrom:[Ubuntu 18.04.5 LTS _Bionic Beaver_ - Release amd64 (20200806.1)]/ bionic main restricted# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirrors.163.com/ubuntu/ bionic main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ bionic main restricted## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirrors.163.com/ubuntu/ bionic-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ bionic-updates main restricted## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirrors.163.com/ubuntu/ bionic universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ bionic universe
deb http://mirrors.163.com/ubuntu/ bionic-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ bionic-updates universe## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirrors.163.com/ubuntu/ bionic multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://mirrors.163.com/ubuntu/ bionic-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ bionic-updates multiverse## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partnerdeb http://mirrors.163.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://mirrors.163.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://mirrors.163.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
基于ROCKCHIP的ubuntu-base根文件系统构建相关推荐
- 根文件系统构建(BusyBox方式)
目录 根文件系统简介 BusyBox构建根文件系统 BusyBox简介 编译BusyBox构建根文件系统(生成bin.sbin.usr.linuxrc) 向根文件系统添加lib库 创建其他文件夹 根文 ...
- Linux之系统移植与根文件系统构建
Linux之系统移植与根文件系统构建 1.Uboot 1. 什么是Uboot: 一个裸机程序 就是一个bootloader用于启动Linux或其他系统 最主要的工作就是初始化DDR.因为Linux是运 ...
- 【正点原子Linux连载】第三十八章 根文件系统构建 -摘自【正点原子】I.MX6U嵌入式Linux驱动开发指南V1.0
1)实验平台:正点原子阿尔法Linux开发板 2)平台购买地址:https://item.taobao.com/item.htm?id=603672744434 2)全套实验源码+手册+视频下载地址: ...
- 根文件系统构建(Buildroot 方式)
目录 何为buildroot? buildroot 简介 buildroot 下载 buildroot 构建根文件系统 配置buildroot 编译buildroot buildroot 根文件系统测 ...
- Buildroot根文件系统构建
前面我们学习了如何使用 busybox 来构建根文件系统,但是 busybox 构建的根文件系统不其全,很多东西需要我们自行添加,比如 lib 库文件.在我们后面的驱动开发中很多第三方软件也需要我们自 ...
- 【正点原子MP157连载】第十九章 Buildroot根文件系统构建-摘自【正点原子】STM32MP1嵌入式Linux驱动开发指南V1.7
1)实验平台:正点原子STM32MP157开发板 2)购买链接:https://item.taobao.com/item.htm?&id=629270721801 3)全套实验源码+手册+视频 ...
- linux开发 | 根文件系统构建实验及过程详解
<2.uboot和系统移植-第19部分-2.19.根文件系统构建实验及过程详解> 第一部分.章节目录 2.19.1.根文件系统的构建路线 2.19.2.busybox的移植实战 2.19. ...
- linux 开机 找不到 文件系统 下载文件系统就好了,根文件系统构建和实验过程
1.1.根文件系统构建路线 1.先逐步构建文件夹形式的根文件系统然后在制作烧录镜像 2.1.busybox移植实战 1.busybox中是一些shell命令集 2.busybox××× (1)busy ...
- 二十.Linux开发之根文件系统构建及过程详解
老规矩 有道云笔记地址: 详情看这里链接,记录太多,就不一一排版了. http://note.youdao.com/noteshare?id=15b6e982c2e66d0f47b1c787a49f4 ...
最新文章
- Android学习笔记之progressBar(进度条)
- RHEL5.1单域主/从NIS服务器配置及测试
- SQL语句之DWL、DCL语句
- win server2008搭建ftp服务器
- 车载信息安全企业自发成立联盟
- Protocol Buffer Java应用实例
- protobuf编码
- MyBatis无限输出日志
- IAAS、SAAS、PAAS
- asp.net core 3.0 更新简记
- 山石网科发布数据安全综合治理体系,覆盖数据全生命周期
- 查看oracle资源使用情况,Oracle查询表空间使用情况
- latex支持python吗_用MarkDown和Python编写LaTex
- python用程序说爱你_用python写一个聊天小程序!和女朋友的专属聊天工具!
- 基于angularjs的单页面实例_【进展综述】单阶段实例分割(Single Stage Instance Segmentation)...
- Visual Studio Debug Practice
- 安装php-solr扩展
- Gephi下载百度云加速,舒服了
- ajax 与ssh结合,基于AJAX和SSH集成框架的国有资产管理系统
- 上下调基因和代谢物--不同颜色显示在同一张KEGG通路图中
热门文章
- 虚幻4游戏引擎的安装
- 计算机数学与数学文化-定义
- 推荐一个好的节拍器软件?3款App帮你成为节奏大师
- SI(crosstalk)对common path的影响(CPPR)
- 使用Selenium时,如何选择ChromeDriver驱动版本对应Chrome浏览器版本
- vue + sentry监控平台
- android音频编辑之音频合成
- 凡人修c传(四)翻牌子(POJ - 3279 - Fliptile每日一水)
- Android_adb_Wifi_无线调试,脱离数据线/
- pytorch中dataloader的num_workers参数