Hi Gerard,
did you try to set CONFIG_DEVTMPFS=y in your Kernel config ?
Cheers
On 26.05.2017 15:52, Gerard van den Bosch wrote:
Hello Andrea,
I have tried to add the line to my machine config:
IMAGE_DEVICE_TABLES = "files/device_table-minimal.txt"
But this didn't help, then I looked a bit further and also tried to
set the following:
USE_DEVFS="0"
VIRTUAL_RUNTIME_dev_manager = "mdev"
Unfortunately this doesn't seem to change anything.
Cheers,
Gerard
On Fri, May 26, 2017 at 7:27 PM, Andrea Adami <andrea.ad...@gmail.com
<mailto:andrea.ad...@gmail.com>> wrote:
On Fri, May 26, 2017 at 1:05 PM, Gerard van den Bosch
<gvandenbo...@gmail.com <mailto:gvandenbo...@gmail.com>> wrote:
> Hello,
>
> I have build my vendor custom kernel 2.6.20 with yocto daisy.
> Daisy is used because seems to be last release supporting this
old kernel.
>
> I tried building core-image-minimal and core-image-base.
>
> The kernel boots and the rootfs is mounted but then I get:
>
> "Warning: unable to open an initial console."
>
>
> I found on the internet this is because "/dev/console" doesn't
exists.
> The dev folder in my generated rootfs is empty.
>
> On internet found can do the following commands:
> "mknod -m 600 /dev/console c 5 1 "
> "mknod -m 666 /dev/null c 1 3"
>
> But if this is the problem how do I add this to my recipe?
> Or is there a proper way to populate this devices?
>
> Cheers,
> Gerard
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
> https://lists.yoctoproject.org/listinfo/yocto
<https://lists.yoctoproject.org/listinfo/yocto>
>
Hello Gerard,
if your old kernel lacks devtmpfs you need a "device table".
You need to set at least
IMAGE_DEVICE_TABLES = "files/device_table-minimal.txt"
This is a default set in image.bbclass before and after daisy...dunno
what's happened with this release.
Cheers
Andrea
--
Ayoub Zaki
ayoub.z...@embexus.com
Mobile: +49(0)176-62901545
https://embexus.com
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto