[LinuxBIOS] Problems on Compilation with abuild

ccases at navista.fr ccases at navista.fr
Wed Mar 7 14:22:22 CET 2007


> * ccases at navista.fr <ccases at navista.fr> [070307 09:04]:
>> I use an Linux machine (debian and suse), for now it's ok I have change
>> the language. but I have an error, only the fallback mode compil not the
>> normal mode.
>
>> the message is :
>>
>> [..]
>> VER_IMAGE='0' -Os -nostdinc -nostdlib -fno-builtin  -Wall -o
>> rom_stream.o
>> /home/ccases/LinuxBIOSv2/src/stream/rom_stream.c
>> /home/ccases/LinuxBIOSv2/src/stream/rom_stream.c:47:90: invalid suffix
>> "x"
>> on integer constant
>
> This is nasty. Some offset is getting negative. This indicates a problem
> in your config file. Which target config.lb did you use?
>
> --
> coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
>       Tel.: +49 761 7668825 • Fax: +49 761 7664613
> Email: info at coresystems.de  • http://www.coresystems.de/
>

In LinuxBiosV2/targets/advantech/pcm-5823/Config.lb

target pcm-5823
mainboard advantech/pcm-5823

option DEFAULT_CONSOLE_LOGLEVEL=8
option MAXIMUM_CONSOLE_LOGLEVEL=8
option CONFIG_COMPRESSED_PAYLOAD_NRV2B=1

option ROM_SIZE=(256*1024)-(128*1024)-(32*1024)
option ROM_IMAGE_SIZE=64*1024
option FALLBACK_SIZE = ROM_SIZE

romimage "normal"
        option USE_FALLBACK_IMAGE=0
        option LINUXBIOS_EXTRA_VERSION=".0Normal"
        payload ../../../../etherboot-5.2.6/src/bin/rtl8139.elf
end

romimage "fallback"
        option USE_FALLBACK_IMAGE=1
        option LINUXBIOS_EXTRA_VERSION=".0Fallback"
        payload ../../../../etherboot-5.2.6/src/bin/rtl8139.elf
end

buildrom ./linuxbios.rom ROM_SIZE "fallback" "normal"

it's this file do you speak, or it's the file on ../src/mainboard/../../

thank's for your help

CCASES






More information about the coreboot mailing list