Author Topic: C1000, C3xxx: is the PXAfb/LCD 16bpp?  (Read 338 times)

DiTBho

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
C1000, C3xxx: is the PXAfb/LCD 16bpp?
« on: July 02, 2025, 05:41:39 pm »
Only consider 640x480: is the PXAfb/LCD 16bit per pixel? RGB565?
doesn't it support 8 bit per color? RGB888?
doesn't it support 6 bit per color? RGB666?

I wrote a framebuffer application, from my testing, it seems 16bpp only.

Is it correct?

Varti

  • Administrator
  • Hero Member
  • *****
  • Posts: 1283
    • View Profile
Re: C1000, C3xxx: is the PXAfb/LCD 16bpp?
« Reply #1 on: July 11, 2025, 05:23:47 am »
Don't know about the 8/6 bit modes, but I can confirm it's 16bpp.

Varti
Planet Gemini PDA WiFi/LTE with Mediatek x27
SL-C1000 running Arch Linux ARM May2017, K30225 Wi-Fi CF Card, 64GB SDXC card
and many other Zauruses!

DiTBho

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Re: C1000, C3xxx: is the PXAfb/LCD 16bpp?
« Reply #2 on: July 11, 2025, 04:52:13 pm »
Code: [Select]
mykboot-v5-r30_modified $ make run
mykboot_init ...
fb_init_mode_set()
Switching to 32bpp mode ...failure
Switching to 24bpp mode ...failure
Switching to 18bpp mode ...failure
Switching to 15pp mode ...failure
Switching to 16bpp mode ...success
angle = 90 detected
fb_init_geometry_set(): 480 640 16

That's compatible with what I observe from ioctrl  :o :o :o