[coreboot] [PATCH] RS690 code booting RS740 with ECS A740GM-M

Ivaylo Valkov ivaylo at e-valkov.org
Mon Feb 7 17:24:01 CET 2011


Ivaylo Valkov writes:

> Peter Stuge writes:
>
>> Ivaylo Valkov wrote:
>>> Adds RS740 HT and internal graphics PCI ids. 
>>> Adds support for RS740 in RS690 code (some of the fam10 code from RS780).
>>> Adds support for ECS A740GM-M.
>>> 
>>> This definitely needs more patches and fine-tuning. 
>>> Only tested on RS740.
>>
>> Please keep working on this and keep sending patches! I think in
>> particular splitting this up into individual patches will be
>> neccessary to get anyone to really take a look at it.
>
> In that case I will split it like this:
> * patch for PCI IDs
> * patch for RS690 code (gfx, ht, early_setup)
> * patch for ECS A740GM-M with files from multiple boards sources and modifications
> * patch for ECS A740GM-M with directly copied files from other boards

Hello, all

I am trying to test my patches against trunk. Unfortunately I am unable
to build on my main system using the development release of
Trisquel. I've tested with r6275 where everything used to work. The
build process breaks there as well:

    CC         cpu/amd/mtrr/amd_mtrr.ramstage.o
    CC         cpu/amd/microcode/microcode.ramstage.o
    CC         cpu/x86/lapic/lapic.ramstage.o
    CC         cpu/x86/lapic/lapic_cpu_init.ramstage.o
    CC         cpu/x86/lapic/secondary.ramstage.o
    CC         cpu/x86/cache/cache.ramstage.o
    CC         cpu/x86/pae/pgtbl.ramstage.o
    CC         cpu/x86/mtrr/mtrr.ramstage.o
    AR         coreboot.a
    CC         coreboot_ram.o
    CC         coreboot_ram
src/arch/x86/coreboot_ram.ld:129 cannot move location counter backwards (from 0000000000140000 to 0000000000004000)
collect2: ld returned 1 exit status
make: *** [build/coreboot_ram] Error 1

The specified line is the last in the file. Recently I've upgraded to
the development release of Trisquel. This probably changed the ldd
version. There are no changes to coreboot_ram.ld in trunk since December
2010, so it must be ldd. I am able to build in gNewSense both trunk and
r6275.

Version of ldd in Trisquel 4.5 Slaine (develpomnet release), based on Ubuntu
10.10:
$ ldd --version
ldd (Ubuntu EGLIBC 2.12.1-0ubuntu10.2) 2.12.1

Version of ldd in gNewSense 3.0 MetaD, based on Debian lenny:
$ ldd --version
ldd (GNU libc) 2.7

Any suggestions?




More information about the coreboot mailing list