[coreboot] [PATCH] use coreboot.rom for CBFS images, but default to smaller size

Myles Watson mylesgw at gmail.com
Mon Jun 1 19:23:25 CEST 2009

> The first stage is pre-raminit, so we can't decompress or copy it - it must
> be XIP.

Good reminder.  I'm always forgetting that we have different raminits
for fallback or normal.

> I won't try to hack the build system anymore before non-CBFS is gone:
> separating the earlier coreboot stages into CBFS would require two different
> build code paths for that part again, and slowly, that's too much hassle for
> me.

> I'll revisit pushing the pre-raminit stage into CBFS after I don't have to
> care about non-CBFS anymore.
Yes.  I'll agree that's lower priority anyway.

> By the way, one idea to solve the XIP execution might be to use %cs to allow
> running the stage from a semi-arbitrary memory location (by setting %cs in a
> way that addresses in code and ROM layout match again). That could already
> be looked into now.



More information about the coreboot mailing list