Hello.
I just patched 2084 src tree with Nick Barker's EPIA-M patch, but failed. Give me advise!.
The patch I used is this. http://openbios.org/pipermail/linuxbios/2005-October/012723.html http://openbios.org/pipermail/linuxbios/attachments/20051028/2d3ed7d9/epia-m... The src is this. http://snapshots.linuxbios.org/LinuxBIOSv2-2084.tar.bz2
What I did is like this. $ tar -xvzf Linuxbios... $ patch -p1 $ ./buildtarget epia-m $ make ( failed!)
--- Okajima, Jun. Tokyo, Japan.
-------------- _BASE='0xffff0000' -DCONFIG_UDELAY_TSC='1' -DCONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2='0' -Os - nostdinc -nostdlib -fno-builtin -Wall -o model_centaur_init.o /home/okajima/lx2/LinuxBIOSv2- 2084/src/cpu/via/model_centaur/model_centaur_init.c /home/okajima/lx2/LinuxBIOSv2-2084/src/cpu/via/model_centaur/model_centaur_init.c:29: warning: #warning "FIXME - need correct cpu id here for VIA C3" cc1: Invalid option `32' /home/okajima/lx2/LinuxBIOSv2-2084/src/cpu/via/model_centaur/model_centaur_init.c:45: warning: `used' attribute directive ignored /home/okajima/lx2/LinuxBIOSv2-2084/src/cpu/via/model_centaur/model_centaur_init.c:45: warning: `driver' defined but not used make[1]: *** [model_centaur_init.o] Error 1 make[1]: Leaving directory `/home/okajima/lx2/LinuxBIOSv2-2084/targets/via/epia-m/epia-m/fallback' make: *** [fallback/linuxbios.rom] Error 1 okajima@Debian:~/lx2/LinuxBIOSv2-2084/targets/via/epia-m/epia-m$ gcc -v Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 20011002 (Debian prerelease) okajima@Debian:~/lx2/LinuxBIOSv2-2084/targets/via/epia-m/epia-m$ as --version GNU assembler 2.12.90.0.1 20020307 Debian/GNU Linux Copyright 2002 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. This assembler was configured for a target of `i386-linux'. okajima@Debian:~/lx2/LinuxBIOSv2-2084/targets/via/epia-m/epia-m$
* Jun OKAJIMA okajima@digitalinfra.co.jp [051105 05:39]:
Hello.
I just patched 2084 src tree with Nick Barker's EPIA-M patch, but failed. Give me advise!.
Your C compiler does not support the -m32 option. You might try to remove that from the config file. Or, even better, update to a newer GCC version (ie 3.3.x)
The patch I used is this. http://openbios.org/pipermail/linuxbios/2005-October/012723.html http://openbios.org/pipermail/linuxbios/attachments/20051028/2d3ed7d9/epia-m... The src is this. http://snapshots.linuxbios.org/LinuxBIOSv2-2084.tar.bz2
What I did is like this. $ tar -xvzf Linuxbios... $ patch -p1 $ ./buildtarget epia-m $ make ( failed!)
--- Okajima, Jun. Tokyo, Japan.
_BASE='0xffff0000' -DCONFIG_UDELAY_TSC='1' -DCONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2='0' -Os - nostdinc -nostdlib -fno-builtin -Wall -o model_centaur_init.o /home/okajima/lx2/LinuxBIOSv2- 2084/src/cpu/via/model_centaur/model_centaur_init.c /home/okajima/lx2/LinuxBIOSv2-2084/src/cpu/via/model_centaur/model_centaur_init.c:29: warning: #warning "FIXME - need correct cpu id here for VIA C3" cc1: Invalid option `32' /home/okajima/lx2/LinuxBIOSv2-2084/src/cpu/via/model_centaur/model_centaur_init.c:45: warning: `used' attribute directive ignored /home/okajima/lx2/LinuxBIOSv2-2084/src/cpu/via/model_centaur/model_centaur_init.c:45: warning: `driver' defined but not used make[1]: *** [model_centaur_init.o] Error 1 make[1]: Leaving directory `/home/okajima/lx2/LinuxBIOSv2-2084/targets/via/epia-m/epia-m/fallback' make: *** [fallback/linuxbios.rom] Error 1 okajima@Debian:~/lx2/LinuxBIOSv2-2084/targets/via/epia-m/epia-m$ gcc -v Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 20011002 (Debian prerelease) okajima@Debian:~/lx2/LinuxBIOSv2-2084/targets/via/epia-m/epia-m$ as --version GNU assembler 2.12.90.0.1 20020307 Debian/GNU Linux Copyright 2002 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. This assembler was configured for a target of `i386-linux'. okajima@Debian:~/lx2/LinuxBIOSv2-2084/targets/via/epia-m/epia-m$
-- LinuxBIOS mailing list LinuxBIOS@openbios.org http://www.openbios.org/mailman/listinfo/linuxbios