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
<naobsd> btw, I/we never promise that my/our information/source/etc always works perfectly. this is community, not paid service at all.
<naobsd> of course I/we are trying to make things better
xcasex has quit [Ping timeout: 246 seconds]
xcasex has joined #linux-rockchip
ssvb has joined #linux-rockchip
Sadneophyte has quit [Ping timeout: 240 seconds]
cnxsoft has joined #linux-rockchip
hipboi has joined #linux-rockchip
<bashintosh> Development kernel tree for SunChip CX929 (Lollipop 5.1) -> https://github.com/OneEducation/kernel-rk310-lollipop-cx929
<bashintosh> Based on "vanilla" RK kernel 3.10, from their latest SDK ;)
<naobsd> bashintosh: SunChip publish their lollipop SDK?
<bashintosh> naobsd: Nope, they are not going to release 5.1 AFAIK - it's my work only.
<naobsd> ah, "their latest SDK" == kitkat sdk for sunchip?
rory096 has quit [Ping timeout: 264 seconds]
<bashintosh> naobsd: so the kernel is from RK 5.1 SDK - I call it "vanilla" as it's not modified in any way by other manufacturers.
<bashintosh> RK 5.1 SDK comes with their kernel sources, just to be clear :)
GriefNorth has joined #linux-rockchip
<naobsd> ah, I see, you have SDK from RK :)
akaizen has joined #linux-rockchip
markm has quit [Ping timeout: 250 seconds]
markm_ has joined #linux-rockchip
akaizen has quit [Remote host closed the connection]
<lautriv> naobsd, was that what you said around 2 AM meant to me ?
<lautriv> CET of course
nighty-_ has joined #linux-rockchip
nashpa has quit [Ping timeout: 240 seconds]
nashpa has joined #linux-rockchip
markm_ has quit [Ping timeout: 265 seconds]
markm_ has joined #linux-rockchip
luc4 has joined #linux-rockchip
<luc4> Hello! I was wondering if I could use the sources I find here https://github.com/linux-rockchip/linux-rockchip for a product like this http://minix.com.hk/products/neo-x5-mini. Should I expect it to work or should I expect Minix to have patched rk kernel?
lautriv_ has joined #linux-rockchip
lautriv has quit [Ping timeout: 240 seconds]
<sjoerd> luc4: It's very likely they have patched the rk kerenl
<luc4> sjoerd: ok, so no luck. Thanks anyway for your help!
<lautriv_> luc4, that's not what he said
<sjoerd> luc4: You should ask them for their kernel sources really
<luc4> sjoerd: in years they never provided anything, not even a printf.
<sjoerd> pff
<lautriv_> luc4, what is the plan ?
<luc4> lautriv_: what do you mean by "plan"?
<lautriv_> luc4, want to upgrade androshit or put a real OS on ?
<luc4> I need to do a couple of fixes. But I know there is no way if they do not provide the proper sources.
<lautriv_> luc4, thingie rooted ?
<luc4> Just noticed there was a rk kernel and I had this bad idea of giving a try.
<luc4> lautriv_: there are rooted images.
<lautriv_> so get root, chroot linux, toy with values.
<luc4> lautriv_: or I can probably root it by unpacking it.
<luc4> without the sourceS?
<sjoerd> luc4: Typically board vendors don't change a whole lot, but it really depends on how similar their board design/component selection is to one of the reference boards
<sjoerd> It's not impossible, but without the sources to check or the schematics you have at least one hand tied against your back :)
<luc4> sjoerd: probably economically conveniente to switch to something better.
gb_master has joined #linux-rockchip
<sjoerd> Nod
<luc4> sjoerd: what about just building specific modules for it instead? Probably it is possible to build from the original rk kernel right?
<lautriv_> what will E:Invaid tag(0x4D524150)! tell me ?
premoboss has joined #linux-rockchip
<lautriv_> nvm, meant what i assumed.
<lautriv_> luc4, what modules ?
<luc4> lautriv_: at the moment I need the hid-multitouch driver.
<lautriv_> luc4, _should_ work if you use the same version and toolchain.
<naobsd> luc4: http://minix.com.hk/downfile/x5.tar.gz (I cannot remember it supports mini)
<luc4> lautriv_: yes, I've done it in the past with x7 mini and x8. Only problem here is version on device is 3.0.36+, kernel sources are 3.0.36. Are these compatible?
<luc4> naobsd: what is this?
<naobsd> I guess it supports mini too...
<naobsd> luc4: android SDK (includes kernel) for Minix X5
<luc4> naobsd: oh thanks... I didn't find it...
<naobsd> which Android ver. are you using on X5 mini? I think this SDK is 4.2.2
<lautriv_> bah why does all this crap assume to be cross-compiled o.O
<luc4> naobsd: I'm using 4.4
<luc4> lautriv_: cause it is build on a different arch?
<lautriv_> luc4, said who ?
<naobsd> luc4: that's 4.2 SDK. you can extract diffs from Rockchip original 4.2, then you can apply it to 4.4 SDK
<luc4> naobsd: but 4.2 may even be ok
<luc4> naobsd: thanks
<luc4> lautriv_: do you build on arm?
<lautriv_> luc4, yes.
<luc4> lautriv_: what kind of arm is it? How does it compare to i7?
<lautriv_> luc4, why must it compare to i7?
<naobsd> luc4: hm, it seems that supports X5 (!mini). I'm not sure how they are compatible, sorry
<luc4> lautriv_: cause typically people don't want to spend their life building? Building android requires hours and tens of GB on i7.
<naobsd> I guess it may be shorter than "hour" on i7 ;)
<naobsd> I want such a fast build machine!
<luc4> naobsd: you sure? I remember at least a couple of hours on mine.
<luc4> naobsd: maybe also depends on whether you have a ssd.
<naobsd> 4core 8thread with 16GB RAM if possible
<lautriv_> luc4, if i want to build fast, i throw it on my cluster. but i need only a kernel and want that built native.
<lautriv_> naobsd, appears the major difference is 16G vs 8G flash.
apritzel has joined #linux-rockchip
<lautriv_> what header is this the RC4 section is talking about ?
<luc4> Anyone who knows what this from insmod means? insmod: init_module 'hid-multitouch.ko' failed (Device or resource busy)
<lautriv_> luc4, you want to access it while in use this is one of a.) already loaded b.) fail to claim node c.) another module in use
<lautriv_> luc4, maybe evdev grabbed it already ?
<luc4> lautriv_: no idea...
<lautriv_> lsmod ?
<luc4> lautriv_: it is not loaded
<lautriv_> but something else ?
<luc4> lautriv_: tried to reboot without the device plugged in but the same happens.
<luc4> lautriv_: oh wait...
<luc4> lautriv_: a was probably correct
<luc4> lautriv_: probably this kernel has that driver built-in
<luc4> lautriv_: however it is not working...
xcasex has quit [Ping timeout: 246 seconds]
<luc4> lautriv_: oh probably the idc...
<lautriv_> luc4, what happens if you cat one of the devices and use the touch ?
<lautriv_> can anyone tell me what heder is meant here -> http://www.linux-rockchip.info/mw/index.php?title=Creating_bootable_SD_card
<lautriv_> *ea
xcasex has joined #linux-rockchip
<luc4> lautriv_: none of the /dev/input/event* write anything
<lautriv_> luc4, that's odd. since andro doesn't use udev, you may have something in initramfs if it was supposed to be used.
<naobsd> generally RK stock kernel has several hid drivers
<naobsd> and RK 3.0 kernel is not new, if it's recent win7/8 multitouch protocol, it shouldn't be supported
<lautriv_> they have probably a module to make your box hover around but no proper documentation.
<luc4> naobsd: I was able to make it work on minix x8
<luc4> naobsd: simply insmod hid-multitouch, setting idc and good to go
<luc4> naobsd: here it is not working
<luc4> naobsd: even if the module seems to be there
hipboi has quit []
<lautriv_> (me hands luc4 a solder-iron.
<lautriv_> anyone interrested in a 3188 tv-box populating 8G flash,2G RAM, rk1000, spdif,hdmi, 2x usb host, 1x usb OTG, Analog A/V, rtl 8123 WiFi, rtl8201 ethernet ? Condition : brand new with UART attached.
<lautriv_> and µSD slot.
<karlp> luc4: I've got an x5 mini, haven't got very far with it yet, I never managed to get minix to give out a kernel for it.
<karlp> and no, the x5 sources are _not_ suitable.
<luc4> karlp: I probably don't need it, it already has the driver, although it does not work it seems
<karlp> what are you working on? getting mainline up or just tyring to get a 3.0.+ android kernel up?
<luc4> for the moment I'd just need to connect a touch monitor
<luc4> on x8 it works properly, not sure why it does not here
<karlp> right, but are you trying this on the stock 3.0.36+ kernel, or are you working on linux mainline or what?
<luc4> karlp: stock 3.0.36+ kernel
<karlp> yar, whatever then, uninteresting :)
<karlp> if you figure out the usb power supply gpio for me that would be great though :)
<karlp> i think that's where I was stuck last time, but I think it was 3.16/3.17 last time I was trying this.
<karlp> need to finish some other projects first.
<lautriv_> karlp, are you booting from SD ?
<luc4> lautriv_: is it possible that the raw device is not in /dev/input?
<lautriv_> luc4, yep
<lautriv_> that would be rather some hidrawX
<naobsd> luc4: X8 shouldn't be RK, right?
<luc4> naobsd: amlogic
<naobsd> then "it works with X8" is not so helpful
<lautriv_> there you go.
<luc4> lautriv_: no hidraw at all
<lautriv_> luc4, andro does only make nodes in scripts, i assumed the lack of it.
<luc4> lautriv_: may I create that manually?
<karlp> lautriv_: no, RFS on sd, kernel flashed with rktools
<lautriv_> luc4, you have no root and it will vanish on each boot.
<luc4> lautriv_: yes, I do have root
<luc4> lautriv_: I may unpack the image, modify init.rc and repack
<lautriv_> luc4, if you unpack, you may search for the init to touchpanels.
<luc4> lautriv_: what is it?
<lautriv_> luc4, the whole upcoming is trial and error, if you see some lines mentioning any touchpanel you should see where it fails.
<lautriv_> karlp, so you never came across that strange RC4 part ?
<luc4> lautriv_: but can't I create the nodes from the shell?
<lautriv_> luc4, the point is, if there is no plan to support from startup, existing nodes doesn't matter.
<lautriv_> luc4, regular /dev/hidraw0 starts with c 250 0
<karlp> lautriv_: what rc4 part?
<karlp> that came after I was doing this, and I never found the time to figure out if it worked on rk3066 anyway,
<karlp> and while booting from sd is nice, it wass't what was stopping me.
<karlp> I was fine with flashing the kernel and RFS on sd, I just want more of it to work.
<karlp> boot from sd is a nicety for later
<lautriv_> appears there is no other solution for 3188 but that part grabs values out of thin air.
<karlp> magic values are magic, that's why they have that name...
<karlp> also, like I said, I was working on rk3066.
<lautriv_> all the same BS, close to trash it and use another arm.
<karlp> pretty sure you know where the door is.
<karlp> why so grumpy about magic values, they exist on every platform I've ever looked at.
<lautriv_> even a wondermedia which is entirely under NDA is able to boot a kernel without truncating the whole media using special tools.
<karlp> lautriv_: so, the only reason you were asking me about booting from sd is so you could complain?
<lautriv_> no, i ask because incomplete explanation, that <header> is taken from nowhere.
premoboss has quit [Remote host closed the connection]
gb_master has quit [Remote host closed the connection]
<naobsd> luc4: there is no script on android to populate nodes under /dev
<naobsd> luc4: ueventd does it
<naobsd> magic values _were_ magic til RK u-boot source was published
<lautriv_> hey they improved. you talk about that uboot where the link points to androtab which mentions something similar at position 6, which in turn leads to a site within "content not created yet" ?
<naobsd> what's "content not created yet"?
<luc4> naobsd: not sure I understand anyway. If I have the driver in the kernel, dmesg seems to report that the kernel sensed the device and is using hid-multitouch for it... what else is needed to have a working dev and bring events to Android UI?
cnxsoft1 has joined #linux-rockchip
<luc4> naobsd: also android reports this: http://pastebin.com/KKMfszsL
<luc4> naobsd: that comes from adb shell dumpsys input
<luc4> naobsd: seems pretty good actually...
cnxsoft has quit [Ping timeout: 264 seconds]
cnxsoft1 is now known as cnxsoft
<naobsd> luc4: can you try getevent on adb shell?
<naobsd> "getevent -p" shows device list, "getevent -l /path/to/device" shows events
<luc4> naobsd: http://pastebin.com/UEMdzuYJ but I get nothing on those devices
<luc4> naobsd: the mouse instead works properly
<naobsd> luc4: only /dev/input/event5 will report events (only if it's working properly, of course)
<naobsd> getevent -l /dev/input/event5 doesn't show anything, right?
<luc4> naobsd: nothing at all
<luc4> naobsd: complete silence
<naobsd> then driver in kernel is not working properly
<luc4> naobsd: and I can't unload to load a new one, so I am ...ed :-D
gb_master has joined #linux-rockchip
wzhd has left #linux-rockchip ["WeeChat 1.2"]
<lautriv_> luc4, got config.gz ?
<luc4> lautriv_: in /proc?
<lautriv_> yep
<luc4> no not in there
<lautriv_> odd.
<lautriv_> luc what firmware did you say ?
<luc4> lautriv_: you mean kernel version?
<lautriv_> nah, the droid
<luc4> lautriv_: 4.4.2
<lautriv_> nothing found, just some mods :(
<luc4> lautriv_: thanks anyway
<luc4> lautriv_: maybe some official firmware does not include the driver... and I can load it manually...
<lautriv_> luc4, stock kernels are like a Kebap "with all in" bejause once vuild you never need a change and once sold, nobody cares.
<lautriv_> meh this kbd eating way to much batteries ...
<luc4> lautriv_: actually x8 does not include that module for instance
<lautriv_> luc4, that's no rockchip
<luc4> lautriv_: no, but this means it is not always included. Maybe not in minix devices for instance.
<luc4> lautriv_: this firmware was a community edition, maybe the official are different... don't know
<lautriv_> older but custom
<luc4> thanks
<lautriv_> works at least better than unreliable docu on getting SD-Boot and a proper kernel.
<karlp> lautriv_: any idea on the kernel source in that rom?
<lautriv_> karlp, the modded one ?
<karlp> yeah, looks like it's just unpacked and repacked with a new RFS.
<lautriv_> no idea.
* lautriv_ went to the door with the conclusion anything containing a rockchip is not worth the efford.
lautriv_ has left #linux-rockchip ["Leaving"]
luc4 has quit [Ping timeout: 255 seconds]
cosm has joined #linux-rockchip
gb_master has quit [Remote host closed the connection]
GriefNorth has quit [Ping timeout: 260 seconds]
maz has joined #linux-rockchip
maz has quit [Ping timeout: 272 seconds]
luc4 has joined #linux-rockchip
xcasex has quit [Ping timeout: 240 seconds]
cnxsoft has quit [Quit: cnxsoft]
rory096 has joined #linux-rockchip
xcasex has joined #linux-rockchip
gb_master has joined #linux-rockchip
maz has joined #linux-rockchip
sanjay85 has joined #linux-rockchip
<sanjay85> hello
<sanjay85> naobsd ? i have some news for you
<sanjay85> me102a is booting !!
<sanjay85> i have boot me102a with sdcard (modify boot.img)
<sanjay85> but now there is no sound, and no touch ? i'm on the first screen of asus, i must select langage, but no digitalizer ? wtf ? maybe a other file to edit ?
<sanjay85> an idea ?
sanjay85 has quit [Quit: Page closed]
gb_master has quit [Remote host closed the connection]
luc4 has quit [Quit: Konversation terminated!]
<rperier> hi all
ssvb has quit [Ping timeout: 240 seconds]
overcr has joined #linux-rockchip
<overcr> hi
JohnDoe_71Rus has joined #linux-rockchip
maz has quit [Ping timeout: 240 seconds]
maz has joined #linux-rockchip
<overcr> so
<overcr> i realize this is not a helpdesk
<overcr> but google failed me for the first time
<overcr> i have a rk3066 tablet which i deliberately bricked with "eraseflash" in RKandroid tool for windows, now nothing wants to load a bootloader for me
<overcr> anything i try results in a message saying "boot download failed"
<overcr> and linux tools seem to do nothing either
<overcr> i have parm file and stuff, but i'm retarded enough to have forgotten to backup the original bootloader, too
<overcr> so i kindly ask, do you have any idea how to make that tablet operational again? from what i already researched on that topic, there's that MROM thing that kicks in when there's no bootloader or NAND's corrupted
maz has quit [Ping timeout: 246 seconds]
jas-hacks has joined #linux-rockchip
<overcr> but because that maskrom isn't much verbose i have no idea what's going on with the bootloader update process
ssvb has joined #linux-rockchip
McBitter has joined #linux-rockchip
maz has joined #linux-rockchip
McBitter has left #linux-rockchip [#linux-rockchip]
<overcr> all right, i fixed it, thanks guys :3
overcr has quit [Quit: Page closed]
<karlp> what did you do in the end?
akaizen has joined #linux-rockchip
maz has quit [Ping timeout: 250 seconds]
maz has joined #linux-rockchip
apritzel has quit [Ping timeout: 264 seconds]
maz has quit [Ping timeout: 260 seconds]
cosm has quit [Ping timeout: 240 seconds]
maz has joined #linux-rockchip
maz has quit [Quit: Leaving]
maz has joined #linux-rockchip
jas-hacks has left #linux-rockchip [#linux-rockchip]
xcasex has quit [Ping timeout: 240 seconds]
maz has quit [Ping timeout: 246 seconds]
xcasex has joined #linux-rockchip
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Luke-Jr has quit [Read error: Connection reset by peer]
Luke-Jr has joined #linux-rockchip
critch_ has left #linux-rockchip [#linux-rockchip]
maz has joined #linux-rockchip
nighty-_ has quit [Quit: Disappears in a puff of smoke]
lerc has quit [Ping timeout: 244 seconds]
lerc has joined #linux-rockchip
markm_ has quit [Ping timeout: 246 seconds]
rory096 has quit [Ping timeout: 244 seconds]
pietrushnic has quit [Ping timeout: 250 seconds]
pietrushnic has joined #linux-rockchip
markm_ has joined #linux-rockchip
xcasex has quit [Ping timeout: 244 seconds]
xcasex has joined #linux-rockchip
rory096 has joined #linux-rockchip
naobsd has quit [Quit: naobsd]
<bashintosh> Is there someone who knows what the properties "SYS_STATUS_BOOST" and "SYS_STATUS_ISP" are about in Rockchip's DT node clk_ddr_dvfs_table? ref: https://github.com/rkchrome/kernel/blob/master/arch/arm/boot/dts/rk3288-veyron.dts#L425
<bashintosh> I might have a guess but maybe someone knows exactly.. :)
nashpa has quit [Quit: Going away]