Missing ttyAMA0 device in rootfs

Bug #1084037 reported by Loïc Minier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro OpenEmbedded
Won't Fix
Undecided
Unassigned

Bug Description

Hi,

Sagar Kadam reported on linaro-dev@ that he was getting an error message on boot:
Starting Boolog daemon: bootlogd: cannot find console device 204:64 under /dev

This appears to be due to /dev/ttyAMA0 being missing from the OE rootfses, or perhaps some other device node (/dev/stdin and the like?). I've confirmed that /dev/ttyAMA0 isn't in core-image-minimal-genericarmv8-20121124161453.rootfs.tar.gz.

He proposes setting CONFIG_DEVTMPFS_MOUNT=y which might be too intrusive a change IMHO.

Cheers,

Revision history for this message
Sagar Kadam (sagar-kadam) wrote :

There are multiple approaches, using which this problem can be resolved:
1. Add the device into device_list file in /etc of OE File system
2. Add an entry into /etc/fstab so that the devtmpfs is auto-mounted during boot-up
3. Provide a kernel command line argument so as to mount devtmpfs.

Please suggest which is a suitable way of doing it.

Cheers,
Sagar Kadam

Revision history for this message
Riku Voipio (riku-voipio) wrote :

CONFIG_DEVTMPFS_MOUNT=y is already set in our ubuntu kernels by default, so I guess it's safe for OE as well.

Riku

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

CONFIG_DEVTMPFS_MOUNT=y is set in OpenEmbedded. Sagar's problem is that he is using own kernel without that option.

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

Sagar: use "deftmpfs.mount=1" kernel argument. We want to have as minimal set of changes as possible. Taking care of device_table is not one of them.

OE kernels have mounting of devtmpfs enabled by default. I suggest do the same with external ones.

Changed in linaro-oe:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.