色哟哟视频在线观看-色哟哟视频在线-色哟哟欧美15最新在线-色哟哟免费在线观看-国产l精品国产亚洲区在线观看-国产l精品国产亚洲区久久

0
  • 聊天消息
  • 系統(tǒng)消息
  • 評論與回復
登錄后你可以
  • 下載海量資料
  • 學習在線課程
  • 觀看技術視頻
  • 寫文章/發(fā)帖/加入社區(qū)
會員中心
創(chuàng)作中心

完善資料讓更多小伙伴認識你,還能領取20積分哦,立即完善>

3天內不再提示

Firefly-RK3399根文件系統(tǒng)介紹

firefly ? 來源:firefly ? 作者:firefly ? 2019-11-23 10:55 ? 次閱讀
創(chuàng)建 Ubuntu 根文件系統(tǒng)
準備工作
安裝qemu

Linux PC主機上安裝模擬器:

sudo apt-get install qemu-user-static
下載和解壓 ubuntu-core

Firefly-rk3399 ubuntu根文件系統(tǒng)是基于Ubuntu base 16.04來創(chuàng)建的。用戶可以到ubuntu cdimg 下載,選擇下載ubuntu-base-16.04.1-base-arm64.tar.gz 。

下載完之后,創(chuàng)建臨時文件夾并解壓根文件系統(tǒng):

mkdir temp sudo tar -xpf ubuntu-base-16.04.1-base-arm64.tar.gz -C temp
修改根文件系統(tǒng)
準備工作

準備網(wǎng)絡

sudo cp -b /etc/resolv.conf temp/etc/resolv.conf

準備qemu

sudo cp /usr/bin/qemu-aarch64-static temp/usr/bin/

進入根文件系統(tǒng)進行操作:

sudo chroot temp
更新及安裝

更新:

apt update apt upgrade

安裝自己需要的功能

apt install vim git ....(根據(jù)自己需求添加)

安裝xubuntu

apt-get install xubuntu-desktop apt-get install udev

可能出現(xiàn)錯誤:

E: Unable to locate package xxxx

安裝包的源沒有添加到/etc/apt/source.list中,導致無法識別安裝包,可以自行添加源,也可以使用下面給出的source.list覆蓋原來的/etc/apt/source.list文件:

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates main restricted deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-updates main restricted ## Uncomment the following two lines to add software from the 'universe' ## repository. ## 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://ports.ubuntu.com/ubuntu-ports/ xenial universe deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial universe deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates universe deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-updates universe ## 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://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security universe deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security universe deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security multiverse deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security multiverse
添加用戶及設置密碼

添加用戶

useradd -s '/bin/bash' -m -G adm,sudo firefly

給用戶設置密碼:

passwd firefly

給root用戶設置密碼:

passwd root

修改完自己的根文件系統(tǒng)就可以退出了。

exit
制作根文件系統(tǒng)

制作自己的根文件系統(tǒng),大小依據(jù)自己的根文件系統(tǒng)而定,注意依據(jù)temp文件夾的大小來修改count值

