上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 77 下一页
摘要: 答: 在Ubuntu下可以使用以下命令添加: sudo usermod -a -G <group_name> <user_name> 注意: 如何生效呢? 需要重新登陆系统方可生效 阅读全文
posted @ 2019-06-06 16:12 Jello 阅读(4626) 评论(0) 推荐(0)
摘要: 1. 在已经部署了镜像的机器上获取镜像 1.1 获取镜像名 docker images 1.2 打包选中对应的镜像 docker save <image_name> -o <image_name>.tar 2. 在将要使用的机器上部署需要的镜像 2.1 加载镜像 docker load -i <im 阅读全文
posted @ 2019-06-06 15:36 Jello 阅读(3773) 评论(0) 推荐(0)
摘要: 答: zcat /proc/config.gz 当然有个前提条件,需要打开内核的以下两个选项(CONFIG_IKCONFIG和CONFIG_IKCONFIG_PROC): General setup > <*> Kernel .config support [ * ] Enable access t 阅读全文
posted @ 2019-06-05 18:31 Jello 阅读(5563) 评论(0) 推荐(0)
摘要: 答: make <vendor>/<device_name>.dtb 如: make freescale/fsl-1043a-rdb.dtb 阅读全文
posted @ 2019-06-05 14:27 Jello 阅读(3655) 评论(0) 推荐(0)
摘要: 1. 先找到描述这三个命令的相关信息 在内核目录下使用make help命令可以获取相关信息,信息如下: Cleaning targets: clean - Remove most generated files but keep the config and enough build suppor 阅读全文
posted @ 2019-06-05 11:54 Jello 阅读(1382) 评论(0) 推荐(0)
摘要: 1. 在一颗树的根下每个PCI(e)设备被它的请求id(AKA RID)独一无二的标识,一个请求ID由三部分组成,总线号,设备号和功能号,如: Bits [15:8] 是总线号 Bits [7:3]是设备号 Bits [2:0]是功能号 剩下的bit都填充0 2. IOMMU可以通过从请求ID附带的 阅读全文
posted @ 2019-06-04 19:47 Jello 阅读(1873) 评论(0) 推荐(0)
摘要: 答: 如普通的mmu,将虚拟内存地址转换为物理地址,不同的是,iommu是将设备访问的虚拟地址转换为物理地址 阅读全文
posted @ 2019-06-04 18:50 Jello 阅读(3102) 评论(0) 推荐(0)
摘要: 答: sudo apt-get install gcc-aarch64-linux-gnu -y 阅读全文
posted @ 2019-05-28 18:34 Jello 阅读(3926) 评论(0) 推荐(0)
摘要: 1. 获取工具链 从此处获取,如: wget https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05/aarch64-linux-gnu/gcc-linaro-7.3.1-2018.05-x86_64_aarch64 阅读全文
posted @ 2019-05-28 17:56 Jello 阅读(2571) 评论(0) 推荐(0)
摘要: 答: 使用dtc工具,如: <kernel source code dir>/scripts/dtc/dtc -I dts -O dtb -o <dtb filename> <dts filename> 如: ./script/dtc/dtc -I dts -O dtb -o jello.dtb j 阅读全文
posted @ 2019-05-28 16:23 Jello 阅读(7292) 评论(0) 推荐(1)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 77 下一页