ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
ity has joined #linux-sunxi
aggi has quit [Quit: connection closed.]
zamon has joined #linux-sunxi
zamon has quit []
cnxsoft has joined #linux-sunxi
Daanct12 has joined #linux-sunxi
colinsane has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
hexdump02 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
ftg has quit [Read error: Connection reset by peer]
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
zamon has joined #linux-sunxi
<zamon> I was tring to enter FEL mode yesterday. I have tried a lot of methods one of which is https://linux-sunxi.org/FEL#Through_a_special_SD_card_image. Now I can get into FEL mode, But I found my SD card that burned the image was broken. :(
zamon has left #linux-sunxi [#linux-sunxi]
zamon has joined #linux-sunxi
<zamon> I was tring to enter FEL mode yesterday. I have tried a lot of methods one of which is https://linux-sunxi.org/FEL#Through_a_special_SD_card_image. Now I can get into FEL mode, But I found my SD card that burned the image was broken. :(
<jernej> Lightsword: That is just for lower consumption when in standby. It's not something that's important for normal operation, so it's not implemented (yet)
chewitt has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
<Lightsword> jernej, it's not used for say resetting a stuck bus or anything like that?
<jernej> not that I would know
<jernej> I don't think it would help with stuck buses. It only puts pins in hi-Z state via pin controller.
<jernej> if, let's say, I2C device would be stuck, you would need to bit bang special sequence to unstuck it or power cycle it
zamon has quit [Remote host closed the connection]
<Lightsword> jernej, hmm, I saw some stuff about the kernel having some functionality that can be used to bit bang gpio's or something, possible that's what's needed to enable the i2c3 bus normally? I've been trying a bunch of different ways to try and unlock that bus but I haven't been able to find anything so far that has any real effect. Have you ever seen sunxi i2c buss locked errors before?
bauen1 has joined #linux-sunxi
ungeskriptet has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
gsz has joined #linux-sunxi
<dlan> montjoie: FYI, i've made ethernet(emac0) work, check https://github.com/dlan17/u-boot/tree/allwinner/A523
gsz has quit [Ping timeout: 480 seconds]
radxanaoki has quit [Quit: radxanaoki]
Daanct12 has quit [Quit: WeeChat 4.6.1]
<loki666> jernej: I found this https://lore.kernel.org/dri-devel/cbf20469-02ab-403a-8db7-2b66e9936b4f@samsung.com/T/#m72ec9cac75b5d705b42fdbded9c6b114fc96cddd which looks very similar to what we need for h616 g31
dsimic is now known as Guest13974
dsimic has joined #linux-sunxi
Guest13974 has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
ity has quit [Quit: WeeChat 4.6.0]
ity has joined #linux-sunxi
gsz has joined #linux-sunxi
<jernej> loki666: not really, no. besides, we have it solved already
Schimsalabim has quit [Ping timeout: 480 seconds]
<jernej> Lightsword: I still believe you have issue with pwm and that's why i2c doesn't work. Maybe I'll find some time next week to test this on one of my H616 boards
<Lightsword> jernej, that's the "allwinner,sun50i-h616-pwm" device tree node?
Schimsalabim has joined #linux-sunxi
<Lightsword> I think I did modify that driver a bit to try and force it into bypass mode
<jernej> correct
<Lightsword> maybe I didn't do that right though
<jernej> in any case, I'm out of ideas to help you, so I need to test it myself
<loki666> ok, I rocknix team member did test my patches on various panfrost platforms without issues, but I didn't saw his mail lands in dri-devel (but did on sunxi)
<Lightsword> jernej, this is the diff of the change I made to try and debug the pwm and force it to bypass: https://gist.github.com/jameshilliard/55b0c300e5de708226e63ed2940cba6c
<jernej> override looks ok, but it's always good to check with direct reg read via devmem2 or similar tool
<Lightsword> jernej, hmm, yeah, I had tried poking some i2c3 config registers via devmem2 and was getting results that looked off
gsz has quit [Ping timeout: 480 seconds]
<Lightsword> jernej, should "devmem 0x0300A040 w" show the pwm enable register? looks like it's not being enabled properly
<montjoie> dlan: thanks, I will try it soon
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
chewitt has quit [Quit: Zzz..]
colinsane has quit []
colinsane has joined #linux-sunxi
hazardchem has quit [Remote host closed the connection]
hazardchem has joined #linux-sunxi
colinsane has quit [Ping timeout: 480 seconds]
tlwoerner has quit [Ping timeout: 480 seconds]
tlwoerner has joined #linux-sunxi
tlwoerner has quit [Read error: Connection reset by peer]
tlwoerner has joined #linux-sunxi
tlwoerner has quit [Read error: Connection reset by peer]
tlwoerner has joined #linux-sunxi
vagrantc has joined #linux-sunxi
ndufresne has quit [Quit: Ping timeout (120 seconds)]
ndufresne has joined #linux-sunxi
aggi has joined #linux-sunxi
tlwoerner has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Ping timeout: 480 seconds]
aggi has quit [Quit: connection closed.]
aggi has joined #linux-sunxi
aggi_ has joined #linux-sunxi
aggi_ has quit []
aggi has quit [Ping timeout: 480 seconds]
aggi has joined #linux-sunxi
daschaos has quit [Remote host closed the connection]
<Lightsword> jernej, hmm, so I'm not sure how to obtain accurate devmem values since the pwm driver seems to always try and revert the configuration due to the i2c failure, is there a way to override it so it retains the configuration even on i2c3 failure?
Schimsalabim has joined #linux-sunxi