readme.txt 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. isp kernel driver (verisilicon)
  2. file description:
  3. vvcam/common/video.c - register v4l2 video device, filename is /dev/videox, process standard v4l2 command.
  4. vvcam/driver/isp_driver.c - register v4l2 subdev, filename is /dev/v4l-subdevx, supply full isp options for all modules.
  5. units/ispdrv/isp/ic_dev.h - defined all isp main/sub modules structure.
  6. units/ispdrv/isp/isp_ioctl.h - defined all isp ioctls and internal functions.
  7. units/ispdrv/isp/isp_ioctl.c - dispatch ioctl and implement isp main functions.(need create new file if module code number larger than 100, such as wdr3, 3dnr)
  8. units/ispdrv/isp/cma.h - continuous memory allocator, user may need replace it.
  9. setup environment:
  10. cd appshell
  11. source environment-setup-<tool-chain>-linux
  12. source environment-setup-x86_64-linux
  13. build:
  14. cd vvcam/native
  15. make VERSION_CFG=ISP8000NANO_V1802
  16. clean:
  17. cd vvcam/native
  18. make clean
  19. install:
  20. cd vvcam/native/bin
  21. ./insmod.sh
  22. unistall:
  23. cd vvcam/native/bin
  24. ./rmmod.sh
  25. porting guide:
  26. 1. modify ISP_REG_BASE and ISP_REG_BASE in version.h
  27. 2. modify RESERVED_MEM_BASE and RESERVED_MEM_SIZE in version.h
  28. 3. for use cma, user need modify linux dts file to map the device memory.
  29. or replace vb2_cma_alloc to default vb2 mem_ops.