I see that someone answered this specifically for your board but I use
a CRAM fs based system (actually, I can also use ROM fs or JFFS).
The point is that it remains in flash rather than consuming memory.
I had to add a couple of ram filesystems for /tmp and /var but, other than
a few start up tweaks, it works well.   I use a boot loader specifically for
our Integrator board - it does the job of getting the kernel into memory,
transfering control and information about the system which it then uses
as it boots.

Your problem looks like you haven't got CRAMFS built into the kernel
as a known file system type, then you may have to tweak the root device
via the built in command line.

Good luck

Dave

"Edwards, Joseph W" wrote:

Hello,

I am currently using kernel 2.4.0-rmk2 and a ramdisk on my SA-1110 system.
This system has 8MB of memory, and I would like to use a cramfs image
instead of the ramdisk to use the limited memory most efficiently. At this
point, I am using BLOB as the bootloader, and I download the kernel and the
ramdisk over the serial port into a fixed place in memory using BLOB, and
then I have BLOB boot the kernel, which then "finds" the ramdisk. I have
been told that I can boot using a cramfs image the same way, except that the
kernel needs to know that it is booting a cramfs filesystem, instead of a
mke2fs filesystem. As it is, I receive the rather interesting message:

wrong magic

at which point the kernel panics. Does anyone know where in the kernel tree
that I might be able tell the kernel to expect a cramfs image instead of a
ramdisk? Of course, I have compiled cramfs support into the kernel. I
realize that cramfs is normally run out of ROM, and not from RAM, but it
seems like it should be possible. I have not been able to find much
documentation, and any help would be greatly appreciated. Thanks!

-Joe Edwards

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

-- 
----------------------------------------------------------------------
David A Rusling                 Consulting Engineer
                                ARM Limited
                                Liberty House,
                                Moorbridge Road,
                                Maidenhead, SL6 8LT

                                Tel: UK-(0)1628-427754
                                Fax: UK-(0)1628-780551
                                e-mail: [EMAIL PROTECTED]
----------------------------------------------------------------------
 

Reply via email to