this is more of those
option whatever
which need to change to
option whatever=1
I will try to get to this later today.
SOrry!
ron
---------- Forwarded message ----------
Date: 21 Jan 2002 10:24:37 -0700
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: LinuxBIOS help me!
Name: Stefan Bambach ([EMAIL PROTECTED])
Mainboard: Gigabit GA-6BXC
Flash part: ??
lspci output:
no output, because the compiling stage does not work
Comments:
Hello Linuxbios Team,
I tried to build linuxbios with ga-6bxc config from your actual CVS repository. kernel
is ready and booting from floppy works well.
Config Tool result:
===================
[root@ap-lnx-stefanb build]# python ../freebios/util/config/NLBConfig.py
ga-6bxc.config /home/stefanb/linuxbios/freebios/
Will place Makefile, crt0.S, etc. in /home/stefanb/linuxbios/build/ga-6bxc
Process config file:
/home/stefanb/linuxbios/freebios/src/mainboard/gigabit/ga-6bxc/Config
Now Process the i386 base files
Added ldscript init file:
/home/stefanb/linuxbios/freebios/src/arch/i386/config/ldscript.base
Process config file: /home/stefanb/linuxbios/freebios/src/config/Config
Process config file: /home/stefanb/linuxbios/freebios/src/lib/Config
Process config file: /home/stefanb/linuxbios/freebios/src/boot/Config
Process config file: /home/stefanb/linuxbios/freebios/src/rom/Config
Process config file: /home/stefanb/linuxbios/freebios/src/arch/i386/Config
Process config file: /home/stefanb/linuxbios/freebios/src/arch/i386/boot/Config
Process config file: /home/stefanb/linuxbios/freebios/src/arch/i386/lib/Config
Process config file: /home/stefanb/linuxbios/freebios/src/arch/i386/smp/Config
Added mainboard init file: cpu/i386/entry16.inc
Added mainboard init file: cpu/i386/entry32.inc
Added ldscript init file: /home/stefanb/linuxbios/freebios/src/cpu/i386/entry16.lds
Added ldscript init file: /home/stefanb/linuxbios/freebios/src/cpu/i386/entry32.lds
Added mainboard init file: cpu/i386/reset16.inc
Added ldscript init file: /home/stefanb/linuxbios/freebios/src/cpu/i386/reset16.lds
Added mainboard init file: superio/ITE/it8671f/setup_serial.inc
Added mainboard init file: pc80/serial.inc
Added mainboard init file: arch/i386/lib/console.inc
Process config file:
/home/stefanb/linuxbios/freebios/src/northbridge/intel/440bx/Config
Added ram init file: northbridge/intel/440bx/raminit.inc
Added ram init file: sdram/generic_sdram.inc
Added ram init file: sdram/generic_sdram_enable.inc
Process config file:
/home/stefanb/linuxbios/freebios/src/southbridge/intel/piix4e/Config
Added mainboard init file: cpu/p6/earlymtrr.inc
Process config file: /home/stefanb/linuxbios/freebios/src/cpu/p5/Config
Process config file: /home/stefanb/linuxbios/freebios/src/cpu/p6/Config
Creating /home/stefanb/linuxbios/build/ga-6bxc/Makefile.settings
Creating /home/stefanb/linuxbios/build/ga-6bxc/Makefile
Creating /home/stefanb/linuxbios/build/ga-6bxc/crt0_includes.h
Creating /home/stefanb/linuxbios/build/ga-6bxc/nsuperio.c
Creating /home/stefanb/linuxbios/build/ga-6bxc/LinuxBIOSDoc.config
changed in ga-6bxc directory and typed:
=======================================
[root@ap-lnx-stefanb ga-6bxc]$ make
cp /home/stefanb/linuxbios/freebios/src/arch/i386/config/crt0.base crt0.S
gcc -x assembler-with-cpp -DASSEMBLY -E ... crt0.S > crt0.s
gcc ... -o crt0.o crt0.s
gcc ... -o docmil_fill_inbuf.o
/home/stefanb/linuxbios/freebios/src/rom/docmil_fill_inbuf.c
gcc ... -o linuxbiosmain.o /home/stefanb/linuxbios/freebios/src/lib/linuxbiosmain.c
gcc ... -o linuxpci.o /home/stefanb/linuxbios/freebios/src/lib/linuxpci.c
/home/stefanb/linuxbios/freebios/src/lib/linuxpci.c:13: warning: `rcsid' defined but
not used
gcc ... -o newpci.o /home/stefanb/linuxbios/freebios/src/lib/newpci.c
/home/stefanb/linuxbios/freebios/src/lib/newpci.c:14: warning: `rcsid' defined but not
used
gcc ... -o printk.o /home/stefanb/linuxbios/freebios/src/lib/printk.c
/home/stefanb/linuxbios/freebios/src/lib/printk.c:9: warning: `rcsid' defined but not
used
gcc ... -o serial_subr.o /home/stefanb/linuxbios/freebios/src/lib/serial_subr.c
/home/stefanb/linuxbios/freebios/src/lib/serial_subr.c:2: warning: `rcsid' defined but
not used
gcc ... -o subr.o /home/stefanb/linuxbios/freebios/src/lib/subr.c
/home/stefanb/linuxbios/freebios/src/lib/subr.c:8: warning: `rcsid' defined but not
used
gcc ... -o vsprintf.o /home/stefanb/linuxbios/freebios/src/lib/vsprintf.c
/home/stefanb/linuxbios/freebios/src/lib/vsprintf.c:13: warning: `rcsid' defined but
not used
gcc ... -o memset.o /home/stefanb/linuxbios/freebios/src/lib/memset.c
gcc ... -o memcpy.o /home/stefanb/linuxbios/freebios/src/lib/memcpy.c
gcc ... -o memcmp.o /home/stefanb/linuxbios/freebios/src/lib/memcmp.c
gcc ... -o malloc.o /home/stefanb/linuxbios/freebios/src/lib/malloc.c
gcc ... -o elfboot.o /home/stefanb/linuxbios/freebios/src/lib/elfboot.c
gcc ... -o do_inflate.o /home/stefanb/linuxbios/freebios/src/lib/do_inflate.c
In file included from /home/stefanb/linuxbios/freebios/src/lib/do_inflate.c:67:
/home/stefanb/linuxbios/freebios/src/lib/inflate.c: In function `gunzip':
/home/stefanb/linuxbios/freebios/src/lib/inflate.c:1100: warning: value computed is
not used
/home/stefanb/linuxbios/freebios/src/lib/inflate.c:1101: warning: value computed is
not used
/home/stefanb/linuxbios/freebios/src/lib/inflate.c:1102: warning: value computed is
not used
gcc ... -o floppy_subr.o /home/stefanb/linuxbios/freebios/src/lib/floppy_subr.c
/home/stefanb/linuxbios/freebios/src/lib/floppy_subr.c: In function `floppy_seek':
/home/stefanb/linuxbios/freebios/src/lib/floppy_subr.c:719: warning: unused variable
`i'
/home/stefanb/linuxbios/freebios/src/lib/floppy_subr.c: At top level:
/home/stefanb/linuxbios/freebios/src/lib/floppy_subr.c:231: warning: `bounce_motor'
defined but not used
gcc ... -o delay.o /home/stefanb/linuxbios/freebios/src/lib/delay.c
gcc ... -o compute_ip_checksum.o
/home/stefanb/linuxbios/freebios/src/lib/compute_ip_checksum.c
gcc ... -o boot.o /home/stefanb/linuxbios/freebios/src/arch/i386/boot/boot.c
gcc ... -o linuxbios_table.o
/home/stefanb/linuxbios/freebios/src/arch/i386/boot/linuxbios_table.c
gcc ... -o i386_subr.o /home/stefanb/linuxbios/freebios/src/arch/i386/lib/i386_subr.c
gcc ... -o params.o /home/stefanb/linuxbios/freebios/src/arch/i386/lib/params.c
/home/stefanb/linuxbios/freebios/src/arch/i386/lib/params.c:26: warning: `rcsid'
defined but not used
gcc ... -o hardwaremain.o
/home/stefanb/linuxbios/freebios/src/arch/i386/lib/hardwaremain.c
/home/stefanb/linuxbios/freebios/src/arch/i386/lib/hardwaremain.c:32: warning: `rcsid'
defined but not used
gcc ... -o northbridge.o
/home/stefanb/linuxbios/freebios/src/northbridge/intel/440bx/northbridge.c
gcc ... -o southbridge.o
/home/stefanb/linuxbios/freebios/src/southbridge/intel/piix4e/southbridge.c
gcc ... -o superio.o /home/stefanb/linuxbios/freebios/src/superio/ITE/it8671f/superio.c
gcc ... -o mainboard.o
/home/stefanb/linuxbios/freebios/src/mainboard/gigabit/ga-6bxc/mainboard.c
/home/stefanb/linuxbios/freebios/src/mainboard/gigabit/ga-6bxc/mainboard.c: In
function `mainboard_fixup':
/home/stefanb/linuxbios/freebios/src/mainboard/gigabit/ga-6bxc/mainboard.c:9: warning:
implicit declaration of function `nvram_on'
/home/stefanb/linuxbios/freebios/src/mainboard/gigabit/ga-6bxc/mainboard.c:11:
warning: implicit declaration of function `intel_display_cpuid'
/home/stefanb/linuxbios/freebios/src/mainboard/gigabit/ga-6bxc/mainboard.c:12:
warning: implicit declaration of function `intel_mtrr_check'
/home/stefanb/linuxbios/freebios/src/mainboard/gigabit/ga-6bxc/mainboard.c:14:
warning: implicit declaration of function `intel_zero_irq_settings'
/home/stefanb/linuxbios/freebios/src/mainboard/gigabit/ga-6bxc/mainboard.c:15:
warning: implicit declaration of function `intel_check_irq_routing_table'
/home/stefanb/linuxbios/freebios/src/mainboard/gigabit/ga-6bxc/mainboard.c:16:
warning: implicit declaration of function `intel_interrupts_on'
gcc ... -o irq_tables.o
/home/stefanb/linuxbios/freebios/src/mainboard/gigabit/ga-6bxc/irq_tables.c
gcc ... -o mtrr_table.o
/home/stefanb/linuxbios/freebios/src/mainboard/gigabit/ga-6bxc/mtrr_table.c
gcc ... -o cpuid.o /home/stefanb/linuxbios/freebios/src/cpu/p5/cpuid.c
/home/stefanb/linuxbios/freebios/src/cpu/p5/cpuid.c:3: warning: `rcsid' defined but
not used
gcc ... -o microcode.o /home/stefanb/linuxbios/freebios/src/cpu/p6/microcode.c
/home/stefanb/linuxbios/freebios/src/cpu/p6/microcode.c:7: warning: `rcsid' defined
but not used
gcc ... -o mtrr.o /home/stefanb/linuxbios/freebios/src/cpu/p6/mtrr.c
/home/stefanb/linuxbios/freebios/src/cpu/p6/mtrr.c: In function `setup_mtrrs':
/home/stefanb/linuxbios/freebios/src/cpu/p6/mtrr.c:307: warning: unused variable
`romendK'
/home/stefanb/linuxbios/freebios/src/cpu/p6/mtrr.c: At top level:
/home/stefanb/linuxbios/freebios/src/cpu/p6/mtrr.c:29: warning: `rcsid' defined but
not used
gcc ... -o l2_cache.o /home/stefanb/linuxbios/freebios/src/cpu/p6/l2_cache.c
/home/stefanb/linuxbios/freebios/src/cpu/p6/l2_cache.c:33: warning: `rcsid' defined
but not used
rm -f linuxbios.a
ar cr linuxbios.a crt0.o linuxbiosmain.o linuxpci.o newpci.o printk.o serial_subr.o
subr.o vsprintf.o memset.o memcpy.o memcmp.o malloc.o elfboot.o do_inflate.o
floppy_subr.o delay.o compute_ip_checksum.o boot.o linuxbios_table.o i386_subr.o
params.o hardwaremain.o northbridge.o southbridge.o superio.o mainboard.o irq_tables.o
mtrr_table.o cpuid.o microcode.o mtrr.o l2_cache.o
gcc -nostdlib -r -o linuxbios.o crt0.o docmil_fill_inbuf.o linuxbios.a
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libgcc.a
perl -e 'foreach $var (split(" ", $ENV{VARIABLES})) { if ($ENV{$var} =~
m/^(0x[0-9a-fA-F]+|0[0-7]+|[0-9]+)$/) { print "$var = $ENV{$var};\n"; }}' > ldoptions
echo "INCLUDE ldoptions" > ldscript.ld ; for file in
/home/stefanb/linuxbios/freebios/src/arch/i386/config/ldscript.base
/home/stefanb/linuxbios/freebios/src/cpu/i386/entry16.lds
/home/stefanb/linuxbios/freebios/src/cpu/i386/entry32.lds
/home/stefanb/linuxbios/freebios/src/cpu/i386/reset16.lds ; do echo "INCLUDE $file" >>
ldscript.ld ; done
gcc -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld linuxbios.o
linuxbios.o: In function `write_tables':
linuxbios.o(.text+0x84): undefined reference to `check_pirq_routing_table'
linuxbios.o(.text+0x8c): undefined reference to `copy_pirq_routing_table'
linuxbios.o: In function `mainboard_fixup':
linuxbios.o(.text+0x21b): undefined reference to `intel_display_cpuid'
linuxbios.o(.text+0x220): undefined reference to `intel_mtrr_check'
linuxbios.o(.text+0x225): undefined reference to `intel_zero_irq_settings'
linuxbios.o(.text+0x22a): undefined reference to `intel_check_irq_routing_table'
linuxbios.o(.text+0x230): undefined reference to `intel_interrupts_on'
collect2: ld returned 1 exit status
make: *** [linuxbios] Error 1
What's the problem ???
I do not find any of these functions in source tree ! Where do they come from ??
thx. Stefan