README 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. Hantro 6280/7280/8270/8290 Encoder Wrapper Layer
  2. Three implementations of the EWL exist:
  3. - ewl_x280_file.c
  4. + A stand-alone user-space implementation, no HW, input from file
  5. + Used for software testing and simulations
  6. - ewl_x280_polling.c ewl_x280_common.c ewl_linux_lock.c
  7. + A user-space implementation, polling used instead of interrupts
  8. + Requires the kernel driver just for getting the HW IO base
  9. - ewl_x280_irq.c ewl_x280_common.c ewl_linux_lock.c
  10. + EWL for Linux that requires a kernel driver to handle the interrupts
  11. + Kernel driver implemented for Linux kernel 2.6
  12. NOTES:
  13. - ewl_x280_common.c contains common parts for linux
  14. - ewl_linux_lock.c contains the linux binary semaphore handling for
  15. multi-instance
  16. The kernel driver is built separately from the codec library and loaded into
  17. the kernel. The user space interface is compiled into the codec library.
  18. These two communicate using signals and standard device I/O.
  19. Compile time parameters:
  20. EWL_NO_HW_TIMEOUT - EWL does not support timed wait. Always define!
  21. SDRAM_LM_BASE=n - base address of the RAM as seen by HW
  22. (0x80000000 in Integrator and 0x00 in Versatile)
  23. ENC_IO_BASE=n - base address of the HW IO registers
  24. ENC_MODULE_PATH=n - path of the encoder device file used to communicate with the
  25. kernel driver