On Fri, May 16, 2008 at 5:57 AM, mojtaba <[EMAIL PROTECTED]> wrote: > Dear all, > > Could you please explain what happens exactly when Linux is booting from a > compact flash? > > To my few knowledge, the Linux compressed image will be copied somewhere in > memory, will be uncompressed and the control will jump to the beginning > address of the Linux kernel.
There are several methods to do this. Option 1 is to pass the kernel zImage.elf to genace so that it gets wrapped up into the ace file itself and is loaded into RAM by the SystemACE on FPGA initialization. However, this requires that your FPGA design gets RAM initialized before the SysACE starts squirting in the Linux image (which isn't always the case). This option is also slow. Option 2 is to use an small bootloader blob (I think Xilinx has a technote with something suitable) loaded into BRAM that reads the CF card and copies a Linux image (hint; build a simpleImage when using arch/powerpc) off the CF and into RAM. This method boots the system faster, but requires a little bit more work. Cheers, g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. _______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded