what is your payload?
I mean the payload definition in target/tyan/s2881/Config.lb
Please try to disable VGA in MB Config.lb and remve the line in target Config: Option ROM_SIZE=475136
YH
On 12/2/05, Ward Vandewege ward@gnu.org wrote:
On Fri, Dec 02, 2005 at 12:36:23PM -0800, yhlu wrote:
please go https://openbios.org/roundup/linuxbios/issue41
to get the patch for that..
Also I have add inine attribute((__always_inline__)) to some must inline function to make it works gcc already....
We will apply the patch into the public tree soon....
Thanks! That helped it get past that particular error. Now it dies during linking, though...
gcc -m32 -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld crt0.o init.o /usr/bin/ld: section .rom [00000000fffb0000 -> 00000000fffb011f] overlaps section .ram [00000000fffaa000 -> 00000000fffb2fcc] /usr/bin/ld: section .init [00000000fffb0120 -> 00000000fffb5faf] overlaps section .ram [00000000fffaa000 -> 00000000fffb2fcc] /usr/bin/ld: linuxbios: section .rom lma 0xfffb0000 overlaps previous sections / usr/bin/ld: linuxbios: section .init lma 0xfffb0120 overlaps previous sections /usr/bin/ld: linuxbios: section .data lma 0xfffb2fd0 overlaps previous sections /usr/bin/ld: linuxbios: section .init.data lma 0xfffb2fd0 overlaps previous sections collect2: ld returned 1 exit status make[1]: *** [linuxbios] Error 1
Thanks, Ward.
On 12/2/05, Ward Vandewege ward@gnu.org wrote:
Hi there,
We have a couple of Tyan S2881 boxes that we want to run linuxbios on.
I checked out the latest SVN repository (revision 2117), but get compile errors for the S2881 tree.
This is the case on Debian testing/unstable with GCC 3.4.5 20051015 (prerelease) (Debian 3.4.4-9) and GCC 4.0.2 (Debian 4.0.2-2), as well as on Ubuntu Breezy with GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9).
There are a lot more warnings when compiling with GCC 4, but it always dies on this:
LinuxBIOSv2/src/cpu/amd/car/disable_cache_as_ram.c: At top level: LinuxBIOSv2/src/cpu/amd/car/disable_cache_as_ram.c:3: error: syntax error before 'volatile'
Am I missing a dependency, or is this a bug?
Any help would be greatly appreciated.
Thanks, Ward.
-- Ward Vandewege ward@fsf.org Free Software Foundation - Senior System Administrator
-- LinuxBIOS mailing list LinuxBIOS@openbios.org http://www.openbios.org/mailman/listinfo/linuxbios
-- LinuxBIOS mailing list LinuxBIOS@openbios.org http://www.openbios.org/mailman/listinfo/linuxbios
!DSPAM:4390b0e942921951315283!
-- Ward Vandewege ward@fsf.org Free Software Foundation - Senior System Administrator