2014-03-12

<tonikasch> well, whu not supporting only the latter?
<tonikasch> mmmm, I see a mailing list a must now, i'll try contacting the owner of the google group named linux-rockchip...
<tonikasch> :s
<tonikasch> yeah, almost the double: 401.800 fps
<ssvb> tonikasch: you can perhaps check fps numbers
<tonikasch> :)
<tonikasch> wow, ok, there I go!
<ssvb> tonikasch: for r3p2 it is better to use this branch - https://github.com/ssvb/xf86-video-fbturbo/tree/mali-r3p2-support
<tonikasch> ahms
<tonikasch> now I'm using r3p2-1_rel1 mali kernel drivers
<tonikasch> should I try latest xf86-video-fbturbo?
<tonikasch> that one
<tonikasch> git clone -b 0.4.0 https://github.com/ssvb/xf86-video-fbturbo.git
<tonikasch> no, not that
<tonikasch> as recommended in linux-sunxi doc
<tonikasch> btw, there i'm using 0.4.0 fbturbo
<tonikasch> aha
<tonikasch> let me see
<tonikasch> with your kernel tree
<tonikasch> I'll fork your repo as soon as I have something usable, yet ethernet, wifi and es2gears are working on minix neo x7 (rk3188)
<tonikasch> we exchanged some emails this morning
<apxii> tonikasch, yes
<tonikasch> apxii the rr-3.0_dev 3.0.101+ is yours?
<tonikasch> let me see, resizing a window? I'll check
<tonikasch> I'm not sure, that's galland, iam, olegk0 and omegamoon who know on rk framebuffer device
<tonikasch> ah, ok
<tonikasch> I'll test first in /etc/rc.local
<tonikasch> aha, ok
<tonikasch> when saying " if the kernel boots and sets the framebuffer to 32bpp mode right from the start", you mean in CMDLINE or in /etc/rc.local by adding a fbset command?
<tonikasch> :)
<tonikasch> aha
<tonikasch> so... should I try setting in CMDLINE fb mode just to test?
<tonikasch> that's the expected result, I guess
<tonikasch> shall i change the xorg.conf to force depth?
<tonikasch> in fact when I ran those two fbset commands xorg was running and screen gone blank, just sshed and restarted lightdm
<tonikasch> no
<tonikasch> ok
<tonikasch> ok too
<tonikasch> and scrolling...
<tonikasch> no, they move well
<tonikasch> let me test that..
<tonikasch> yes... I will publish everything, now just trying to get things done, later getting original kernel tree, forking, makin commits, documenting, etc
<tonikasch> I have requested to join googlegroup's linux-rockchip mailing list but even though it was the way, it seems unused as it has only one message dated on 2013
<tonikasch> but they had given up and now wait for me to publish the procedure
<tonikasch> I'm communicating with Galland, Omegamoon, linuxium and others through a gtalk conversation
<tonikasch> aha, done, let me see dmesg... ok, seems ok
<tonikasch> mmm, how to do that? I don't understand very well fbset procedures
<tonikasch> aha... perhaps in rk_fb.c :s
<tonikasch> *take a photo (sorry for my English :)
<tonikasch> (i can do a photo and upload it)
<tonikasch> if I do the fbset thing and force 24 or 32 in xorg.conf, which as I understand would be truecolor, i get either and error or a window with gradient in oranges and window moved to the right and very strange
<tonikasch> that's without trying to force any depth in xorg.conf
<tonikasch> because that was driving me nuts
<tonikasch> so I comment the fbset thing in /etc/rc.local and reboot, let's see
<tonikasch> ok
<tonikasch> mmm, ssvb, do you know if a fbset is needed prior to initialising x?
<tonikasch> yes, one sec
<ssvb> tonikasch: so the OpenGL ES is working now? that's a great news
<tonikasch> however, I'm unable to set X to truecolor, so I keep attached to 256 or so colors
<tonikasch> ssvb I've managed to get es2gears get a 239.000 fps
<tonikasch> I'll add linux-rockchip mailing list to wiki on linux-rockchip.info (have just found it when trying to create it as the domain owner told me to do so)
<tonikasch> mmm
<tonikasch> well, I've written the tenant of the registry of the domain, let's see what happens
<tonikasch> :s
<tonikasch> let me issue a whois on the domain xD
<tonikasch> edito: I don't remember
<tonikasch> but I don't know who takes care of linux-rockchip.info
<tonikasch> yes... the case is that one non-google user has asked me to join our gtalk conversation and... first it "sucks" to read through this kind of unordered conversations 2) by opening a maling list we could welcome more developers
<tonikasch> Hi! Do you know if there is a linux-rockchip (development) mailing list?
<tonikasch> has anybody successfully built this tree? https://github.com/apxii/linux-work/blob/rr-3.0-dev

