[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] insmod doesn't work



Hi John,
John Williams wrote:

So you've added the lines

EXPORT_SYMBOL_NOVERS(XAssertStatus);
EXPORT_SYMBOL_NOVERS(XAssert);

into xilinx_ocp/xbasic_types.c? 

I've updated the uClinux sources via CVS. I've Microblaze elf tools (20050830). I'm using EDK 6.3i.

I erase, in the file  uClinux-dist/user/busybox/modutils/insmod.c, the line:
#elif defined (__microblaze__)
and add the line:
#elif defined (microblaze) || defined(__microblaze__)

In the file uClinux-dist/linux-2.4.x/arch/microblaze/xilinx_ocp/xbasic_types.c i've added (after the line unsigned int XAssertStatus;):

EXPORT_SYMBOL_NOVERS(XAssertStatus);
EXPORT_SYMBOL_NOVERS(XAssert);

Then, make distclean, make dep , make.

But I get:
# insmod xilinx_gpio
Using /lib/modules/2.4.32-uc0/kernel/drivers/char/xilinx_gpio.o
insmod: unresolved symbol XAssert
insmod: unresolved symbol XAssertStatus
#   

As you can see this is an unusual problem. I've seen some strange things in my system (http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2006/02/msg00068.html), aditional lrz don't work if the transmitted file is too big and some times uClinux freezes.

Is the microblaze 6.3i version compatible with the most recent kernel sources and tools?

Any clue will be appreciated.

Thanks.

Oscar.