[uClinux-dev] Kernel modules don't work on read-only filesystems ?

Josue de Freitas josue.freitas at gmail.com
Wed Oct 10 15:43:21 EDT 2007


Hi,

On 10/10/07, Matt Waddel <Matt.Waddel at freescale.com> wrote:
>
> Hi Josue,
>
> Since this is a read-only filesystem you need to add the device
> as part of the deploy.  Depending on which platform you're using
> go to the Makefile in uClinux/vendors/<manufacture>/<evb>/Makefile
> and add scull0 there.  Look at the other devices included in the
> Makefile for examples on how to do this.


I already do it. I add "scull0,c,222,0" to the DEVICES variable on this
Makefile, it was created on /dev but I cannot write data to it. The
/dev/console ("console,c,5,1" on the Makefile) is writable since a "echo
test > /dev/console" prints 'test' on the console.

The rights are the same:

# ls -l /dev/scull0
crw-------    1 root     0        222,   0 Jan  1 00:00 /dev/scull0
# ls -l /dev/console
crw-------    1 root     0          5,   1 Jan  1 00:00 /dev/console
#

Any hint ?

Thanks anyway, Matt.

Regards, Josue.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20071010/a4d7ed2c/attachment.html


More information about the uClinux-dev mailing list