Hi Stepan, Glad to know that you're developing "Kontron 986LCD-M/mITX", and i'm trying to understand this excellent 986LCD-M board using Intel ICH7 as southbridge, i wanna create the bios image using Coreboot, but I even can't compile it after several tries. -------- My platform: Fedora 8 (Linux localhost.localdomain 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i686 i686 i386 GNU/Linux) -------- Src code: http://tracker.coreboot.org/trac/coreboot/browser/branches/coreboot-v2-newbu... -------- My steps: Reference to "http://www.coreboot.org/Kontron_986LCD-M_mITX" 1 Install "iasl" utility, and choose "filo" as the payload, and generate the "filo.elf" successfully. 2 ./buildtarget kontron/986lcd-m --> This will generate a new directory (naming "kontron_986lcd_m") where the key Makefile lies 3 Enter into the new dir, and copy the "filo.elf" to this new dir, but rename it as "payload.elf" 4 make -s --> This will fail, the message is as follows: ... /workstation/bios/branches/coreboot-v2-newbuild/src/mainboard/kontron/986lcd-m/reset.c:25: warning: no previous prototype for soft_reset? /workstation/bios/branches/coreboot-v2-newbuild/src/mainboard/kontron/986lcd-m/reset.c:30: warning: no previous prototype for hard_reset? input/output = 302368/124894 = 2.421 /usr/bin/ld: coreboot: section `.id' can't be allocated in segment 1 /usr/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status make[1]: *** [coreboot] Error 1 make: *** [fallback/coreboot.rom] Error 2 ------------------ So, what is the problem? What kind of platform have you tried, Stepan? Thank you. ps: I also tried using "make menuconfig" "make" for the codes at "http://tracker.coreboot.org/trac/coreboot/browser/trunk/" the same mistake occurred.
2009-11-04
Terry Zhang Hardware R&D Engineer Beijing Brainaire Storage Technologies Ltd. Email: zhangxc@brainaire.com Tel: 86-10-6297-9839
zhangxc wrote:
Hi Stepan, Glad to know that you're developing "Kontron 986LCD-M/mITX", and i'm trying to understand this excellent 986LCD-M board using Intel ICH7 as southbridge, i wanna create the bios image using Coreboot, but I even can't compile it after several tries.
My platform: Fedora 8 (Linux localhost.localdomain 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i686 i686 i386 GNU/Linux)
Src code: http://tracker.coreboot.org/trac/coreboot/browser/branches/coreboot-v2-newbu...
This branch is not working correctly.. I suggest you use http://tracker.coreboot.org/trac/coreboot/browser/trunk instead.
This can be checked out with subversion through
svn co svn://coreboot.org/coreboot/trunk coreboot or if your company firewall blocks the svn ports: svn co https://svn.coreboot.org/coreboot/trunk coreboot
My steps: Reference to "http://www.coreboot.org/Kontron_986LCD-M_mITX" 1 Install "iasl" utility, and choose "filo" as the payload, and generate the "filo.elf" successfully. 2 ./buildtarget kontron/986lcd-m --> This will generate a new directory (naming "kontron_986lcd_m") where the key Makefile lies 3 Enter into the new dir, and copy the "filo.elf" to this new dir, but rename it as "payload.elf" 4 make -s --> This will fail, the message is as follows: ... /workstation/bios/branches/coreboot-v2-newbuild/src/mainboard/kontron/986lcd-m/reset.c:25: warning: no previous prototype for soft_reset? /workstation/bios/branches/coreboot-v2-newbuild/src/mainboard/kontron/986lcd-m/reset.c:30: warning: no previous prototype for hard_reset? input/output = 302368/124894 = 2.421 /usr/bin/ld: coreboot: section `.id' can't be allocated in segment 1 /usr/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status make[1]: *** [coreboot] Error 1 make: *** [fallback/coreboot.rom] Error 2
So, what is the problem? What kind of platform have you tried, Stepan?
This seems to be a problem with a buggy binutils package delivered with Fedora 8.
To get reliable and comparable results, I'm only using the cross toolchain built by the script coreboot/util/crossgcc/buildgcc ... It will produce a known good toolchain.
Thank you.
Good luck!
Stefan