I made two changes in the Config.lb file first one is ROM_SIZE i made as 2048*1024 and second i specified the location of my payload.
That's all you needed to do, as long as your payload fits in 2M.
yea I also think i misconfigured the Config.lb file. I modified the ROM_SIZE but forgot to change the ROM_IMAGE_SIZE in the Config.lb file according to it.
ROM_IMAGE_SIZE doesn't need to be changed.
the size of the linux.elf image was 10 MB. So this may be problem also.
Yes. This is the problem.
So I dont know how to decrease the size of linux.elf, Any help would be greatly appreciated.
Check out buildrom, and see how it builds Linux kernels that fit in the ROM.
Thanks, Myles