ILD

将device tree嵌入到内核镜像
2018-5-26
device tree通常由bootloader通过r2寄存器传递给内核。但是也可以直接将dtb嵌入到镜像中。通过内核选项CONFIG_ARM_APPENDED_DTB开启。将dtb文件直接cat到zImage之后即可。还有一个内核选项CONFIG_ARM_ATAG_DTB_COMPAT,使用boo

device tree usage
2022-1-26
Basic Data Format设备树是节点和属性的简单树型结构。属性是键值对,节点可以包含属性和子节点。如下是一个简单的.dts格式的树:1234567891011121314151617181920212223/dts-v1/; / { node1 { a-string-p

kernel build dtb
2018-6-10
Device Tree Blob (DTB) 在内核启动的时候,bootloader将其地址通过寄存器传递给内核。Device Tree Source (DTS) 是纯文本文件,可以编译为二进制 Device Tree Blob 文件,使用 Device Tree Compiler (DTC) 工具

device tree for dummies
2018-7-16
Basic DT SyntaxRangesThe ranges property can describe an address translation between the child bus and the parent bus.参考:Thomas Petazzoni. Device tree

device tree kernel document
2018-7-18
The DT Block format内核被传递第一个指向一个内存区域的物理地址,它以一个头开始,定义在linux/of_fdt.hstruct boot_param_header { u32 magic; /* magic word OF_D

Copyright © linuxdev.cc 2017-2024. Some Rights Reserved.