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 like: --- gcc -m32 -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld crt0.o init.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: --- SECTIONS { . = (_ROMBASE + ROM_IMAGE_SIZE - 0x80) - (__id_end - __id_start); .id (.): { *(.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?
thanks
beneo
----- Original Message ----- From: "Lu, Yinghai" yinghai.lu@AMD.COM To: "beneo" beneo@comcast.net; "Ronald G Minnich" rminnich@lanl.gov Cc: linuxbios@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@openbios.org http://www.openbios.org/mailman/listinfo/linuxbios