buzzmarshall has quit [Quit: Konversation terminated!]
<narmstrong>
gbisson: the bl32 and the TA apps should work, not sure if the corresponding HALs would still work on aosp
<gbisson>
narmstrong: yes exactly, that's why I was wondering if we could use the standard apps from AOSP instead not to deal with outdated HAL
tdebrouw has joined #linux-amlogic
camus has quit [Ping timeout: 268 seconds]
camus has joined #linux-amlogic
<gbisson>
narmstrong: just to be sure: I've flashed the EVK bootloader onto my platform and it bootloops as the EVK doesn't include the proper DDR timings in ACS, the HW team forgot to expose EMMC_D5 to force USB recovery, is there any other trick to recover from that state? Otherwise I'll have the eMMC replaced
<narmstrong>
gbisson: you can try the hdmi dongle trick
<gbisson>
ok noted, hopefully the ones from amazon can easily be opened and contain an eeprom whose address can be changed (that's a lot of if but I get to know tonight)
camus has quit [Ping timeout: 240 seconds]
camus1 is now known as camus
camus has quit [Ping timeout: 240 seconds]
camus has joined #linux-amlogic
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #linux-amlogic
<tdebrouw>
narmstrong: I haven't been able to test your new g12 mipi implementation yet. Currently busy with something else
<tdebrouw>
narmstrong: but I have seen (with the older code) a shaking issue every 10 - 20 minutes, even with VIU_OSD_HOLD_FIFO_LINES set to 24
<tdebrouw>
of course, it could also be something else
<tdebrouw>
I just wanted to note that the issue isn't entirely solved on my side yet.
<tdebrouw>
but still, thanks for all the help/code so far.
camus has quit [Quit: camus]
<gbisson>
tdebrouw: on my end the shake is gone, but the timings are tricky to get correctly as they don't match the docs of the display (FYI)
<gbisson>
narmstrong: I think I know why you had to re-write the B character, it's the CRC byte which should be 0x64 ('d') for an empty block
<gbisson>
narmstrong: I'm trying to use my TC358743 HDMI input capture device and upload a custom EDID to it, it changed the 'B' into 'd' to fix the CRC ;)
<narmstrong>
tdebrouw: gbisson: lower should probably be fine, anyway I’ll cleanup everything and make it upstreamable so we can solve the remaining issues
<narmstrong>
gbisson: weird it was with the first dongles, now the last byte is written correctly
<narmstrong>
Maybe an issue with the at24 kernel driver at the time
<gbisson>
well actually it shouldn't have happened for you, in my case it's because it goes through the kernel to write the EEPROM knowing that it's an EDID and therefore checking the CRC
<gbisson>
in your case it should be a standard EEPROM with data written to it, anyway, I was just surprised to see the last bit being overwritten but then I saw a kernel trace telling me about the CRC
buzzmarshall has joined #linux-amlogic
camus has joined #linux-amlogic
<gbisson>
if anyone tries to do the HDMI recovery with a TC358743, the chip has a register to set the "EEPROM" address, but changing this register doesn't change anything, it always shows @0x50, so I'm still desperately waiting for those Amazon dongles
<narmstrong>
the soc has a slave i2c HW, and is exposed on the VIm3 header, so soldered to an connector and 5v pullup it should be doable to simulate an eeprom on addr 0x52
<narmstrong>
maybe I'll write the i2c slave driver for fun :-p
<gbisson>
Yup that could be an option, I most have imx platforms and last time I tried slave I2C (years ago) it was a nightmare
<gbisson>
Or an RPi could do the trick I guess
vagrantc has joined #linux-amlogic
<gbisson>
BTW, how did you find that info about the bootrom? ;)
<narmstrong>
gbisson: it was used to hack a Fire TV dongle, they forgot to enable password for USB boot... and they used this tweak to force USB boot
<gbisson>
narmstrong: nice, thanks!
elastic_dog has quit [Ping timeout: 240 seconds]
elastic_dog has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
camus has quit [Remote host closed the connection]
vagrantc has joined #linux-amlogic
tdebrouw has quit [Quit: Leaving.]
tdebrouw has joined #linux-amlogic
tdebrouw has quit [Client Quit]
zaungast has joined #linux-amlogic
zaungast has quit [Quit: Different things to do.]
<gbisson>
narmstrong: thanks so so so much! It worked!
<gbisson>
out of the 3 references I bought from Amazon, the first one (Qianrenon) doesn't have an EEPROM whose address can be changed
<gbisson>
but the other two are identical (ADWITS & eFUTURA) with a standard 24c02 EEPROM
<gbisson>
I reworked one of them, updated the EEPROM and it worked right away, nice tutorial
<gbisson>
FYI in order to lift the pin I removed the entire thing (was easier as I had no needle around)