2008-12-09 22:52:42 +01:00
|
|
|
# This will make a target directory of ./pistachio
|
|
|
|
|
|
|
|
target pistachio
|
|
|
|
mainboard amd/pistachio
|
|
|
|
|
|
|
|
romimage "normal"
|
Add CONFIG_VGA_ROM_RUN to dbm690t and pistachio, otherwise the
VGA ROM can not run. After make, run
> ./cbfs/cbfstool ./coreboot.rom add ../vga_bios.rom pci1002,791f.rom optionrom
to make the final image with vga bios.
The macro vga_rom_address is out-of-date when CBFS starts play its role. it also should
be eliminated from rs690/chip.h as below. But it will cause building error on other board, which I
cant make test on.
## Index: src/southbridge/amd/rs690/chip.h
## ===================================================================
## --- src/southbridge/amd/rs690/chip.h (revision 4782)
## +++ src/southbridge/amd/rs690/chip.h (working copy)
## @@ -23,7 +23,6 @@
## /* Member variables are defined in Config.lb. */
## struct southbridge_amd_rs690_config
## {
## - u32 vga_rom_address; /* The location that the VGA rom has been appened. */
## u8 gpp_configuration; /* The configuration of General Purpose Port, A/B/C/D/E. */
## u8 port_enable; /* Which port is enabled? GFX(2,3), GPP(4,5,6,7) */
## u8 gfx_dev2_dev3; /* for GFX Core initialization REFCLK_SEL */
##
Don't apply above patch about rs690/chip.h before every board has been fixed.
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4783 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2009-10-16 09:44:04 +02:00
|
|
|
option CONFIG_ROM_SIZE = 1024*1024
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_USE_FALLBACK_IMAGE=0
|
|
|
|
option CONFIG_ROM_IMAGE_SIZE=0x20000
|
|
|
|
option CONFIG_XIP_ROM_SIZE=0x20000
|
2008-12-09 22:52:42 +01:00
|
|
|
payload ../payload.elf
|
|
|
|
end
|
|
|
|
|
Add CONFIG_VGA_ROM_RUN to dbm690t and pistachio, otherwise the
VGA ROM can not run. After make, run
> ./cbfs/cbfstool ./coreboot.rom add ../vga_bios.rom pci1002,791f.rom optionrom
to make the final image with vga bios.
The macro vga_rom_address is out-of-date when CBFS starts play its role. it also should
be eliminated from rs690/chip.h as below. But it will cause building error on other board, which I
cant make test on.
## Index: src/southbridge/amd/rs690/chip.h
## ===================================================================
## --- src/southbridge/amd/rs690/chip.h (revision 4782)
## +++ src/southbridge/amd/rs690/chip.h (working copy)
## @@ -23,7 +23,6 @@
## /* Member variables are defined in Config.lb. */
## struct southbridge_amd_rs690_config
## {
## - u32 vga_rom_address; /* The location that the VGA rom has been appened. */
## u8 gpp_configuration; /* The configuration of General Purpose Port, A/B/C/D/E. */
## u8 port_enable; /* Which port is enabled? GFX(2,3), GPP(4,5,6,7) */
## u8 gfx_dev2_dev3; /* for GFX Core initialization REFCLK_SEL */
##
Don't apply above patch about rs690/chip.h before every board has been fixed.
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4783 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2009-10-16 09:44:04 +02:00
|
|
|
romimage "fallback"
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_USE_FALLBACK_IMAGE=1
|
|
|
|
option CONFIG_ROM_IMAGE_SIZE=0x20000
|
|
|
|
option CONFIG_XIP_ROM_SIZE=0x20000
|
2008-12-09 22:52:42 +01:00
|
|
|
payload ../payload.elf
|
|
|
|
end
|
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
buildrom ./coreboot.rom CONFIG_ROM_SIZE "normal" "fallback"
|