Error compiling Git kernel with Micron camera support

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Error compiling Git kernel with Micron camera support

Neil Johnson
Administrator
DaVinci List,

I have successfully compiled the git kernel after grabbing it a few
days back off the montavista site.  I was able to compile it and test
that it booted properly on the DVEVM kit.  I issued the following
commands, which worked fine:

make ARCH=arm CROSS_COMPILE=arm_v5t_le- distclean
make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_evm_dm644x_defconfig
make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage
make ARCH=arm CROSS_COMPILE=arm_v5t_le- modules

This all worked fine with the default config.  Then, I knew that I
needed to add floating point support into the kernel.  I added this
using make menuconfig and recompiled...all good.  Then, I added in
device driver support for the TVP5146 and DaVinci Video Capture as
modules through menuconfig.  At this point, I redid the modules
compilation, but I get the following errors:

***********Start***********************
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
In file included from drivers/media/video/ccdc_davinci.c:22:
include/media/ccdc_davinci.h:26:31: asm/arch/hardware.h: No such file
or directory
make[3]: *** [drivers/media/video/ccdc_davinci.o] Error 1
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
*************End***********************

It looks to me like the error has to do with asm/arch/hardware.h.  asm
is a symlink to asm-arch, but there is no arch folder in asm-arch and
I can't find hardware.h.  Any clues as to what is going wrong?  Has
this been fixed in recent check-ins to git?  Thanks,

Neil Johnson

_______________________________________________
Davinci-linux-open-source mailing list
[hidden email]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Error compiling Git kernel with Micron camera support

Chaithrika U S
Neil,

Yes, you are right, there is a problem with the header file location. The header file is  in arch/arm/mach-davinci/include/mach/ folder.
So, please go ahead and feel free to submit a patch for this.

Regards,
Chaithrika

________________________________________
From: [hidden email] [[hidden email]] On Behalf Of Neil Johnson [[hidden email]]
Sent: Friday, November 21, 2008 2:38 AM
To: [hidden email]
Subject: Error compiling Git kernel with Micron camera support

DaVinci List,

I have successfully compiled the git kernel after grabbing it a few
days back off the montavista site.  I was able to compile it and test
that it booted properly on the DVEVM kit.  I issued the following
commands, which worked fine:

make ARCH=arm CROSS_COMPILE=arm_v5t_le- distclean
make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_evm_dm644x_defconfig
make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage
make ARCH=arm CROSS_COMPILE=arm_v5t_le- modules

This all worked fine with the default config.  Then, I knew that I
needed to add floating point support into the kernel.  I added this
using make menuconfig and recompiled...all good.  Then, I added in
device driver support for the TVP5146 and DaVinci Video Capture as
modules through menuconfig.  At this point, I redid the modules
compilation, but I get the following errors:

***********Start***********************
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
In file included from drivers/media/video/ccdc_davinci.c:22:
include/media/ccdc_davinci.h:26:31: asm/arch/hardware.h: No such file
or directory
make[3]: *** [drivers/media/video/ccdc_davinci.o] Error 1
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
*************End***********************

It looks to me like the error has to do with asm/arch/hardware.h.  asm
is a symlink to asm-arch, but there is no arch folder in asm-arch and
I can't find hardware.h.  Any clues as to what is going wrong?  Has
this been fixed in recent check-ins to git?  Thanks,

Neil Johnson

_______________________________________________
Davinci-linux-open-source mailing list
[hidden email]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source_______________________________________________
Davinci-linux-open-source mailing list
[hidden email]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Error compiling Git kernel with Micron camera support

Narnakaje, Snehaprabha
In reply to this post by Neil Johnson
Neil,

I do not think, DaVinci capture driver in the mainline GIT works (that is the reason it is disabled in the default configuration).

Murali had recently submitted the DaVinci capture, CCDC and TVP patches on the mailing list. Those patches are not on the mainline yet.

Thanks
Sneha

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf
> Of Neil Johnson
> Sent: Thursday, November 20, 2008 4:09 PM
> To: [hidden email]
> Subject: Error compiling Git kernel with Micron camera support
>
> DaVinci List,
>
> I have successfully compiled the git kernel after grabbing it a few
> days back off the montavista site.  I was able to compile it and test
> that it booted properly on the DVEVM kit.  I issued the following
> commands, which worked fine:
>
> make ARCH=arm CROSS_COMPILE=arm_v5t_le- distclean
> make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_evm_dm644x_defconfig
> make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage
> make ARCH=arm CROSS_COMPILE=arm_v5t_le- modules
>
> This all worked fine with the default config.  Then, I knew that I
> needed to add floating point support into the kernel.  I added this
> using make menuconfig and recompiled...all good.  Then, I added in
> device driver support for the TVP5146 and DaVinci Video Capture as
> modules through menuconfig.  At this point, I redid the modules
> compilation, but I get the following errors:
>
> ***********Start***********************
> <stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
> <stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
> <stdin>:1321:2: warning: #warning syscall pselect6 not implemented
> <stdin>:1325:2: warning: #warning syscall ppoll not implemented
> <stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
> In file included from drivers/media/video/ccdc_davinci.c:22:
> include/media/ccdc_davinci.h:26:31: asm/arch/hardware.h: No such file
> or directory
> make[3]: *** [drivers/media/video/ccdc_davinci.o] Error 1
> make[2]: *** [drivers/media/video] Error 2
> make[1]: *** [drivers/media] Error 2
> make: *** [drivers] Error 2
> *************End***********************
>
> It looks to me like the error has to do with asm/arch/hardware.h.  asm
> is a symlink to asm-arch, but there is no arch folder in asm-arch and
> I can't find hardware.h.  Any clues as to what is going wrong?  Has
> this been fixed in recent check-ins to git?  Thanks,
>
> Neil Johnson
>
> _______________________________________________
> Davinci-linux-open-source mailing list
> [hidden email]
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[hidden email]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Loading...