[coreboot] [PATCH] Add Mitac 6513WU mainboard support

Michael Gold mgold at ncf.ca
Mon Jul 6 01:14:32 CEST 2009

This patch enables onboard VGA support for the Mitac 6513WU mainboard by

Signed-off-by: Michael Gold <mgold at ncf.ca>
(additional comments below)

On Sun, Jul 05, 2009 at 21:39:32 +0200, Uwe Hermann wrote:
> > +    device pci 1.0 on                   # Chipset Graphics Controller (CGC)
> > +      chip drivers/pci/onboard
> > +        device pci 1.0 on end
> > +        register "rom_address" = "0xfff80000" #512k image
> > +      end
> > +    end
> I changed this part a bit, this may be nested a bit too much, but maybe
> I'm wrong, not sure. Either way, the version which is in svn now worked
> for me on the MS-6178 board, please try a plain svn checkout (r4401) and
> see if onboard VGA works (better) on your board.

The nesting seemed strange to me as well, but the example on the "VGA
support" wiki page is written like that.

After defining CONFIG_VIDEO_MB, the VGA device appears in lspci.
I haven't tried hooking up a monitor.

I noticed that you moved the subtraction of 32 KB from CONFIG_ROM_SIZE
(for the video BIOS) from the mainboard's Options.lb to the target's
Config.lb, although the rom_address for this space in still listed in
the mainboard's Config.lb.  Why was it changed?  The division between
these files doesn't appear to be well documented, and is inconsistent in
existing targets.

> > +romimage "normal"
> > +	option COREBOOT_EXTRA_VERSION = ".0Normal"
> > +	payload ../../../../payloads/filo.elf
> Changed this to the generic "../payload.elf" we try to use
> everywhere now (but there may be more changes wrt to this
> when we move to kconfig for v2).

That's fine, but it would be good to document the recommended practice
since it's not done consistently in the existing code.

-- Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mitac-6513wu-video.diff
Type: text/x-diff
Size: 577 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090705/ff3b9097/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090705/ff3b9097/attachment.sig>

More information about the coreboot mailing list