OK, first, I get this error:

extern void jmp_to_elf_entry(void *entry, void * buffer);

in the .h it is void *buffer but in the .c it is unsigned long.

I changed it to void * in the .c

After that it builds fine.

Here is my .config

# Sample config file for Intel 430TX chipset on the Smartcore P5

# This will make a target directory of ./smartcore-p5
target smartcore-p5

# ASUS CUA  main board
mainboard digitallogic/smartcore-p5

# option HAVE_PIRQ_TABLE=1
# Enable Serial Console for debugging
option SERIAL_CONSOLE=1
option NO_KEYBOARD=1
#nooption NO_KEYBOARD
#keyboard pc80
option INBUF_COPY
option DEFAULT_CONSOLE_LOGLEVEL=10
option MAXIMUM_CONSOLE_LOGLEVEL=10
#option DEBUG=1
option USE_GENERIC_ROM=1
option ROM_SIZE=262144
option PAYLOAD_SIZE=196608


# MEMORY TESTING USING MEMTEST
option USE_ELF_BOOT=1

payload ../eepro100.ebi
nooption RAMTEST


---------- Forwarded message ----------
Date: Thu, 18 Jul 2002 18:36:18 +0200
From: marcus wimmer <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [fb-u] problems building for digitallogic mainboard

Hi there,

I'm just experiencing some trouble building linuxbios
for my digitallogic smartcore-p5 mainboard.

I patched and built linux-2.4.17 kernel successfully
and used the (slightly adjusted) smartcore-p5/example.config file
(which is appended as PS) to configure linuxbios via NLBConfig.py

Configuring seemed to work, but what I get when I do the "make" is:

gcc -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld linuxbios.o
linuxbios.o: In function `__protected_start':
linuxbios.o(.rom.text+0x90): undefined reference to `port'
linuxbios.o(.rom.text+0x96): undefined reference to `value'
linuxbios.o(.rom.text+0x9f): undefined reference to `value'
linuxbios.o(.rom.text+0xa8): undefined reference to `index'
linuxbios.o(.rom.text+0xbc): undefined reference to `device'
linuxbios.o(.rom.text+0xc7): undefined reference to `data'
linuxbios.o(.rom.text+0xcc): undefined reference to `index'
linuxbios.o: In function `secondtime':
linuxbios.o(.rom.text+0x493): undefined reference to `addr'
linuxbios.o(.rom.text+0x498): undefined reference to `byte'
linuxbios.o(.rom.text+0x4c3): undefined reference to `addr'
linuxbios.o(.rom.text+0x4c8): undefined reference to `word'
linuxbios.o(.rom.text+0x4ef): undefined reference to `addr'
linuxbios.o(.rom.text+0x4f4): undefined reference to `dword'
collect2: ld returned 1 exit status
make: *** [linuxbios] Error 1

Could someone give me a clue what kind of problem this could be, and how it
can be solved?
Perhaps someone has done this before more successfully.
I'd be really grateful.

Best regards,
Marcus



PS.: the configfile I used:

# Sample config file for Intel 430TX chipset on the Smartcore P5

# This will make a target directory of ./smartcore-p5
target smartcore-p5

# ASUS CUA main board
mainboard digitallogic/smartcore-p5

# option HAVE_PIRQ_TABLE=1
# Enable Serial Console for debugging
option SERIAL_CONSOLE=1
option NO_KEYBOARD
option INBUF_COPY
option DEFAULT_CONSOLE_LOGLEVEL=9
option DEBUG
option USE_GENERIC_ROM=1

# MEMORY TESTING USING MEMTEST
# *****************MODIFIED********************
#option USE_ELF_BOOT=1

# *****************MODIFIED********************
# Path to your kernel (vmlinux)
linux /home/users/wimmer/src/linux/

# Kernel command line parameters
# *******************MODIFIED****************
commandline root=/dev/hda1 console=ttyS0, 115200 floppy=nodma

option RAMTEST


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freebios-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freebios-users

Reply via email to