make rom problem!
Serafino Sorrenti
s.sorrenti at regia.tv
Mon May 5 06:05:01 CEST 2003
# This will make a target directory of ./pcchips
target pcchips
# PCCHIPS M810LMR mainboard
mainboard pcchips/m810lmr
# We are using a k7 cpu (???)
cpu k7
# Set up udelay - needed
option CONFIG_UDELAY_TSC=1
# This SHOULD enable the video console with messages about what's going on
option VIDEO_CONSOLE=1
# Enable Serial Console for debugging
option SERIAL_CONSOLE=1
# Sets the log level, from 9 to 1 (???)
option DEFAULT_CONSOLE_LOGLEVEL=6
# More debug options
option SERIAL_POST=1
# Enables ethernet (?)
option ENABLE_MII=1
# use DOC MIL
option USE_DOC_MIL=1
docipl northsouthbridge/sis/730/ipl.S
# Use the internal VGA frame buffer device
option HAVE_FRAMEBUFFER=1
# Sets the amount of framebuffer memory
# 0x80 (2MB/4MB)
# 0x90 (4MB/8MB)
# 0xA0 (8MB/16MB)
# 0xB0 (16MB/32MB)
# 0xC0 (32MB/64MB)
# 0xD0 (64MB/na)
option SMA_SIZE=0xC0
# Enables IDE boot
option BOOT_IDE=1
# Selects which IDE device should boot from, using the following table:
# /dev/hda -> 0
# /dev/hdb -> 1
# /dev/hdc -> 2
# /dev/hdd -> 3
option IDE_BOOT_DRIVE=0
# Partition table size (should be left untouched?)
option ONE_TRACK=32
# Need to "relocate the gdt" to use a standard flash part (???)
biosbase 0xffff0000
# Path to your kernel (vmlinux)
linux /usr/src/linux
# Kernel command line parameters
commandline root=/dev/hda1 console=ttyS0,115200 console=tty0 single
This is my config file but when i done the make command in pcchips directory
this is the error.
gcc ... -o superio_sis_950.o /home/fino/src/superio/sis/950/superio.c
/home/fino/src/superio/sis/950/superio.c:2: warning: `rcsid' defined but not
used
gcc ... -o nsuperio.o nsuperio.c
gcc ... -o mainboard.o /home/fino/src/mainboard/pcchips/m810lmr/mainboard.c
gcc ... -o irq_tables.o
/home/fino/src/mainboard/pcchips/m810lmr/irq_tables.c
gcc ... -o cpuid.o /home/fino/src/cpu/p5/cpuid.c
/home/fino/src/cpu/p5/cpuid.c:3: warning: `rcsid' defined but not used
gcc ... -o delay_tsc.o /home/fino/src/cpu/p5/delay_tsc.c
/home/fino/src/cpu/p5/delay_tsc.c: In function `calibrate_tsc':
/home/fino/src/cpu/p5/delay_tsc.c:102: warning: unused variable `allones'
gcc ... -o microcode.o /home/fino/src/cpu/p6/microcode.c
/home/fino/src/cpu/p6/microcode.c:7: warning: `rcsid' defined but not used
gcc ... -o mtrr.o /home/fino/src/cpu/p6/mtrr.c
/home/fino/src/cpu/p6/mtrr.c: In function `set_var_mtrr':
/home/fino/src/cpu/p6/mtrr.c:132: warning: unused variable `tmp'
/home/fino/src/cpu/p6/mtrr.c: At top level:
/home/fino/src/cpu/p6/mtrr.c:29: warning: `rcsid' defined but not used
gcc ... -o l2_cache.o /home/fino/src/cpu/p6/l2_cache.c
/home/fino/src/cpu/p6/l2_cache.c:33: warning: `rcsid' defined but not used
gcc ... -o cpufixup.o /home/fino/src/cpu/k7/cpufixup.c
/home/fino/src/cpu/k7/cpufixup.c:8:1: warning: "TOP_MEM" redefined
In file included from /home/fino/src/cpu/k7/cpufixup.c:6:
/home/fino/src/include/cpu/k7/mtrr.h:38:1: warning: this is the location of
the previous definition
/home/fino/src/cpu/k7/cpufixup.c:9:1: warning: "TOP_MEM2" redefined
/home/fino/src/include/cpu/k7/mtrr.h:39:1: warning: this is the location of
the previous definition
rm -f linuxbios.a
ar cr linuxbios.a linuxbiosmain.o linuxpci.o newpci.o clog2.o printk.o
serial_subr.o video_subr.o subr.o vsprintf.o memset.o memcpy.o memcmp.o
malloc.o do_inflate.o delay.o compute_ip_checksum.o version.o keyboard.o
mc146818rtc.o isa-dma.o vga_load_regs.o font_8x16.o vga_set_mode.o
vga_load_pcx.o ide.o boot.o linuxbios_table.o i386_subr.o params.o
hardwaremain.o pirq_routing.o c_start.o southbridge.o northbridge.o
superio_sis_950.o nsuperio.o mainboard.o irq_tables.o keyboard.o cpuid.o
delay_tsc.o microcode.o mtrr.o l2_cache.o cpufixup.o cpufixup.o
gcc -nostdlib -r -o linuxbios_c.o c_start.o docmil_fill_inbuf.o
ide_fill_inbuf.o linuxbios.a /usr/lib/gcc-lib/i386-linux/3.2.3/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
gcc -nostdlib -nostartfiles -static -o linuxbios_c -T
/home/fino/src/config/linuxbios_c.ld linuxbios_c.o
linuxbios_c.o(.text+0x45a7): In function `video_tx_byte':
: undefined reference to `beep'
collect2: ld returned 1 exit status
make: *** [linuxbios_c] Error 1
samyr:/home/fino/freebios/util/config/pcchips#
Tnx Serafino
More information about the coreboot
mailing list