[LinuxBIOS] Build broken?

beneo beneo at comcast.net
Thu Nov 10 20:53:57 CET 2005

Thanks. It works on one of issues I have encountered.

My immidiate question is why my ROM_IMAGE_SIZE with larger value 0x20000
won't work, but with 0x16380 would work? If you don't tell me this, I
probably would never be able to figure out.

My have another issue, It looks like a bug in target tyan/s2891. I'm trying
to build tyan/s2891. No matter what I change, I always get a build error
gcc -m32 -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld crt0.o
/usr/bin/ld: section .rodata.str1.32 [fffbff80 -> fffc0091] overlaps section
.reset [fffbfff0 -> fffbffff]
collect2: ld returned 1 exit status
make[1]: *** [linuxbios] Error 1

Then I looked at ldscript file, it included southbridge/nvidia/ck804/id.lds
file, which looks like this:
        . = (_ROMBASE + ROM_IMAGE_SIZE - 0x80) - (__id_end - __id_start);
        .id (.): {

There is no linker script would arrange section .rodata.str1.32. I guess
that just makes linker to patch section .rodata.str1.32 at end of .id
section, which caused the overlap with .reset section.

This looks to me is a bug in tyan/s2891. How do I fix this? is that OK to
remove nvidia/ck804/id.lds?



----- Original Message ----- 
From: "Lu, Yinghai" <yinghai.lu at AMD.COM>
To: "beneo" <beneo at comcast.net>; "Ronald G Minnich" <rminnich at lanl.gov>
Cc: <linuxbios at openbios.org>
Sent: Wednesday, November 09, 2005 7:39 PM
Subject: Re: [LinuxBIOS] Build broken?

> Please change ROM_IMAGE_SIZE in romimage "fallback" section to 0x16380
> YH
> -- 
> LinuxBIOS mailing list
> LinuxBIOS at openbios.org
> http://www.openbios.org/mailman/listinfo/linuxbios

More information about the coreboot mailing list