[置顶] linux开发中常用的命令及技巧(连载)

摘要: 1.在内核或uboot目录下搜索相关内容/文件名时:grep "USB" * -nR find -name "*USB*" 2.查看系统中设备 cat /proc/devices 3.查看系统时间(RTC) date /* 显示系统时间 */ date 123015402011.30 /* 设置系统 阅读全文

posted @ 2019-06-26 13:29 lh03061238 阅读(301) 评论(0) 推荐(0) 编辑

[置顶] 使用CCS调试基于AM335X的SPL、Uboot(原创)

摘要: 使用CCS调试基于AM335X的SPL、Uboot 一、开发环境 1、硬件平台:创龙AM3359核心板 2、SDK版本:ti-processor-sdk-linux-am335x-evm-03.00.00.04-Linux-x86-Install 3、Uboot版本:u-boot-2016.05-g 阅读全文

posted @ 2019-01-24 16:40 lh03061238 阅读(1817) 评论(0) 推荐(1) 编辑

2024年4月29日

Support for password authentication was removed on August 13, 2021

摘要: https://blog.csdn.net/qq_37255976/article/details/134558484 https://zhuanlan.zhihu.com/p/401978754 阅读全文

posted @ 2024-04-29 10:34 lh03061238 阅读(1) 评论(0) 推荐(0) 编辑

2024年4月23日

Linux内核的 EXPORT_SYMBOL 和 EXPORT_SYMBOL_GPL

摘要: 参考: https://www.jianshu.com/p/fd89d4d69772 https://blog.csdn.net/m0_37383484/article/details/128862933 阅读全文

posted @ 2024-04-23 16:15 lh03061238 阅读(5) 评论(0) 推荐(0) 编辑

内核变量jiffies

摘要: 参考: https://www.cnblogs.com/lvzh/p/13502391.htmlhttps://zhuanlan.zhihu.com/p/629349072 阅读全文

posted @ 2024-04-23 16:07 lh03061238 阅读(2) 评论(0) 推荐(0) 编辑

内核 KUnit test

摘要: 参考: https://www.kernel.org/doc/html/latest/dev-tools/kunit/index.html https://kunit.dev/ https://zhuanlan.zhihu.com/p/661288357 阅读全文

posted @ 2024-04-23 09:51 lh03061238 阅读(4) 评论(0) 推荐(0) 编辑

2024年3月30日

Linux内核—percpu

摘要: Linux系统中为什么需要per-CPU变量 https://zhuanlan.zhihu.com/p/542819141 https://blog.csdn.net/weixin_45030965/article/details/126289230 https://blog.csdn.net/li 阅读全文

posted @ 2024-03-30 10:59 lh03061238 阅读(5) 评论(0) 推荐(0) 编辑

2024年3月21日

编译Linux内核出现:usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x50): multiple definition of `yylloc‘

摘要: 解决办法:https://blog.csdn.net/zhoukaiqili/article/details/126191871 阅读全文

posted @ 2024-03-21 10:04 lh03061238 阅读(32) 评论(0) 推荐(0) 编辑

ptrace使用与测试

摘要: https://developer.aliyun.com/article/1369483 阅读全文

posted @ 2024-03-21 10:02 lh03061238 阅读(8) 评论(0) 推荐(0) 编辑

2024年2月28日

KGDB相关调试方式及设置

摘要: KGDB内核配置选项: 打开: CONFIG_KGDB CONFIG_DEBUG_INFO CONFIG_FRAME_POINTER 关闭: CONFIG_STRICT_KERNEL_RWX # CONFIG_STRICT_KERNEL_RWX is not set CONFIG_FRAME_POI 阅读全文

posted @ 2024-02-28 16:45 lh03061238 阅读(20) 评论(0) 推荐(0) 编辑

2024年1月31日

github操作方法汇总(含pr合入)

摘要: git、github保姆级教程(手把手交)以及如何在github上提交pr,参与开源项目 https://blog.csdn.net/qq_39350172/article/details/125322895 github Pull Request合入全流程介绍 https://www.cnblog 阅读全文

posted @ 2024-01-31 16:37 lh03061238 阅读(11) 评论(0) 推荐(0) 编辑

github加速访问

摘要: 来源:https://github.com/521xueweihan/GitHub520/blob/main/README.md 2.1 手动方式 2.1.1 复制下面的内容 # GitHub520 Host Start 140.82.113.25 alive.github.com 140.82.1 阅读全文

posted @ 2024-01-31 16:03 lh03061238 阅读(26) 评论(0) 推荐(0) 编辑

导航