Buildroot-系统无法启动-/dev/ttyS0没有这样的文件 [英] Buildroot - System doesn't boot - /dev/ttyS0 no such file

查看:555
本文介绍了Buildroot-系统无法启动-/dev/ttyS0没有这样的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用buildroot为Raspberry Pi创建文件系统.我已经解压了SD卡Root分区中的文件系统映像,但是无法启动操作系统.我收到以下错误:

I m using buildroot to create a filesystem for a Raspberry Pi. I have uncompressed the filesystem image in the Root partition of my SD card but I can't boot the operative system. I get the following errors:

无法打开/dev/null没有这样的文件或目录

Can't open /dev/null no such file or directory

无法打开/dev/ttyS0没有这样的文件或目录

Can't open /dev/ttyS0 no such file or directory

我应该启用或修改配置工具的哪一行来引导系统?

Which line of the configuration tool should I enable or modify in order to boot the system?

编辑

我遵循了Thomas Petazzoni提供的步骤,并使用了buildroot的预配置版本.现在该系统可以运行了,但是我仍然不知道内核配置工具中的哪个选项导致了问题.

I've followed the steps provided by Thomas Petazzoni and used a preconfigured version of buildroot. Now the system works but I still don't know which option in the kernel configuration tool was causing the problem.

推荐答案

您的内核中未启用devtmpfs.

You don't have devtmpfs enabled in your kernel.

此外,您应该从Buildroot中使用raspberrypi_defconfig开始,而不要自己动手.做:

Also, you should start by using the raspberrypi_defconfig in Buildroot instead of rolling your own. Do:

make distclean
make raspberrypi_defconfig
make

然后按照board/raspberrypi/readme.txt中的说明来了解如何使用生成的图像.

And then follow the instructions in board/raspberrypi/readme.txt to know how to use the resulting images.

这篇关于Buildroot-系统无法启动-/dev/ttyS0没有这样的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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