mkdir rootfs dd if=/dev/zero of=linuxroot.img bs=1M count=4000 mkfs.ext4 linuxroot.img sudo mount linuxroot.img rootfs/ sudo cp -rfp temp/* rootfs/ sudo umount rootfs/ e2fsck -p -f linuxroot.img resize2fs -M linuxroot.img

這樣 linuxroot.img 就是最終的根文件系統(tǒng)映像文件了。

FAQs
根文件系統(tǒng)加載后,大小不正常,未占滿整個分區(qū):

在系統(tǒng)正確加載后執(zhí)行擴展文件系統(tǒng)命令:

resize2fs /dev/mmcblk1p6 --> rootfs 分區(qū) 查看 parameter文件中,root= 節(jié)點設備

聲明:本文內容及配圖由入駐作者撰寫或者入駐合作網(wǎng)站授權轉載。文章觀點僅代表作者本人,不代表電子發(fā)燒友網(wǎng)立場。文章及其配圖僅供工程師學習之用,如有內容侵權或者其他違規(guī)問題,請聯(lián)系本站處理。 舉報投訴
  • Linux
    +關注

    關注

    87

    文章

    11362

    瀏覽量

    210960
  • 嵌入式主板
    +關注

    關注

    7

    文章

    6091

    瀏覽量

    35759
  • Firefly
    +關注

    關注

    2

    文章

    539

    瀏覽量

    7180
收藏 人收藏

    評論

    相關推薦

    如何在Firefly-RK3399上編譯和移植Linux內核和Ubuntu16.04 rootfs?

    Firefly-RK3399移植Ubuntu16.04的過程是怎樣的?如何在Firefly-RK3399上編譯和移植Linux內核和Ubuntu16.04 rootfs?
    發(fā)表于 03-07 07:13

    Firefly-RK3399燒寫Ubuntu系統(tǒng)校驗芯片和固件失敗怎么解決?

    Firefly-RK3399燒寫Ubuntu系統(tǒng)校驗芯片和固件失敗怎么解決?
    發(fā)表于 03-07 07:24

    如何對Firefly-RK3399 Linux內核進行編譯呢

    如何對Firefly-RK3399 Linux內核進行編譯呢?有哪些基本流程?
    發(fā)表于 03-08 07:16

    如何對Firefly-RK3399進行編譯呢

    如何對Firefly-RK3399進行編譯呢?
    發(fā)表于 03-08 07:16

    [Firefly-RK3399] 網(wǎng)絡啟動Kernel與Buildroot文件系統(tǒng)

    網(wǎng)絡啟動,是用 TFTP 在服務器下載內核、dtb 文件到目標機的內存中,同時可以用 NFS 掛載網(wǎng)絡文件系統(tǒng)到目標機上,實現(xiàn)目標機的無盤啟動。準備工作:Firefly-RK3399
    發(fā)表于 04-07 15:16

    基于Firefly-RK3399板卡實現(xiàn)目標機的無盤啟動

    網(wǎng)絡啟動網(wǎng)絡啟動,是用 TFTP 在服務器下載內核、dtb 文件到目標機的內存中,同時可以用 NFS 掛載網(wǎng)絡文件系統(tǒng)到目標機上,實現(xiàn)目標機的無盤啟動。以下基于 Firefly-RK3399
    發(fā)表于 05-05 16:50

    Firefly-RK3399板卡上電默認啟動Android系統(tǒng)

    。  三、上電  好了,廢話不多說,連上鍵盤、鼠標和顯示器,接通電源。Firefly-RK3399板卡默認已經(jīng)燒寫了Android和Ubuntu系統(tǒng)在板載的eMMC中,上電默認啟動Android系統(tǒng)
    發(fā)表于 06-21 10:05

    Firefly-RK3399平臺上的DDR動態(tài)頻率驅動調節(jié)

    1、Firefly-RK3399平臺上的DDR動態(tài)頻率調節(jié)  OS: Android 7.1  Board: Firefly-RK3399  Kernel: v4.4.55  devfreq介紹
    發(fā)表于 11-24 18:03

    Firefly-RK3399--接口介紹

    Firefly-RK3399 提供了豐富的接口,主要包括:電源接口,
    的頭像 發(fā)表于 11-19 15:25 ?3983次閱讀
    <b class='flag-5'>Firefly-RK3399</b>--接口<b class='flag-5'>介紹</b>

    Firefly-RK3399--FAQs簡介

    Firefly-RK3399 的 HDMI 能自動識別顯示的分辨率。
    的頭像 發(fā)表于 11-19 15:27 ?3323次閱讀
    <b class='flag-5'>Firefly-RK3399</b>--FAQs簡介

    Firefly-RK3399--LED 介紹

    標準的 Linux 專門為 LED 設備定義了 LED 子系統(tǒng)。 在 Firefly-RK3399 開發(fā)板中的兩個 LED 均以設備的形式被定義。
    的頭像 發(fā)表于 11-22 10:13 ?3614次閱讀
    <b class='flag-5'>Firefly-RK3399</b>--LED <b class='flag-5'>介紹</b>

    Firefly-RK3399--LCD介紹

    Firefly-RK3399開發(fā)板外置了兩個LCD屏接口,一個是EDP,一個是MIPI
    的頭像 發(fā)表于 11-22 10:17 ?6524次閱讀
    <b class='flag-5'>Firefly-RK3399</b>--LCD<b class='flag-5'>介紹</b>

    Firefly-RK3399開發(fā)板介紹

    Firefly-RK3399有靈活的啟動方式。一般情況下,除非硬件損壞,Firefly-RK3399開發(fā)板是不會變磚的。
    的頭像 發(fā)表于 11-23 11:30 ?3564次閱讀
    <b class='flag-5'>Firefly-RK3399</b>開發(fā)板<b class='flag-5'>介紹</b>

    ROC RK3399 PC Pro文件系統(tǒng)Linux文件系統(tǒng)鏡像(arm64/arm32)

    電子發(fā)燒友網(wǎng)站提供《ROC RK3399 PC Pro文件系統(tǒng)Linux文件系統(tǒng)鏡像(arm64/arm32).txt》資料免費下載
    發(fā)表于 09-20 10:59 ?5次下載
    ROC <b class='flag-5'>RK3399</b> PC Pro<b class='flag-5'>文件系統(tǒng)</b>Linux<b class='flag-5'>根</b><b class='flag-5'>文件系統(tǒng)</b>鏡像(arm64/arm32)

    Firefly-RK3399產(chǎn)品規(guī)格書

    Firefly-RK3399產(chǎn)品規(guī)格書
    發(fā)表于 07-16 10:50 ?6次下載
    主站蜘蛛池模板: 最近日本MV字幕免费观看在线 | 亚洲免费无码中文在线 | 顶级欧美不卡一区二区三区 | 中文国产成人精品久久免费 | se01短视频在线观看 | 国语自产二区高清国语自产拍 | 日日夜夜影院在线播放 | 久久亚洲这里只有精品18 | 日本wwwhdsex69 | 久久精品午夜一区二区福利 | 女人爽得直叫免费视频 | yellow免费观看在线 | 中文字幕一区中文亚洲 | 国产美女久久久久久久久久久 | 国产制服丝袜91在线 | 久久久久亚洲精品影视 | 视频一区在线免费观看 | 久久久久久久久久久福利观看 | 雪恋电影完整版免费观看 | 广西美女色炮150p图 | 国产成人在线免费 | 色欲天天天综合网免费 | 思思99热久久精品在线6 | 久久亚洲免费视频 | 且试天下芒果免费观看 | 十大禁止安装的黄台有风险 | 最新亚洲人成网站在线影院 | GAY2022空少被体育生暴菊 | 成 人 片 免费播放 成 人 免费 黄 色 网站无毒下载 | 精品伊人久久久 | 欧式午夜理伦三级在线观看 | 精品日韩欧美一区二区三区 | 国产精品久久久久久搜索 | 免费无码又爽又黄又刺激网站 | 二级特黄绝大片免费视频大片 | 日本XXXXZZX片免费观看 | 精品国产乱码久久久久久下载 | 国产精品久久久久一区二区三区 | 樱花草在线观看影院 | 亚洲午夜精品A片久久WWW软件 | 免费观看桶机十分钟 |