John Doe
John Doe

Reputation: 11

Using fixed device table instead of udev

I'd like to generate a fixed device table in my embedded Linux image and skip using udev.

Following the Yocto Dev Manual, chapter* 5.18.1*, I've set the 2 variables USE_DEVFS="0" and IMAGE_DEVICE_TABLES = "device_table-mymachine.txt" and removed udev from the variable VIRTUAL-RUNTIME_dev_manager.

But the table was not created and I still need udev to populate devices.

Does anyone have an idea?

Upvotes: 1

Views: 1413

Answers (1)

Charles C.
Charles C.

Reputation: 3923

I am not sure how you have defined device_table-mymachine.txt but this is device_table-minimal.txt for example.

Secondly, without udev, you need to add another device manager such as BusyBox's mdev by specifying it in your conf/local.conf file as follow:

VIRTUAL_RUNTIME_dev_manager = "mdev"

Note that this will work only with core images that include packagegroup-core-boot

Upvotes: 1

Related Questions