One thing to note is that when writing on 0x03d00000 the values do not change - so perhaps it is "half alive'?
When I play with 0x060005a8 (AHB2 module reset control) I switch between seeing zeros or the strange values: 03d00000: 13131313 bfbfbfbf 00000000 00000000 ................ 03d00010: 00000000 00000000 00000000 00000000 ................ [zeros from here and on..] in* both cases I cannot write* on this module (unlike the debe for example). besides that I turned on all the gate and reset registers and nothing changes at 0x03d00000 or 0x03000000.. Raanan On Wednesday, January 7, 2015 at 3:34:13 PM UTC+2, RFat wrote: > > Hi Hans, > > Thanks for the suggestion. I believe that if indeed the HDMI module is > located at 0x03d00000 then it belongs to the AHB2. I did play with its gate > and reset registers and indeed the BE1 and LCD1 appear and disappear and so > also the very few values in 0x03d00000: > > 03d00000: 13131313 bfbfbfbf 00000000 00000000 ................ > 03d00010: 00000000 00000000 00000000 00000000 ................ > [zeros from here and on..] > > As I said, setting 03d00000 or 03d00004 to zero does not affect the HDMI > transmission in u-boot (which shows an allwinner logo). These values do not > make any sense, do they? > > I did another search in the memory of 0x03000000 till 0x03ffffff looking > for hdmi-ish values (such as 1079 and 1919) and could not find them, as if > the HDMI module is not there (however, being at this address range is the > most sensible place since I think it should belong to AHB2 like the rest of > the display modules). You mentioned adb / adp which ones are those? > > BTW: I checked the options of ahb0 that Vladimir suggested and searched > for the module at 0x01c16000 but this is all zeros. This used to be the > address in the A20 and there seem to be many changes since. The A80 memory > map describe this address as "TS Config registers > <http://linux-sunxi.org/index.php?title=A10/TS&action=edit&redlink=1> > Transport Stream controller (DVB)" which is not hdmi as far as I understand. > > Why the heck this is so hidden in this soc... > > Thanks > Raanan > > > On Monday, January 5, 2015 10:50:10 AM UTC+2, Hans de Goede wrote: >> >> Hi, >> >> On 05-01-15 09:19, RFat wrote: >> > Thanks for the reply, but I can't see how that can be the case since >> this >> > address range is filled with zeros when the hdmi is active (both in >> case of >> > the ubuntu and the u-boot - I am reading these physical addresses). >> > >> > Any other idea? >> >> The registers no longer need to be accessed after setting up the hdmi >> encoder, >> so chances are that the adb / adp gate for the hdmi controller is closed, >> causing all reads to return 0. First ensure all the clk gates, and >> resets, etc. >> are set up properly before trying to dump the hdmi encoder registers. >> >> Regards, >> >> Hans >> > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.