
Hello All, As per Wolfgang's suggestion I am trying first to use existing DoC driver. This is for a custom board based on ADI's Blackfin BF537 CPU.
I am having problem with undefined EIEIO, which is specific to PPC arch. The blackfin asm/io.h has nothing about EIEIO
common/libcommon.a(cmd_doc.o): In function `DoC_WriteBuf':/home/mark/ development/u-boot/common/cmd_doc.c:598: undefined reference to `eieio' /home/mark/development/u-boot/common/cmd_doc.c:601: undefined reference to `eieio' common/libcommon.a(cmd_doc.o): In function `DoC_SelectFloor':/home/ mark/development/u-boot/common/cmd_doc.c:637: undefined reference to `eieio' common/libcommon.a(cmd_doc.o): In function `DoC_SelectChip':/home/ mark/development/u-boot/common/cmd_doc.c:614: undefined reference to `eieio' /home/mark/development/u-boot/common/cmd_doc.c:618: undefined reference to `eieio' common/libcommon.a(cmd_doc.o):/home/mark/development/u-boot/common/ cmd_doc.c:622: more undefined references to `eieio' followmake: *** [u-boot] Error 1
I am wondering if anyone has DoC working on platform other than PPC? Any suggestions?
Regards, Mark
On 15-Oct-07, at 7:05 PM, Wolfgang Denk wrote:
In message 001101c80f7b$aad096d0$5a71e1cc@voipmandesktop you wrote:
I am looking for some pointers on how to port Linux kernel drivers to u-Boot. Specifically, Diskonchip from Sandisk/m-systems.
Hm... why don't you simply use the existing DoC support in U-Boot?
-- Mark ___________________________________ uClinux/Asterisk distribution for Blackfin CPU http://astfin.org http://sourceforge.net/projects/astfin/ ___________________________________