上一页 1 2 3 4 5 6 ··· 77 下一页
摘要: 答: 新的device_property_match_string()可以用来替代此接口。 阅读全文
posted @ 2020-12-02 10:12 Jello 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 答: 安装必要的库即可,示例如下: $ sudo apt install -y libfile-find-rule-perl-perl 阅读全文
posted @ 2020-12-01 16:35 Jello 阅读(2467) 评论(0) 推荐(1) 编辑
摘要: 答: 编译时指定DEBUG=1,示例如下: $ make .. DEBUG=1 .. (..表示其它参数) 阅读全文
posted @ 2020-11-26 11:49 Jello 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 答: 示例如下: $ TAG_DATE=`git log -1 --format=%ct $TAG` (记得替换$TAG, 如tag名为20201125, TAG_DATE=`git log -1 --format=%ct 20201125`) $ date -d @$TAG_DATE +%Y%m% 阅读全文
posted @ 2020-11-25 11:51 Jello 阅读(630) 评论(0) 推荐(0) 编辑
摘要: 答: 直接在<uboot源码>/include/common.h添加以下内容: #ifndef DEBUG #define DEBUG #endif 阅读全文
posted @ 2020-11-20 12:11 Jello 阅读(624) 评论(0) 推荐(0) 编辑
摘要: 答: 别直接使用dtc,使用make dtbs来生成dtb,示例如下: 问题复现: linux-5.10>$ dtc -I dts -O dtb arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts -o fsl-ls1046a-rdb.dtb Erro 阅读全文
posted @ 2020-11-18 18:52 Jello 阅读(7785) 评论(0) 推荐(0) 编辑
摘要: 如何安装b4? 1.1 获取b4的源码 $ git clone git://git.kernel.org/pub/scm/utils/b4/b4.git 1.2 使能b4 $ cat /.bash_profile alias b4="$HOME/develop/source_code/kernel. 阅读全文
posted @ 2020-11-11 17:24 Jello 阅读(1213) 评论(0) 推荐(1) 编辑
摘要: 答: 使用renice调整nice值即可,示例如下: # renice -20 -p 1110 (将一个进程号为1110的进程提高到最有利于其得到调度的nice值,-20为使得进程最易得到调度机会的nice值) 阅读全文
posted @ 2020-11-11 11:57 Jello 阅读(1182) 评论(0) 推荐(0) 编辑
摘要: be32_to_cpup()接口是干什么的呢? 转换一个无符号的, 大端, 32位值到一个cpu的大小端值(如果cpu为大端序,就将数值直接返回此值;如果cpu为小端序,就将数值转换为小端序) be32_to_cpup()接口的定义(linux内核源码的版本为5.9) #define be32_to 阅读全文
posted @ 2020-10-20 20:05 Jello 阅读(2323) 评论(0) 推荐(0) 编辑
摘要: 默认有vino工具,只需在设置中打开桌面共享功能即可 1.1 打开桌面共享功能 1.2 设置桌面不加密,否则vncviewer客户端连不上远程桌面 $ gsettings set org.gnome.Vino require-encryption false 从另一台主机访问ubuntu18.04的 阅读全文
posted @ 2020-09-19 09:41 Jello 阅读(3343) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 77 下一页