上一页 1 2 3 4 5 6 7 8 9 10 ··· 77 下一页
摘要: 答: 使用tar的--strip-components和-C选项,以解压jello.tar.gz去掉第一级目录jello并解压到根文件目录下 tar xvf jello.tar.gz --strip-components 1 -C / (假设jello.tar.gz的第一级目录为jello, jel 阅读全文
posted @ 2020-07-28 12:49 Jello 阅读(3120) 评论(0) 推荐(0) 编辑
摘要: 答: 使用以下命令重新启动容器 $ sudo systemctl stop containerd $ sudo systemctl start containerd #启动docker $ sudo systemctl start docker.service 阅读全文
posted @ 2020-07-22 18:21 Jello 阅读(5928) 评论(0) 推荐(0) 编辑
摘要: 答:直接从https://releases.linaro.org/components/toolchain/binaries下载需要的版本,示例如下: 获取arm64的交叉编译器 $ wget https://releases.linaro.org/components/toolchain/bina 阅读全文
posted @ 2020-07-22 15:05 Jello 阅读(873) 评论(0) 推荐(0) 编辑
摘要: #1. 更新docker的版本到大于或等于19.03 1.1 x86下如何更新docker? $ sudo apt install -y apt-transport-https $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | s 阅读全文
posted @ 2020-07-17 20:33 Jello 阅读(8446) 评论(0) 推荐(0) 编辑
摘要: 答: 加-k参数,如 $ curl -k 阅读全文
posted @ 2020-07-17 19:55 Jello 阅读(3281) 评论(0) 推荐(0) 编辑
摘要: 答:安装apt-transport-https即可 $ sudo apt install -y apt-transport-https 阅读全文
posted @ 2020-07-17 18:48 Jello 阅读(3339) 评论(0) 推荐(0) 编辑
摘要: 使能pwm模块的某个通道(假设某个pwm模块支持4个通道,以下示例是使能此pwm模块的通道1,通道从0开始数) echo 1 > /sys/class/pwm/pwmchip0/export 配置pwm的周期、占空比以及极性 echo 1000000000 > /sys/class/pwm/pwmc 阅读全文
posted @ 2020-07-16 16:57 Jello 阅读(2704) 评论(0) 推荐(0) 编辑
摘要: 答: 如下: General setup → [*] Configure standard kernel features (expert users) (在使能这个内核选项CONFIG_EXPERT后,CONFIG_PREEMPT_RT选项就被自动选中了) 阅读全文
posted @ 2020-07-16 16:33 Jello 阅读(1483) 评论(0) 推荐(0) 编辑
摘要: linux内核从哪里开始? start_kernel(),linux内核源码/init/main.c, 在此之前有些准备工作,先不分析 linux内核是从哪里启动init程序的呢? start_kernel()-> arch_call_rest_init() → rest_init() 具体看一下r 阅读全文
posted @ 2020-07-07 16:00 Jello 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 答:如下图 阅读全文
posted @ 2020-07-03 17:57 Jello 阅读(771) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 77 下一页