<div dir="ltr">Hello Andrea,<div><br></div><div>I have tried to add the line to my machine config:</div><div><div>IMAGE_DEVICE_TABLES = "files/device_table-minimal.txt"</div></div><div><br></div><div>But this didn't help, then I looked a bit further and also tried to set the following:</div><div><br></div><div><div>USE_DEVFS="0"</div><div>VIRTUAL_RUNTIME_dev_manager = "mdev"<br></div></div><div><br></div><div>Unfortunately this doesn't seem to change anything.</div><div><br></div><div>Cheers,</div><div>Gerard</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 26, 2017 at 7:27 PM, Andrea Adami <span dir="ltr"><<a href="mailto:andrea.adami@gmail.com" target="_blank">andrea.adami@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Fri, May 26, 2017 at 1:05 PM, Gerard van den Bosch<br>
<<a href="mailto:gvandenbosch@gmail.com">gvandenbosch@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> I have build my vendor custom kernel 2.6.20 with yocto daisy.<br>
> Daisy is used because seems to be last release supporting this old kernel.<br>
><br>
> I tried building core-image-minimal and core-image-base.<br>
><br>
> The kernel boots and the rootfs is mounted but then I get:<br>
><br>
> "Warning: unable to open an initial console."<br>
><br>
><br>
> I found on the internet this is because "/dev/console" doesn't exists.<br>
> The dev folder in my generated rootfs is empty.<br>
><br>
> On internet found can do the following commands:<br>
> "mknod -m 600 /dev/console c 5 1 "<br>
> "mknod -m 666 /dev/null c 1 3"<br>
><br>
> But if this is the problem how do I add this to my recipe?<br>
> Or is there a proper way to populate this devices?<br>
><br>
> Cheers,<br>
> Gerard<br>
><br>
</div></div>> --<br>
> ______________________________<wbr>_________________<br>
> yocto mailing list<br>
> <a href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br>
> <a href="https://lists.yoctoproject.org/listinfo/yocto" rel="noreferrer" target="_blank">https://lists.yoctoproject.<wbr>org/listinfo/yocto</a><br>
><br>
<br>
Hello Gerard,<br>
<br>
if your old kernel lacks devtmpfs you need a "device table".<br>
You need to set at least<br>
IMAGE_DEVICE_TABLES = "files/device_table-minimal.<wbr>txt"<br>
<br>
This is a default set in image.bbclass before and after daisy...dunno<br>
what's happened with this release.<br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888">Andrea<br>
</font></span></blockquote></div><br></div>