Thomas Leidenfrost wrote:

..cp linuxbios_payload.nrv2b linuxbios_payload
echo "INCLUDE ldoptions" > ldscript.ld ; for file in /home/thomasle/freebios/src/arch/i386/config/ldscript.base /home/thomasle/freebios/src/cpu/i386/entry16.lds /home/thomasle/freebios/src/cpu/i386/entry32.lds /home/thomasle/freebios/src/cpu/i386/reset16.lds ; do echo "INCLUDE $file" >> ldscript.ld ; done
gcc -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld crt0.o
crt0.o(.rom.text+0x7e): In function `__protected_start':
: undefined reference to `SERIAL_SUPERIO_BASEADDRESS'
crt0.o(.rom.text+0x8f): In function `__protected_start':
: undefined reference to `SERIAL_SUPERIO_BASEADDRESS'
crt0.o(.rom.text+0xa0): In function `__protected_start':
: undefined reference to `SERIAL_SUPERIO_BASEADDRESS'
crt0.o(.rom.text+0xb1): In function `__protected_start':
: undefined reference to `SERIAL_SUPERIO_BASEADDRESS'
crt0.o(.rom.text+0xc2): In function `__protected_start':
: undefined reference to `SERIAL_SUPERIO_BASEADDRESS'
crt0.o(.rom.text+0xd3): more undefined references to `SERIAL_SUPERIO_BASEADDRESS' follow

Looks like the boot up serial_setup is not right. crt0.s is built from files specified in your ./mainboard/Avantech/pcm-5823/Config


the serial boot output stuff is built from this line.

mainboardinit superio/SMC/fdc37b72x/setup_serial.inc

Looking at the .inc for the advantech stuff and the config and some grepping I see that the superio base address is set with SMC_BASE in the pcm-5823 but set with SERIAL_SUPERIO_BASEADDRESS in the pcm-9574.

What did you change this like to?

Go look at whatever seteup_serial.inc you have and see what option it needs set for the serial base address.

It may be as simple as adding a

option SERIAL_SUPERIO_BASEADDRESS 0x<base>

to your mainboard config file or you may have to make some setup_serial.inc mods for whatever superio you changed to.

_______________________________________________
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios

Reply via email to