2014-03-11

<tonikasch> weel, cu
<tonikasch> no way yet
<tonikasch> I have checked with meld and file by file, in particular #includes
<tonikasch> indeed, I have compared arch/arm/{mach-rk30, mach-rk3188, plat-rk} against minix-x7-neo and Makefiles, Kconfig and files seem overall the same.
<tonikasch> but in file previously built (through that very same make) it was declared
<tonikasch> In file included from arch/arm/mach-rk3188/board-rk3188-box.c:727:0:
<tonikasch> arch/arm/mach-rk3188/../plat-rk/rk-sdmmc-wifi.c: At top level:
<tonikasch> arch/arm/mach-rk3188/../plat-rk/rk-sdmmc-wifi.c:500:12: error: ‘RK30SDK_WIFI_GPIO_WIFI_INT_B’ undeclared here (not in a function)
<tonikasch> well, ssvb, I'm going nuts... that kernel seems uncompilable...
<tonikasch> :D
<tonikasch> oh, yes, r3p2-1_rel1
<tonikasch> so... I'll check if that tree's mali directories are from the revision sunxi-mali supports
<tonikasch> wooow! rk3188.c!! :D didn't see that
<tonikasch> I'll try now
<tonikasch> ssvb I have had to include additional things into drivers/gpu/mali/mali/Kbuild from rk3x kernel mali/mali/Kbuild
<tonikasch> well, have to go now, thanks ssvb, I'll try in the afternoon
<tonikasch> strange
<tonikasch> but nothing is output from modprobing ump.ko nor mali.ko
<tonikasch> CONFIG_MALI400=m
<tonikasch> CONFIG_MALI400_DEBUG=y
<tonikasch> mmmm
<tonikasch> :)
<tonikasch> one sec, I'm still building
<tonikasch> any, that's strange
<tonikasch> ah, well, I was using sunxi-mali repository's version.c
<tonikasch> none ("") O.o
<tonikasch> with that kernel's mali drivers inserted into minix-neo-x7 (released on december 2013) I got succeed messaged when inserting mali.ko
<tonikasch> ok
<tonikasch> aha
<tonikasch> ahh, I see, ok, so as I currently attach to that rk3066 file I'll leave that untouched
<tonikasch> ssvb why that -DMALI_FAKE_PLATFORM_DEVICE=1 in drivers/gpu/mali_r3p2-01rel2/mali/Kbuild
<tonikasch> thanks for the commit regarding adptation of mali drivers to sunxi, by the way
<tonikasch> I'll ask colleagues as I lack of disassembling skills
<tonikasch> in the first kernel trees we found there were .uu files for important things
<tonikasch> yes, it is, hehe, almost everything Rockchip related has GPL violations
<tonikasch> they come precompiled even in radxa kernel tree
<tonikasch> I fear there are not, perhaps in radxa, whose sources I'm currently fetching but they are huge
<tonikasch> I say that because I read somewhere that somebody did this in order to get correct UMP address or something similar
<tonikasch> aha... that's the question... I think hardware might have changed but... how could I know? through hexediting android system dump with mali.ko and ump.ko loaded?
<tonikasch> ok, I go there and see
<tonikasch> so it is not enought to copy arch-pb-rk30-m400-4?
<tonikasch> I'll build mali.ko with debug on
<tonikasch> too many things to get into account, I missed that :s
<tonikasch> so... mali.ko might be failing?
<tonikasch> I do get /dev/ump
<tonikasch> not mali, I'll see ump
<tonikasch> the problem is that now sunxi-mali userspace and x11 utility tells that detected VERSION=""
<tonikasch> well... now I've managed to insert (and patch as per rk30_linux_kernel) r3p2-01rel1 arm os drivers into kernel and build them
<ssvb> tonikasch: what is the status of the mali drivers?

2014-03-10

<tonikasch> I wonder why mali gpu and drm drivers taken from linux-sunxi and patched as per Linux3188 github kernel tree don't work...

2014-03-09

<tonikasch> hi!!! any hints on mali support? I've integrated latest mali opensource drivers into minix neo x7 kernel tree and managed to get it to compile applying Omegamoon's and Galland's and others' fixes to the files but mali_drm.ko now gives a kernel oops :( Any idea?

2014-03-06

<tonikasch> well, i'll take a look to the logs, c u!
<tonikasch> s/2weeks/g/2months
<tonikasch> hi! been a long time away (ill), any news? have been taking a look at galland's, omegamoon's and aloksinha's github repos but everything seems a bit stalled from 2 weeks till now... could somebody draw me a picture, please? thanks in advance!

2013-12-04

<tonikasch> have to go out, brb
<tonikasch> :)
<tonikasch> aha... I was looking for a server with Nagios and things like that
<tonikasch> However, the fact of using flash and having only 1GB RAM lead me to change to another thing
<tonikasch> Aha, I was using a dual-core RK3066 as a debian server and it worked well...
<tonikasch> I don't actually know about this kind of things, sorry
<tonikasch> what about frequency?
<tonikasch> in fact, last RK3188 SoCs are quad-core
<tonikasch> You should compare number of cores, number of threads and look for comparisons for Atom N270 and for Rockchips RK3188...
<tonikasch> That's what I don't know, I don't know processors' performance
<tonikasch> You should see how much time will the flash memory last according to the use you are going to give to it
<tonikasch> Yes, you could
<tonikasch> jcarlos gnu/linux support for rockchips devices is still somewhat limited
<tonikasch> ahhh, ok, so... let's see benchmarking porgramms' punctuations
<tonikasch> where them compared? where?

