[Buildroot] cannot log to my build root

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Dec 14 14:05:20 UTC 2010


On Tue, 14 Dec 2010 15:39:45 +0200
Diego Iastrubni <diegoiast at gmail.com> wrote:

> Nope. In my original case /dev/tty was not a char device (a null file
> instead). Creating these files fixed the problem:

This is because you are using the output/target/ directory, but you
should *not* do this. From the Buildroot documentation:

«
target/ which contains almost the complete root filesystem for the
target: everything needed is present except the device files in /dev/
(Buildroot can't create them because Buildroot doesn't run as root and
doesn't want to run as root). Therefore, this directory should not be
used on your target. Instead, you should use one of the images built in
the images/ directory. If you need an extracted image of the root
filesystem for booting over NFS, then use the tarball image generated
in images/ and extract it as root.
»

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list