Lu, Yinghai wrote:
So the vmlinux+initrd.gz--> elf, and nrv2b to be the payload...
What is size of final elf?
- bzImage+initrd.gz
- vmlinux+initrd.gz --> nrv2b
I wonder if 2 would be bigger than 1.
mkelfImage has a number of additional components, actually a fair bit of code. So far, (2) is winning -- put the cmdline (linux params) in an elf segment @0x90000, vmlinux and initrd in other segments.
Actually, in V1, I had a gunzip step built into linuxbios. I still think that was not a bad deal.
ron