我无法使用最新的rpi-3.18.0内核启动并启用设备树? [英] i am unable to boot with my latest rpi-3.18.0 kernel and enabling the device tree?

查看:186
本文介绍了我无法使用最新的rpi-3.18.0内核启动并启用设备树?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用最新的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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