On Fri, Jan 08, 2010 at 07:52:57PM -0500, Kevin O'Connor wrote:
On Fri, Jan 08, 2010 at 09:15:05AM +0100, Patrick Georgi wrote:
attached patches add support for tinybootblock to the generic Makefile.romccboard.inc, and move dell/s1850 (non-tinybootblock) and emulation/qemu-x86 (tinybootblock) to use that instead of their own set of rules.
I just booted my epia-cn with Kbuild and tinybootblock.
I enabled tinybootblock by adding a "select TINY_BOOTBLOCK" to the epia-cn/Kconfig file. This did boot, but it took a very long time, because the romstage XIP code wasn't cached (running lzma uncompression without cache is crazy). I was able to fix it by adding:
config XIP_ROM_BASE hex default 0xfff00000
config XIP_ROM_SIZE hex default 0x100000
to the Kbuild file to force code caching. (Though, I'm not sure how much of this is because of other changes in my tree to enable caching.)
-Kevin