Search found 16 matches

by tarek.elsherbiny
Sat Mar 20, 2010 3:05 pm
Forum: S3C2440 Boards
Topic: Ribbon Cable to connect GPIO's
Replies: 2
Views: 1782

Ribbon Cable to connect GPIO's

Can you please recommend a supplier and a part number to get these cables.

I am really bad on hardware and couldn't find a suitable 34 ribbon cable.

Thanks
by tarek.elsherbiny
Thu Mar 19, 2009 1:41 am
Forum: S3C2440 Boards
Topic: Linux SPI Driver
Replies: 1
Views: 877

Linux SPI Driver

Hi all

Is the Linux spi driver implemented for the mini2440 board and is it compiled and included in the kernel shipped with it?

To access the spi do I need to do it in user space or kernel space?

Is there any example code?

Thanks
by tarek.elsherbiny
Mon Mar 16, 2009 7:14 am
Forum: S3C2440 Boards
Topic: SPI connection
Replies: 3
Views: 1388

Re: SPI connection

I need some clarification
Is the spi driver implemented for the mini2440 board and is it compiled and included in the kernel shipped with it?

To access the spi do I need to do it in user space or kernel space?

Is there any example code?

Thanks
by tarek.elsherbiny
Tue Mar 10, 2009 12:57 am
Forum: S3C2440 Boards
Topic: need kernel headers directory to build loadable modules
Replies: 15
Views: 4310

Re: need kernel headers directory to build loadable modules

Thank you so much I have downloaded the linux-2.6.13-mini2440-xxxx.tgz wich was not porvided on the CD.
Extracting the file to /opt/FriendlyARM/mini2440 solved the problem.

Now I can compile kernel module

Thanks
:D
by tarek.elsherbiny
Mon Mar 09, 2009 1:44 am
Forum: S3C2440 Boards
Topic: need kernel headers directory to build loadable modules
Replies: 15
Views: 4310

Re: need kernel headers directory to build loadable modules

Linux host is Dell Inspiron E1505 runnig Ubuntu 8.10 I found a similar problem in differnet forum talking about another platform but the solution was updating the kernel. Anyway I am only trying to compile a basic loadable module so if anyone ever succeeded in doing this please pass me any example. ...
by tarek.elsherbiny
Sun Mar 08, 2009 8:41 am
Forum: S3C2440 Boards
Topic: need kernel headers directory to build loadable modules
Replies: 15
Views: 4310

Re: need kernel headers directory to build loadable modules

I have only installed the latest cross development arm-linux-gcc-3.4.1.tgz and here is the o/p: arm-linux-gcc -v Reading specs from /usr/local/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/specs Configured with: /opt/crosstool/crosstool-0.28/build/arm-linux/gcc-3.4.1-glibc-2.3.2/gcc-3.4.1/configure --tar...
by tarek.elsherbiny
Sat Mar 07, 2009 6:55 am
Forum: S3C2440 Boards
Topic: need kernel headers directory to build loadable modules
Replies: 15
Views: 4310

Re: need kernel headers directory to build loadable modules

Ok I have followed the instructions in the link and the kernel is compiled correctly. I still get the same errors: make -C /opt/FriendlyARM/mini2440/kernel-2.6.13 SUBDIRS=/home/tarek/workspace/hellomod modules make[1]: Entering directory `/opt/FriendlyARM/mini2440/kernel-2.6.13' WARNING: Symbol vers...
by tarek.elsherbiny
Sat Mar 07, 2009 4:09 am
Forum: S3C2440 Boards
Topic: need kernel headers directory to build loadable modules
Replies: 15
Views: 4310

Re: need kernel headers directory to build loadable modules

If I have to compile the kernel before compiling kernel modules what is the commands for doing that?
also where is the default configuration
by tarek.elsherbiny
Sat Mar 07, 2009 3:05 am
Forum: S3C2440 Boards
Topic: need kernel headers directory to build loadable modules
Replies: 15
Views: 4310

Re: need kernel headers directory to build loadable modules

I did not try try to build the kernel. I am only trying to build modules.

I suspect there is problem in kernel headers. How do I install the latest kernel version?
by tarek.elsherbiny
Fri Mar 06, 2009 4:02 pm
Forum: S3C2440 Boards
Topic: need kernel headers directory to build loadable modules
Replies: 15
Views: 4310

Re: need kernel headers directory to build loadable modules

OK I have included the kernel path in my $PATH env. var. Now I get this error: include/linux/types.h:18: error: parse error before "__kernel_dev_t" include/linux/types.h:18: warning: type defaults to `int' in declaration of `__kernel_dev_t' include/linux/types.h:18: warning: data definition has no t...