Buildroot - System doesn't boot - /dev/ttyS0 no such file

北战南征 提交于 2019-12-25 00:52:50

问题


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:

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

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?

EDIT

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.


回答1:


You don't have devtmpfs enabled in your kernel.

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

make distclean
make raspberrypi_defconfig
make

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



来源:https://stackoverflow.com/questions/25858279/buildroot-system-doesnt-boot-dev-ttys0-no-such-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!