[coreboot] newconfig to Kconfig for Dummies

Myles Watson mylesgw at gmail.com
Fri Feb 5 05:28:22 CET 2010



> Ok, so here is what the Thomson IP1000 looks like (see notations):
> 
> -CONFIG_DCACHE_RAM_BASE  = 0xc0000 - I have no idea what this is for???
> -CONFIG_DCACHE_RAM_SIZE  = 0x1000 - I have no idea what this is for???
If your board doesn't use CAR it doesn't matter.  It's the address and size
for  Cache-As-RAM.

> +CONFIG_HAVE_HARD_RESET  = 0x0
> +CONFIG_HAVE_HIGH_TABLES  = 0x1
> +CONFIG_HAVE_PIRQ_TABLE  = 0x1
> -CONFIG_HYPERTRANSPORT_PLUGIN_SUPPORT  = 0x1 - Why would newconfig
> enable this for an Intel P3 processor? Is it enabled by default?
Yes.

> +CONFIG_HYPERTRANSPORT_PLUGIN_SUPPORT  = 0x0
> +CONFIG_I830_VIDEO_MB_1MB  = 0x0
> +CONFIG_I830_VIDEO_MB_512KB  = 0x0
> +CONFIG_I830_VIDEO_MB_8MB  = 0x1
> +CONFIG_I830_VIDEO_MB_OFF  = 0x0
> -CONFIG_LOGICAL_CPUS  = 0x0 - Why would newconfig specify 0 cpus???
LOGICAL_CPUS is code for multiple cores.  In this case I'm assuming that
your CPU is single-core.

> +CONFIG_LOGICAL_CPUS  = 0x1
> -CONFIG_PCI_OPTION_ROM_RUN_REALMODE  = 0x0 - I want this to be enabled
> by default (0x1), so should I just change it in Options.lb?
newconfig is going away.  I wouldn't bother.

> +CONFIG_PCI_OPTION_ROM_RUN_REALMODE  = 0x1
> +CONFIG_PCI_OPTION_ROM_RUN_X86EMU  = 0x0
> +CONFIG_PCI_OPTION_ROM_RUN_YABEL  = 0x0
> -CONFIG_PCI_ROM_RUN  = 0x0 - I want this to be enabled by default (0x1),
> so should I just change it in Options.lb?
Same thing.

> +CONFIG_PCI_ROM_RUN  = 0x1
> -CONFIG_RAMBASE  = 0x4000 - What is the correct value?
> +CONFIG_RAMBASE  = 0x100000 - It seems to work fine ether way?
If it works either way, then leave it at 0x100000.  It's "safer" for things
like SMI to have Coreboot run above 1MB.

> -CONFIG_VGA_ROM_RUN  = 0x0 - I want this to be enabled by default (0x1),
> so should I just change it in Options.lb?
Same thing.

> +CONFIG_VGA_ROM_RUN  = 0x1

Does it boot with Kconfig?  If yes, you're done.

Thanks,
Myles





More information about the coreboot mailing list