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
ssvb has quit [Ping timeout: 240 seconds]
levd has joined #linux-rockchip
naobsd has joined #linux-rockchip
rory096 has quit [Ping timeout: 250 seconds]
tony_ has joined #linux-rockchip
akaizen has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 265 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 244 seconds]
cnxsoft has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 252 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 252 seconds]
<critch> bashintosh: Looks like our manufacturer is just not very clued into how to validate the SDK before handing it off to the customer. They are supposed to be getting me the current kernel tree for our device. When that is done, I should have the complete SDK for 4.4.4 on this tablet.
rory096 has joined #linux-rockchip
pizthewiz has quit [Quit:
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 244 seconds]
tony_ has quit [Quit: Leaving]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 250 seconds]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 260 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 265 seconds]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 240 seconds]
robogoat has joined #linux-rockchip
jey has joined #linux-rockchip
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 250 seconds]
markm has quit [Ping timeout: 240 seconds]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 245 seconds]
akaizen has quit [Remote host closed the connection]
levd1 has quit [Remote host closed the connection]
levd has joined #linux-rockchip
levd has quit [Remote host closed the connection]
levd has joined #linux-rockchip
pizthewiz has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 255 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 246 seconds]
<mmind00> norris: sorry, that was to late for me
levd1 has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
levd has quit [Ping timeout: 245 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 252 seconds]
rory096 has quit [Ping timeout: 244 seconds]
pizthewiz has quit [Quit:
jey has quit [Remote host closed the connection]
akaizen has joined #linux-rockchip
markm has joined #linux-rockchip
akaizen has quit [Remote host closed the connection]
levd1 has joined #linux-rockchip
nighty^ has joined #linux-rockchip
levd has quit [Ping timeout: 265 seconds]
levd has joined #linux-rockchip
Paowz_ has joined #linux-rockchip
levd1 has quit [Ping timeout: 272 seconds]
levd1 has joined #linux-rockchip
ssvb has joined #linux-rockchip
levd has quit [Ping timeout: 255 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 250 seconds]
naobsd has quit [Quit: naobsd]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 245 seconds]
GTRsdk has quit [Remote host closed the connection]
naobsd has joined #linux-rockchip
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 256 seconds]
levd has quit [Ping timeout: 256 seconds]
naobsd has quit [Quit: naobsd]
mrjay has joined #linux-rockchip
<mrjay> anybody tried latest linux next on rk3066? i'm getting kernel panic: http://pastebin.com/4jmbexyN
<karlp> mrjay: what uboot is that? something you put on after the existing rockchip loader?
<mrjay> u-boot is from here: http://androtab.info/rockchip/u-boot/
<mrjay> rk3066 compilation
<mrjay> today i updated my linux next repo and it's panicing. Same repo worked ok a week ago.
<mrjay> karlp: forgot to add karlp: sorry
<mrjay> karlp: there are some updates in linux-next from 3h ago, i'm gonna pull them and recompile everything
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-rockchip
<mmind00> mrjay: just to confirm, I see this too (I pulled the latest clock changes into my dev-tree this morning) ... I'll dig a bit
<mrjay> mmind00: thanks. I thought i was the only one panicking here ;)
rory096 has joined #linux-rockchip
<mrjay> mmind00: compiling ...
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<mrjay> mmind00: bootlog: http://pastebin.com/xmrtPGiZ stops after registering gpios
<mrjay> mmind00: applied ... thanks
cristian_c has joined #linux-rockchip
cosm has joined #linux-rockchip
cosm has quit [Client Quit]
cosm has joined #linux-rockchip
mrjay has quit [Ping timeout: 246 seconds]
<norris> mmind00: no problem. it was a long shot :)
<mmind00> norris: :-D
<norris> mmind00: now that I have your ear though... :)
<mmind00> norris: just fire away :-)
<norris> what is your stance on factoring out common DTSI info vs having several similar DTS files for veyron-* platforms?
<norris> I believe chromium has a sometimes hard to follow hierarchy of #includes
<mmind00> norris: hehe yep ... the number of includes is interesting, but I guess comes with the number of individual devices
<norris> AFAICT, they're often >50% similar
<norris> but the last 20-50% makes it difficult
<mmind00> norris: yeah ... what I want to avoid is numerous tiny dtsi files ... so stuff split out into separate dtsi files should provide value
<norris> for one - i believe mighty (not submitted) is probably about as similar to jaq (just submitted) as jaq is to jerry
<norris> ok, so you'd err on the side of several similar, larger DTS files? i.e., like my latest submission?
<mmind00> yep ... if we find big chunks that warrant splitting out this can be done later as well
<norris> ok, sure
<mmind00> and for me, the jerry, minnie, etc dts files are not _that_ big ... as most stuff is contained in veyron.dtsi and veyron-chromebook.dtsi
<norris> yeah
<norris> mmind00: ok, thanks for the comments! i can take v2 from here
<mmind00> norris: great ... looking forward to them :-)
<norris> mmind00: btw, what time zone, so I can know when to expect to bug you?
<norris> :D
<mmind00> norris: timezone is CEST aka Europe :-D
<norris> (I'm PDT / UTC-0700)
<norris> thanks
<mmind00> norris: yeah like amstan and dianders :-)
<norris> exactly, i suspected you could guess
<mmind00> hehe ... yeah
<c0d3z3r0> rperier: I did some more tests… with/without cpuidle, hotplug etc. always the same problem "CPU… failed to come online"
cosm has quit [Ping timeout: 244 seconds]
JohnDoe_71Rus has joined #linux-rockchip
<c0d3z3r0> rperier: the same kernel starts all cpus without kexec
cosm has joined #linux-rockchip
mrjay has joined #linux-rockchip
<topi`_> I wonder how long until we see first 64-bit hacker boards, like RK3368 based
<topi`_> I have the Rock2, which is nice, but it's still only 32-bit board
JohnDoe6 has joined #linux-rockchip
JohnDoe_71Rus has quit [Ping timeout: 244 seconds]
<rperier> c0d3z3r0: don't compute, when you boot this kernel without using kexec everything works fine, but when you use kexec CPUs are not online when you restart your kernel on the fly ?
<rperier> (via kexec)
<c0d3z3r0> rperier: right
cosm has quit [Ping timeout: 244 seconds]
<c0d3z3r0> I also tried kexec'ing this kernel from a kernel with disabled smp. same problem
cosm has joined #linux-rockchip
<c0d3z3r0> rperier: looking at arch/arm/kernel/smp.c the cpus 1-3 get started but don't come online after the timeout
<rperier> trying to boot my marsboard with next first... it does not boot :D
<rperier> https://paste.debian.net/298395/ <--- with lastest fixes for rk3188/rk3066 (pclk_cpu and pll_mux init)
<rperier> Failed to find PMU node is not criticial normally, I mean, rockchip_suspend_init just returns if the compatibility is not found ---> BUT, perhaps nothing is initialized on the PMU side...
<rperier> which might explains why it hangs...
gb_master has joined #linux-rockchip
cosm has quit [Ping timeout: 250 seconds]
<c0d3z3r0> hmm I get the PMU error with or without kexec
<c0d3z3r0> and the system boots fine but with just one cpu
<rperier> interesting...
<rperier> I will investigate
<c0d3z3r0> btw. here is your usb patch reworked for next http://pastebin.com/ebH868dL
<c0d3z3r0> oh. one mistake..
akaizen has joined #linux-rockchip
<c0d3z3r0> rperier: and this is my log - uboot -> up kernel -> kexec -> smp kernel http://pastebin.com/3KXL5VhJ
<gb_master> rperier: I know I'm always pinging about the same thing, but are there any news about the 3188 eth kernel panic/loss of packets?
<mrjay> mmind00: http://pastebin.com/ZP1SVG4m still no luck. Any other clues what's wrong?
<c0d3z3r0> gb_master: what problems do you have with ethernet? my radxa rock rk3188 ethernet runs just fine
<sjoerd> it panics every so often because something overflows
<c0d3z3r0> I never had such problems
<sjoerd> I've got it once a day or so
<gb_master> c0d3z3r0 mainline?
<c0d3z3r0> yes
<gb_master> it's been a lot since I tried the last time, but I was experiencing kernel panics after a few seconds of usage of the ethernet
<gb_master> (on mainline)
<gb_master> rperier was investigating on the issue, but I don't know if he solved it in the end or not
<c0d3z3r0> hm I can do some tests when I get the kexec problem fixed
gb_master has quit [Read error: Connection reset by peer]
<mmind00> mrjay: try https://bpaste.net/show/b2e347c0937b it may show which clock gets disabled
gb_master has joined #linux-rockchip
<gb_master> sjoerd are you experiencing this same issue?
pizthewiz has joined #linux-rockchip
<sjoerd> gb_master: not that quicly but yes happens from time to time
<sjoerd> i mostly switched to using a 3288 for what i was doing so didn't really look into it either
<gb_master> sjoerd, c0d3z3ro: it was noted by rperier in "http://linux-rockchip.info/mw/index.php?title=TODO" (I was experiencing the issue even without the ROOTFS thing)
dlezcano has joined #linux-rockchip
<sjoerd> gb_master: yeah i can reproduce it every so often by simply playing back internet radio
<gb_master> by using an updated mainline kernel?
<sjoerd> it runs linux-next yes
<gb_master> sjoerd: are you using a radxa rock, btw?
<sjoerd> yes
<sjoerd> well rock pro
dlezcano has quit [Ping timeout: 272 seconds]
<sjoerd> for the 3188
<gb_master> yes, me too... then it's weird, as it c0d3z3r0 said it doesn't happen for him :(
<sjoerd> just luck
<gb_master> sjoerd: I don't know... I mean, as it is supposed to be a server, I can't use my mainline radxa at all, as it crashes everytime
<sjoerd> Well you'll have to dig into it or wait for someone to look into it :)
<gb_master> even if I'm a sw eng, I never had to dig so deep to meet the kernel
<sjoerd> first time for everything
<gb_master> "you're goddamn right" [quote]
<mrjay> mmind00: http://pastebin.com/fGShRivP weird ... there's more ... pasting only the beginning
<rperier> it seems to hang in "of_platform_populate"
dlezcano has joined #linux-rockchip
dlezcano has quit [Ping timeout: 245 seconds]
akaizen has quit [Read error: Connection reset by peer]
dlezcano has joined #linux-rockchip
gb_master has quit [Quit: Leaving]
<mmind00> mrjay: gah sorry ... can you do a s/msleep/mdelay/ please?
<mmind00> that should then hopefully shorten the log a bit again ;-)
dlezcano has quit [Ping timeout: 256 seconds]
<mrjay> mmind00: np :)
<mrjay> mmind00: http://pastebin.com/4eJi4HfH the newest one
<mmind00> mrjay: pclk_peri is a good indicator :-)
<mmind00> mrjay: which should probably stay running
<mmind00> mrjay: can you try adding it to rk3188_critical_clocks in clk-rk3188.c to make sure?
<mrjay> mmind00: already added to critical clock list
<mrjay> mmind00: thanks for help btw ... will this bug affects other rk3066 platforms as well? or this is specific to my device tree?
Apocx has joined #linux-rockchip
<mmind00> mrjay: I'd think that is generic to the whole rk3066
<mrjay> mrjay: ok ... i'm compiling now, my rockchip config is big ... needed docker support and few usb drivers ... hope this is the last one
<mrjay> mmind00: ok ... i'm compiling now, my rockchip config is big ... needed docker support and few usb drivers ... hope this is the last one
gb_master has joined #linux-rockchip
<mrjay> mmind00: aclk_peri_pre is also needed : http://pastebin.com/DFZ1YDgj
gb_master has quit [Remote host closed the connection]
JohnDoe6 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<Apocx> I'm trying to follow the steps here (http://www.multitech.com/manuals/s000616_1.pdf) in order to add support to linux-rockchip for the LE910 4G modem. I'm at step 4, but the file /drivers/net/usb/qmi_wwan.c does not exist. Is there another file I should be using instead?
nighty^ has quit [Quit: Disappears in a puff of smoke]
<mmind00> mrjay: strange aclk_peri is already in the critical clock list ... I currently don't have any rk3188/rk3066 boards with me (for next 2 weeks too), so maybe you could poke a bit around where it does missing?
<mmind00> mrjay: one point to check would be of the clock actually is found in drivers/clk/rockchip/clk.c ... rockchip_clk_protect_critical()
<mrjay> mmind00: alck_peri: was in the list, aclk_peri_pre: wasn't. Does the order in that list matter?
<mrjay> mmind00: yes i can ... but my knowledge about clocks is very poor
<mmind00> mrjay: normally it shouldn't ... and the clock-framework should enable parent clocks as well
<mrjay> mmind00: aha ok
<mrjay> mmind00: any hint what to look for?
<mmind00> mrjay: try https://bpaste.net/show/71e37e17ae27 ... if anything changes
<mmind00> mrjay: aka rk3188_common_clk_init() is the setup of shared clocks between rk3066/rk3188 and I noticed, the critical clocks may be handled a bit prematurely, as the soc-specific functions also add clocks as well
<mrjay> mmind00: applied, compiling
<Apocx> so if qmi_wwan.c does not exist in linux-rockchip, does that mean I won't be able to use the LE910? There were definitions for an LE920 in /drivers/usb/serial/option.c, so I assumed I'd be able to add support for the 910
cristian_c has quit [Read error: Connection reset by peer]
cristian_c has joined #linux-rockchip
cristian_c has quit [Excess Flood]
Guest10925 has joined #linux-rockchip
Guest10925 has quit [Excess Flood]
<mmind00> sjoerd: when you're looking at the spdif again, you could also give https://github.com/mmind/linux-rockchip/tree/tmp/spdif a try ... fractional dividers (issue 1) work for me with this and the dma-related (issue 2) stuttering is also gone
<sjoerd> mmind00: hmm i didn't see the burst issue thus far on spdif
<sjoerd> mmind00: but that's great, will have a play with that :)
<mmind00> sjoerd: when playing spdif stuff on my firefly it was stuttering all the time (stuttering in the sense of playback breaking off for a very short while)
<Apocx> mmind00: I see your repo includes qmi_wwan.c, do you happen to know if I can drop that into my own repo and have it work? Or does it depend on a bunch of other files?
<mmind00> Apocx: that is simply the mainline kernel, with that modem driver ... not sure if this will fit into an ancient 3.0 or 3.10 kernel
<Apocx> Ah ok. I'm using the radxa-linux-rockchip 3.0 kernel
<Apocx> Welp I added it and am trying to compile now. Probably a longshot and will just throw a million errors but worth a try I guess
<sjoerd> mmind00: wonder wy it dosn't happen on my square nor rock pro
<sjoerd> anyway naptime here :)
gb_master has joined #linux-rockchip
<mrjay> mmind: last patch helped
<mrjay> mmind00: board is booting again
<mrjay> mmind00: last patch helped (keep forgeting about tab thing ;)
<mrjay> mmind00: thanks for your time ... you're awsome
<mrjay> rperier: about marsboard: check mmind last hint mine board is booting again
<mmind00> mrjay: great to hear that
<mrjay> mmind00: i know you're busy man, but if you find time send fix for mainline please :)
<mmind00> mrjay: yep, already on the list
markm has quit [Ping timeout: 246 seconds]
dlezcano has joined #linux-rockchip
markm has joined #linux-rockchip
dlezcano has quit [Ping timeout: 245 seconds]
mrjay has quit [Quit: Page closed]
<Apocx> nope, missing dependencies. down the rabbit hole I go. guess I'll keep adding them until I find something I can't fix
<Apocx> and if that happens, good bye Radxa Rock Pro
<mmind00> leming: amstan said, you have working sound ... could you share your alsa settings somehow? ... I'm currently playing around with alsa on mainline, but mindlessly playing around with mixer settings seems to have the ability to damage speakers it seems [they at least start to smell bad] - so some starting point that is working somewhere would help a lot :-)
<amstan> right.. i wanted to talk to dgreid about this, perhaps srao too
<amstan> srao: how do we not burn our veyron speakers by misconfiguring alsa?
<mmind00> srao: additionally do you know what could be missing from upstream - the rockchip_max98090 glue driver seems to make it into 4.3, but so far I didn't hear anything, just smelled strange things :-)
<amstan> mmind00: it's probably just your settings then, i didn't hear anything either even though i made it smell, once i got leming's config it worked perfectly
<amstan> despite the smell
<amstan> mmind00: could you send me the config that makes it smelly btw?
<amstan> perhaps we could hack some of those dangerous settings out the kernel
<mmind00> amstan: sadly I didn't save anything ... just scrolled through the alsamixer interface, noticed the smell and turned off the device
<mmind00> s/scrolled through/scrolled through and toggled some options/
<amstan> mmind00: yep.. i did the same stuff
<amstan> mmind00: i could do testing one day to see what settings are dangerous
<amstan> perhaps with speakers disconnected
<amstan> or.. i could do that capacitor thing too
gb_master has quit [Remote host closed the connection]
<amstan> mmind00: dgreid suggests we copy the chromeos UCM files
<amstan> and be very careful what else you edit in alsa
<amstan> and the bleak truth is that they're not meant to be adjusted without a scope/datasheet and schematics
<amstan> kinda sucks..
<amstan> mmind00: of course i managed to send another html email to linux kernel lists
<amstan> at least the important people got it...
markm has quit [Ping timeout: 245 seconds]
<Apocx> Is there no version of the linux-rockchip kernel that supports QMI?
<Apocx> why is it so outdated