[uClinux-dev] CONFIG_ROMFS_FS and MCF532x

Gavin Lambert gavinl at compacsort.com
Thu Nov 29 19:29:17 EST 2007


Quoth Greg Ungerer:
> This is due to the almost universal way that images are put
> together on ColdFire. The single image file (which is a kernel
> and filesystem concatenated) means that the fs needs to be copied
> at kernel start to a more suitable place. And this is the
> code you are seeing above, _copy_romfs.
> 
> Arguably this should be a configurable option, since just
> having a ROMfs fileystem enabled in the kernel doesn't mean that
> one is actually appended and loaded after the kernel itself
> at runtime.

You could probably use the one that decides whether the uClinux MTD map
driver is included.  While not exactly a guarantee one way or the other,
it's likely that if it's included then the FS image is appended to the
kernel image, since that's the point of the driver in the first place :)

(I can't give the exact name since I don't have uClinux code handy right
now.  Shouldn't be hard to find though.)





More information about the uClinux-dev mailing list