Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
内核 3.19(重新)引入了设备树覆盖。我在 Linux 内核上3.19.4,通过 Fedora ( 3.19.4-200.fc21.armv7hl)。
3.19.4
3.19.4-200.fc21.armv7hl
我有一个覆盖文件overlay.dts,如文档中所述。
overlay.dts
overlay.c包含处理覆盖的函数,包括加载覆盖的函数。
内核是否检查要加载的覆盖的任何路径?如果有,在哪里?如果没有,我该如何加载我的叠加层?
根据我的经验(3.8-3.14),DTB加载实际上是boot-loader的管辖,而不是内核本身。我为此使用了 u-boot - u-boot 可以将已编译的设备树文件(man dtc)从基于 EXT2 的文件系统加载到 RAM 中的已知位置,然后在内核命令行中指定该位置。
您使用的是哪个引导加载程序?