
Sorry if this is the wrong list for this. I hunted around for an ELDK specific list, but came up empty.
I got u-boot to compile with ELDK for the Lite5200 board, and I'm moving on to getting Linux to work. When I was using version2 of the ELDK and u-boot 1.0.1, I got it up and running and reading the hard disk, so I'd like to get up at least to where I was before (I moved to the newer version because of the USB and RTC support).
I'm trying to compile a kernel for the Lite5200 board. I can successfully compile it with an incomplete IDE configuration, like this:
CONFIG_IDE=y CONFIG_BLOCK_DEV_IDE_MODES=y
But when I add the hardware driver:
CONFIG_BLOCK_DEV_IDE_MPC5xxx=y
the compile crashes. I'm using ELDK 3.0 (not the CVS), which has the modified 2.4.24 kernel.
Here's the error message, which appears to be happening in the linker:
ppc_82xx-ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic arch/ppc/kernel/head.o arch/ppc/kernel/idle_6xx.o init/main.o init/version.o init/do_mounts.o \ --start-group \ arch/ppc/kernel/kernel.o arch/ppc/platforms/platform.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \ drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/ide/idedriver.o drivers/pci/driver.o drivers/mtd/mtdlink.o drivers/macintosh/macintosh.o drivers/media/media.o arch/ppc/5xxx_io/5xxx_io.o \ net/network.o \ /usr/local/ELDK/ppc_82xx/usr/src/linux-2.4.24/lib/lib.a \ --end-group \ -o vmlinux arch/ppc/platforms/platform.o(.text.init+0xf2): In function `platform_init': : undefined reference to `mpc5xxx_ide_get_base' arch/ppc/platforms/platform.o(.text.init+0xfa): In function `platform_init': : undefined reference to `mpc5xxx_ide_get_base' arch/ppc/platforms/platform.o(.text.init+0x10e): In function `platform_init': : undefined reference to `mpc5xxx_ide_init_hwif_ports' arch/ppc/platforms/platform.o(.text.init+0x116): In function `platform_init': : undefined reference to `mpc5xxx_ide_init_hwif_ports' drivers/ide/idedriver.o(.text.init+0xacc): In function `probe_for_hwifs': : undefined reference to `mpc5xxx_ide_probe' drivers/ide/idedriver.o(.text.init+0xacc): In function `probe_for_hwifs': : relocation truncated to fit: R_PPC_REL24 mpc5xxx_ide_probe ppc_82xx-make: *** [vmlinux] Error 1
-------------------------------------
My apologies if this has already been fixed in CVS. If it has, I'll get current and try again.
Victor Wren
Victor Wren Designer, Timension Inc. 1350 C Pear Ave Mountain View CA 94043 (650) 564-9397 Fax: (650) 564-9398 Opinions stated in this letter are not necessarily those of Timension Inc. or the management. All Rights Reserved. No spitting.