leowt changed the topic of #linux-rockchip to: Rockchip development discussion | http://linux-rockchip.info | http://irclog.whitequark.org/linux-rockchip
devgiant has joined #linux-rockchip
rz2k has quit []
tonikasch has quit [Quit: Bye!]
FreezingCold has quit [Remote host closed the connection]
FreezingCold has joined #linux-rockchip
devgiant has quit [Quit: Leaving]
cnxsoft has joined #linux-rockchip
dlan^ has joined #linux-rockchip
cnxsoft has quit [Ping timeout: 265 seconds]
VargaD has quit [Read error: Operation timed out]
VargaD has joined #linux-rockchip
FreezingCold has quit [Ping timeout: 264 seconds]
cnxsoft has joined #linux-rockchip
_massi_ has joined #linux-rockchip
cnxsoft has quit [Ping timeout: 265 seconds]
theskilledworker has joined #linux-rockchip
theskilledworker has quit [Changing host]
theskilledworker has joined #linux-rockchip
cnxsoft has joined #linux-rockchip
rz2k has joined #linux-rockchip
<jbaiter> what are the recommended cflags for compiling on rk3188?
cnxsoft has quit [Ping timeout: 265 seconds]
devgiant has joined #linux-rockchip
tonikasch has joined #linux-rockchip
cnxsoft has joined #linux-rockchip
FreezingCold has joined #linux-rockchip
cnxsoft has quit [Quit: cnxsoft]
nighty^ has joined #linux-rockchip
ganbold_ has joined #linux-rockchip
tonikasch has quit [Ping timeout: 252 seconds]
tonikasch has joined #linux-rockchip
<ssvb> tonikasch: what is the status of the mali drivers?
<ssvb> how do they fail exactly?
<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
<tonikasch> the problem is that now sunxi-mali userspace and x11 utility tells that detected VERSION=""
<ssvb> do you get /dev/mali and /dev/ump?
<tonikasch> not mali, I'll see ump
<tonikasch> I do get /dev/ump
<tonikasch> so... mali.ko might be failing?
<tonikasch> too many things to get into account, I missed that :s
<tonikasch> I'll build mali.ko with debug on
<ssvb> the mali kernel drivers from arm need some adaptation to enable clocks and provide basic configuration about the resources (like the addresses of hardware registers and irq)
<ssvb> for example, something like this needs to be used on allwinner (sunxi) hardware - https://github.com/ssvb/linux-sunxi/commit/02e460a6faf21f42972869c3b59907d02fe6507d
<tonikasch> so it is not enought to copy arch-pb-rk30-m400-4?
<tonikasch> ok, I go there and see
<ssvb> it might be enough, if mali hardware is exactly the same in rk3066 and rk3188
<ssvb> or some tweaks may be needed if something has changed
<ssvb> but enabling extra debug logging is always a good idea
<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> I say that because I read somewhere that somebody did this in order to get correct UMP address or something similar
<ssvb> are there no sources of the android kernel with mali support?
<tonikasch> I fear there are not, perhaps in radxa, whose sources I'm currently fetching but they are huge
<tonikasch> they come precompiled even in radxa kernel tree
<ssvb> this does not sound good, isn't it a GPL violation?
<tonikasch> yes, it is, hehe, almost everything Rockchip related has GPL violations
<tonikasch> in the first kernel trees we found there were .uu files for important things
<ssvb> but yes, disassembling these mali modules or maybe even just looking at logs my provide some useful information
<tonikasch> I'll ask colleagues as I lack of disassembling skills
<tonikasch> thanks for the commit regarding adptation of mali drivers to sunxi, by the way
<tonikasch> ssvb why that -DMALI_FAKE_PLATFORM_DEVICE=1 in drivers/gpu/mali_r3p2-01rel2/mali/Kbuild
<ssvb> iirc this makes a difference between what part of the initialization is done in the board file and what part in the mali driver itself
<tonikasch> ahh, I see, ok, so as I currently attach to that rk3066 file I'll leave that untouched
<ssvb> you can probably check the rk3066 board file to see if it has any mali related bits in it
<tonikasch> aha
<tonikasch> ok
devgiant_ has joined #linux-rockchip
<tonikasch> with that kernel's mali drivers inserted into minix-neo-x7 (released on december 2013) I got succeed messaged when inserting mali.ko
devgiant__ has joined #linux-rockchip
<ssvb> what version is it reporting now?
devgiant has quit [Ping timeout: 240 seconds]
<tonikasch> none ("") O.o
<ssvb> hmm, what messages did you get when inserting mali.ko
<tonikasch> ah, well, I was using sunxi-mali repository's version.c
<ssvb> did you get /dev/mali
<tonikasch> any, that's strange
<tonikasch> one sec, I'm still building
<tonikasch> :)
devgiant_ has quit [Ping timeout: 241 seconds]
devgiant__ has quit [Ping timeout: 240 seconds]
tonikasch has quit [Remote host closed the connection]
tonikasch has joined #linux-rockchip
<tonikasch> mmmm
<tonikasch> CONFIG_MALI400=m
<tonikasch> CONFIG_MALI400_DEBUG=y
<tonikasch> but nothing is output from modprobing ump.ko nor mali.ko
<tonikasch> strange
<tonikasch> well, have to go now, thanks ssvb, I'll try in the afternoon
tonikasch has quit [Client Quit]
tonikasch has joined #linux-rockchip
<tonikasch> ssvb I have had to include additional things into drivers/gpu/mali/mali/Kbuild from rk3x kernel mali/mali/Kbuild
<tonikasch> I'll try now
<tonikasch> wooow! rk3188.c!! :D didn't see that
<tonikasch> so... I'll check if that tree's mali directories are from the revision sunxi-mali supports
<tonikasch> oh, yes, r3p2-1_rel1
<tonikasch> :D
FreezingCold has quit [Ping timeout: 244 seconds]
FreezingCold has joined #linux-rockchip
tonikasch has quit [Remote host closed the connection]
_hipboi_ has quit [Read error: Connection reset by peer]
_hipboi_ has joined #linux-rockchip
devgiant has joined #linux-rockchip
theskilledworker has quit [Quit: Leaving]
devgiant has quit [Ping timeout: 265 seconds]
FreezingCold has quit [Ping timeout: 240 seconds]
devgiant_ has joined #linux-rockchip
devgiant has joined #linux-rockchip
devgiant has quit [Client Quit]
devgiant has joined #linux-rockchip
devgiant_ has quit [Ping timeout: 240 seconds]
devgiant_ has joined #linux-rockchip
devgiant has quit [Ping timeout: 240 seconds]
devgiant_ has quit [Ping timeout: 265 seconds]
FreezingCold has joined #linux-rockchip
devgiant has joined #linux-rockchip
devgiant_ has joined #linux-rockchip
devgiant__ has joined #linux-rockchip
devgiant has quit [Ping timeout: 265 seconds]
devgiant_ has quit [Ping timeout: 240 seconds]
tonikasch has joined #linux-rockchip
spoonsik has joined #linux-rockchip
spoonsik has quit [Remote host closed the connection]
rz2k has quit []
devgiant__ has quit [Ping timeout: 265 seconds]
devgiant has joined #linux-rockchip
devgiant_ has joined #linux-rockchip
devgiant has quit [Ping timeout: 265 seconds]
devgiant__ has joined #linux-rockchip
devgiant has joined #linux-rockchip
tonikasch has quit [Quit: Bye!]
devgiant_ has quit [Ping timeout: 265 seconds]
devgiant_ has joined #linux-rockchip
devgiant__ has quit [Ping timeout: 240 seconds]
devgiant__ has joined #linux-rockchip
devgiant has quit [Ping timeout: 240 seconds]
devgiant has joined #linux-rockchip
devgiant_ has quit [Ping timeout: 244 seconds]
devgiant_ has joined #linux-rockchip
devgiant__ has quit [Ping timeout: 269 seconds]
devgiant__ has joined #linux-rockchip
hlebodar has joined #linux-rockchip
devgiant has quit [Ping timeout: 240 seconds]
devgiant has joined #linux-rockchip
devgiant_ has quit [Ping timeout: 240 seconds]
devgiant_ has joined #linux-rockchip
hlebodar has quit [Remote host closed the connection]
devgiant__ has quit [Ping timeout: 244 seconds]
devgiant__ has joined #linux-rockchip
devgiant has quit [Ping timeout: 265 seconds]
devgiant_ has quit [Ping timeout: 265 seconds]
devgiant has joined #linux-rockchip
devgiant_ has joined #linux-rockchip
devgiant__ has quit [Ping timeout: 240 seconds]
devgiant__ has joined #linux-rockchip
devgiant has quit [Ping timeout: 240 seconds]
devgiant_ has quit [Ping timeout: 240 seconds]
dlan^_ has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
redapple has quit [Remote host closed the connection]
architekt has joined #linux-rockchip
ganbold_ has quit [*.net *.split]
nighty^ has quit [*.net *.split]
FergusL has quit [*.net *.split]
ganbold_ has joined #linux-rockchip
nighty^ has joined #linux-rockchip
dlan^ has quit [*.net *.split]
honx has quit [*.net *.split]
FergusL has joined #linux-rockchip
ojn_ has joined #linux-rockchip
npcomp has joined #linux-rockchip
jumannie has joined #linux-rockchip
devgiant has joined #linux-rockchip
<jumannie> can anyone here tell me abou tthe Mars iPPLi I8 ?
<jumannie> it has a rk3188t chip
<jumannie> im trying see if i can upgrade the Androis OS or even put linux on it
<jumannie> nothing?
devgiant_ has joined #linux-rockchip
nighty^ has quit [Quit: Disappears in a puff of smoke]
jumannie has quit [Quit: Lost terminal]
FreezingCold has quit [Read error: Operation timed out]
_hipboi_ has quit [Read error: Connection timed out]
_hipboi_ has joined #linux-rockchip
tonikasch has joined #linux-rockchip
<tonikasch> well, ssvb, I'm going nuts... that kernel seems uncompilable...
<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:500:12: error: ‘RK30SDK_WIFI_GPIO_WIFI_INT_B’ undeclared here (not in a function)
<tonikasch> arch/arm/mach-rk3188/../plat-rk/rk-sdmmc-wifi.c: At top level:
<tonikasch> but in file previously built (through that very same make) it was declared
<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> I have checked with meld and file by file, in particular #includes
<tonikasch> no way yet
ganbold_ has quit [Remote host closed the connection]
FreezingCold has joined #linux-rockchip
ojn_ is now known as ojn
_hipboi_ has quit [Read error: Connection timed out]
_hipboi_ has joined #linux-rockchip
<tonikasch> weel, cu
tonikasch has quit [Quit: Bye!]
FreezingCold has quit [Ping timeout: 264 seconds]