Thanks Guys.

I tried building coreboot under following env:

Ubuntu Qutantal 64bit/32bit. (Both 64bit kernel)
Ubuntu Raring 64bit
Debian Squeeze 64bit.

With both native build-essential and crossgcc.

...
/usr/src/bios/git/coreboot# cat .xcompile
# x86 TARCH_SEARCH=  /usr/src/bios/git/coreboot/util/crossgcc/xgcc/bin/i386-elf- i386-elf- /usr/src/bios/git/coreboot/util/crossgcc/xgcc/bin/x86_64-elf- x86_64-elf-
# elf32-i386 toolchain (/usr/src/bios/git/coreboot/util/crossgcc/xgcc/bin/i386-elf-gcc)
CC_i386:=/usr/src/bios/git/coreboot/util/crossgcc/xgcc/bin/i386-elf-gcc  -Wno-unused-but-set-variable  -Wa,--divide -fno-stack-protector -Wl,--build-id=none
AS_i386:=/usr/src/bios/git/coreboot/util/crossgcc/xgcc/bin/i386-elf-as
LD_i386:=/usr/src/bios/git/coreboot/util/crossgcc/xgcc/bin/i386-elf-ld
NM_i386:=/usr/src/bios/git/coreboot/util/crossgcc/xgcc/bin/i386-elf-nm
OBJCOPY_i386:=/usr/src/bios/git/coreboot/util/crossgcc/xgcc/bin/i386-elf-objcopy
OBJDUMP_i386:=/usr/src/bios/git/coreboot/util/crossgcc/xgcc/bin/i386-elf-objdump
READELF_i386:=/usr/src/bios/git/coreboot/util/crossgcc/xgcc/bin/i386-elf-readelf
STRIP_i386:=/usr/src/bios/git/coreboot/util/crossgcc/xgcc/bin/i386-elf-strip
AR_i386:=/usr/src/bios/git/coreboot/util/crossgcc/xgcc/bin/i386-elf-ar

# arm TARCH_SEARCH=  /usr/src/bios/git/coreboot/util/crossgcc/xgcc/bin/littlearm-elf- littlearm-elf-
IASL:=/usr/src/bios/git/coreboot/util/crossgcc/xgcc/bin/iasl

# native toolchain
HOSTCC:=gcc

...

Results:

Current head boots only with single CPU. Dual cpu with less ram does not work. And during the initial boot process, on board speaker beeps. It sound like cpu error with AMI bios. Beep stopped around the same time as loading CBFS payload (seabios)...

Keyboard stop responding, both usb and ps2, at the the end of boot process.

I did try building older version specified in the wiki. I get this error, in all built environment.

/usr/bin/ld: section .eh_frame loaded at [00000000fffbfff0,00000000fffc0667] overlaps section .reset loaded at [00000000fffbfff0,00000000fffbffff]


commit e89d8a57accbac5066f80266d1e98e63f62ba4c5 sounds like my problem... I tried to build commits around 1f7d3c5672ec90f8d71907b1a07c8a87fa461047, none worked with dual cpu...

The problem seem to be, beyond my current skill level :(

Thanks again for the inputs.

Kui.Z



On Tue, Dec 4, 2012 at 7:34 PM, Ward Vandewege <ward@gnu.org> wrote:
On Mon, Dec 03, 2012 at 05:12:03PM -0800, Kui Zhang wrote:
> I got some old boxes:  tyan s2882-d, dual opteron processors, 16G RAM. 512K
> bios flash.
>
> So far, I am not able to get it to boot. It appears to reboot during CPU
> init.
>
> If anyone got coreboot working on this board, which revision did it worked
> last ?

That would have been me, I think. I'm not 100% sure we still have an s2882;
we only had one if I recall correctly. I can check later this week. Some
revision(s) it worked with are listed on http://www.coreboot.org/Tyan_S2882.
Those are revisions from the old SVN tree; you can grep the git log for the
svn revision number (it is listed); you'll see these are revisions from 2006.

I do have an s2881 that I booted succesfully about 5 or 6 weeks ago, with
coreboot head. It's a very similar board.

Have you tried with less ram?

Thanks,
Ward.

--
Ward Vandewege | CTO, Free Software Foundation
GPG Key: 25F774AB | http://identi.ca/cure | http://fsf.org/blogs/RSS

Do you use free software? Donate to join the FSF and support freedom at
         http://www.fsf.org/register_form?referrer=859