[uClinux-dev] CONFIG_ROMFS_FS and MCF532x
Wolfgang Wegner
wolfgang at leila.ping.de
Wed Nov 28 09:52:30 EST 2007
Hi again,
I just found another thing I am a bit confused about. I am using MCF532x
target (actually MCF5373L, but apart from few peripherals this is the same)
and just had some strange kernel startup failures with the linux-2.6.x kernel
of uClinux-dist-20071107.
I found that the kernel always got stuck in _copy_romfs in
linux-2.6.x/arch/m68knommu/platform/5307/head.S
There is some block of code that seems to handle something like an
initial ROMFS that is included when CONFIG_ROMFS_FS is set.
However, CONFIG_ROMFS_FS is already needed for mounting a "normal"
ROMFS on an MTD device and thus not necessarily means there is something
like a filesystem (as my assembler knowledge is quite poor I do not
even claim to understand where the "from"-address for copying comes
from...).
So the question is:
- is there some other config option needed that should be evaluated here?
- or is there some memory initialization needed that my bootloader (U-Boot)
should perform in order for this "initial ROMFS" to be skipped?
Funny that I just fell over this while struggling with my initrd setup... :-)
Regards,
Wolfgang
More information about the uClinux-dev
mailing list