Hi,
If I use autobuild (abuild), I have this message :
Processing mainboard/amd/quartet (i386: ok) Using existing test target /home/../LinuxBIOSv2/targets/amd/quartet/Config-abuild.lb ok Creating builddir...ok Compiling image ..FAILED after 4s! Log excerpt: /bin/sh: -c: line 1: syntax error near unexpected token `(' /bin/sh: -c: line 1: `gcc -Os -Wall -DARCH='i386' -DHAVE_MOVNTI='1' -DCROSS_COMPILE -DCC='gcc' -DHOSTCC='gcc' -DOBJCOPY='objcopy --gap-fill 0xff' -DLINUXBIOS_VERSION='"2.0.0"' -DLINUXBIOS_BUILD='"mar mar 6 11:06:48 CET 2007"' -DLINUXBIOS_COMPILE_TIME='"11:06:48"' -DLINUXBIOS_COMPILE_BY='"ccases"' -DLINUXBIOS_COMPILE_HOST='"TestBios"' -DLINUXBIOS_COMPILE_DOMAIN='"localdomain"' -DLINUXBIOS_COMPILER='"version gcc 3.3.5 (Debian 1:3.3.5-13)"' -DLINUXBIOS_LINKER='"GNU ld version 2.15"' -DLINUXBIOS_ASSEMBLER='"Version de l'assembleur GNU 2.15 (i386-linux) utilisant la version BFD 2.15"' -DCONFIG_USE_INIT='0' -DHAVE_FALLBACK_BOOT='1' -DHAVE_FAILOVER_BOOT='0' -DROM_IMAGE_SIZE='0x20000' -DPAYLOAD_SIZE='0x20000' -D_ROMBASE='0xfffa0000' -D_RESET='0xfffa0000' -D_EXCEPTION_VECTORS='0xfffa0100' -DSTACK_SIZE='0x2000' -DHEAP_SIZE='0x4000' -D_RAMBASE='0x4000' -DUSE_DCACHE_RAM='0' -DDCACHE_RAM_BASE='0xc0000' -DDCACHE_RAM_SIZE='0x1000' -DDCACHE_RAM_GLOBAL_VAR_SIZE='0x0' -DCONFIG_AP_CODE_IN_CAR='0' -DMEM_TRAIN_SEQ='0' -DWAIT_BEFORE_CPUS_INIT='0' -DCONFIG_COMPRESS='1' -DCONFIG_UNCOMPRESSED='0' -DCONFIG_LB_MEM_TOPK='2048' -DHAVE_OPTION_TABLE='1' -DUSE_OPTION_TABLE='1' -DLB_CKS_RANGE_START='49' -DLB_CKS_RANGE_END='122' -DLB_CKS_LOC='123' -DCRT0='/home/ccases/LinuxBIOSv2/src/arch/i386/init/crt0.S.lb' -DDEBUG='1' -DCONFIG_CONSOLE_VGA='0' -DCONFIG_CONSOLE_VGA_MULTI='0' -DCONFIG_CONSOLE_VGA_ONBOARD_AT_FIRST='0' -DCONFIG_CONSOLE_BTEXT='0' -DCONFIG_CONSOLE_LOGBUF='0' -DCONFIG_CONSOLE_SROM='0' -DCONFIG_CONSOLE_SERIAL8250='1' -DDEFAULT_CONSOLE_LOGLEVEL='8' -DMAXIMUM_CONSOLE_LOGLEVEL='8' -DCONFIG_SERIAL_POST='0' -DTTYS0_BASE='0x3f8' -DTTYS0_BAUD='115200' -DTTYS0_LCS='0x3' -DCONFIG_USE_PRINTK_IN_CAR='0' -DMAINBOARD='/home/ccases/LinuxBIOSv2/src/mainboard/amd/quartet' -DMAINBOARD_PART_NUMBER='"QUARTET"' -DMAINBOARD_VENDOR='"AMD"' -DMAINBOARD_PCI_SUBSYSTEM_VENDOR_ID='0' -DMAINBOARD_PCI_SUBSYSTEM_DEVICE_ID='0x0' -DCONFIG_MAX_PCI_BUSES='255' -DCONFIG_SMP='1' -DCONFIG_MAX_CPUS='4' -DCONFIG_MAX_PHYSICAL_CPUS='4' -DCONFIG_LOGICAL_CPUS='0' -DSERIAL_CPU_INIT='1' -DAPIC_ID_OFFSET='0' -DENABLE_APIC_EXT_ID='0' -DLIFT_BSP_APIC_ID='0' -DCONFIG_IDE_PAYLOAD='0' -DCONFIG_ROM_PAYLOAD='1' -DCONFIG_ROM_PAYLOAD_START='0xfff80000' -DCONFIG_COMPRESSED_PAYLOAD_NRV2B='0' -DCONFIG_COMPRESSED_PAYLOAD_LZMA='0' -DCONFIG_PRECOMPRESSED_PAYLOAD='0' -DCONFIG_SERIAL_PAYLOAD='0' -DCONFIG_FS_PAYLOAD='0' -DCONFIG_FS_EXT2='0' -DCONFIG_FS_ISO9660='0' -DCONFIG_FS_FAT='0' -DAUTOBOOT_DELAY='2' -DAUTOBOOT_CMDLINE='"hdc1:/vmlinuz root=/dev/hdc3 console=tty0 console=ttyS0,115200"' -DUSE_WATCHDOG_ON_BOOT='0' -DCONFIG_HYPERTRANSPORT_PLUGIN_SUPPORT='1' -DCONFIG_AGP_PLUGIN_SUPPORT='1' -DCONFIG_CARDBUS_PLUGIN_SUPPORT='1' -DCONFIG_PCIX_PLUGIN_SUPPORT='1' -DCONFIG_PCIEXP_PLUGIN_SUPPORT='1' -DCONFIG_IDE='0' -DIDE_BOOT_DRIVE='0' -DIDE_OFFSET='0' -DPCI_IO_CFG_EXT='0' -DCONFIG_CHIP_NAME='0' -DHAVE_INIT_TIMER='1' -DMAX_REBOOT_CNT='3' -DFAKE_SPDROM='0' -DHAVE_ACPI_TABLES='0' -DACPI_SSDTX_NUM='0' -DHT_CHAIN_UNITID_BASE='1' -DHT_CHAIN_END_UNITID_BASE='32' -DSB_HT_CHAIN_UNITID_OFFSET_ONLY='1' -DSB_HT_CHAIN_ON_BUS0='0' -DPCI_BUS_SEGN_BITS='0' -DMMCONF_SUPPORT='0' -DHW_MEM_HOLE_SIZEK='0' -DHW_MEM_HOLE_SIZE_AUTO_INC='0' -DK8_HT_FREQ_1G_SUPPORT='0' -DK8_REV_F_SUPPORT='0' -DCBB='0' -DCDB='24' -DDIMM_SUPPORT='0x108' -DCPU_SOCKET_TYPE='16' -DCPU_ADDR_BITS='40' -DCONFIG_PCI_ROM_RUN='0' -DCONFIG_PCI_64BIT_PREF_MEM='0' -DHAVE_MP_TABLE='1' -DHAVE_PIRQ_TABLE='1' -DUSE_FALLBACK_IMAGE='0' -DHAVE_HARD_RESET='1' -DIRQ_SLOT_COUNT='9' -DCONFIG_IOAPIC='1' -DFALLBACK_SIZE='0x40000' -DROM_SIZE='0x80000' -DROM_SECTION_SIZE='0x40000' -DROM_SECTION_OFFSET='0x0' -DXIP_ROM_SIZE='0x10000' -DXIP_ROM_BASE='0xfffb0000' -DLINUXBIOS_EXTRA_VERSION='".0-normal"' -DMAINBOARD_POWER_ON_AFTER_POWER_FAIL='MAINBOARD_POWER_ON' -DCONFIG_UDELAY_IO='0' -DUSE_FAILOVER_IMAGE='0' -DAGP_APERTURE_SIZE='0x4000000' -DCONFIG_UDELAY_TSC='0' -DCONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2='0' /home/ccases/LinuxBIOSv2/util/options/build_opt_tbl.c -o build_opt_tbl' make[1]: *** [build_opt_tbl] Erreur 2 make[1]: Leaving directory `/home/ccases/LinuxBIOSv2/util/abuild/linuxbios-builds/amd_quartet/normal' make: *** [normal/linuxbios.rom] Erreur 1
It's the same message for all of the mainboard,
I use debian and suse the last version, debian have gcc 3.3.5 & cpp 3.3.5 and suse have gcc 4.0.2 & cpp 4.0.2
I don't understand why the compilation doesn't work, if you have an idea ?
thank's by advance
CCases
* ccases@navista.fr ccases@navista.fr [070306 11:13]:
Hi,
If I use autobuild (abuild), I have this message :
Processing mainboard/amd/quartet (i386: ok) Using existing test target
-DLINUXBIOS_ASSEMBLER='"Version de l'assembleur GNU 2.15 (i386-linux) utilisant la version BFD 2.15"' -DCONFIG_USE_INIT='0' make[1]: *** [build_opt_tbl] Erreur 2 make[1]: Leaving directory
There might be some problems with setting the language to french. Can you try export LANG="" before compiling LinuxBIOS and see if it changes something?
Another idea... have you checked out the tree on a windows box?
There might be some problems with setting the language to french. Can you try export LANG="" before compiling LinuxBIOS and see if it changes something?
Thank's, I have test and the compilation work (not complet because I have forget an link for etherboot)
Another idea... have you checked out the tree on a windows box?
I don't understand.
Thank's for your help
CCASES
On Tue, Mar 06, 2007 at 02:20:24PM +0100, ccases@navista.fr wrote:
There might be some problems with setting the language to french. Can you try export LANG="" before compiling LinuxBIOS and see if it changes something?
Thank's, I have test and the compilation work (not complet because I have forget an link for etherboot)
Another idea... have you checked out the tree on a windows box?
I don't understand.
Are you working on a Windows machine or on a Linux machine?
I.e. do you use something like Cygwin in Windows?
Uwe.
On Tue, Mar 06, 2007 at 02:20:24PM +0100, ccases@navista.fr wrote:
There might be some problems with setting the language to french. Can you try export LANG="" before compiling LinuxBIOS and see if it
changes
something?
Thank's, I have test and the compilation work (not complet because I have forget an link for etherboot)
Another idea... have you checked out the tree on a windows box?
I don't understand.
Are you working on a Windows machine or on a Linux machine?
I.e. do you use something like Cygwin in Windows?
Uwe.
http://www.hermann-uwe.de | http://www.holsham-traders.de http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
I use an Linux machine (debian and suse), for now it's ok I have change the language. but I have an error, only the fallback mode compil not the normal mode.
the message is :
[..] VER_IMAGE='0' -Os -nostdinc -nostdlib -fno-builtin -Wall -o rom_stream.o /home/ccases/LinuxBIOSv2/src/stream/rom_stream.c /home/ccases/LinuxBIOSv2/src/stream/rom_stream.c:47:90: invalid suffix "x" on integer constant /home/ccases/LinuxBIOSv2/src/stream/rom_stream.c: In function `stream_init': /home/ccases/LinuxBIOSv2/src/stream/rom_stream.c:83: warning: comparison between pointer and integer /home/ccases/LinuxBIOSv2/src/stream/rom_stream.c:83: warning: comparison between pointer and integer /home/ccases/LinuxBIOSv2/src/stream/rom_stream.c:84: warning: assignment makes pointer from integer without a cast make[1]: *** [rom_stream.o] Error 1 make[1]: Leaving directory `/home/ccases/LinuxBIOSv2/targets/advantech/pcm-5823/pcm-5823/normal' make: *** [normal/linuxbios.rom] Error 1
thank's by advance for your help.
Regards
CCases
* ccases@navista.fr ccases@navista.fr [070307 09:04]:
I use an Linux machine (debian and suse), for now it's ok I have change the language. but I have an error, only the fallback mode compil not the normal mode.
the message is :
[..] VER_IMAGE='0' -Os -nostdinc -nostdlib -fno-builtin -Wall -o rom_stream.o /home/ccases/LinuxBIOSv2/src/stream/rom_stream.c /home/ccases/LinuxBIOSv2/src/stream/rom_stream.c:47:90: invalid suffix "x" on integer constant
This is nasty. Some offset is getting negative. This indicates a problem in your config file. Which target config.lb did you use?
On Tue, Mar 06, 2007 at 11:13:07AM +0100, ccases@navista.fr wrote:
If I use autobuild (abuild), I have this message :
Compiling image ..FAILED after 4s! Log excerpt: /bin/sh: -c: line 1: syntax error near unexpected token `(' /bin/sh: -c: line 1: `gcc -Os -Wall -DARCH='i386' -DHAVE_MOVNTI='1'
[..]
v v-- Extra ' ending the quote
-DLINUXBIOS_ASSEMBLER='"Version de l'assembleur GNU 2.15 (i386-linux) utilisant la version BFD 2.15"' -DCONFIG_USE_INIT='0'
^-- This is the intended one
[..]
It's the same message for all of the mainboard,
I use debian and suse the last version, debian have gcc 3.3.5 & cpp 3.3.5 and suse have gcc 4.0.2 & cpp 4.0.2
I don't understand why the compilation doesn't work, if you have an idea ?
The LinuxBIOS build system does not always work properly with non-english locales where ' or " may appear in messages from assembler.
Try overriding your locale:
export LC_ALL=en_US buildtarget make
//Peter
On Tue, Mar 06, 2007 at 11:13:07AM +0100, ccases@navista.fr wrote:
If I use autobuild (abuild), I have this message :
Compiling image ..FAILED after 4s! Log excerpt: /bin/sh: -c: line 1: syntax error near unexpected token `(' /bin/sh: -c: line 1: `gcc -Os -Wall -DARCH='i386' -DHAVE_MOVNTI='1'
[..]
v v-- Extra ' ending the quote
-DLINUXBIOS_ASSEMBLER='"Version de l'assembleur GNU 2.15 (i386-linux) utilisant la version BFD 2.15"' -DCONFIG_USE_INIT='0'
^-- This is the intended one
[..]
It's the same message for all of the mainboard,
I use debian and suse the last version, debian have gcc 3.3.5 & cpp 3.3.5 and suse have gcc 4.0.2 & cpp 4.0.2
I don't understand why the compilation doesn't work, if you have an idea ?
The LinuxBIOS build system does not always work properly with non-english locales where ' or " may appear in messages from assembler.
Try overriding your locale:
export LC_ALL=en_US buildtarget make
//Peter
-- linuxbios mailing list linuxbios@linuxbios.org http://www.openbios.org/mailman/listinfo/linuxbios
[...] le >> ldscript.ld ; done gcc -m32 -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld crt0.o nm -n linuxbios | sort > linuxbios.map objcopy --gap-fill 0xff -O binary linuxbios linuxbios.strip make[1]: *** No rule to make target `/rtl8139.elf', needed by `payload.nrv2b'. Stop. make[1]: Leaving directory `/home/ccases/LinuxBIOSv2/targets/advantech/pcm-5823/pcm-5823/fallback' make: *** [fallback/linuxbios.rom] Error 1
It's ok now but I have this message, I don't know or I puts the file *.elf or the link for the file, my architecture is like that :
$/home/ccases/LinuxBIOSv2/.. $/home/ccases/etherboot-5.2.6/..
Thank's by advance for your help ;)
regards CCases
On Tue, Mar 06, 2007 at 03:11:19PM +0100, ccases@navista.fr wrote:
make[1]: *** No rule to make target `/rtl8139.elf', needed by `payload.nrv2b'. Stop. make[1]: Leaving directory `/home/ccases/LinuxBIOSv2/targets/advantech/pcm-5823/pcm-5823/fallback' make: *** [fallback/linuxbios.rom] Error 1
It's ok now but I have this message, I don't know or I puts the file *.elf or the link for the file, my architecture is like that :
$/home/ccases/LinuxBIOSv2/.. $/home/ccases/etherboot-5.2.6/..
Change the payload line in /home/ccases/LinuxBIOSv2/targets/advantech/pcm-5823/Config.lb
from: payload /rtl8139.elf
to: payload /home/ccases/etherboot-5.2.6/src/bin/rtl8139.elf
and then rerun buildtarget and then make.
//Peter
On Tue, Mar 06, 2007 at 03:11:19PM +0100, ccases@navista.fr wrote:
make[1]: *** No rule to make target `/rtl8139.elf', needed by `payload.nrv2b'. Stop. make[1]: Leaving directory `/home/ccases/LinuxBIOSv2/targets/advantech/pcm-5823/pcm-5823/fallback' make: *** [fallback/linuxbios.rom] Error 1
It's ok now but I have this message, I don't know or I puts the file *.elf or the link for the file, my architecture is like that :
$/home/ccases/LinuxBIOSv2/.. $/home/ccases/etherboot-5.2.6/..
Change the payload line in /home/ccases/LinuxBIOSv2/targets/advantech/pcm-5823/Config.lb
from: payload /rtl8139.elf
to: payload /home/ccases/etherboot-5.2.6/src/bin/rtl8139.elf
and then rerun buildtarget and then make.
//Peter
-- linuxbios mailing list linuxbios@linuxbios.org http://www.openbios.org/mailman/listinfo/linuxbios
It's ok now he compil in fallback not in normal, what is with the config on which I am to rest to make my files (iei nova4899r, because it's the same technologie of mainboard)
thank's for your help ;)
regards
Ccases
On Tue, Mar 06, 2007 at 03:55:27PM +0100, ccases@navista.fr wrote:
It's ok now he compil in fallback not in normal, what is with the config on which I am to rest to make my files (iei nova4899r, because it's the same technologie of mainboard)
Sorry, I don't understand you.
Is there a problem still? Could you provide an error message?
thank's for your help ;)
You're welcome!
//Peter