[coreboot] Porting to Intel Atom

Shailendra Singh shailendrakrsingh at gmail.com
Tue Jan 19 11:11:06 CET 2010


Hello All,

I am a newbie in coreboot. I just started to port this coreboot to my Intel
Atom laptop.

Below are Some details of my laptop
    Chipset- 945GSE + ICH7
    CPU -  Intel Atom N270 @ 1.60GHz
    Bios Chip- WinBond 25X80AV

I have downloaded the latest source tree of Coreboot for repository.

I have my Host machine configuration as below:
   OS- Federo 10 64 Bit OS
   GCC - 4.3.2
   iASL version - 20061109 [Feb 21 2008]

On one of the discussion topic of this coreboot forum, they suggested that
the mainboard d945gclf is closer to intel Atom for the starting point of
porting to atom.

I started to built the coreboot using following steps
   1. make menuconfig  ( the config file is attached with this mail--*
.config*)
   2. make

I am getting several warnings and at the last getting segmentation fault.
the error log is attached(*coreboot_errorLog.txt*) with this mail.

Any Help is appreciable.

Thanks in advance.

BR,
Shailendra
S-CUBE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100119/179697f1/attachment.html>
-------------- next part --------------
[root at linuxserver coreboot]# make
    GEN        build.h
    OPTION     option_table.h
In file included from /root/coreboot/src/mainboard/intel/d945gclf/auto.c:84:
/root/coreboot/src/northbridge/intel/i945/raminit.c:2575:5: warning: "C2_SELF_REFRESH_DISABLE" is not defined
In file included from /root/coreboot/src/mainboard/intel/d945gclf/auto.c:41:
/root/coreboot/src/pc80/serial.c:101: warning: no previous prototype for ?uart_init?
In file included from /root/coreboot/src/mainboard/intel/d945gclf/auto.c:42:
/root/coreboot/src/arch/i386/lib/console.c:13: warning: no previous prototype for ?console_init?
/root/coreboot/src/arch/i386/lib/console.c:26: warning: no previous prototype for ?die?
In file included from /root/coreboot/src/mainboard/intel/d945gclf/auto.c:51:
/root/coreboot/src/lib/ramtest.c:137: warning: no previous prototype for ?ram_check?
In file included from /root/coreboot/src/northbridge/intel/i945/raminit.c:2690,
                 from /root/coreboot/src/mainboard/intel/d945gclf/auto.c:85:
/root/coreboot/src/northbridge/intel/i945/rcven.c:324: warning: no previous prototype for ?receive_enable_adjust?
In file included from /root/coreboot/src/mainboard/intel/d945gclf/auto.c:85:
/root/coreboot/src/northbridge/intel/i945/raminit.c:3012: warning: no previous prototype for ?sdram_initialize?
/root/coreboot/src/northbridge/intel/i945/raminit.c:3145: warning: no previous prototype for ?get_top_of_ram?
In file included from /root/coreboot/src/mainboard/intel/d945gclf/auto.c:87:
/root/coreboot/src/northbridge/intel/i945/errata.c:20: warning: no previous prototype for ?fixup_i945_errata?
In file included from /root/coreboot/src/mainboard/intel/d945gclf/auto.c:88:
/root/coreboot/src/northbridge/intel/i945/debug.c:81: warning: no previous prototype for ?dump_spd_registers?
In file included from /root/coreboot/src/lib/cbmem.c:24,
                 from /root/coreboot/src/mainboard/intel/d945gclf/auto.c:231:
/root/coreboot/src/include/console/console.h:7: warning: redundant redeclaration of ?console_init?
/root/coreboot/src/arch/i386/lib/console.c:14: warning: previous definition of ?console_init? was here
/root/coreboot/src/include/console/console.h:13: warning: redundant redeclaration of ?die?
/root/coreboot/src/arch/i386/lib/console.c:27: warning: previous definition of ?die? was here
/root/coreboot/src/include/console/console.h:30: warning: redundant redeclaration of ?do_printk?
/root/coreboot/src/arch/i386/lib/console_printk.c:2: warning: previous declaration of ?do_printk? was here
/root/coreboot/src/mainboard/intel/d945gclf/auto.c:232: warning: no previous prototype for ?real_main?
In file included from /root/coreboot/src/cpu/intel/model_106cx/cache_as_ram_disable.c:21,
                 from /root/coreboot/src/mainboard/intel/d945gclf/auto.c:350:
