我无法使用最新的 rpi-3.18.0 内核启动并启用设备树? [英] i am unable to boot with my latest rpi-3.18.0 kernel and enabling the device tree?
问题描述
我正在使用最新的 rpi 内核,即 3.18.0 并启用设备树.
I am working on the latest rpi kernel ie 3.18.0 and by enabling the device tree.
我编译了源代码,使用该映像和模块我无法启动.
I compiled the source code and with that image and modules i am unable to boot.
我看到一个空白屏幕并且无法启动.
I am getting a blank screen and its not booting.
我在 config.txt 中添加了以下内容,即使我无法启动
I added the following into the config.txt even though i am unable to boot
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 文件启动良好
But with the image and modules that are given in the link https://github.com/raspberrypi/firmware/tree/next , it is booting well with the same config.txt file
而且我还使用来自链接 https://github.com/raspberrypi 的固件/firmware/tree/next
and i also using the firmware that are from the link https://github.com/raspberrypi/firmware/tree/next
推荐答案
您需要告诉 rpi 引导加载程序您的内核已启用设备树.您可以使用 raspberrypi/tools
存储库中的 mkknlimg
工具来完成,例如:
You need to tell the rpi bootloader that your kernel has device tree enabled. You can do it using the mkknlimg
tool from the raspberrypi/tools
repository, e.g.:
mkknlimg linux/arch/arm/boot/zImage kernel.img
这将向内核添加一个预告片,从而将其标记为设备树兼容".
This will add a trailer to the kernel, thus marking it as "device tree compatible".
这篇关于我无法使用最新的 rpi-3.18.0 内核启动并启用设备树?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!