- ccases@navista.fr ccases@navista.fr [070314 11:50]:
and now the fallback mode is ok, but not the normal mode, I have this error message :
DXIP_ROM_SIZE='0x10000' -DXIP_ROM_BASE='0xfffd0000' -DCONFIG_UDELAY_TSC='1' -DCONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2='0' -DCONFIG_UDELAY_IO='0' -DUSE_FAILOVER_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
What's your full compiler call?
I don't understand this question.
Some offset is becoming negative. Some problem with the image sizes.
I have une rom of 256ko with vsa 64k and vga 32k. My payload is etherboot, the size of the elf image si 25516o, my config file is :
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)-(64*1024)-(32*1024) #option FALLBACK_SIZE = ROM_SIZE
romimage "normal" option USE_FALLBACK_IMAGE=0 option LINUXBIOS_EXTRA_VERSION=".0Normal" option ROM_IMAGE_SIZE=64*1024 payload /home/ccases/etherboot-5.2.6/src/bin/rtl8139.elf end
romimage "fallback" option USE_FALLBACK_IMAGE=1 option LINUXBIOS_EXTRA_VERSION=".0Fallback" option ROM_IMAGE_SIZE=64*1024 payload /home/ccases/etherboot-5.2.6/src/bin/rtl8139.elf end
buildrom ./linuxbios.rom ROM_SIZE "fallback" "normal"
It's because I don't have indicate the size of the payload and the size of ROM_IMAGE_SIZE is too high ? I don't know ...
thank's by adavance for your help
regards
Ccases