Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: awindebe and awintcon [Was: Re: A20-Olinuxino-Lime2 + "internal" LCD question]



I seem to remember someone else having issues with 1680x1050. Can you try this change, which should force the display to 640x480?

--- awin_hdmi.c	17 Nov 2014 10:00:14 -0000	1.15
+++ awin_hdmi.c	8 Apr 2015 11:26:46 -0000
@@ -531,8 +531,10 @@ awin_hdmi_read_edid(struct awin_hdmi_sof
 	    sizeof(sc->sc_display_product));
 	sc->sc_current_display_mode = display_mode;

+#if 0
 	mode = ei.edid_preferred_mode;
 	if (mode == NULL)
+#endif
 		mode = pick_mode_by_ref(640, 480, 60);

 	if (mode != NULL) {



On Wed, 8 Apr 2015, Adrien Auzanneau wrote:

Hi Jared,
I am coming back on this topic as I am stuck and I can't get my head around the right next step to make progress.
I've seen recent support added for:
awindebe(4)
Add support for Allwinner A20/A31 Display engine backend (DE-BE). [jmcneill 20141110]
awintcon(4)
Add support for Allwinner A20/A31 TV/LCD controller. [jmcneill 20141110]

Which is OK from the dmesg output:
awindebe0 at awinio0 port 0: Display Engine Backend (BE0)
awintcon0 at awinio0 port 0: LCD/TV timing controller (TCON0)
awinhdmi0 at awinio0: HDMI 1.3
awinhdmi0: display connected
awinhdmi0: DVI mode (auto-detected)
genfb0 at awindebe0: switching to framebuffer console
genfb0: framebuffer at 0xca000000, size 1680x1050, depth 32, stride 6720
wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 1-3 added (default, vt100 emulation)


So it feels like it's recognized. I am using a bin generated from a .fex setup for this specific 7" screen (from the script provided by olimex for debian) fex is here: http://packages.netbsdfr.org/HEAD/current/evbarm/olimex/a20-olinuxino-lime2/fex/a20olinuxinolime2-lcd7.fex

For some reason I keep thinking it's the uEnv who's not passing the right output...but I can't find the right way to set this up. Olimex aren't the only one to have these LCD screens, Odroid has one as well for his C1. Is there a draft doc on how to get these to work?

Any help appreciated.
Thanks,
-- ada



Home | Main Index | Thread Index | Old Index