Re: [GIT PULL] Ressurect the atomisp staging driver

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

 



On Sun, 3 May 2020 18:07:51 +0200
Patrik Gfeller <patrik.gfeller@xxxxxxxxx> wrote:

> On Sun, 3 May 2020 18:03:54 +0200
> Francescodario Cuzzocrea <francescodario.cuzzocrea@xxxxxxxxxxxxxx> wrote:
> 
> > Il giorno dom 3 mag 2020 alle ore 17:32 Mauro Carvalho Chehab <    
>  [...]  
> > 
> > Thanks a lot !!
> >   
>  [...]  
> > According to my understarding mine which is baytrail should be  ISP2400  
> 
> I have ISP2401 (rev B) ... I'll give it a try :-) - thanks Mauro!

I was not able yet to compile the kernel 4.4 successfully yet. I get quite
some warnings that are treated as errors. I assume that I can "resolve"
this by removing the respective compiler flag (-Werror).

drivers/media/pci/atomisp//css2401a0_v21_build/../atomisp_driver/atomisp_cmd.c:36:10: fatal error: linux/kct.h: No such file or directory
drivers/media/pci/atomisp//css2401a0_v21_build/../atomisp_driver/atomisp_internal.h:61: error: "IS_CHT" redefined [-Werror]
drivers/media/pci/atomisp//css2401a0_v21_build/../atomisp_driver/atomisp_internal.h:63: error: "IS_MOFD" redefined [-Werror]
drivers/media/pci/atomisp//css2401a0_v21_build/../atomisp_driver/atomisp_internal.h:65: error: "IS_BYT" redefined [-Werror]
drivers/media/pci/atomisp//css2401a0_v21_build/../atomisp_driver/atomisp_internal.h:61: error: "IS_CHT" redefined [-Werror]
drivers/media/pci/atomisp//css2401a0_v21_build/../atomisp_driver/atomisp_internal.h:63: error: "IS_MOFD" redefined [-Werror]
drivers/media/pci/atomisp//css2401a0_v21_build/../atomisp_driver/atomisp_internal.h:65: error: "IS_BYT" redefined [-Werror]
drivers/media/pci/atomisp//css2401a0_v21_build/../atomisp_driver/atomisp_compat_ioctl32.c:86:5: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
drivers/media/pci/atomisp//css2401a0_v21_build/../atomisp_driver/atomisp_ioctl.c:590:5: error: this ‘else’ clause does not guard... [-Werror=misleading-indentation]
drivers/media/pci/atomisp//css2401a0_v21_build/../atomisp_driver/atomisp_ioctl.c:604:9: error: ‘struct v4l2_dbg_chip_ident’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
include/media/v4l2-subdev.h:821:51: error: ‘const struct v4l2_subdev_core_ops’ has no member named ‘g_chip_ident’
include/media/v4l2-subdev.h:822:15: error: ‘const struct v4l2_subdev_core_ops’ has no member named ‘g_chip_ident’
drivers/media/pci/atomisp//css2401a0_v21_build/../atomisp_driver/atomisp_internal.h:61: error: "IS_CHT" redefined [-Werror]
drivers/media/pci/atomisp//css2401a0_v21_build/../atomisp_driver/atomisp_internal.h:63: error: "IS_MOFD" redefined [-Werror]
drivers/media/pci/atomisp//css2401a0_v21_build/../atomisp_driver/atomisp_internal.h:65: error: "IS_BYT" redefined [-Werror]
drivers/media/pci/atomisp//css2401a0_v21_build/../atomisp_driver/atomisp_ioctl.c:1916:3: error: implicit declaration of function ‘pci_write_config_word’; did you mean ‘gmin_get_config_var’? [-Werror=implicit-function-declaration]
drivers/media/pci/atomisp//css2401a0_v21_build/../atomisp_driver/atomisp_ioctl.c:1942:3: error: implicit declaration of function ‘INIT_COMPLETION’; did you mean ‘CONFIG_COMPACTION’? [-Werror=implicit-function-declaration]
drivers/media/pci/atomisp//css2401a0_v21_build/../atomisp_driver/atomisp_ioctl.c:2182:3: error: implicit declaration of function ‘pci_write_config_dword’; did you mean ‘gmin_get_config_var’? [-Werror=implicit-function-declaration]
drivers/media/pci/atomisp//css2401a0_v21_build/../atomisp_driver/atomisp_ioctl.c:3063:3: error: ‘const struct v4l2_ioctl_ops’ has no member named ‘vidioc_g_chip_ident’; did you mean ‘vidioc_g_enc_index’?
drivers/media/pci/atomisp//css2401a0_v21_build/../atomisp_driver/atomisp_ioctl.c:3063:25: error: initialization of ‘int (*)(struct file *, void *, struct v4l2_fmtdesc *)’ from incompatible pointer type ‘int (*)(struct file *, void *, struct v4l2_dbg_chip_ident *)’ [-Werror=incompatible-pointer-types]
cc1: all warnings being treated as errors

But there are a few things that will take more time for me to investigate:

drivers/media/pci/atomisp//css2401a0_v21_build/../atomisp_driver/atomisp_cmd.c:36:10: fatal error: linux/kct.h: No such file or directory
include/media/v4l2-subdev.h:821:51: error: ‘const struct v4l2_subdev_core_ops’ has no member named ‘g_chip_ident’
include/media/v4l2-subdev.h:822:15: error: ‘const struct v4l2_subdev_core_ops’ has no member named ‘g_chip_ident’

I'll keep you updated.

> 
> > 
> > https://github.com/intel-aero/meta-intel-aero/blob/4ebb7cc829f57306b9895f20af8fd17987089392/recipes-kernel/linux/linux-yocto/shisp_2401a0_v21.bin  
>  [...]  
> > 
> > Dario  
> 

with kind regards,
Patrik





[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux