narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - Publicly Logged on https://irclog.whitequark.org/linux-amlogic
<xdarklight> narmstrong: I tried to move away from meson-gx-pwrc-vpu by implementing two separate power-controller drivers (one for the AO bits, another for the HHI bits) so mjourdan's vdec driver doesn't have to touch the AO bits as well (the GX SoCs have a syscon for the AO registers, but we don't need that on the 32-bit SoCs)
<xdarklight> so I came up with an initial draft which "kinda" works: https://github.com/xdarklight/linux/commit/9626f239842d44e5efbf4d2d453cbbe57b5eee1f
<xdarklight> (I'll speak of the Libretech-CC board which I'm using to test this in the following lines...)
TheAssassin has quit [Ping timeout: 252 seconds]
<xdarklight> "works" means: I can access the VPU registers without hanging the board. unfortunately the screen (connected via HDMI) stays black (my monitor says that it doesn't get any signal and thus wants to enter standby)
<xdarklight> I have compared a few registers with your pwrc driver and with my hack:
<xdarklight> - AO_RTI_GEN_PWR_SLEEP0 = 0xfffffcff is identical
<xdarklight> - AO_RTI_GEN_PWR_ISO0 = 0xffffffff is also identical
<xdarklight> - HHI_MEM_PD_REG0 = 0xffff00f3 is identical
<xdarklight> - HHI_VPU_MEM_PD_REG0 is 0x55555555 with your driver but 0x00000000 in mine (you're masking off 0x2 instead of 0x3, not sure why)
<xdarklight> - HHI_VPU_MEM_PD_REG1 - same situation as in HHI_VPU_MEM_PD_REG0
<xdarklight> before I invest more time in debugging: did you ever run into the situation where you could access the VPU registers but the screen stayed blank while you were developing meson-gx-pwrc-vpu?
The_CooIest has joined #linux-amlogic
TheAssassin has joined #linux-amlogic
<brads> I seem to have an issue booting or reading sdcard at the moment on Odroid c2, sometimes its detected and sometimes not (both with linux 4.20-rc6 and mainline uboot). At the moment I see "Card never left busy state" in dmesg - https://pastebin.com/hyT4mW9K The emmc works fine and I have triied 3 different sd cards, all with similar issues that were working previously. Trying to work out if its a hardware issue or
<brads> software maybe?
<brads> uboot will see the card sometimes and not others on a cold boot (loading bl1), I guess it must be some sort of hardware issue
_whitelogger has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
chewitt has joined #linux-amlogic
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
ldevulder_ has joined #linux-amlogic
default__ has quit [Ping timeout: 246 seconds]
ldevulder_ has quit [Ping timeout: 244 seconds]
ldevulder_ has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 250 seconds]
Darkmatter66 has joined #linux-amlogic
ldevulder_ has quit [Quit: Leaving]
_whitelogger has joined #linux-amlogic
Darkmatter66_ has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 240 seconds]
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
chewitt has quit [Quit: Zzz..]
sputnik_ has quit [Ping timeout: 246 seconds]
_whitelogger has joined #linux-amlogic
yangxuan has joined #linux-amlogic
yangxuan has quit [Client Quit]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 250 seconds]
vagrantc has joined #linux-amlogic
Darkmatter66 has joined #linux-amlogic
Darkmatter66_ has quit [Ping timeout: 250 seconds]
return0e_ has quit [Remote host closed the connection]
return0e has joined #linux-amlogic
The_CooIest has quit [Quit: FOLD For The Cause!!!]
Darkmatter66 has quit [Ping timeout: 244 seconds]
Darkmatter66_ has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
sputnik_ has joined #linux-amlogic
The_Coolest has quit [Ping timeout: 252 seconds]
The_Coolest has joined #linux-amlogic
The_CooIest has joined #linux-amlogic
jakogut_ has quit [Quit: jakogut_]
jakogut_ has joined #linux-amlogic
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-amlogic
return0e_ has joined #linux-amlogic
return0e has quit [Ping timeout: 268 seconds]
vagrantc has joined #linux-amlogic
nashpa has quit [Ping timeout: 272 seconds]
nashpa has joined #linux-amlogic