Thanks Yoichi, that is exactly what you suggested, turn on New PCI bus
code(CONFIG_PCI_NEW) then the kernel can be compiled now.
Here is another question: What CPU type should I choose to compile
applications for ADM5120? the spec says it is MIPS32, but I can not run
MIPS32 applications on my board while MIPS-I executable works just fine.
#file busybox (works fine. compiled as mips-I)
busybox: ELF 32-bit LSB MIPS-I executable, MIPS, version 1 (SYSV),
dynamically linked (uses shared libs), stripped
#file busybox (can not execute this program. compiled as mips32)
busybox: ELF 32-bit LSB executable, MIPS, version 1 (SYSV), dynamically
linked (uses shared libs), stripped
Yoichi Yuasa wrote:
Hi,
2005/7/13, IHOLLO <ihollo@xxxxxxx>:
Hi,
I am now working on a board with ADM5120 processor and want a kernel
newer than 2.4.18, so I tried the linux-2.4.31-adm.diff.bz2 patch
against vanilla 2.4.31 (http://www.linux-mips.org/wiki/ADMtek#Linux_2.4)
but failed to compile it with PCI Bus support (It compiles OK without
CONFIG_PCI). The compile error looks like this:
Did you turn on New PCI bus code(CONFIG_PCI_NEW)?
Yoichi