2024年最全【泰山派_RK3566学习记录】之Linux系统sdk编译——Ubuntu(1)

本文介绍了在Ubuntu环境下,针对RK3566平台的Linux SDK编译过程,包括根文件系统的挂载与卸载命令。通过示例脚本`rootfs-mount.sh`演示了如何使用`-m`和`-u`参数进行操作。同时,文章列举了一系列apt-get安装的软件包,如vim、git、ssh等,为系统配置提供基础。此外,提到了针对Ubuntu桌面版的软件安装,以及运维面试中可能遇到的问题,强调了系统化学习和团队合作的重要性。
摘要由CSDN通过智能技术生成
mnt $1 $2

elif [ “$1” == “-u” ] && [ -n “$2” ];
then
umnt $1 $2
else
echo “”
echo “Either 1’st, 2’nd or both parameters were missing”
echo “”
echo “1’st parameter can be one of these: -m(mount) OR -u(umount)”
echo “2’nd parameter is the full path of rootfs directory(with trailing ‘/’)”
echo “”
echo “For example: ch-mount -m /media/sdcard/”
echo “”
echo 1st parameter : ${1}
echo 2nd parameter : ${2}
fi


8。添加权限  
 脚本运行需要诸多权限



sudo chmod +x rootfs-mount.sh


9.挂载系统



sudo bash rootfs-mount.sh -m temp


9.1补充:若是加下来报错就输入下方代码,具体作用作者目前还不清楚,也是入门的记录教程



Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB]
0% [1 InRelease gpgv 242 kB]gpgv: Signature made Thu Apr 26 23:38:40 2018 UTC
gpgv: using RSA key 3B4FE6ACC0B21F32
gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2012)
autolinkftpmaster@ubuntu.comautolink
"
terminate called after throwing an instance of ‘std::runtime_error’
what(): random_device::random_device(const std::string&)
qemu: uncaught targ

  • 7
    点赞
  • 30
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值