2013-10-23

* tonikasch ciao!

2013-10-21

* tonikasch ciao!

2013-10-20

<tonikasch> :p
<tonikasch> :)

2013-10-19

* tonikasch ciao

2013-10-17

<tonikasch> mosquito520, and http://blogs.guifi.net/tonic/
<tonikasch> mosquito520, also at www.omegamoon.com

2013-10-12

* tonikasch bye

2013-10-11

<tonikasch> bye naobsd, great work, I'll test it soon
<tonikasch> mmmm, I'm currently focusing on getting X support for Galland's Linux311 kernel
<tonikasch> :)
<tonikasch> I lose very often serial console on the radxa
<tonikasch> :(
<tonikasch> ahh, I think Galland and Omegamoon are working on a rk31 3.0.36 or perhaps 3.0.72 kernel with ump, dri, etc...
<sjoerd`> tonikasch: Right, that's partially why i'm wondering if something did do something like that fro a RR board or another r3188 based board
<tonikasch> sjoerd` the problem is that kernel is for rk30...
<sjoerd`> tonikasch: cool
<tonikasch> for rk3066 there is, but for rk3188....
<tonikasch> :)
<tonikasch> so... why don't you open an issue there? giving as much details as possible, like keyboard and mouse vendorid and deviceid, steps to reproduce, defconfig used, wifi chipset, devices listed under lsusb, etc...
<tonikasch> aha
<tonikasch> Linux3188 kernel?
<tonikasch> Adibek which kernel?
<tonikasch> ahms... that's strange
<tonikasch> kernel panic when only keyboard is attached?
<tonikasch> mmm
<tonikasch> on USB?
<tonikasch> :?
* tonikasch goes to eat a bit of cocido, is hungry
<tonikasch> ah, mine does that with the mouse (but not with the keyboard)
<tonikasch> hi

2013-10-09

<Galland> tonikasch: did you have to apply to this one the same patch for the ID used by the RR?
<tonikasch> copied the old Kconfig and here we go
<tonikasch> renamed old rtl8188eu directory under drivers/net/wireless and cloned new there
<tonikasch> I have compiled them in-tree
<tonikasch> they work :)
<tonikasch> Galland: I made a new commit with recent rtl8188etl (rtl8188eu) drivers in my github, should I cancel (if possible) the previous pull request and make a new one with latest commit?
<tonikasch> well, have to go, bye
<tonikasch> I'll see if I can do something but I'm still studying the computer degree...
<tonikasch> mmm, I see, a lot of coding needed but for the moment I haven't got the needed skills
<tonikasch> aha
<tonikasch> :)
<tonikasch> oh, ok! didn't know if I was looking at the wrong repo
<tonikasch> AstralixNB https://github.com/Astralix/linux-rockchip is 3.10.0-rc7?
<tonikasch> ahms...
<tonikasch> I see...
<tonikasch> wow!
<AstralixNB> tonikasch, github.com/Astralix or mmind00, just hook up on that, we did that for you already ;)
<tonikasch> so how would you clone only kernel source for 3.12? I'm not used to Android
<tonikasch> :(
<tonikasch> aha
<tonikasch> is easier to mainline RK now that radxa rock board is being sent to developers and some more specs are available?
<tonikasch> me too
<tonikasch> mmm, anyway, android branch, I guess
<tonikasch> 3.11?

2013-10-08

<tonikasch> bye!
<tonikasch> ciao!

2013-10-07

<tonikasch> tomorrow more :)
<tonikasch> well, it's done
<tonikasch> sorry, patching kernel
<tonikasch> :)
<tonikasch> don't know, that depends...
<tonikasch> well, for now at least some support :)
<tonikasch> but... this driver still has thing to be done... power saving mode is on and drops a lot of debugging info
<tonikasch> ahhh, ok, as easy as that?
<tonikasch> ok
<tonikasch> Ok, let me see if I know how to do that :)
<Galland> tonikasch can u fork Linux3188 apply the patch for 8188 and pull request to me?
<tonikasch> MakeMickey yes, I know, I have some webpages and other services serving in a mk808
<MakeMickey> tonikasch: yes small server, small money for energy
<tonikasch> so... I don't know what to do now
<tonikasch> well, Galland, after installing wpasupplicant and configuring /etc/network/interfaces I can confirm radxa rock with native rtl8188eu module is working
<tonikasch> :D uptime :D
<tonikasch> :)
<MakeMickey> tonikasch: now i use a 3.0.8 kernel, good no problem, for a small server
<tonikasch> some people say that 3.0.36 kernel has correct gpio values for mk808b, but it's like a rumour
<tonikasch> don't understand...
<tonikasch> for wifi?
<tonikasch> And so, I couldn't iwlist...
<tonikasch> Galland nothing, I forgot to do ifconfig wlan0 up before :p
<tonikasch> Yes, there is wlan0 and after doing ifconfig wlan0 up I can iwlist wlan0 scan
<MakeMickey> 23:18 < tonikasch> Galland
<tonikasch> I think I have to load the firmware, but it gets detected
<tonikasch> yes
<tonikasch> drivers/net/wireless/rtl8188eu/
<tonikasch> http://linux-sunxi.org/Szenio_1207c4 <-- with this patch
<tonikasch> yes
<Galland> tonikasch: you kidding me? compiled from source?
<tonikasch> not the 8188eu.ko from android
<tonikasch> I now have native rtl8188eu working :D
<tonikasch> Galland
<tonikasch> uf
<tonikasch> ok ;) thx
<tonikasch> aha
<tonikasch> but I guess it has to be activated somehow, perhaps through GPIO or who knows
<tonikasch> in fact, as I boot it's yet listed in lsusb
<tonikasch> I've tried exporting gpio 256 and echoing 1 to value but only thing it does is get recognised in another usb port...
<tonikasch> it's RTL8188ETV
<tonikasch> 8188ETV I think, let me check again
<tonikasch> radxa rock
<tonikasch> now with your Linux3188 kernel
<tonikasch> I'm trying to get RTL8188ETV working, but have no idea how to do it...
<tonikasch> Galland!
<tonikasch> on radxa something is wrong with gpios... RK30_PIN3_PD0 binds to 14848 instead of 280
<tonikasch> mmmm
<tonikasch> I'll put a link to linux-sunxi.org about making your own rootfs with debootstrap
<tonikasch> ok
<mnemoc> tonikasch: wiki wiki
<tonikasch> so something is failing with this kernel on radxa rock
<tonikasch> I've just mounted debugfs and checked that /sys/kernel/debug/gpio has no gpios requested
<tonikasch> in C, on kernel code
<tonikasch> haha
<tonikasch> confimed it is a cr1225
<tonikasch> ah
<tonikasch> a perhaps stupid question, how to do a sleep statement?
<tonikasch> me too
<tonikasch> ahm
<tonikasch> wow! I'll test

2013-10-06

<tonikasch> mmmm, let me see if it gets post ramdisk
<tonikasch> but of course I keep getting a kernel panic... and automatic reboot, so I cannot see what happens
<tonikasch> Omegamoon's Rockchip-Linux-GPL kernel is 3.0.72 :)
<tonikasch> and recompiling
<tonikasch> so... commenting out initramfs loading rk30xxnand.3.0.72+.ko
<tonikasch> well... it still drops a kernel panic on boot...
<tonikasch> :P ;D
<tonikasch> aha
<naobsd> tonikasch: if you're using rootfs on SD, you don't need to insmod rknand.ko (at least from initramfs)
<tonikasch> mmm, compiling...
<tonikasch> :D ok
<tonikasch> aha, just got a kernel panic as my initramfs.cpio.3.0.72+ does insmod rk30xxnand.ko xD
<tonikasch> :)
<tonikasch> (size)
<tonikasch> and recovery partition is 0x10000 instead of 0x8000?
<tonikasch> aha
<tonikasch> now searching the rkflashtool with rk3188 support, just found it, going to compile it and we'll see
<tonikasch> no, it was the .android/adb_init.usb or however it's called
<tonikasch> aha
<Galland> tonikasch: there is a 2 minute timeout for recovery mode
<tonikasch> mmmm, I cannot get it listed on adb :(
<tonikasch> no idea, arokux2, but it should be possible ;)
<tonikasch> ok :D
<tonikasch> yes
<tonikasch> ahhh ok ok xD
<tonikasch> yes
<tonikasch> mmmm, still working on getting su prompt xD
<tonikasch> ;)
<tonikasch> yes...
<tonikasch> in fact it's working on a mk808 ;)
<tonikasch> hehehe
<tonikasch> I'm gonna try your defconfig but with Omegamoon's 3.0.72 :)
<tonikasch> :p
<tonikasch> wow