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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to