hello, everyone, I'm a seabios newer. I want to build a coreboot image with seabios as its payload. I need the seabios(bios.bin.elf) to be smaller then 1M, but I got a 1.3M one after building . I did not change anything in my seabios host directory. I don't know how to decrease the size. My colleague had built a smaller image(64k) with cygwin in win7, but he also does not know how to help me. So if anyone could give me some advices, that will be highly appreciated!^_^
PS: I don't know whether this subject line meets the requirements, if not, please tell me, thinks a lot!
On Wed, Apr 06, 2011 at 06:42:09PM +0800, Rock Cui wrote:
hello, everyone, I'm a seabios newer. I want to build a coreboot image with seabios as its payload. I need the seabios(bios.bin.elf) to be smaller then 1M, but I got a 1.3M one after building . I did not change anything in my seabios host directory. I don't know how to decrease the size. My colleague had built a smaller image(64k) with cygwin in win7, but he also does not know how to help me. So if anyone could give me some advices, that will be highly appreciated!^_^
This is normally just padding in the .elf file. Go ahead and add it to coreboot - the cbfstool program should remove the padding.
-Kevin
I had tested, but coreboot said there was no enough room, because I had to set the CBFS size is 1024K. If set 2M, that is ok, but my board has no enough room.
On Wed, Apr 06, 2011 at 06:42:09PM +0800, Rock Cui wrote:
hello, everyone, I'm a seabios newer. I want to build a coreboot image with seabios as its payload. I need the seabios(bios.bin.elf) to be smaller then 1M, but I got a 1.3M one after building . I did not change anything in my seabios host directory. I don't know how to decrease the size. My colleague had built a smaller image(64k) with cygwin in win7, but he also does not know how to help me. So if anyone could give me some advices, that will be highly appreciated!^_^
This is normally just padding in the .elf file. Go ahead and add it to coreboot - the cbfstool program should remove the padding.
-Kevin
On Wed, Apr 06, 2011 at 09:45:21PM +0800, CuiLei wrote:
I had tested, but coreboot said there was no enough room, because I had to set the CBFS size is 1024K. If set 2M, that is ok, but my board has no enough room.
Can you post the output of the SeaBIOS build? Also, can you post the output of "cbfstool print" from the 2M rom after adding SeaBIOS?
It would also likely help if you can post your .elf file somewhere online.
-Kevin