Tiger MPX & LinuxBIOS

Jeff Noxon jeff at planetfall.com
Thu Aug 7 15:30:01 CEST 2003


Howdy, I'm the newbie du jour.

I'm attempting to get Linuxbios working on an EPIA 533 and a Tyan Tiger
MPX (S2466N-4M).  I was able to build an EPIA BIOS w/o trouble using
the Howto.  Applying the same principles to the Tiger, I am running
into trouble.

Can someone please help?

TIA,

Jeff

---- cut here ----

hedgehog:/usr/src/linuxbios/TigerMPX-primary# make
Makefile:602: warning: overriding commands for target `keyboard.o'
Makefile:479: warning: ignoring old commands for target `keyboard.o'
Makefile:605: warning: overriding commands for target `mc146818rtc.o'
Makefile:482: warning: ignoring old commands for target `mc146818rtc.o'
Makefile:608: warning: overriding commands for target `isa-dma.o'
Makefile:485: warning: ignoring old commands for target `isa-dma.o'
Makefile:611: warning: overriding commands for target `i8259.o'
Makefile:488: warning: ignoring old commands for target `i8259.o'
Makefile:614: warning: overriding commands for target `udelay_timer2.o'
Makefile:491: warning: ignoring old commands for target `udelay_timer2.o'
Makefile:617: warning: overriding commands for target `beep.o'
Makefile:494: warning: ignoring old commands for target `beep.o'
Makefile:620: warning: overriding commands for target `vga_load_regs.o'
Makefile:497: warning: ignoring old commands for target `vga_load_regs.o'
Makefile:623: warning: overriding commands for target `font_8x16.o'
Makefile:500: warning: ignoring old commands for target `font_8x16.o'
Makefile:626: warning: overriding commands for target `vga_set_mode.o'
Makefile:503: warning: ignoring old commands for target `vga_set_mode.o'
Makefile:629: warning: overriding commands for target `vga_load_pcx.o'
Makefile:506: warning: ignoring old commands for target `vga_load_pcx.o'
Makefile:632: warning: overriding commands for target `ide.o'
Makefile:509: warning: ignoring old commands for target `ide.o'
cp /usr/src/linuxbios/linuxbios/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
crt0.S: Assembler messages:
crt0.S:156: Warning: indirect jmp without `*'
/usr/src/linuxbios/linuxbios/src/southbridge/amd/amd768/disable_watchdog.inc:3: Error: undefined symbol `L0' in operation
/usr/src/linuxbios/linuxbios/src/southbridge/amd/amd768/disable_watchdog.inc:10: Error: undefined symbol `L0' in operation
/usr/src/linuxbios/linuxbios/src/southbridge/amd/amd768/disable_watchdog.inc:18: Error: undefined symbol `L0' in operation
/usr/src/linuxbios/linuxbios/src/southbridge/amd/amd768/smbus.inc:48: Error: undefined symbol `L0' in operation
/usr/src/linuxbios/linuxbios/src/southbridge/amd/amd768/smbus.inc:57: Error: undefined symbol `L0' in operation
make: *** [crt0.o] Error 1

---- cut here ----

All the lines that are giving me trouble are a varation of this:

       movl    $(0x80000000 | PM_DEV_FN | 0x49), %eax

Which is defined as:

#define PM_DEV_FN (AMD768_DEV + 0x300)

Although I don't immediately see where AMD768_DEV is defined.  Hey,
I'm a newbie ;)

Versions:

LinuxBIOS CVS from yesterday (wow, sf.net is slow!)
gcc version 3.3.1 20030728 (Debian prerelease)
[binutils] GNU assembler version 2.14.90.0.5 (i386-linux) using BFD version 2.14.90.0.5 20030722 Debian GNU/Linux

Here is my config file, basically borrowed from the example:


## This is relative to where the configuration file resides in the filesystem
target /usr/src/linuxbios/TigerMPX-primary

mainboard tyan/TigerMPX

## Build a normal not a fallback image.
option USE_NORMAL_IMAGE=1

## Build an image for a 512KB rom
## ./normal/romimage is the entire rom image except for the last 64KB
## which are reserved for the fallback image.
option ROM_SIZE=524288

## Select the maximum size the linuxBIOS code can compile to.
## Allow linuxBIOS to be up to 48KB in size
#option ROM_IMAGE_SIZE=49152
option ROM_IMAGE_SIZE=65536

## 
### The Serial Console
##
## Hardware flow control is currently ignored.

## Enable the Serial Console
option SERIAL_CONSOLE=1

## Select the serial console baud rate.
option TTYS0_BAUD=115200
#option TTYS0_BAUD=57600
#option TTYS0_BAUD=38400
#option TTYS0_BAUD=19200
#option TTYS0_BAUD=9600
#option TTYS0_BAUD=4800
#option TTYS0_BAUD=2400
#option TTYS0_BAUD=1200

# Select the serial console base port
option TTYS0_BASE=0x3f8

# Select the serial protocol
# This defaults to 8 data bits, 1 stop bit, and no parity
option TTYS0_LCS=0x3

#this configures serial to accept input (needed for some payloads)
option PYRO_SERIAL=1

##
### Select the linuxBIOS loglevel
##
## EMERG      1   system is unusable               
## ALERT      2   action must be taken immediately 
## CRIT       3   critical conditions              
## ERR        4   error conditions                 
## WARNING    5   warning conditions               
## NOTICE     6   normal but significant condition 
## INFO       7   informational                    
## DEBUG      8   debug-level messages             
## SPEW       9   Way too many details             

## Request this level of debugging output
option DEFAULT_CONSOLE_LOGLEVEL=8
## At a maximum only compile in this level of debugging
option MAXIMUM_CONSOLE_LOGLEVEL=9

## Use the elf bootloader
option USE_ELF_BOOT=1

## Select the boot device
option USE_GENERIC_ROM=1
#option BOOT_FLOPPY=1
#option USE_SERIAL_FILL_INBUF=1
#option BOOT_IDE=1

# Load etherboot with the elf bootloader
# The payload command is relative the build directory
# So .. is the directory this config file resides in
payload /usr/src/linuxbios/etherboot-5.0.8/src/bin32/3c90x.elf




More information about the coreboot mailing list