会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Jello
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
77
下一页
2020年12月2日
linux内核在解析设备树时哪个接口可以用来替代旧接口of_device_is_compatible()?
摘要: 答: 新的device_property_match_string()可以用来替代此接口。
阅读全文
posted @ 2020-12-02 10:12 Jello
阅读(298)
评论(0)
推荐(0)
2020年12月1日
在执行脚本./scripts/get_maintainer.pl时报错"Can't locate File/Find.pm in @INC (you may need to install the File::Find module) (@INC contains:"如何处理?
摘要: 答: 安装必要的库即可,示例如下: $ sudo apt install -y libfile-find-rule-perl-perl
阅读全文
posted @ 2020-12-01 16:35 Jello
阅读(2740)
评论(0)
推荐(1)
2020年11月26日
如何使能TF-A的调试开关?
摘要: 答: 编译时指定DEBUG=1,示例如下: $ make .. DEBUG=1 .. (..表示其它参数)
阅读全文
posted @ 2020-11-26 11:49 Jello
阅读(209)
评论(0)
推荐(0)
2020年11月25日
如何查看某个tag被打的时间?
摘要: 答: 示例如下: $ 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
阅读(673)
评论(0)
推荐(0)
2020年11月20日
如何使能uboot的debug开关?
摘要: 答: 直接在<uboot源码>/include/common.h添加以下内容: #ifndef DEBUG #define DEBUG #endif
阅读全文
posted @ 2020-11-20 12:11 Jello
阅读(978)
评论(0)
推荐(0)
2020年11月18日
linux下使用dtc生成dtb时出现错误"FATAL ERROR: Unable to parse input tree"如何处理?
摘要: 答: 别直接使用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
阅读(8698)
评论(0)
推荐(0)
2020年11月11日
从lore.kernel.org获取补丁的工具b4
摘要: 如何安装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
阅读(1796)
评论(0)
推荐(1)
linux下如何提高一个进程的优先级?
摘要: 答: 使用renice调整nice值即可,示例如下: # renice -20 -p 1110 (将一个进程号为1110的进程提高到最有利于其得到调度的nice值,-20为使得进程最易得到调度机会的nice值)
阅读全文
posted @ 2020-11-11 11:57 Jello
阅读(1222)
评论(0)
推荐(0)
2020年10月20日
在linux内核中为什么解析设备树时会使用be32_to_cpup()接口?
摘要: be32_to_cpup()接口是干什么的呢? 转换一个无符号的, 大端, 32位值到一个cpu的大小端值(如果cpu为大端序,就将数值直接返回此值;如果cpu为小端序,就将数值转换为小端序) be32_to_cpup()接口的定义(linux内核源码的版本为5.9) #define be32_to
阅读全文
posted @ 2020-10-20 20:05 Jello
阅读(2705)
评论(0)
推荐(0)
2020年9月19日
ubuntu18.04如何开启远程桌面?
摘要: 默认有vino工具,只需在设置中打开桌面共享功能即可 1.1 打开桌面共享功能 1.2 设置桌面不加密,否则vncviewer客户端连不上远程桌面 $ gsettings set org.gnome.Vino require-encryption false 从另一台主机访问ubuntu18.04的
阅读全文
posted @ 2020-09-19 09:41 Jello
阅读(3504)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
77
下一页
公告