Derived historical job from linux-2.4.18-rmk7-pxa1-mz5. This is the patch for Samsung 2.8" TFT-LCD mobile panel over s3c2410 SoC. The original design were not considered 24-bpp/32-bpp fb/fb-con support and were not given good pulse/porch values for this panel.
Since this panel is 18-bpp in physical hardware, better take your kernel with 32-bpp configuration. Thus, applications (linke nano-X) now can draw pictures in the form of RGB0888 (32-bit). And 32-bit framebuffer console works also.
The Patch: s3c2410fb
You need 'official' kernel 2.4 for s3c2410 from MIZI research and apply my patch to make panel going better:
1. pulse and porch values are for Samsung 2.8" mobile panel now.
2. resolution is 240x320 also.
3. enabling 32-bpp fb.
4. framebuffer memory and memory data format for s3c2410 with this mobile panel was corrective.
Download: [patch-2.4.18-rmk7-pxa1-jk1 (8254 Bytes)]
Draw to scrren is good on my platform with framebuffer memory mapping (by nano-X) configured with RGB0888.
Screenshots
文章评论(0条评论)
登录后参与讨论