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-newbuild 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 -- coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br. Tel.: +49 761 7668825 • Fax: +49 761 7664613 Email: i...@coresystems.de • http://www.coresystems.de/ Registergericht: Amtsgericht Freiburg • HRB 7656 Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866 -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot