Hi,
For recapitulate a little, I have un embeded motherboard advantech PCM-5823 and I am interrest to put LinuxBios in.
I have use the configuration file of iei nova4899r for create my config file (because the nova4899r is an embeded motherboard seems to have the same architectur, something has near ).
I have create this config file (Config.lb) in LinuxBiosV2/targets/advantech/pcm-5823/ like this :
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"
I build the makefile with ./buildtarget
and if I do an make, I have this message :
6' -DCONFIG_PCI_ROM_RUN='1' -DCONFIG_PCI_64BIT_PREF_MEM='0' -DHAVE_MP_TABLE='0' -DHAVE_PIRQ_TABLE='1' -DUSE_FALLBACK_IMAGE='1' -DHAVE_HARD_RESET='0' -DIRQ_SLOT_COUNT='7' -DLINUXBIOS_EXTRA_VERSION='".0Fallback"' -DFALLBACK_SIZE='0x20000' -DROM_SIZE='0x28000' -DROM_SECTION_SIZE='0x20000' -DROM_SECTION_OFFSET='0x8000' -DXIP_ROM_SIZE='0x10000' -DXIP_ROM_BASE='0xffff0000' -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 static.o static.c rm -f linuxbios.a ar cr linuxbios.a malloc.o lapic_cpu_init.o pci_ops.o lapic.o smbus_ops.o memset.o pci_ops_auto.o superio.o linuxbios_table.o fallback_boot.o pciexp_device.o tables.o keyboard.o pnp_device.o printk.o irq_tables.o pcix_device.o decode.o pci_device.o console.o delay_tsc.o elfboot.o hardwaremain.o boot.o i8259.o delay.o version.o pci_ops_mmconf.o memcmp.o exception.o secondary.o isa-dma.o pcibios.o hypertransport.o vtxprintf.o ops.o prim_ops.o root_device.o cardbus_device.o uart8250.o sys.o device_util.o ./option_table.o compute_ip_checksum.o device.o onboard.o northbridge.o memcpy.o agp_device.o clog2.o pirq_routing.o memmove.o pci_rom.o pci_ops_conf2.o pci_ops_conf1.o mc146818rtc.o cache.o fpu.o rom_stream.o debug.o c_start.o ops2.o biosemu.o vsprintf.o cpu.o static.o gcc -m32 -nostdlib -r -o linuxbios_ram.o c_start.o uart8250_console.o model_gx1_init.o mainboard.o cs5530.o vga_console.o cs5530_ide.o linuxbios.a /usr/lib/gcc-lib/i486-linux/3.3.5/libgcc.a gcc -m32 -nostdlib -nostartfiles -static -o linuxbios_ram -T /home/ccases/LinuxBIOSv2/src/config/linuxbios_ram.ld linuxbios_ram.o linuxbios_ram.o(.text+0x4b6b): In function `write_tables': : undefined reference to `write_pirq_routing_table' collect2: ld returned 1 exit status make[1]: *** [linuxbios_ram] Error 1 make[1]: Leaving directory `/home/ccases/LinuxBIOSv2/targets/advantech/pcm-5823/pcm-5823/fallback' make: *** [fallback/linuxbios.rom] Error 1
I don't know why, if anyone has a solution,
Thank's by advance for your help
regards
Ccases