【问题标题】:i am unable to boot with my latest rpi-3.18.0 kernel and enabling the device tree?我无法使用最新的 rpi-3.18.0 内核启动并启用设备树?
【发布时间】:2014-12-18 09:00:37
【问题描述】:

我正在开发最新的 rpi 内核,即 3.18.0 并启用设备树。

我编译了源代码,但使用该图像和模块我无法启动。

我得到一个空白屏幕并且它无法启动。

即使无法启动,我也将以下内容添加到 config.txt 中

device_tree=bcm2708-rpi-b.dtb
device_tree_address=0x100 
kernel_address=0x8000 
disable_commandline_tags=2

但是使用链接 https://github.com/raspberrypi/firmware/tree/next 中给出的图像和模块,使用相同的 config.txt 文件可以很好地启动

我也使用来自链接https://github.com/raspberrypi/firmware/tree/next的固件

【问题讨论】:

标签: linux raspberry-pi boot device-tree


【解决方案1】:

您需要告诉 rpi 引导加载程序您的内核已启用设备树。您可以使用来自raspberrypi/tools 存储库的mkknlimg 工具来执行此操作,例如:

mkknlimg linux/arch/arm/boot/zImage kernel.img

这将为内核添加一个预告片,从而将其标记为“设备树兼容”。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-08-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-09-09
    相关资源
    最近更新 更多