Hi there-
I'd like to increase the size of my flash chip from 8MB to 16MB. From
poking at stuff and asking dumb questions in the #coreboot channel, I've
gathered I need to make the following changes, but I'm not 100% sure these
are correct.

If anyone could look this over and point me in the right direction before I
flash a broken image, I would appreciate that.

*1)* descriptor.ifd: Use ifdtool on descriptor.bin to increase the density
from 8M to 16M. This appears to work.

*2)* Modify fmap - currently looks like this:

FLASH@0xff800000 0x800000 {
BIOS@0x200000 0x600000 {
EC@0x0 0x10000
RW_MRC_CACHE@0x10000 0x10000
SMMSTORE@0x20000 0x40000
FMAP@0x60000 0x200
CONSOLE@0x60200 0x20000
COREBOOT(CBFS)@0x80200 0x57FE00
}
}

and it should become:

FLASH@0xff800000 0x1000000 {    <- new chip size
BIOS@0x200000 0xE00000 {          <-new BIOS region size
EC@0x0 0x10000
RW_MRC_CACHE@0x10000 0x10000
SMMSTORE@0x20000 0x40000
FMAP@0x60000 0x200
CONSOLE@0x60200 0x20000
COREBOOT(CBFS)@0x80200 0xD7FE00  <- new CBFS size
}
}

Question: I read that an FMAP file overrides CBFS_SIZE, if such is
provided.Since the coreboot .config still says CBFS_SIZE=0x200000, but an
FMAP has always been provided, is it true that 0x200000 was never the
result / used?

*4) *Adjust ROM size to 16MB in menuconfig
*5)* Provide new FMAP and descriptor to menuconfig
*6) *Use an external flasher to flash this new image

Am I missing any steps, and are the above modifications correct?

Thanks,
Rafael
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to