Hi
I am trying to build a ramdisk of size greater that 8MB as it is required
by my applications. I tried doing this but the Kernel does not boot
properly and after the statement
"Ramdisk compressed image found at Block 0 "
it gives error messages stating that the limit in Ramdisk size is 8192 kb.
So, I checked up the arch.c file in mach-sa1100 directory and
in them found the function where the ramdisk size is used ( in
fixup_sa1100 ).
setup_ramdisk(1,0,0,8192);
My first question is why is the size of the ramdisk hardcoded and a
variable not used . ( The variable CONFIG_BLK_DEV_RAM_SIZE, I feel is
defined for this purpose. )
I also found that all other variants of SA-11x0 use this same way of
hardcoding the ramdisk size with due consideration of their total RAM.
But in ( arch/arm/kernel/arch.c ) fixup_l7200( .... ) , the variable is
used for determining the size of Ramdisk. Why is this different from
others. ( Is the board special. I have not seen/used it ).
My second question is regarding the size of the ramdisk that we supply
when we do a " make menuconfig" . This value seems to be overridden in any
case, Whether I supply size of ramdisk to be 4MB or 12MB, only 8MB is
taken as the size because the size is hardcoded. So, the size of ramdisk
we supply used anywhere else in the kernel.
Hoping to get an early answer.
Thanks
Ramakrishnan.A
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.