Hello, everyone. I have a task to realize the read/write access from linux/pc host to the NAND memory of DM355EVM over usb.
I deployed default uImage from DVSDK 3.10 and target filesystem over NFS.
I've tried to build my own kernel with the support of usb storage device using 2.6.32 kernel sources. But compiling process was interrupted with those errors:
CC drivers/usb/gadget/r8a66597-udc.o
drivers/usb/gadget/r8a66597-udc.c: In function 'r8a66597_probe':
drivers/usb/gadget/r8a66597-udc.c:1585: error: implicit declaration of function 'IS_ERR'
drivers/usb/gadget/r8a66597-udc.c:1588: error: implicit declaration of function 'PTR_ERR'
make[2]: *** [drivers/usb/gadget/r8a66597-udc.o] Error 1
make[1]: *** [drivers/usb/gadget] Error 2
make: *** [drivers] Error 2
root@10.0.2.17:/opt/mainlinekernel/git#
Maybe i should build only a module and load it with the "modprobe"?
What are my next steps?
With the best Regards. Pavel Goryunov.