/root/coreboot/src/cpu/x86/car/copy_and_run.c: In function ?copy_and_run?:
/root/coreboot/src/cpu/x86/car/copy_and_run.c:13: warning: passing argument 1 of ?cbfs_and_run_core? discards qualifiers from pointer target type
In file included from /root/coreboot/src/mainboard/intel/d945gclf/auto.c:350:
/root/coreboot/src/cpu/intel/model_106cx/cache_as_ram_disable.c: At top level:
/root/coreboot/src/cpu/intel/model_106cx/cache_as_ram_disable.c:22: warning: redundant redeclaration of ?real_main?
/root/coreboot/src/mainboard/intel/d945gclf/auto.c:233: warning: previous definition of ?real_main? was here
/root/coreboot/src/cpu/intel/model_106cx/cache_as_ram_disable.c:24: warning: no previous prototype for ?stage1_main?
In file included from /root/coreboot/src/mainboard/intel/d945gclf/auto.c:350:
/root/coreboot/src/cpu/intel/model_106cx/cache_as_ram_disable.c: In function ?stage1_main?:
/root/coreboot/src/cpu/intel/model_106cx/cache_as_ram_disable.c:66: warning: label ?cpu_reset_x? defined but not used
/root/coreboot/src/mainboard/intel/d945gclf/auto.c: At top level:
/root/coreboot/src/arch/i386/include/arch/romcc_io.h:277: warning: ?pci_io_locate_device? defined but not used
/root/coreboot/src/arch/i386/include/arch/romcc_io.h:289: warning: ?pci_locate_device? defined but not used
/root/coreboot/src/arch/i386/include/arch/romcc_io.h:301: warning: ?pci_locate_device_on_bus? defined but not used
/root/coreboot/src/pc80/mc146818rtc_early.c:111: warning: ?read_option? defined but not used
/root/coreboot/src/superio/smsc/lpc47m15x/lpc47m15x_early_serial.c:38: warning: ?lpc47b272_enable_serial? defined but not used
/root/coreboot/src/northbridge/intel/i945/raminit.c:78: warning: ?sdram_dump_mchbar_registers? defined but not used
/root/coreboot/src/northbridge/intel/i945/raminit.c:206: warning: ?sdram_capabilities_MEM4G_disable? defined but not used
/root/coreboot/src/northbridge/intel/i945/debug.c:27: warning: ?print_pci_devices? defined but not used
/root/coreboot/src/northbridge/intel/i945/debug.c:65: warning: ?dump_pci_devices? defined but not used
/root/coreboot/src/northbridge/intel/i945/debug.c:107: warning: ?dump_mem? defined but not used
    CC         lib/uart8250.o
    CC         lib/memset.o
    CC         lib/memcpy.o
    CC         lib/memcmp.o
    CC         lib/cbfs.o
    CC         lib/lzma.o
    CC         console/vtxprintf.o
    CC         arch/i386/lib/printk_init.o
    CC         arch/i386/lib/cbfs_and_run.o
    LINK       coreboot
/usr/bin/ld: warning: .note.gnu.build-id section discarded, --build-id ignored.
    OBJCOPY    coreboot.bootblock
    CC         arch/i386/lib/c_start.o
    CC         mainboard/intel/d945gclf/mainboard.o
src/mainboard/intel/d945gclf/mainboard.c:27: warning: no previous prototype for ?add_mainboard_resources?
    CC         mainboard/intel/d945gclf/rtl8168.o
    CC         console/uart8250_console.o
    CC         northbridge/intel/i945/northbridge.o
src/northbridge/intel/i945/northbridge.c:35: warning: no previous prototype for ?get_pcie_bar?
src/northbridge/intel/i945/northbridge.c:73: warning: no previous prototype for ?add_northbridge_resources?
    CC         northbridge/intel/i945/gma.o
    CC         cpu/intel/model_106cx/model_106cx_init.o
    SCONFIG    mainboard/intel/d945gclf/config.py
    SCONFIG    mainboard/intel/d945gclf/static.c
    SCONFIG    mainboard/intel/d945gclf/static.dot
    CC         mainboard/intel/d945gclf/mptable.o
src/mainboard/intel/d945gclf/mptable.c:28: warning: no previous prototype for ?smp_write_config_table?
    CC         mainboard/intel/d945gclf/irq_tables.o

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20061109 [Feb 21 2008]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a


Maximum error count (200) exceeded
make: *** [/root/coreboot/build/dsdt.c] Segmentation fault
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/octet-stream
Size: 7396 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100119/179697f1/attachment.obj>


More information about the coreboot mailing list