slaanesh
Certified Guru
I've been having a look at the how the Jz4740 works and there is for sure a nice 8-bit video mode.
However, the Dingux kernel doesn't currently support this so perhaps the easiest thing would be to do ourselves?
From what I understand the JX4740 uses frame descriptors to instruct DMA to copy the contents of the framebuffer and/or palette to the LCD controller. Currently, this is setup to be a single 16-bit framebuffer.
[*] set-up a new palette descriptor
[*] set the LCDCTRL to the right 8-bit format
[*] change the LCDDA0 register to point to the new descriptor
Any suggestions? Stop/Pause LCD DMA first?
However, the Dingux kernel doesn't currently support this so perhaps the easiest thing would be to do ourselves?
From what I understand the JX4740 uses frame descriptors to instruct DMA to copy the contents of the framebuffer and/or palette to the LCD controller. Currently, this is setup to be a single 16-bit framebuffer.
- Would it be possible to:
[*] set-up a new palette descriptor
[*] set the LCDCTRL to the right 8-bit format
[*] change the LCDDA0 register to point to the new descriptor
Any suggestions? Stop/Pause LCD DMA first?