Many thanks - really ! comments follow /mc
On 6/9/13, Nico Huber nico.h@gmx.de wrote:
Hello Matti,
- the basic issue is that after following your pages, coreboot won't boot
I'm sorry to hear that. There can be many things going wrong (configuration, missing files, toolchain failing). I'm not familiar with the PC2500E but maybe I can help checking your configuration. Please paste your coreboot's .config, and .config of libpayload (normally in payloads/libpayload/), and .config of FILO (payloads/external/FILO/filo/).
config files pasted under ---->
Did you add a VGA BIOS to coreboot? If not, you might just not seeing anything, even if coreboot boots. AFAIK, without a VGA BIOS, you won't see anything until Linux loads the openchrome driver.
- i have not yet tried to get output w serial console but try to
follow previous hint to do 'make crossgcc'
The serial output of coreboot is always worth a look if something goes wrong. If rebuilding coreboot with the reference toolchain doesn't help, this is where to start, IMO.
yes - understood = first crossgcc though
- as i try to do 'make crossgcc' the system appears to go to loop =
now it has been trying for an hour with only output on attached make_crossgcc_out / make_crossgcc_err
There was a bug just fixed in upstream coreboot [1]. I guess, it is what was causing the loop you experienced.
you are right = after pulling changes to couple files system is now downloading gcc sources :o)
Please try again with current coreboot master. If you didn't change any coreboot source, you can just do git pull in your coreboot directory. If you did changes, commit them and try to rebase git fetch origin master git rebase FETCH_HEAD
Then build crossgcc and rebuild coreboot: make crossgcc # Takes some time, but you should see more output make clean make
I hope that helps,
Nico
------- coreboot config starts --------
# # Automatically generated make config: don't edit # coreboot version: 4.0-4260-gecbc0c5 # Fri Jun 7 20:10:37 2013 #
# # General setup # # CONFIG_EXPERT is not set CONFIG_LOCALVERSION="" CONFIG_CBFS_PREFIX="normal" # CONFIG_ALT_CBFS_LOAD_PAYLOAD is not set CONFIG_COMPILER_GCC=y # CONFIG_COMPILER_LLVM_CLANG is not set # CONFIG_SCANBUILD_ENABLE is not set # CONFIG_CCACHE is not set # CONFIG_USE_OPTION_TABLE is not set # CONFIG_COMPRESS_RAMSTAGE is not set # CONFIG_INCLUDE_CONFIG_FILE is not set # CONFIG_EARLY_CBMEM_INIT is not set # CONFIG_DYNAMIC_CBMEM is not set # CONFIG_USE_BLOBS is not set # CONFIG_COVERAGE is not set
# # Mainboard # # CONFIG_VENDOR_AAEON is not set # CONFIG_VENDOR_ABIT is not set # CONFIG_VENDOR_ADLINK is not set # CONFIG_VENDOR_ADVANSUS is not set # CONFIG_VENDOR_ADVANTECH is not set # CONFIG_VENDOR_AMD is not set # CONFIG_VENDOR_AOPEN is not set # CONFIG_VENDOR_ARIMA is not set # CONFIG_VENDOR_ARTECGROUP is not set # CONFIG_VENDOR_ASI is not set # CONFIG_VENDOR_ASROCK is not set # CONFIG_VENDOR_ASUS is not set # CONFIG_VENDOR_A_TREND is not set # CONFIG_VENDOR_AVALUE is not set # CONFIG_VENDOR_AXUS is not set # CONFIG_VENDOR_AZZA is not set # CONFIG_VENDOR_BACHMANN is not set # CONFIG_VENDOR_BCOM is not set # CONFIG_VENDOR_BIFFEROS is not set # CONFIG_VENDOR_BIOSTAR is not set # CONFIG_VENDOR_BROADCOM is not set # CONFIG_VENDOR_COMPAQ is not set # CONFIG_VENDOR_DIGITALLOGIC is not set # CONFIG_VENDOR_EAGLELION is not set # CONFIG_VENDOR_ECS is not set # CONFIG_VENDOR_EMULATION is not set # CONFIG_VENDOR_GETAC is not set # CONFIG_VENDOR_GIGABYTE is not set # CONFIG_VENDOR_GOOGLE is not set # CONFIG_VENDOR_HP is not set # CONFIG_VENDOR_IBASE is not set # CONFIG_VENDOR_IBM is not set # CONFIG_VENDOR_IEI is not set # CONFIG_VENDOR_INTEL is not set # CONFIG_VENDOR_IWAVE is not set # CONFIG_VENDOR_IWILL is not set # CONFIG_VENDOR_JETWAY is not set # CONFIG_VENDOR_KONTRON is not set # CONFIG_VENDOR_LANNER is not set # CONFIG_VENDOR_LENOVO is not set # CONFIG_VENDOR_LIPPERT is not set # CONFIG_VENDOR_MITAC is not set # CONFIG_VENDOR_MSI is not set # CONFIG_VENDOR_NEC is not set # CONFIG_VENDOR_NEWISYS is not set # CONFIG_VENDOR_NOKIA is not set # CONFIG_VENDOR_NVIDIA is not set # CONFIG_VENDOR_PCENGINES is not set # CONFIG_VENDOR_RCA is not set # CONFIG_VENDOR_RODA is not set # CONFIG_VENDOR_SAMSUNG is not set # CONFIG_VENDOR_SIEMENS is not set # CONFIG_VENDOR_SOYO is not set # CONFIG_VENDOR_SUNW is not set # CONFIG_VENDOR_SUPERMICRO is not set # CONFIG_VENDOR_TECHNEXION is not set # CONFIG_VENDOR_TECHNOLOGIC is not set # CONFIG_VENDOR_TELEVIDEO is not set # CONFIG_VENDOR_TI is not set # CONFIG_VENDOR_THOMSON is not set # CONFIG_VENDOR_TRAVERSE is not set # CONFIG_VENDOR_TYAN is not set CONFIG_VENDOR_VIA=y # CONFIG_VENDOR_WINENT is not set # CONFIG_VENDOR_WYSE is not set CONFIG_BOARD_SPECIFIC_OPTIONS=y CONFIG_MAINBOARD_DIR="via/pc2500e" CONFIG_MAINBOARD_PART_NUMBER="pc2500e" CONFIG_IRQ_SLOT_COUNT=10 CONFIG_MAINBOARD_VENDOR="VIA" CONFIG_MAX_CPUS=1 CONFIG_RAMTOP=0x200000 CONFIG_HEAP_SIZE=0x4000 CONFIG_RAMBASE=0x100000 CONFIG_VGA_BIOS_ID="1106,3344" CONFIG_DRIVERS_PS2_KEYBOARD=y CONFIG_WARNINGS_ARE_ERRORS=y CONFIG_ONBOARD_VGA_IS_PRIMARY=y # CONFIG_VGA_BIOS is not set # CONFIG_CONSOLE_POST is not set # CONFIG_PCI_ROM_RUN is not set # CONFIG_UDELAY_IO is not set CONFIG_DCACHE_RAM_BASE=0xffef0000 CONFIG_DCACHE_RAM_SIZE=0x8000 CONFIG_SERIAL_CPU_INIT=y CONFIG_ACPI_SSDTX_NUM=0 CONFIG_VGA_BIOS_FILE="M14CRT.ROM" # CONFIG_PCI_64BIT_PREF_MEM is not set CONFIG_XIP_ROM_SIZE=0x10000 # CONFIG_MMCONF_SUPPORT_DEFAULT is not set # CONFIG_POWER_BUTTON_FORCE_ENABLE is not set CONFIG_LOGICAL_CPUS=y CONFIG_IOAPIC=y CONFIG_SMP=y CONFIG_DEFAULT_CONSOLE_LOGLEVEL=4 # CONFIG_USBDEBUG is not set # CONFIG_K8_REV_F_SUPPORT is not set CONFIG_CPU_ADDR_BITS=32 # CONFIG_BOARD_VIA_EPIA is not set # CONFIG_BOARD_VIA_EPIA_CN is not set # CONFIG_BOARD_VIA_EPIA_M700 is not set # CONFIG_BOARD_VIA_EPIA_M is not set # CONFIG_BOARD_VIA_EPIA_N is not set CONFIG_BOARD_VIA_PC2500E=y # CONFIG_BOARD_VIA_VT8454C is not set CONFIG_BOARD_ROMSIZE_KB_512=y # CONFIG_COREBOOT_ROMSIZE_KB_64 is not set # CONFIG_COREBOOT_ROMSIZE_KB_128 is not set # CONFIG_COREBOOT_ROMSIZE_KB_256 is not set CONFIG_COREBOOT_ROMSIZE_KB_512=y # CONFIG_COREBOOT_ROMSIZE_KB_1024 is not set # CONFIG_COREBOOT_ROMSIZE_KB_2048 is not set # CONFIG_COREBOOT_ROMSIZE_KB_4096 is not set # CONFIG_COREBOOT_ROMSIZE_KB_8192 is not set # CONFIG_COREBOOT_ROMSIZE_KB_16384 is not set CONFIG_COREBOOT_ROMSIZE_KB=512 CONFIG_ROM_SIZE=0x80000 CONFIG_MAINBOARD_SERIAL_NUMBER="123456789" CONFIG_MAINBOARD_VERSION="1.0" CONFIG_ARCH_X86=y # CONFIG_ARCH_ARMV7 is not set
# # Architecture (x86) # # CONFIG_MARK_GRAPHICS_MEM_WRCOMB is not set # CONFIG_AP_IN_SIPI_WAIT is not set # CONFIG_SIPI_VECTOR_IN_ROM is not set CONFIG_STACK_SIZE=0x1000 CONFIG_MAX_REBOOT_CNT=3 CONFIG_X86_BOOTBLOCK_SIMPLE=y # CONFIG_X86_BOOTBLOCK_NORMAL is not set CONFIG_BOOTBLOCK_SOURCE="bootblock_simple.c" # CONFIG_UPDATE_IMAGE is not set # CONFIG_ROMCC is not set CONFIG_PC80_SYSTEM=y # CONFIG_HAVE_CMOS_DEFAULT is not set CONFIG_BOOTBLOCK_SOUTHBRIDGE_INIT="southbridge/via/vt8237r/bootblock.c" CONFIG_HAVE_ARCH_MEMSET=y CONFIG_HAVE_ARCH_MEMCPY=y # CONFIG_BIG_ENDIAN is not set CONFIG_LITTLE_ENDIAN=y CONFIG_IOAPIC_INTERRUPTS_ON_FSB=y # CONFIG_IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS is not set # CONFIG_PCI_CONF2 is not set CONFIG_HPET_ADDRESS=0xfed00000 CONFIG_ID_SECTION_OFFSET=0x80
# # Chipset #
# # CPU # CONFIG_CPU_SPECIFIC_OPTIONS=y # CONFIG_CPU_AMD_AGESA is not set CONFIG_HAVE_INIT_TIMER=y CONFIG_HIGH_SCRATCH_MEMORY_SIZE=0x0 CONFIG_SMM_TSEG_SIZE=0 CONFIG_SSE2=y # CONFIG_CPU_INTEL_FIRMWARE_INTERFACE_TABLE is not set CONFIG_CPU_VIA_C7=y # CONFIG_UDELAY_LAPIC is not set CONFIG_UDELAY_TSC=y # CONFIG_TSC_CONSTANT_RATE is not set # CONFIG_TSC_MONOTONIC_TIMER is not set # CONFIG_UDELAY_TIMER2 is not set # CONFIG_TSC_CALIBRATE_WITH_IO is not set # CONFIG_TSC_SYNC_LFENCE is not set # CONFIG_TSC_SYNC_MFENCE is not set # CONFIG_CACHE_ROM is not set # CONFIG_SMM_TSEG is not set # CONFIG_X86_AMD_FIXED_MTRRS is not set CONFIG_CACHE_AS_RAM=y CONFIG_AP_SIPI_VECTOR=0xfffff000 CONFIG_MMX=y # CONFIG_CPU_MICROCODE_IN_CBFS is not set # CONFIG_CPU_MICROCODE_CBFS_GENERATE is not set # CONFIG_CPU_MICROCODE_CBFS_EXTERNAL is not set CONFIG_CPU_MICROCODE_CBFS_NONE=y
# # Northbridge # CONFIG_VIDEO_MB=32 # CONFIG_NORTHBRIDGE_AMD_AGESA is not set # CONFIG_AMD_NB_CIMX is not set # CONFIG_NORTHBRIDGE_AMD_CIMX_RD890 is not set CONFIG_CBFS_SIZE=0x80000 CONFIG_NORTHBRIDGE_VIA_CN700=y # CONFIG_CN700_VIDEO_MB_OFF is not set # CONFIG_CN700_VIDEO_MB_8MB is not set # CONFIG_CN700_VIDEO_MB_16MB is not set CONFIG_CN700_VIDEO_MB_32MB=y # CONFIG_CN700_VIDEO_MB_64MB is not set # CONFIG_CN700_VIDEO_MB_128MB is not set
# # Southbridge # # CONFIG_AMD_SB_CIMX is not set # CONFIG_SOUTHBRIDGE_AMD_CIMX_SB800 is not set # CONFIG_SOUTHBRIDGE_AMD_CIMX_SB900 is not set # CONFIG_SPI_FLASH is not set CONFIG_SOUTHBRIDGE_VIA_VT8237R=y # CONFIG_EPIA_VT8237R_INIT is not set
# # Super I/O # CONFIG_SUPERIO_ITE_IT8716F=y # CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL is not set
# # Embedded Controllers #
# # Devices # # CONFIG_MAINBOARD_HAS_NATIVE_VGA_INIT is not set # CONFIG_VGA_ROM_RUN is not set # CONFIG_ON_DEVICE_ROM_RUN is not set # CONFIG_MULTIPLE_VGA_ADAPTERS is not set CONFIG_PCI=y # CONFIG_HYPERTRANSPORT_PLUGIN_SUPPORT is not set CONFIG_PCIX_PLUGIN_SUPPORT=y CONFIG_PCIEXP_PLUGIN_SUPPORT=y CONFIG_AGP_PLUGIN_SUPPORT=y CONFIG_CARDBUS_PLUGIN_SUPPORT=y # CONFIG_PCIEXP_COMMON_CLOCK is not set # CONFIG_PCIEXP_ASPM is not set CONFIG_PCI_BUS_SEGN_BITS=0
# # VGA BIOS #
# # PXE ROM # # CONFIG_PXE_ROM is not set
# # Generic Drivers # # CONFIG_IPMI_KCS is not set # CONFIG_DRIVER_MAXIM_MAX77686 is not set # CONFIG_DRIVERS_OXFORD_OXPCIE is not set # CONFIG_TPM is not set # CONFIG_RTL8168_ROM_DISABLE is not set # CONFIG_DRIVERS_SIL_3114 is not set # CONFIG_DRIVER_TI_TPS65090 is not set # CONFIG_MMCONF_SUPPORT is not set
# # Console # CONFIG_DEFAULT_EARLY_CONSOLE=y CONFIG_EARLY_CONSOLE=y # CONFIG_CONSOLE_SERIAL is not set # CONFIG_SPKMODEM is not set # CONFIG_HAVE_USBDEBUG is not set # CONFIG_CONSOLE_NE2K is not set # CONFIG_DEFAULT_CONSOLE_LOGLEVEL_8 is not set # CONFIG_DEFAULT_CONSOLE_LOGLEVEL_7 is not set # CONFIG_DEFAULT_CONSOLE_LOGLEVEL_6 is not set # CONFIG_DEFAULT_CONSOLE_LOGLEVEL_5 is not set CONFIG_DEFAULT_CONSOLE_LOGLEVEL_4=y # CONFIG_DEFAULT_CONSOLE_LOGLEVEL_3 is not set # CONFIG_DEFAULT_CONSOLE_LOGLEVEL_2 is not set # CONFIG_DEFAULT_CONSOLE_LOGLEVEL_1 is not set # CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0 is not set # CONFIG_CONSOLE_LOGBUF is not set # CONFIG_NO_POST is not set # CONFIG_CMOS_POST is not set # CONFIG_IO_POST is not set CONFIG_HAVE_UART_IO_MAPPED=y # CONFIG_HAVE_UART_MEMORY_MAPPED is not set # CONFIG_HAVE_UART_SPECIAL is not set # CONFIG_HAVE_ACPI_RESUME is not set # CONFIG_HAVE_ACPI_SLIC is not set # CONFIG_HAVE_HARD_RESET is not set # CONFIG_HAVE_MONOTONIC_TIMER is not set CONFIG_HAVE_OPTION_TABLE=y # CONFIG_PIRQ_ROUTE is not set # CONFIG_HAVE_SMI_HANDLER is not set # CONFIG_PCI_IO_CFG_EXT is not set CONFIG_CACHE_ROM_SIZE=0x80000 # CONFIG_USE_WATCHDOG_ON_BOOT is not set # CONFIG_VGA is not set # CONFIG_GFXUMA is not set # CONFIG_RELOCATABLE_MODULES is not set CONFIG_HAVE_MP_TABLE=y CONFIG_HAVE_PIRQ_TABLE=y CONFIG_MAX_PIRQ_LINKS=4
# # System tables # # CONFIG_MULTIBOOT is not set # CONFIG_GENERATE_ACPI_TABLES is not set # CONFIG_GENERATE_MP_TABLE is not set CONFIG_GENERATE_PIRQ_TABLE=y CONFIG_GENERATE_SMBIOS_TABLES=y
# # Payload # # CONFIG_PAYLOAD_NONE is not set CONFIG_PAYLOAD_ELF=y # CONFIG_PAYLOAD_SEABIOS is not set # CONFIG_PAYLOAD_FILO is not set # CONFIG_PAYLOAD_TIANOCORE is not set CONFIG_PAYLOAD_FILE="/usr/src/filo/build/filo.elf" # CONFIG_COMPRESSED_PAYLOAD_LZMA is not set # CONFIG_COMPRESSED_PAYLOAD_NRV2B is not set
# # Debugging # # CONFIG_GDB_STUB is not set # CONFIG_DEBUG_CBFS is not set CONFIG_HAVE_DEBUG_RAM_SETUP=y # CONFIG_DEBUG_RAM_SETUP is not set # CONFIG_HAVE_DEBUG_CAR is not set # CONFIG_DEBUG_PIRQ is not set CONFIG_HAVE_DEBUG_SMBUS=y # CONFIG_DEBUG_SMBUS is not set # CONFIG_DEBUG_MALLOC is not set # CONFIG_DEBUG_ACPI is not set # CONFIG_TRACE is not set # CONFIG_RAMINIT_SYSINFO is not set # CONFIG_ENABLE_APIC_EXT_ID is not set # CONFIG_POWER_BUTTON_DEFAULT_ENABLE is not set # CONFIG_POWER_BUTTON_DEFAULT_DISABLE is not set # CONFIG_POWER_BUTTON_FORCE_DISABLE is not set # CONFIG_POWER_BUTTON_IS_OPTIONAL is not set # CONFIG_CHROMEOS is not set
------- coreboot config ends --------
------- libpayload config starts --------
# # Automatically generated make config: don't edit # libpayload version: 0.2.0 # Fri Jun 7 19:39:43 2013 #
# # Generic Options # # CONFIG_EXPERIMENTAL is not set # CONFIG_OBSOLETE is not set # CONFIG_DEVELOPER is not set # CONFIG_CHROMEOS is not set
# # Architecture Options # # CONFIG_ARCH_ARMV7 is not set # CONFIG_ARCH_POWERPC is not set CONFIG_ARCH_X86=y # CONFIG_MEMMAP_RAM_ONLY is not set # CONFIG_MULTIBOOT is not set
# # Standard Libraries # CONFIG_LIBC=y CONFIG_CURSES=y # CONFIG_TINYCURSES is not set CONFIG_PDCURSES=y CONFIG_CBFS=y CONFIG_LZMA=y
# # Console Options # # CONFIG_SKIP_CONSOLE_INIT is not set CONFIG_CBMEM_CONSOLE=y # CONFIG_SERIAL_CONSOLE is not set CONFIG_VIDEO_CONSOLE=y CONFIG_VGA_VIDEO_CONSOLE=y # CONFIG_GEODELX_VIDEO_CONSOLE is not set # CONFIG_COREBOOT_VIDEO_CONSOLE is not set CONFIG_PC_KEYBOARD=y CONFIG_PC_KEYBOARD_LAYOUT_US=y # CONFIG_PC_KEYBOARD_LAYOUT_DE is not set
# # Drivers # CONFIG_PCI=y CONFIG_NVRAM=y # CONFIG_RTC_PORT_EXTENDED_VIA is not set CONFIG_SPEAKER=y CONFIG_STORAGE=y # CONFIG_STORAGE_64BIT_LBA is not set CONFIG_STORAGE_ATA=y # CONFIG_STORAGE_ATAPI is not set CONFIG_STORAGE_AHCI=y CONFIG_STORAGE_AHCI_ONLY_TESTED=y # CONFIG_USB is not set # CONFIG_BIG_ENDIAN is not set CONFIG_LITTLE_ENDIAN=y CONFIG_IO_ADDRESS_SPACE=y CONFIG_ARCH_SPECIFIC_OPTIONS=y
------- libpayload config ends --------
------- filo config starts --------
# # Automatically generated make config: don't edit # FILO version: 0.6.0 # Fri Jun 7 17:40:22 2013 # CONFIG_TARGET_I386=y # CONFIG_MULTIBOOT_IMAGE is not set
# # Interface Options # # CONFIG_USE_GRUB is not set # CONFIG_NON_INTERACTIVE is not set CONFIG_USE_AUTOBOOT=y CONFIG_AUTOBOOT_FILE="hde1:/boot/vmlinuz root=/dev/sda1 console=tty0" CONFIG_AUTOBOOT_DELAY=2
# # Drivers # CONFIG_IDE_DISK=y CONFIG_IDE_DISK_POLL_DELAY=0 # CONFIG_SLOW_SATA is not set # CONFIG_PCMCIA_CF is not set # CONFIG_LIBPAYLOAD_STORAGE is not set # CONFIG_USB_DISK is not set # CONFIG_FLASH_DISK is not set CONFIG_SUPPORT_PCI=y # CONFIG_PCI_BRUTE_SCAN is not set # CONFIG_SUPPORT_SOUND is not set # CONFIG_FLASHROM_LOCKDOWN is not set
# # Filesystems # CONFIG_FSYS_EXT2FS=y # CONFIG_FSYS_FAT is not set # CONFIG_FSYS_JFS is not set # CONFIG_FSYS_MINIX is not set # CONFIG_FSYS_REISERFS is not set # CONFIG_FSYS_XFS is not set # CONFIG_FSYS_ISO9660 is not set # CONFIG_FSYS_CRAMFS is not set # CONFIG_FSYS_SQUASHFS is not set CONFIG_FSYS_CBFS=y
# # Loaders # CONFIG_LINUX_LOADER=y # CONFIG_WINCE_LOADER is not set # CONFIG_ARTEC_BOOT is not set
# # Debugging & Experimental # # CONFIG_EXPERIMENTAL is not set # CONFIG_DEBUG_ALL is not set # CONFIG_DEBUG_ELFBOOT is not set # CONFIG_DEBUG_SEGMENT is not set # CONFIG_DEBUG_SYS_INFO is not set # CONFIG_DEBUG_BLOCKDEV is not set # CONFIG_DEBUG_VFS is not set # CONFIG_DEBUG_FSYS_EXT2FS is not set # CONFIG_DEBUG_PCI is not set # CONFIG_DEBUG_LINUXLOAD is not set # CONFIG_DEBUG_IDE is not set
------- filo config ends --------