Am Dienstag, den 12.06.2012, 16:42 -0600 schrieb Marc Jones:
On Thu, Jun 7, 2012 at 5:01 PM, Paul Menzel wrote:
with a current clone of coreboot
$ git describe 4.0-2451-g2d1758b
and
$ make crossgcc Working around non-functional -combine Welcome to the coreboot cross toolchain builder v1.07 (November 1st, 2011) Will skip GDB ... ok Downloading tar balls ... * gmp-5.0.5.tar.bz2 (downloading) * mpfr-3.1.0.tar.bz2 (downloading) * mpc-0.9.tar.gz (downloading) * libelf-0.8.13.tar.gz (downloading) * gcc-core-4.6.3.tar.bz2 (downloading) * binutils-2.22.tar.bz2 (downloading) * acpica-unix-20120420.tar.gz (downloading) Downloaded tar balls ... ok Unpacking and patching ... * gmp-5.0.5.tar.bz2 * mpfr-3.1.0.tar.bz2 * mpc-0.9.tar.gz * libelf-0.8.13.tar.gz * gcc-core-4.6.3.tar.bz2 * binutils-2.22.tar.bz2 * acpica-unix-20120420.tar.gz Unpacked and patched ... ok Building GMP 5.0.5 ... ok Building MPFR 3.1.0 ... ok Building MPC 0.9 ... ok Building libelf 0.8.13 ... ok Building binutils 2.22 ... ok Building GCC 4.6.3 ... ok Skipping Expat (Python scripting not enabled) Skipping Python (Python scripting not enabled) Skipping GDB (GDB support not enabled) Building IASL 20120420 ... ok Cleaning up... ok You can now run your i386-elf cross toolchain from /opt/src/coreboot/util/crossgcc/xgcc. $ make menuconfig # for ASRock E350M1 with SeaBIOS master and 4 MB image $ make
I got the following error.
[…] Checking out SeaBIOS revision origin/master Switched to branch 'master' Deleted branch coreboot (was e66fb31). Branch coreboot set up to track remote branch master from origin. Switched to a new branch 'coreboot' CONFIG SeaBIOS origin/master Working around non-functional -combine Build default config # # configuration written to /opt/src/coreboot/build/seabios/.config # MAKE SeaBIOS origin/master Working around non-functional -combine Build Kconfig config file /opt/src/coreboot/build/seabios/.config:89:warning: override: reassigning to symbol COREBOOT /opt/src/coreboot/build/seabios/.config:90:warning: override: reassigning to symbol DEBUG_SERIAL /opt/src/coreboot/build/seabios/.config:95:warning: override: reassigning to symbol VGAHOOKS # # configuration written to /opt/src/coreboot/build/seabios/.config # Compiling DSDT make[2]: iasl: Kommando nicht gefunden make[2]: *** [src/acpi-dsdt.hex] Fehler 127 make[1]: *** [build] Fehler 2 make: *** [seabios] Fehler 2
The file `.xcompile` also contains the correct definition for `IASL`.
IASL:=/opt/src/coreboot/util/crossgcc/xgcc/bin/iasl
Running that file works too so no `noexec` flag or something else seems to be at fault.
[…]
I think that the stable version of seabios doesn't pick up the version from coreboot. Check the git log for:
commit 74f96123e7e37c219403b50e39dabc8e8c450948 Author: Marc Jones marc.jones@se-eng.com Date: Sun Apr 29 11:20:53 2012 -0600
Marc, thank you for your suggestion. With that commit the error is gone.
Strangely as seen above I had chosen SeaBIOS master in Kconfig, but it looks like it was still at stable release at Git tag rel-1.7.0.
commit a0263083cb4cda172832fbc916dc1417ee930574 Author: Kevin O'Connor kevin@koconnor.net Date: Sat Apr 14 20:22:18 2012 -0400
Misc compile fixes for gcc v3.4.
Signed-off-by: Kevin O'Connor kevin@koconnor.net
You can put a softlink to it into you path to get around this.
Not necessary anymore thanks to your fix.
Thanks,
Paul