Since Tanix TX6 can boot from the SD card


 Share

9 9

Recommended Posts

i tried the 5.2.8 dtb, but this is not the problem - no output on hdmi neither. on my other qplus box hdmi out works fine with 5.3, so the problem seems to be specific to the eachlink box. so looks like there is no real way around some kernel bisecting to find out which commit is causing this ...

Link to post
Share on other sites

Donate and support the project!

@jernej - bisecting done - this is the breaking commit/patch: https://patchwork.freedesktop.org/patch/311102/ - looks like they simply broke the video= cmdline parser :) ... as i understand https://patchwork.freedesktop.org/series/57525/ it is not accepted yet and looks like others had problems with it as well ... @PiotrO - might be interesting for you as well

Link to post
Share on other sites

@hexdump that should be non-breaking commit, so if you're not up to fixing it, please reply to that patch with bug report (you can download mbox version of that patch, import it in your e-mail client and then simply reply to it).

 

Anyway, I would still like to fix original issue, but I really don't know where to start...

Link to post
Share on other sites

@jernej - i did not find any way to download the message as mbox file - neither on patchwork nor on the list archive - and i'm not sure if i would be able to import it into gmail ... could you maybe please reply, reference my bisect message from above and put me on cc? (i assume you are on dri-devel - right?)

 

a lot of thanks in advance and best wishes - hexdump

Link to post
Share on other sites

@hexdump can you try this to see if it helps with eachlink HDMI connection detection? Replace "DRM_CONNECTOR_POLL_HPD" in https://elixir.bootlin.com/linux/latest/source/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c#L2118 with "DRM_CONNECTOR_POLL_CONNECT | DRM_CONNECTOR_POLL_DISCONNECT".

 

It's just workaround, but if it helps, it will help with understanding of the problem.

Link to post
Share on other sites

meh, I really don't know what to do at this point without actually having HW here. There are several known issues with H6 HDMI driver and they are all strange. Maybe if I manage to fix at least one I'll be able to deduce what could be the reason for others.

 

I have one possible solution in mind for DRAM driver though. I'll make test patch a bit later.

Link to post
Share on other sites

@jernej - could it maybe be that the eachlink simply has a hardware design failure, so that some hdmi detection signal is not properly connected and maybe even android uses the forced hdmi connect? ... with this eachlink box nothing would surprise me: the dram seems to be strange, the serial connector is there, but one has to solder in additional stuff to actually make it work etc.

 

looking forward to your dram ideas - do you think there is a chance to really get 3gb out of this box? or only to make it booting safe without mem=2048M?

 

do you also have some idea what might be the problem with emmc on those h6 tv boxes?

 

best wishes - hexdump

Link to post
Share on other sites

7 hours ago, hexdump said:

could it maybe be that the eachlink simply has a hardware design failure, so that some hdmi detection signal is not properly connected and maybe even android uses the forced hdmi connect?

Maybe, but I doubt. Still, you can check if pin 19 on HDMI connector is wired (HPD pin, source https://en.wikipedia.org/wiki/HDMI). From what I see, BSP also uses this for monitor detection.

 

Anyway, there might be some HW thing, since only STBs show some type of HDMI issues (monitor detection on Eachlink, CEC issue on Tanix TX6).

 

7 hours ago, hexdump said:

looking forward to your dram ideas - do you think there is a chance to really get 3gb out of this box? or only to make it booting safe without mem=2048M?

Given that experiments confirmed my theory, I think only 2 GiB can be used. I'm trying to achieve correct detection - 2 GiB without workaround. We'll see.

7 hours ago, hexdump said:

do you also have some idea what might be the problem with emmc on those h6 tv boxes?

No, not really. eMMC is not so important to me, so I don't think I'll investigate this anytime soon.

 

BTW, initial Tanix TX6 DT was merged to mainline yesterday (without ethernet for now).

Link to post
Share on other sites

@jernej - yes, i'll test it - i should have more time the next days - on my list: half dq u-boot test, uboot 2gb detection on eachlink, the above emmc patch and responding to the driv-devel list regarding the video= cmdline parser regression ...

 

it is funny, i ran across this emmc fix for the h5 today as well and had in mind to test if it might apply to the h6 too :)

Link to post
Share on other sites

@jernej - i just tested your eachlink dram issue patch from above, but sadly it still reports 3gb with it :( ... i used current mainline u-boot, plus your h6 plus half-dq patch and the eachlink h6 mini config and dtb from your u-boot tree

 

half-dq test on tx6 mini will follow most probably tomorrow ...

 

update: half-dq patch tested now as well successfully and reported to the u-boot list ...

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

9 9