Hi, I am trying to create a bootpImage for 2.6 kernel. I was able to create it very easily with the command make ARCH=arm CROSS_COMPILE=$KERNEL_CROSS_COMPILE INITRD=./ ramdisk.ext2.gz bootpImage
To boot the board I had first used the nand read command from redboot and read the data as i had flashed it (or as my nand flash partitions are). nand read -f 0x100000 -b 0x100000 -l 0x2000000 then used exec -b 0x100000 -l 0x2000000 -c "console=ttymxc0,115200 root=/dev/ram rw"
But while booting the board I get the error "invalid compressed format (err=2)". I am reading 35Mb of data from nand flash, but my bootpImage size is only 12Mb. So partial reading is out of the question.
I found that this error is coming while decompressing the root fs. When i tried to reduce the rootfs size then i was able to boot successfully.
Is there is size limit for bootpImage? on the net i found that the max decompressed size of 4Mb. But i was able to boot with much larger size. See this
Thanks, Subhasish