[coreboot] Corebootv2 failing to build

David Houston root at crankyadmin.net
Wed Sep 30 15:15:38 CEST 2009


Not sure why? Believe it has something to do with the bold. I am trying to
build a 1mb rom. Where is the best place to set this?

---->snip<----

/home/dave/code/cbtmp/coreboot-v2/src/cpu/x86/mtrr/earlymtrr.c:22:3: error:
#error *"CONFIG_XIP_ROM_BASE is not a multiple of CONFIG_XIP_ROM_SIZE"*
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:115:
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/amdk8_f.h:522:
warning: redundant redeclaration of ‘soft_reset’
/home/dave/code/cbtmp/coreboot-v2/src/southbridge/nvidia/mcp55/mcp55_early_ctrl.c:51:
note: previous definition of ‘soft_reset’ was here
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:118:
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/incoherent_ht.c:841:
warning: redundant redeclaration of ‘get_nodes’
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/coherent_ht.c:1747:
note: previous definition of ‘get_nodes’ was here
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:120:
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c:732:2:
warning: #warning "FIXME implement a better test for opterons"
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:120:
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c:1261:
warning: no previous prototype for ‘memory_end_k’
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:120:
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c:1701:
warning: no previous prototype for ‘find_optimum_spd_latency’
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c:1949:
warning: no previous prototype for ‘get_dimm_Trc_clocks’
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c:1970:2:
warning: #warning We should die here or at least disable this bank.
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c:2883,
                 from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:120:
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f_dqs.c:134:
warning: function declaration isn’t a prototype
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f_dqs.c:142:
warning: function declaration isn’t a prototype
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f_dqs.c:1832:
warning: no previous prototype for ‘s3_save_nvram_early’
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f_dqs.c:1837:
warning: no previous prototype for ‘s3_load_nvram_early’
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c:2994,
                 from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:120:
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/exit_from_self.c:20:
warning: no previous prototype for ‘exit_from_self’
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:122:
/home/dave/code/cbtmp/coreboot-v2/src/lib/generic_sdram.c:15: warning: no
previous prototype for ‘sdram_no_memory’
/home/dave/code/cbtmp/coreboot-v2/src/lib/generic_sdram.c:25: warning: no
previous prototype for ‘sdram_initialize’
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:143:
/home/dave/code/cbtmp/coreboot-v2/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c:22:
warning: redundant redeclaration of ‘set_ht_link_buffer_counts_chain’
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/incoherent_ht.c:723:
note: previous definition of ‘set_ht_link_buffer_counts_chain’ was here
/home/dave/code/cbtmp/coreboot-v2/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c:
In function ‘mcp55_early_pcie_setup’:
/home/dave/code/cbtmp/coreboot-v2/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c:180:
warning: large integer implicitly truncated to unsigned type
/home/dave/code/cbtmp/coreboot-v2/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c:
In function ‘mcp55_early_setup_x’:
/home/dave/code/cbtmp/coreboot-v2/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c:391:
warning: unused variable ‘j’
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:
At top level:
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:233:
warning: no previous prototype for ‘cache_as_ram_main’
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:
In function ‘real_main’:
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:262:
warning: initialization makes pointer from integer without a cast
make[1]: *** [cache_as_ram_auto.inc] Error 1
make: *** [normal/coreboot.rom] Error 2
:In file included from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:60:
/home/dave/code/cbtmp/coreboot-v2/src/pc80/serial.c:101: warning: no
previous prototype for ‘uart_init’
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:66:
/home/dave/code/cbtmp/coreboot-v2/src/lib/ramtest.c:137: warning: no
previous prototype for ‘ram_check’
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:72:
/home/dave/code/cbtmp/coreboot-v2/src/cpu/amd/model_fxx/apic_timer.c:6:
warning: no previous prototype for ‘init_timer’
/home/dave/code/cbtmp/coreboot-v2/src/cpu/amd/model_fxx/apic_timer.c:19:
warning: no previous prototype for ‘udelay’
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:73:
/home/dave/code/cbtmp/coreboot-v2/src/lib/delay.c:2: warning: no previous
prototype for ‘mdelay’
/home/dave/code/cbtmp/coreboot-v2/src/lib/delay.c:9: warning: no previous
prototype for ‘delay’
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/cpu/amd/mtrr/amd_earlymtrr.c:5,
                 from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:88:
/home/dave/code/cbtmp/coreboot-v2/src/cpu/x86/mtrr/earlymtrr.c:22:3: error:
#error "CONFIG_XIP_ROM_BASE is not a multiple of CONFIG_XIP_ROM_SIZE"
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:115:
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/amdk8_f.h:522:
warning: redundant redeclaration of ‘soft_reset’
/home/dave/code/cbtmp/coreboot-v2/src/southbridge/nvidia/mcp55/mcp55_early_ctrl.c:51:
note: previous definition of ‘soft_reset’ was here
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:118:
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/incoherent_ht.c:841:
warning: redundant redeclaration of ‘get_nodes’
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/coherent_ht.c:1747:
note: previous definition of ‘get_nodes’ was here
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:120:
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c:732:2:
warning: #warning "FIXME implement a better test for opterons"
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:120:
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c:1261:
warning: no previous prototype for ‘memory_end_k’
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:120:
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c:1701:
warning: no previous prototype for ‘find_optimum_spd_latency’
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c:1949:
warning: no previous prototype for ‘get_dimm_Trc_clocks’
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c:1970:2:
warning: #warning We should die here or at least disable this bank.
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c:2883,
                 from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:120:
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f_dqs.c:134:
warning: function declaration isn’t a prototype
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f_dqs.c:142:
warning: function declaration isn’t a prototype
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f_dqs.c:1832:
warning: no previous prototype for ‘s3_save_nvram_early’
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f_dqs.c:1837:
warning: no previous prototype for ‘s3_load_nvram_early’
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c:2994,
                 from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:120:
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/exit_from_self.c:20:
warning: no previous prototype for ‘exit_from_self’
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:122:
/home/dave/code/cbtmp/coreboot-v2/src/lib/generic_sdram.c:15: warning: no
previous prototype for ‘sdram_no_memory’
/home/dave/code/cbtmp/coreboot-v2/src/lib/generic_sdram.c:25: warning: no
previous prototype for ‘sdram_initialize’
In file included from
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:143:
/home/dave/code/cbtmp/coreboot-v2/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c:22:
warning: redundant redeclaration of ‘set_ht_link_buffer_counts_chain’
/home/dave/code/cbtmp/coreboot-v2/src/northbridge/amd/amdk8/incoherent_ht.c:723:
note: previous definition of ‘set_ht_link_buffer_counts_chain’ was here
/home/dave/code/cbtmp/coreboot-v2/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c:
In function ‘mcp55_early_pcie_setup’:
/home/dave/code/cbtmp/coreboot-v2/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c:180:
warning: large integer implicitly truncated to unsigned type
/home/dave/code/cbtmp/coreboot-v2/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c:
In function ‘mcp55_early_setup_x’:
/home/dave/code/cbtmp/coreboot-v2/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c:391:
warning: unused variable ‘j’
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:
At top level:
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:233:
warning: no previous prototype for ‘cache_as_ram_main’
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:
In function ‘real_main’:
/home/dave/code/cbtmp/coreboot-v2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c:262:
warning: initialization makes pointer from integer without a cast
make[1]: *** [cache_as_ram_auto.inc] Error 1
make: *** [normal/coreboot.rom] Error 2
---->snip<----
-- 
Dave
-------------
root at crankyadmin.net
cranky at archlinux.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090930/6880ba39/attachment.html>


More information about the coreboot mailing list