会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
孤独的程序员dis1500
知识就是希望
2023年1月6日
设备树与驱动匹配??
摘要: 设备树与驱动匹配?? 设备树与驱动匹配?? 设备树与驱动匹配??
阅读全文
posted @ 2023-01-06 06:33 lydstory
阅读(31)
评论(0)
推荐(0)
1.7 必要的节点和必要的属性
摘要: 1.7 必要的节点和必要的属性 一个完整的设备树文件(DTS文件),有一些节点是必须要有的,这些必要的节点有: / 无需多说,很难想象一个没有根节点的设备树是什么样子的。 /cpus 一个/cpus节点,该节点须作为根节点的孩子节点。对于一块板子,cpu是必不可少的,不然无法允许操作系统,更谈不上设
阅读全文
posted @ 2023-01-06 05:25 lydstory
阅读(41)
评论(0)
推荐(0)
1.6.2 /chosen
摘要: chosen { bootargs = "console=ttyUL0,115200 highres=on"; linux,stdout-path = "/plb@0/serial@84000000"; } ; 1.6.2 /chosen /chosen节点应当用作根节点的孩子节点,有以下可选属性:
阅读全文
posted @ 2023-01-06 05:24 lydstory
阅读(32)
评论(0)
推荐(0)
1.5.7 interrupt-parent
摘要: 1.5.7 interrupt-parent 该属性用于可以产生中断,且中断信号连接到某中断控制器的设备的设备节点,用于表示该设备的中断信号连接到了哪个中断控制器。该属性的值通常是中断控制器设备节点的数字标识(phandle),具体示例在上文已经出现过了。 产生中断 1.5.8 reg reg属性描
阅读全文
posted @ 2023-01-06 05:09 lydstory
阅读(64)
评论(0)
推荐(0)
interrupt-controller dts文件内
摘要: 1.5.6 interrupt-controller 这是一个没有值的属性,用在中断控制器的设备节点中,以表明这个节点描述的是一个中断控制器。 xps_intc_0: interrupt-controller@81800000 { #interrupt-cells = <0x2>; compatib
阅读全文
posted @ 2023-01-06 04:58 lydstory
阅读(52)
评论(0)
推荐(0)
汇编指令 .incbin
摘要: 汇编指令 .incbin 汇编指令 .incbin .section __fdt_blob,"a".incbin "arch/microblaze/boot/system.dtb" .S 汇编文件
阅读全文
posted @ 2023-01-06 04:41 lydstory
阅读(348)
评论(0)
推荐(0)
linux strip去掉.out的符号信息
摘要: 、执行strip a.out,然后执行ls -l a.out看一下文件大小,用file命令来查看文件基本信息 的,用nm命令 来列出一个目标文件中的各种符号。很明显,文件已经变小了,已经没有相关的符号信息了。 https://blog.csdn.net/tjcwt2011/article/detai
阅读全文
posted @ 2023-01-06 04:33 lydstory
阅读(56)
评论(0)
推荐(0)
microblaze
摘要: MicroBlaze嵌入式软核是一个被Xilinx公司优化过的可以嵌入在FPGA中的RISC处理器软核,具有运行速度快、占用资源少、可配置性强等优点,广泛应用于通信、军事、高端消费市场等领域。 https://baike.baidu.com/item/microblaze/4554339?fr=al
阅读全文
posted @ 2023-01-06 04:25 lydstory
阅读(36)
评论(0)
推荐(0)
dts dtsi
摘要: 简介(1) dts 硬件的相应信息都会写在.dts为后缀的文件中,每一款硬件可以单独写一份xxxx.dts,一般在Linux源码中存在大量的dts文件,对于arm架构可以在arch/arm/boot/dts找到相应的dts,另外mips则在arch/mips/boot/dts,powerpc在arc
阅读全文
posted @ 2023-01-06 04:20 lydstory
阅读(217)
评论(0)
推荐(0)
DTC dtb
摘要: # Rule to build device tree blobs DTC = $(objtree)/scripts/dtc/dtc # Rule to build device tree blobs quiet_cmd_dtc = DTC $@ cmd_dtc = $(DTC) -O dtb -o
阅读全文
posted @ 2023-01-06 04:18 lydstory
阅读(228)
评论(0)
推荐(0)
如何知道系统用的那个dts设备树文件???
摘要: 如何知道系统用的那个dts设备树文件??? 如何知道系统用的那个dts设备树文件??? 如何知道系统用的那个dts设备树文件??? 如何知道系统用的那个dts设备树文件??? .section __fdt_blob,"a".incbin "arch/microblaze/boot/system.dt
阅读全文
posted @ 2023-01-06 04:13 lydstory
阅读(142)
评论(0)
推荐(0)
设备树属性值
摘要: 属性值 https://cloud.tencent.com/developer/article/2089117
阅读全文
posted @ 2023-01-06 04:03 lydstory
阅读(13)
评论(0)
推荐(0)
设备树源文件通常以dts为后缀
摘要: 设备树源文件通常以dts为后缀,其总体布局如下: /* 设备树文件支持c语言的注释符 */ // 下面是设备树的总体布局 /dts-v1/; [memory reservations] / { [property definitions] [child nodes] } 名称 含义 /dts-v1/
阅读全文
posted @ 2023-01-06 03:45 lydstory
阅读(33)
评论(0)
推荐(0)
Xilinx(赛灵思
摘要: Xilinx(赛灵思)是全球领先的可编程逻辑完整解决方案的供应商。Xilinx研发、制造并销售范围广泛的高级集成电路、软件设计工具以及作为预定义系统级功能的IP(Intellectual Property)核
阅读全文
posted @ 2023-01-06 03:28 lydstory
阅读(174)
评论(0)
推荐(0)
ioctl(skfd, request, pwrq)
摘要: /* */ /* * Wrapper to extract some Wireless Parameter out of the driver */ static inline int iw_get_ext(int skfd, /* Socket to the kernel */ const cha
阅读全文
posted @ 2023-01-06 01:16 lydstory
阅读(119)
评论(0)
推荐(0)
fd_set 读写执行
摘要: fd_set readfd; fd_set writefd; fd_set exceptfd; fd_set 》控制线程.....
阅读全文
posted @ 2023-01-06 00:48 lydstory
阅读(36)
评论(0)
推荐(0)
list双链表
摘要: struct listnode { struct listnode *next; struct listnode *prev; void *data; }; struct list_head { struct list_head *next, *prev; }; /* Linked list of
阅读全文
posted @ 2023-01-06 00:47 lydstory
阅读(17)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告