Mkag,

1) internal initramfs.

In the kernel source files, inside arch/arm/kernel/head.S

Line 272:

        str     r3, [r0, #4]!                   @ KERNEL + 1MB
        add     r3, r3, #1 << 20
        str     r3, [r0, #4]!                   @ KERNEL + 2MB
        add     r3, r3, #1 << 20
        str     r3, [r0, #4]                    @ KERNEL + 3MB

You can add additional lines to increase the acceptable kernelsize. Every 2 lines will add another MB.
This is not a good solution, but it will work.

        add     r3, r3, #1 << 20
        str     r3, [r0, #4]                    @ KERNEL + 4MB

2) external initramfs.

Can you please post the u-boot line that is used to boot the kernel? I assume you might miss something.

Regards,

Theo

Mahendra Kumar Angamuthu Ganesan wrote:
Hi,
Have anybody tried the option of Initramfs instead of initrd in DM6467 EVM for the kernel montavista 2.6.10?


I tried the uImage which contains initramfs to boot thorugh tftp with bootargs as listed in the wiki. http://wiki.davincidsp.com/index.php?title=Initrd

If Uimage is more than 2.4mb then it hangs after uncompressing the kernel as shown below

## Booting image at 81800000 ...
   Image Name:   Linux-2.6.10_mvl401-davinci_evm-
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2930000 Bytes =  2.8 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux........................................................................................................................................

(Hangs here inifinitely)

If I try to use external initramfs using the cpio image avilable at "dir: ...usr/" , it is telling bad gzip magic number.

Have anybody tried the option of Initramfs and succeeded in it in DM6467 EVM for the kernel montavista 2.6.10?




Regards,
Mahendra Kumar




------------------------------------------------------------------------

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source



DISCLAIMER:
Unless indicated otherwise, the information contained in this message is 
privileged and confidential, and is intended only for the use of the 
addressee(s) named above and others who have been specifically authorized to 
receive it. If you are not the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this message and/or attachments 
is strictly prohibited. The company accepts no liability for any damage caused 
by any virus transmitted by this email. Furthermore, the company does not 
warrant a proper and complete transmission of this information, nor does it 
accept liability for any delays. If you have received this message in error, 
please contact the sender and delete the message. Thank you.


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to