ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | Wiki at http://linux-rockchip.info | Logs at http://irclog.whitequark.org/linux-rockchip | ML at http://groups.google.com/group/linux-rockchip
nighty^ has quit [Quit: Disappears in a puff of smoke]
naobsd has joined #linux-rockchip
FreezingCold has quit [Ping timeout: 246 seconds]
robogoat has quit [Ping timeout: 246 seconds]
robogoat has joined #linux-rockchip
naobsd has quit [Remote host closed the connection]
naobsd has joined #linux-rockchip
ganbold_ has quit [Remote host closed the connection]
<naobsd> akaizen: probably no
Astralix` has joined #linux-rockchip
Astralix|away has quit [Ping timeout: 264 seconds]
ganbold_ has joined #linux-rockchip
<TonyTony> naobsd, as you see, we cancel to modify android 4.2.2 to RK3288. ;P
<TonyTony> naobsd, RK also suggest us don't do that or they won't give service.
<naobsd> TonyTony: sounds reasonable to me...
<TonyTony> naobsd, ah. and today I want to talk about how to built-in a temperature sersor in kernel ? it based the i2c bus.
<TonyTony> now It can works fine on userspace by /dev/i2c-0. I want to find some subsystem about this.
<TonyTony> I want to make kernel driver for that.
<TonyTony> the hwmon subsystem seems like for the sensor. but I can not ensure.
<naobsd> check existing driver in kernel source tree & enable it
<TonyTony> the chip I used have not existed in kernel source tree, I want to know which subsystem I should use for it.
<TonyTony> Do you know the hwmon sub-system well ?
<TonyTony> I can't sure if it is the sub-system I find.
<naobsd> check similar device driver
<TonyTony> okay, thanks.
GGflags has quit [Ping timeout: 250 seconds]
ganbold_ has quit [Ping timeout: 255 seconds]
GGflags has joined #linux-rockchip
ganbold_ has joined #linux-rockchip
nighty^ has joined #linux-rockchip
naobsd has quit [Quit: naobsd]
GTRsdk has quit [Remote host closed the connection]
TonyTony has quit [Read error: Connection reset by peer]
cheetahw26_ has joined #linux-rockchip
cheetahw26 has quit [Ping timeout: 264 seconds]
naobsd has joined #linux-rockchip
hipboi_ has joined #linux-rockchip
hipboi has quit [Ping timeout: 272 seconds]
GriefNorth has joined #linux-rockchip
GriefNorth has quit [Quit: Konversation terminated!]
<mmind00> jap ... also einmal ... wir jagen aber seit ein paar Tagen ein reboot-Problem das jemand auf dem Cortex-A9 sieht ... d.h. nach nem reboot gibts dann paging fehler: https://paste.mniewoehner.de/uER/
<mmind00> sorry wrong channel
<c0d3z3r0> mmind00: I have some more news on that
<c0d3z3r0> I trieg to set vdd_arm to 1,0V shortly before reset. Though that is not the way to go it worked. The right way seems to be to disable cpufreq and lock the frequency so the voltage is 1.0V
<c0d3z3r0> that's what the rkchrome guys did
<c0d3z3r0> but I don't really know how to do that in mainline kernel
<c0d3z3r0> since there is no rockchip-cpufreq driver
<mmind00> c0d3z3r0: does this help then?
<mmind00> c0d3z3r0: the german line above comes from a chat about a possible issue in the smp-code for the rk3188
<c0d3z3r0> not always because if the frequency is 1,6GHz at the time of setting vdd_arm to 1.0V it crashes before power cycle. When I first set the power cycle bit and then the voltage that works because there are 8ms between setting the register and the actual power cycle
<c0d3z3r0> It doesn't work always. Sometimes there is a crash so maybe that is a timing problem
<c0d3z3r0> here is the patch https://paste.mniewoehner.de/NJS/
<c0d3z3r0> line 36 is new
<c0d3z3r0> the rest is the same as on the mailing list
<c0d3z3r0> that is the patch from rkchrome kernel https://paste.mniewoehner.de/fZndoZ/
<mmind00> c0d3z3r0: can you try changing headsmp.S to https://bpaste.net/show/50cbd168871e [state before introduction of the rk3288 supper] and see if the problem persists?
<c0d3z3r0> with or without my 1.0V workaround?
<mmind00> I'd guess without, i.e. pristine kernel :-)
<c0d3z3r0> ok
Astralix` is now known as Astralix|away
<c0d3z3r0> mmind00: interesting… the voltage after reboot is 1,35V but there is no kernel panic even after multiple reboots. it also fixes the kernel bug that happend when running "memtester 1800"
<c0d3z3r0> what exactly does the patch change?
<mmind00> c0d3z3r0: great ... as you can see in headsmp.S v7_invalidate_l1 is supposed to be called conditionally on Cortex-A9 smp bringup
<mmind00> c0d3z3r0: both the conditional as well as the branch itself is faulty it seems ... so the diff above reverts it to the state it had before the RK3288 was added
<mmind00> c0d3z3r0: there is a bigger patch in the works on the lists that changes this in a much broader way
<c0d3z3r0> mmind00: thanks :) can you also explain why it crashes only when running at 1.35V and not 1.0V?
<mmind00> c0d3z3r0: not really, I'd guess it is more a random thing
JohnDoe_71Rus has joined #linux-rockchip
markm__ has quit [Ping timeout: 272 seconds]
Astralix|away is now known as Astralix
field^Mop has joined #linux-rockchip
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
premoboss has joined #linux-rockchip
<c0d3z3r0> mmind00: after some tests even with overclocking to 1.92 it seems to run stable with the patch applied ;)
<mmind00> with my diff to headsmp.S or with mailinglist-patch I linked to?
<c0d3z3r0> yep
<c0d3z3r0> ah uhm the first
<c0d3z3r0> :D
<mmind00> c0d3z3r0: I'm fighting a different fight currently, so haven't had time to test yet
<c0d3z3r0> I'll try that in some minutes
<c0d3z3r0> and if you can give me a little hint how to do that I would also create a patch for the clock timer issue
markm has joined #linux-rockchip
field^Mop has quit [Ping timeout: 240 seconds]
<c0d3z3r0> mmind00: no crashes or kernel panics with the patch
<mmind00> yay \o/
<mmind00> c0d3z3r0: don't know if you're subscribed to the linux-rockchip list and would've gotten the patch from there, but if you have it somewhere you could send a Tested-by tag as reply to it
<mmind00> c0d3z3r0: I haven't much insight into the timer issue though ..
<mmind00> c0d3z3r0: yep
<c0d3z3r0> mmind00: done
<c0d3z3r0> wtf… Message has a suspicious header
<mmind00> hehe ... sadly it doesn't say which one ... but I've authorized your mail ;-)
<c0d3z3r0> mmind00: thx :)
<mmind00> c0d3z3r0: as I'm just seeing this ... could you do this again, but with a reply-all :-)
<mmind00> i.e. it should reach all people who originally got the mail
<c0d3z3r0> I didn't get the mail because I subscribed it after that patch :/
<c0d3z3r0> so I just copied it to a new "reply" mail
<mmind00> ah ok :-)
<mmind00> I'll do a reply anyway ... so I'll just paste your response into it
<c0d3z3r0> ok
<c0d3z3r0> time for bed now.. gn8
<mmind00> gn8
<naobsd> seems good news :)
<naobsd> I don't understand what happened at rockchip_secondary_startup, but if L1 cache is not invalidated properly, random crash after reboot is reasonable
c0d3z3r0 has quit [Ping timeout: 245 seconds]
naobsd has quit [Quit: naobsd]
nighty^ has quit [Quit: Disappears in a puff of smoke]
c0d3z3r0 has joined #linux-rockchip