[LinuxBIOS] FILO build error

scott scott at waye.co.uk
Sat May 6 18:58:25 CEST 2006


Hi,

I am new to this project, but I want to flash my EPIA MII 6000 to get 
better boot times.  I have downloaded filo (0.5) and have edited the 
Config file to remove GRUB because I dont want a menu, I just want it to 
boot a single image which I understand to be the autoboot option.  I get 
this error when I run make:

ld -N -T i386/ldscript -o filo main/builtin.o main/grub/builtin.o 
fs/builtin.o drivers/builtin.o drivers/usb/builtin.o i386/builtin.o 
/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/libgcc.a
drivers/usb/builtin.o(.text+0xcb): In function `dump_td':
: undefined reference to `grub_strcpy'
drivers/usb/builtin.o(.text+0x19d): In function `dump_queue_head':
: undefined reference to `grub_strcpy'
drivers/usb/builtin.o(.text+0x2c4): In function `dump_transaction':
: undefined reference to `grub_strcpy'
drivers/usb/builtin.o(.text+0x306): In function `dump_usbdev':
: undefined reference to `grub_strcpy'
drivers/usb/builtin.o(.text+0x37e): In function `dump_config_descriptor':
: undefined reference to `grub_strcpy'
drivers/usb/builtin.o(.text+0x3a0): more undefined references to 
`grub_strcpy' follow
drivers/usb/builtin.o(.text+0x3089): In function `configure_device':
: undefined reference to `grub_printf'
drivers/usb/builtin.o(.text+0x32e7): In function `configure_device':
: undefined reference to `grub_printf'
drivers/usb/builtin.o(.text+0x3321): In function `configure_device':
: undefined reference to `grub_printf'
drivers/usb/builtin.o(.text+0x3345): In function `configure_device':
: undefined reference to `grub_printf'
drivers/usb/builtin.o(.text+0x3366): In function `configure_device':
: undefined reference to `grub_printf'

Here is my Config:

# !!! NOTE !!!
# Do NOT add spaces or comments at the end of option lines.
# It confuses some versions of make.

# Use grub instead of autoboot?
USE_GRUB = 0

# Grub menu.lst path
#MENULST_FILE = "hda3:/boot/filo/menu.lst"

# Image filename for automatic boot and optional command line parameter
AUTOBOOT_FILE = "hda1:/boot/vmlinuz root=/dev/hda1 console=ttyS0,38400"
#AUTOBOOT_FILE = "mem at 0xfff80000"
#AUTOBOOT_FILE = "hde1 at 0"
#AUTOBOOT_FILE = "uda1:/vmlinuz.elf"

# Time in second before booting AUTOBOOT_FILE
AUTOBOOT_DELAY = 1

# Driver for hard disk, CompactFlash, and CD-ROM on IDE bus
IDE_DISK = 1

# Add a short delay when polling status registers
# (required on some broken SATA controllers)
IDE_DISK_POLL_DELAY = 1

# Driver for USB Storage
USB_DISK = 1

# VGA text console
VGA_CONSOLE = 1
PC_KEYBOARD = 1

# Serial console
SERIAL_CONSOLE = 1
SERIAL_IOBASE = 0x3f8
# if SERIAL_SPEED is commented out, the speed will not be changed.
#SERIAL_SPEED = 115200

# Filesystems
FSYS_EXT2FS = 1
#FSYS_FAT = 1
#FSYS_JFS = 1
#FSYS_MINIX = 1
FSYS_REISERFS = 1
#FSYS_XFS = 1
#FSYS_ISO9660 = 1

# Support for boot disk image in bootable CD-ROM (El Torito)
#ELTORITO = 1

# PCI support
SUPPORT_PCI = 1

# Enable this to scan PCI busses above bus 0
# AMD64 based boards do need this.
#PCI_BRUTE_SCAN = 1

# Sound support (needs SUPPORT_PCI)
#SUPPORT_SOUND = 1

# Sound drivers
#VIA_SOUND = 1

# Debugging
#DEBUG_ALL = 1
#DEBUG_ELFBOOT = 1
#DEBUG_ELFNOTE = 1
#DEBUG_LINUXBIOS = 1
#DEBUG_MALLOC = 1
#DEBUG_MULTIBOOT = 1
#DEBUG_SEGMENT = 1
#DEBUG_SYS_INFO = 1
#DEBUG_TIMER = 1
#DEBUG_BLOCKDEV = 1
#DEBUG_PCI = 1
#DEBUG_VIA_SOUND = 1
#DEBUG_LINUXLOAD = 1
#DEBUG_IDE = 1
#DEBUG_USB = 1
#DEBUG_ELTORITO = 1

# i386 options

# Loader for standard Linux kernel image, a.k.a. /vmlinuz
LINUX_LOADER = 1

# Boot FILO from Multiboot loader (eg. GRUB)
#MULTIBOOT_IMAGE = 1

# Use PCI Configuration Mechanism #1 (most boards)
PCI_CONFIG_1 = 1







More information about the coreboot mailing list