On Mon, Sep 07, 2009 at 08:46:48PM +0200, Bernd Blaauw wrote:
> Op 19-8-2009 18:03, Bernd Blaauw schreef:
> > That's odd - I'm using "QEMU PC emulator version 0.10.5":
> >>> $ ls -l foo/
> >>> total 552
> >>> -rw-r--r-- 1 kevin 524288 2009-08-19 09:12 bios.bin
> >>> -rw-r--r-- 1 kevin 35840 2009-08-19 09:13 vgabios-cirrus.bin
> >>> $ qemu -L foo -hda dos-drivec-new
> >>>
> >>> It doesn't matter what vgabios you use as the bios.bin deploys its own
> >>> - a file just needs to be present to make qemu happy,
> >>>
> >>>
> Kevin if you're still around, any idea what the size of Coreboot and
> SeaBIOS is, added together?
I'm still around, but if you add me to the "To:" line, you'll get a
faster response.
There is a tool that comes with coreboot that will show the breakdown
of the rom image (and allows adding/removing items). With the test
image I made I get:
$ cbfstool coreboot-qemu-freedos-20090818.bin print
coreboot-qemu-freedos-20090818.bin: 512 kB, bootblocksize 65536, romsize
524288, offset 0x0
Alignment: 16 bytes
Name Offset Type Size
normal/payload 0x0 payload 30685
normal/coreboot_ram 0x7810 stage 24867
pci1013,00b8.rom.lzma 0xd970 optionrom 13047
floppyimg/FreeDOS.lzma 0x10ca0 0x00000063 94961
0x27fd0 free 294936
So, coreboot is taking up ~88K (the bootblock of 65536 plus 24867).
This is a bit high and is probably due to padding - which the coreboot
team has been working on recently. In practice, I expect coreboot to
be under 64K.
SeaBIOS is the "normal/payload" file and consumes 30K (after lzma
compression). The vga option rom is taking 13K (after lzma).
Finally, the freedos floppy image takes 95K after lzma compression.
>Compressing your supplied Coreboot image
> which demonstrates FreeDOS bootdisk image was 512KB, and compressed
> about 160KB or so (where kernel and command.com are around 100KB
> together, already UPX-compressed so not compressible by LZMA), which
> would mean Coreboot/SeaBIOS together is about 60KB. On a 256KB (2MBit)
> flash part this would leave around 190KB (256-60) for a compressed
> floppy image with FreeDOS programs on it.
Your numbers look a little optimistic, but are roughly accurate.
-Kevin
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel