On Wednesday, February 05, 2014 04:17:01 PM Idwer Vollering wrote:
Compiling for 8MB however works just fine.
Error output:
Created CBFS image (capacity = 4193256 bytes) E: Could not add [build/coreboot_hudson_romsig.bin, 16 bytes (0 KB)@0xffc20000]; too big? E: Failed to add 'build/coreboot_hudson_romsig.bin' into ROM image. make: *** [build/coreboot.pre1] Error 1
I'll let you guess what's missing from here. (hint: cbfstool print).
$ egrep -e '^CONFIG.*SIZE' -e '^CONFIG_MAINBOARD' -e '^CONFIG_HUDSON_.*' -e CONFIG_USE_BLOBS .config CONFIG_USE_BLOBS=y CONFIG_MAINBOARD_DIR="asus/f2a85-m" CONFIG_MAINBOARD_PART_NUMBER="F2A85-M" CONFIG_MAINBOARD_VENDOR="ASUS" CONFIG_HW_MEM_HOLE_SIZEK=0x200000 CONFIG_HEAP_SIZE=0xc0000 CONFIG_DCACHE_RAM_SIZE=0x10000 CONFIG_HUDSON_LEGACY_FREE=y CONFIG_STACK_SIZE=0x1000 CONFIG_XIP_ROM_SIZE=0x100000 CONFIG_MAINBOARD_SMBIOS_MANUFACTURER="ASUS" CONFIG_MAINBOARD_VERSION="1.0" CONFIG_CACHE_ROM_SIZE_OVERRIDE=0 CONFIG_BOARD_ROMSIZE_KB_8192=y CONFIG_COREBOOT_ROMSIZE_KB_4096=y CONFIG_COREBOOT_ROMSIZE_KB=4096 CONFIG_ROM_SIZE=0x400000 CONFIG_MAINBOARD_SERIAL_NUMBER="123456789" CONFIG_MAINBOARD_SMBIOS_PRODUCT_NAME="F2A85-M" CONFIG_HIGH_SCRATCH_MEMORY_SIZE=0xA1000 CONFIG_SMM_TSEG_SIZE=0 CONFIG_CBFS_SIZE=0x400000 CONFIG_S3_DATA_SIZE=32768 CONFIG_HUDSON_XHCI_ENABLE=y CONFIG_HUDSON_XHCI_FWM=y CONFIG_HUDSON_IMC_FWM=y CONFIG_HUDSON_XHCI_FWM_FILE="3rdparty/southbridge/amd/hudson/xhci.bin" CONFIG_HUDSON_IMC_FWM_FILE="3rdparty/southbridge/amd/hudson/imc.bin" CONFIG_HUDSON_FWM=y CONFIG_HUDSON_FWM_POSITION=0xFF820000 CONFIG_HUDSON_SATA_IDE=y CONFIG_HUDSON_SATA_MODE=0x0
Oh maan. Hudson hardcodes the sata move via config?