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> mrutland: /dev/kmem? btw dtb in resource.img in stock rom is not useful?
dowu has quit [Ping timeout: 246 seconds]
Danukeru has quit [Ping timeout: 246 seconds]
mrueg has quit [Remote host closed the connection]
tizbac has quit [Ping timeout: 246 seconds]
rperier has quit [Quit: No Ping reply in 180 seconds.]
Luke-Jr has quit [Ping timeout: 246 seconds]
sjoerd has quit [Ping timeout: 246 seconds]
SamuelMoraesF has quit [Ping timeout: 246 seconds]
mrueg has joined #linux-rockchip
rperier has joined #linux-rockchip
Luke-Jr has joined #linux-rockchip
SamuelMoraesF has joined #linux-rockchip
sjoerd has joined #linux-rockchip
Danukeru has joined #linux-rockchip
tizbac has joined #linux-rockchip
levd has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 246 seconds]
tony__ has joined #linux-rockchip
naobsd has quit [Remote host closed the connection]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 264 seconds]
<tony__> I want to buy a RR.
<tony__> who can help me, with a LCD.
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 272 seconds]
ssvb has quit [Ping timeout: 255 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 240 seconds]
ssvb has joined #linux-rockchip
luke-jr_ has joined #linux-rockchip
Luke-Jr has quit [Ping timeout: 244 seconds]
luke-jr_ is now known as Luke-Jr
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 246 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 260 seconds]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 240 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 246 seconds]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 250 seconds]
GriefNorth has joined #linux-rockchip
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 256 seconds]
levd 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
<lautriv> tony__, RR as in radxa ?
cristian_c has joined #linux-rockchip
levd has quit [Ping timeout: 240 seconds]
levd has joined #linux-rockchip
<cristian_c> tony__: hi
<tony__> cristian_c, hi, long time no see. ;P
<cristian_c> please to meet you again :D
<cristian_c> tony__: I've solved the bt keyboard issue
<tony__> cristian_c, X ?
<tony__> cristian_c, with X ?
<tony__> cristian_c, You are a smart guy. ;P
<cristian_c> almost
<cristian_c> no no :D
<cristian_c> tony__: lightdm.conf didn't work
<cristian_c> so, I've gone back to rv.local
<cristian_c> I've placed brcm_patchram_plus command in rc.local, again
<cristian_c> but I've placed a '&' at the end of the command
<cristian_c> so it runs in background
<cristian_c> without '&' , all the system freezes , before starting X
<cristian_c> in rc.local I've placed also hidd --connect command
<cristian_c> but brcm_patchram_plus needs six seconds to be fully executed
<cristian_c> so, I've placed a sleep 6 command after brcm_patchram_plus in rc.local
<cristian_c> tony__: now, when the login screen appears, I've to wait six seconds in order to get bt keyboard working :D
<cristian_c> it's a not bad fix :)
<cristian_c> to use only bt keyboard
<lautriv> cristian_c, wgat distro/init-system ?
<cristian_c> *buntu, I think upstart
<cristian_c> but also systemd is present, I see
<lautriv> urgh
<cristian_c> lautriv: at every boot, 30-70 seconds after boot, I see strange messages about systemd-udevd
<tony__> cristian_c, insteresting.
<cristian_c> timeout killing accelerometer gsensor, timeout, etc.....
<cristian_c> sorry
<tony__> cristian_c, but I think I can not give you any advice.
<lautriv> cristian_c, systemd is evil, reason why i moved all machines from debian to funtoo.
<tony__> cristian_c, you are smart than me. ;D
<cristian_c> tony__: ok, I've only told you the story :D
<tony__> cristian_c, okay, ;)
<cristian_c> lautriv: I've not changed anything, I think ubuntu developers mix several init systems, lol
<cristian_c> lautriv: I can understand you :)
<cristian_c> tony__: ah, another thing:
<cristian_c> tony__: I've created xorg.conf in /etc/X11
<cristian_c> ubuntu doesn't use xorg.conf, it uses /usr/share/X11/xorg.conf.d
<cristian_c> tony__: I've put some information in the new file
<cristian_c> tony__: included touch input configuration
<cristian_c> tony__: now, Xorg.0.log detects better my touchscreen input device
<cristian_c> tony__: and xinput list shows the touchscreen device (without xorg.conf it didn'thappen)
lautriv_ has joined #linux-rockchip
<cristian_c> tony__: but Xorg.0.log prints also some error messages about touch device
<cristian_c> tony__: if you want, I can pastebin Xorg.0.log
<tony__> cristian_c, some configure file like ubuntu .
<cristian_c> uhm
<tony__> cristian_c, My desktop OS is ubuntu.
<tony__> cristian_c, :D
<tony__> cristian_c, xorg.conf.d is a script which will be run after boot ?
lautriv has quit [Ping timeout: 250 seconds]
<tony__> cristian_c, I think that is it.
<lautriv_> that's no matter of ubuntu, xorg.conf can still be created/edited and the xorg.conf.d is optional ( containing modular parts )
<cristian_c> tony__: it's a directory
<cristian_c> it contains some .conf files
<tony__> cristian_c, clear. ;D
<cristian_c> lautriv_: yeah
<cristian_c> tony__: lautriv_ http://pastebin.com/2rwqMz2U
<cristian_c> [ 20.049] (EE) evdev: touchscreen: found only multitouch-axes. That shouldn't happen.
<cristian_c> [ 20.049] (EE) evdev: touchscreen: failed to initialize for absolute axes.
<cristian_c> tony__: lautriv_ I've found an interesting page online about this
<cristian_c> I'd like some feedback:
<tony__> cristian_c, about X and touch screen ?
<cristian_c> about this error message
<cristian_c> and a possible fix
<cristian_c> ' 1) The Kernel spec says multitouch devices should give ABS_X and
<cristian_c> ABS_Y events as well as ABS_MT_POSITION_X.'
<tony__> cristian_c, is that mean you should get a patch to X ?
<tony__> cristian_c, or libevdev
<cristian_c> tony__: getevent, evtest, etc.... give me ABS_MT_POSITION_X instead of ABS_X
<cristian_c> tony__: I think evdev, but I've to read further
<cristian_c> tony__: here is because xorg.0.log gives those errors, I suppose
nighty-_ has joined #linux-rockchip
<cristian_c> ' 2) Many drivers (maybe even most?) for Android devices don't give
<cristian_c> ABS_X. I've personally played with Note 8 (synaptics_s7301
<cristian_c> touchscreen driver), Nexus 5 (synaptics RMI4 drivder).'
levd1 has joined #linux-rockchip
naobsd has joined #linux-rockchip
levd has quit [Ping timeout: 246 seconds]
<rperier> hi all
markm has quit [Ping timeout: 250 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 264 seconds]
levd has quit [Remote host closed the connection]
levd has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 268 seconds]
markm has joined #linux-rockchip
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 272 seconds]
<lautriv_> tony__, still missing answer :P
apritzel has joined #linux-rockchip
<cristian_c> apritzel: hello
<apritzel> cristian_c: hi
<cristian_c> apritzel: I've checked as you suggested me
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 264 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 255 seconds]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 244 seconds]
<cristian_c> apritzel: I've looked at arch/arm in the sources
<cristian_c> arch/arm/boot
<cristian_c> apritzel: I've found no .dts either .dtb files
<apritzel> none at all or none for your board?
<apritzel> cristian_c: the upstream tree has over 100 .dts files in arch/arm/boot/dts
<cristian_c> apritzel: there are no 'dts' directories in arch/arm/boot for my sources
<apritzel> cristian_c: what kernel are we talking about? this is in there for ages
<cristian_c> apritzel: I've checked also my filesystem for /proc/device-tree and /sys/firmware
<cristian_c> apritzel: I'm using a 3.0.8+ kernel by crewrktablets
<cristian_c> 'rk_30'
<sjoerd> they didn't use devicetree back then
<sjoerd> ye olde kernel
<apritzel> cristian_c: then you are out of luck, I guess
<cristian_c> sjoerd: ah, ok
<apritzel> cristian_c: try to find a newer kernel tree, this old crap will be a pain to work with
<mrutland> mmind00: as soon as the pinctrl for "vcc-host-regulator" gets configured, I get no more UART output (I put a printk after that gets applied, and that doesn't get output). Looks like the required pin setup is different on my board.
<mrutland> mmind00: I managed to get to rootfs mounting by removing all nodes requiring pinctrl, but haven't tried anything else yet (I got fed up with waiting for each reflashing and went home)
<sjoerd> mmind00: As you were looking at memory controllers recently, i've got a puzzle for you.. When loading the fdt or initramfs on 3288 above 512Mb the kernel can't read them properly (I didn't check how it gets corrupted thusfar though).. Any cunning ideas about that by chance?
<mmind00> sjoerd: :-D I never said I fully understood what happens there ... something about highmem perhaps?
<sjoerd> mmind00: I don't know
<sjoerd> u-boot normally relocated fdt (and i guess the ramdisk as well) to the end of memory
<sjoerd> so it's not a "normal" issue
<lautriv_> sjoerd, do you pass any mem=<somevalue> to the cmdline ?
<mmind00> mrutland: that's really strange ... the host-regulator pin (gpio0-a4) is gpio-only, so even has no other function
<sjoerd> mmind00: I havne't checked but i *think* on my rock2 there are 4 512mb chips so there may be something odd with mapping (though afaik both linux and u-boot use a 1:1 mapping between physcial and virtual for these things..)
levd1 has quit [Remote host closed the connection]
<lautriv_> sjoerd, in that case you would have issues above 1G since that are 2 banks
levd has joined #linux-rockchip
<mmind00> mrutland: also in the tronsmart sdk they seem to use that same pin ... and you had serial output with the original android *puzzled*
<mrutland> mmind00: Interesing; that I cannot explain.
levd1 has joined #linux-rockchip
<mmind00> mrutland: of course there is simply the possibility that I messed up in the pinctrl driver somewhere
<mmind00> mrutland: but of course, then I should see the issue as well
<cristian_c> apritzel: I'd like to find a newer kernel, but I need a kernel containing ds975 board configuration in arch/arm/
<mrutland> mmind00: have you tried a defconfig next-20150908 ?
levd has quit [Ping timeout: 250 seconds]
<mrutland> It's also possible that some pinctrl framework code is broken in next and I just happened to hit it :/
<cristian_c> apritzel: I've found old bq sources, they contain ds975 support. They appear using also 3.0.36 kernel, but I'm not sure
<apritzel> cristian_c: that's the point: the board configuration is now in device trees, not in the kernel source anymore
<cristian_c> apritzel: ok, but where?
<cristian_c> :O
<cristian_c> apritzel: I've tried to look for in mainline
<cristian_c> git.kernel.org
<cristian_c> apritzel: btw, thanks for the help
apritzel has left #linux-rockchip [#linux-rockchip]
Apocx has joined #linux-rockchip
apritzel has joined #linux-rockchip
<apritzel> cristian_c: is that ds975 an old tablet?
<cristian_c> apritzel: it's a board
<cristian_c> for tablets
<apritzel> cristian_c: looks to me as there is only some hacked, old kernel available which supports it? Mainly to get that one Android working?
<apritzel> cristian_c: and there were never any upstream efforts?
<cristian_c> apritzel: anyway, crewrktablets sources work better than aloksinha sources for my device
<cristian_c> they support most of my hardware
Apocx_ has quit [Ping timeout: 260 seconds]
<cristian_c> apritzel: bq sources seem support ds975
<cristian_c> but i've to compile them yet
<cristian_c> apritzel: if I go in android, into Settings->Information
<cristian_c> I see in 'build_number': 'rk30 android sdk....'
<cristian_c> 'ds975-eng4.1.1 jro03h....'
<cristian_c> apritzel: android stock rom developers have used rk30sdk and ds975 build, even if tablet is ds973h board
<cristian_c> but ds975 build is working for android, so ds975 configuration should be used for all similar boards, included ds973
<cristian_c> apritzel: btw, it's always rk3066 soc
tony__ has quit [Remote host closed the connection]
<cristian_c> apritzel: anyway, I don't find further android kernel sources that support ds975 (either tablets with ds975 builds/boards)
<cristian_c> apritzel: crewrktablets supports pipo m3 configuration, but I own pipo m2
<cristian_c> apritzel: where can I find upstream tree , exactly?
<apritzel> cristian_c: at the bottom of that page there is the git:// URL as well
<cristian_c> apritzel: 'tree' tab in the page?
<apritzel> yo
<cristian_c> apritzel: ok
<cristian_c> ok
<cristian_c> apritzel: uhm, no clues
<cristian_c> I don't see mach-rk30
<cristian_c> either platrk30
<cristian_c> plat
<apritzel> cristian_c: that all went away with the device tree support
<apritzel> it's a whole different kernel in this respect, really
<cristian_c> apritzel: ah, ok
<cristian_c> rockchip is supported only by custom kernels
<cristian_c> ok
<cristian_c> (not mainline)
<apritzel> cristian_c: no, there is mach-rockchip with 3066 and lots of other boards supported
<cristian_c> apritzel: oh, sorry
<cristian_c> my bad
<cristian_c> :(
<apritzel> cristian_c: it is just not that old broken approach of writing code for each and every board directly into the kernel tree
<apritzel> instead there are drivers in the drivers/ directory, which get loaded if there is a matching entry in the device tree
<apritzel> (mach-rockchip) only contains some stuff which is very rockchip specific
<cristian_c> uhm
<cristian_c> yeah, I see
<apritzel> cristian_c: there are a lot of device tree starting with "rk" in arch/arm/boot/dts
<cristian_c> apritzel: I've figured out experimenting that device works well if there is specific .c file in /arch/arm
<cristian_c> apritzel: ok
<cristian_c> apritzel: ok, dts directory found :)
premoboss has joined #linux-rockchip
<cristian_c> apritzel: thank you very much :)
levd1 has quit [Ping timeout: 256 seconds]
amstan_ is now known as amstan
rory096 has joined #linux-rockchip
cristian_c has quit [Quit: Bye]
<lautriv_> apritzel, still around ?
<apritzel> lautriv_: yes
<amstan> ok, coming to work this early was a boring idea
premoboss has quit [Ping timeout: 260 seconds]
<mmind00> amstan: couldn't sleep? :-P
<amstan> mmind00: drove parents to the airport
GriefNorth has quit [Ping timeout: 250 seconds]
<lautriv_> apritzel, what device is that 3188 you mentioned lately ?
<apritzel> lautriv_: you mean the RK 3188 SoC, an quad-core A9? https://en.wikipedia.org/wiki/Rockchip#RK31xx_series
<lautriv_> apritzel, nah. i'm aware of the SoC , i meant the board.
<rperier> amstan: perhaps that coffee might help :p
* apritzel is confused now, I haven't mentioned an 3188 board, I only have a RK3288 dev board
<lautriv_> apritzel, maybe i mixed your nick o.O
rory096 has quit [Ping timeout: 268 seconds]
rory096 has joined #linux-rockchip
premoboss has joined #linux-rockchip
neyder_ has joined #linux-rockchip
rory096 has quit [Ping timeout: 246 seconds]
GriefNorth has joined #linux-rockchip
GriefNorth has quit [Client Quit]
GriefNorth has joined #linux-rockchip
GriefNorth has quit [Quit: Konversation terminated!]
GriefNorth has joined #linux-rockchip
ssvb has quit [Ping timeout: 264 seconds]
<mrutland> mmind00: I tried to write code dumping the pinctrl hw state just after probing, but it appears to hang within regmap_read (in the critical section) when 743 static int rockchip_get_pull(struct rockchip_pin_bank *bank, int pin_num)
<mrutland> aargh
<mrutland> copy paste error
<mrutland> mmind00: i tried rockchip_get_pull on pin 0, but this hangs in the critical section of regmap_read, which strikes me as surprising. Perhaps that programming interface requires a clock?
<mrutland> Or I'm just doing something stupid ;)
<mmind00> mrutland: yes it does ... but that should stay untouched
<mmind00> mrutland: aha ... I think I know what might be responsible
<mrutland> mmind00: That sounds promising :)
JohnDoe_71Rus has joined #linux-rockchip
<mmind00> mrutland: the rockchip pinctrl/gpio driver got dynamic clocking ... and I'd guess that is one more piece fallout
<mrutland> mmind00: Ah. Is that in mainline? I was doing this on today's HEAD - a794b4f3292160bb3fd0f1f90ec8df454e3b17b3
<mrutland> Ah, it is
<mrutland> qI guess I can try reverting 07a06ae99ef9b8eda3ec0b69c8f477856042a511
<mmind00> mrutland: yep ... we had some fallout already, but I totally forgot that that have the rk3368 now too :-S
<mrutland> mmind00: No worries, I'll jsut check that sovles the issue
<mrutland> (then I'll learn to type)
<mmind00> :-D
<mrutland> mmind00: It looks like that's to blame. I'm just enabling drivers and verifying that other things work
<mrutland> mmind00: ethernet, usb, mmc (I think) all seem to work with that, and the appropriate drivers enabled
<mrutland> mmind00: I'll see about putting together a proper fix for that patch
<mmind00> mrutland: great ... I can also track down the critical clock ...
<mrutland> mmind00: If you're going to do that, should I leave it with you? This is basically guesswork for me
<mmind00> mrutland: I think so :-)
<mmind00> need to follow up on the existing clock fixes anyway
neyder_ has quit [Ping timeout: 240 seconds]
<lautriv_> mmind00, mrutland your GPIO issues on vanilla-kernel ?
<mmind00> lautriv_: yes ... the top of torvald's tree (and linux-next)
<lautriv_> mmind00, i don't work on any part of rockchip but there is already a common of-routine for pinctrl which should make the timing less problematic, afair it was switched atomic.
<mmind00> lautriv_: the problem we had is just that the pinctrl driver gained dynamic clocking (only enabling the gpio pclks when needed) ... that in turn caused clocks higher up in the clock tree to get disabled, that should stay on
<lautriv_> ah
gb_master has joined #linux-rockchip
<mrutland> Shame the FW left the CPUs at min freq though :/
<mrutland> judging by perf measuring a busy loop, 600MHz for CPU{0-3}, 816MHz for CPU{4-7}
ssvb has joined #linux-rockchip
apritzel has quit [Ping timeout: 264 seconds]
<mmind00> mrutland: the bigLittle cpufreq driver is your friend :-) ... athough somebody needs to teach it to handle the same regulator for two clusters
premoboss has quit [Remote host closed the connection]
<mrutland> mmind00: Oh, I didn't see clocks for the CPUs in the DT
<mmind00> mrutland: look in your inbox :-)
<mrutland> mmind00: :)
<rperier> ipad pro... 949$... (it's a surface with a bigger screen a "iPencil" and "an apple" behind)
<rperier> technology...
<rperier> :/
neyder_ has joined #linux-rockchip
markm has quit [Read error: Connection reset by peer]
rory096 has joined #linux-rockchip
<lautriv_> does anyone know about an image for 3188T not using selinux ?
nighty^ has quit [Read error: Connection reset by peer]
nighty^ has joined #linux-rockchip
gb_master has quit [Remote host closed the connection]
rory096 has quit [Ping timeout: 240 seconds]
GriefNorth has quit [Ping timeout: 256 seconds]
neyder_ has quit [Ping timeout: 246 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
xcasex has quit [Quit: leaving]
mrueg has quit [Remote host closed the connection]
mrueg has joined #linux-rockchip
gb_master has joined #linux-rockchip
chrs_ has quit [Ping timeout: 250 seconds]
chrs_ has joined #linux-rockchip
gb_master has quit [Remote host closed the connection]
naobsd has quit [Remote host closed the connection]
<bashintosh> lautriv_: you can set SELinux in permissive mode by modifying init.rc (ramdisk): s/on property:selinux.reload_policy=1/on property:selinux.reload_policy=0 - if that's not enough, add "setenforce 0" at the end of the file.