codeworkx changed the topic of #teamhacksung to: TEAMHACKSUNG DEVELOPER CHANNEL
krabador has joined #teamhacksung
SeanWang has joined #teamhacksung
krabador has quit [Quit: Bah...]
darkham has joined #teamhacksung
krabador has joined #teamhacksung
krabador has quit [Ping timeout: 260 seconds]
darkham has quit [Ping timeout: 260 seconds]
darkham has joined #teamhacksung
krabador has joined #teamhacksung
krabador has quit [Client Quit]
darkham has quit [Client Quit]
krabador has joined #teamhacksung
SlashV has quit [Quit: Leaving.]
angelsl has joined #teamhacksung
CoreISP has joined #teamhacksung
CoreISP has quit [Changing host]
CoreISP has joined #teamhacksung
krabador has quit [Read error: Connection reset by peer]
white has quit [Quit: Leaving]
white has joined #teamhacksung
Sean_Wang has joined #teamhacksung
SeanWang has quit [Ping timeout: 276 seconds]
CoreISP has quit [Quit: Leaving]
Sean_Wang has quit [Ping timeout: 256 seconds]
SeanWang has joined #teamhacksung
Turilo has quit [Read error: Connection reset by peer]
sud3n has joined #teamhacksung
Turtuga has quit [Ping timeout: 264 seconds]
Turtuga has joined #teamhacksung
rndio has joined #teamhacksung
SeanWang has quit [Remote host closed the connection]
nayuuki has joined #teamhacksung
nayuuki has left #teamhacksung [#teamhacksung]
paulk-desktop has joined #teamhacksung
chris41g has quit [Ping timeout: 252 seconds]
chris41g has joined #teamhacksung
paulk-desktop has quit [Quit: Ex-Chat]
kZard|nb has joined #teamhacksung
davi has joined #teamhacksung
davi has quit [Changing host]
davi has joined #teamhacksung
_120 has joined #teamhacksung
illumin has quit [Ping timeout: 252 seconds]
illumin has joined #teamhacksung
jamestunnicliffe has quit [Ping timeout: 256 seconds]
jamestunnicliffe has joined #teamhacksung
jamestunnicliffe has quit [Changing host]
jamestunnicliffe has joined #teamhacksung
lolwat has joined #teamhacksung
supercurio has quit [Ping timeout: 276 seconds]
bealtine has quit []
a3Dman has quit [Ping timeout: 256 seconds]
krabador has joined #teamhacksung
Faryaab has joined #teamhacksung
Faryaab has quit [Changing host]
Faryaab has joined #teamhacksung
lolwat has quit [Read error: Connection reset by peer]
Faryaab has quit [Ping timeout: 264 seconds]
Faryaab has joined #teamhacksung
Faryaab has joined #teamhacksung
SeanWang has joined #teamhacksung
krabador has quit [Ping timeout: 260 seconds]
Thracky has quit [Ping timeout: 252 seconds]
Thracky has joined #teamhacksung
thens has joined #teamhacksung
Faryaab has quit [Ping timeout: 248 seconds]
Faryaab has joined #teamhacksung
Faryaab has quit [Changing host]
Faryaab has joined #teamhacksung
Faryaab has quit [Ping timeout: 256 seconds]
diego-ch has joined #teamhacksung
davi has quit [Ping timeout: 264 seconds]
kZard|nb has quit [Ping timeout: 248 seconds]
thens has quit [Ping timeout: 246 seconds]
kZard|nb has joined #teamhacksung
GNUtoo-m4a785t-m has joined #teamhacksung
<diego-ch> hey guys, I`m trying to update mali driver here but build breaks after a while
<diego-ch> cyanogenmod10/kernel/samsung/u8500/drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/Kbuild:33: *** Runtime PM is incompatible with non-GPL license. Stop.
<diego-ch> should I disable pm_runtime?
<diego-ch> I've downloaded mali source from here: http://malideveloper.arm.com/develop-for-mali/drivers/
SlashV has joined #teamhacksung
<codeworkx> diego-ch: seems like you have to
a3Dman has joined #teamhacksung
<diego-ch> codeworkx: will that affect something else?
<codeworkx> why do you have a non gpl licence?
<codeworkx> mali/linux/license/gpl/mali_kernel_license.h
<diego-ch> I'm using samsung's source with mali patch. nothing else
<codeworkx> #define MALI_LICENSE_IS_GPL 1
<diego-ch> its already set to 1
<codeworkx> then your include is fucked up
<codeworkx> EXTRA_CFLAGS += -I$(MALI_INCLUDE_PREFIX)linux/license/gpl
<codeworkx> Makefile
imneveral0ne has joined #teamhacksung
<diego-ch> i think maybe i need to edit the mali source location
<diego-ch> right now it's in drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali
paulk-desktop has joined #teamhacksung
davi has joined #teamhacksung
davi has quit [Changing host]
davi has joined #teamhacksung
<diego-ch> codeworkx: I have this on Kbuild: http://pastebin.com/ktLtHC9Q
<diego-ch> ifeq ($(CONFIG_PM_RUNTIME),y) $(error Runtime PM is incompatible with non-GPL license)
<cdesai> look above that
<cdesai> ifeq ($(wildcard $(src)/linux/license/gpl/*),)
<codeworkx> src sounds wrong
<diego-ch> hm
<codeworkx> ifeq ($(wildcard $(srctree)/drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/linux/license/gpl/*),)
<codeworkx> try this
<diego-ch> ok, compiling again now
<diego-ch> it worked
<diego-ch> boot.img generated
<codeworkx> samsung is always breaking building to a different output dir
<diego-ch> this source also generates loads of warnings
sud3n has quit [Ping timeout: 240 seconds]
<codeworkx> yeah, samsung
<codeworkx> sony is building with "treat warnings as errors"
<codeworkx> they've no single warning
<a3Dman> ethical devs...
<codeworkx> asia kernel
<codeworkx> samsung lge htc
<codeworkx> same shit
<codeworkx> script kiddies do better
<cdesai> and that would be ignoring china
<a3Dman> true that
<diego-ch> stuck on device logo
<diego-ch> but adb works
<diego-ch> W/libEGL ( 3138): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
kZard|nb has quit [Ping timeout: 246 seconds]
<diego-ch> do I need to compile cm again to test this?
SeanWang has quit [Remote host closed the connection]
SeanWang has joined #teamhacksung
<diego-ch> still no luck here
<diego-ch> do I need a new libegl or did I do something wrong updating the mali driver?
<diego-ch> it makes surface flinger crash
SeanWang has quit [Quit: Leaving]
<codeworkx> diego-ch: W/libEGL ( 1735): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
<codeworkx> diego-ch: gralloc fails
<codeworkx> diego-ch: you need new gralloc
<codeworkx> diego-ch: gralloc sources are also on arm website
Turtuga has quit [Read error: Connection reset by peer]
Turtuga has joined #teamhacksung
oso96_2000 has quit [Read error: Operation timed out]
oso96_2000 has joined #teamhacksung
OpenSys has quit [Quit: Saindo]
davi has quit [Ping timeout: 245 seconds]
OpenSys has joined #teamhacksung
a3Dman has quit [Ping timeout: 248 seconds]
<diego-ch> codeworkx: where do I put those files? device-tree/libgralloc ?
<Espenfjo> hardware/samsung
<diego-ch> ok
<diego-ch> no need to create a hardware/samsung/u8500 like i had to do with the kernel?
<codeworkx> put it into device
angelsl has quit [Remote host closed the connection]
ricotz has joined #teamhacksung
<diego-ch> codeworkx: cm source will load the android.mk in the device tree folder automatically, right? i've added the gralloc folder to the device tree
<diego-ch> or do i need to include it on janice.mk ?
lolwat has joined #teamhacksung
sud3n has joined #teamhacksung
<codeworkx> it loads all
<codeworkx> you have to put gralloc to product packages
<diego-ch> ok
paulk-desktop has quit [Read error: No route to host]
paulk_ has joined #teamhacksung
paulk_ has quit [Remote host closed the connection]
paulk_ has joined #teamhacksung
paulk_ has quit [Remote host closed the connection]
paulk-desktop has joined #teamhacksung
<diego-ch> codeworkx: mali ump source too?
UnknownzD has quit [Ping timeout: 245 seconds]
UnknownzD has joined #teamhacksung
<diego-ch> build/core/base_rules.mk:171: *** hardware/libhardware/modules/gralloc: MODULE.TARGET.SHARED_LIBRARIES.gralloc.default already defined by device/samsung/janice/gralloc. Stop.
<codeworkx> rename it ;-)
<diego-ch> gralloc.janice?
<codeworkx> ya
<diego-ch> ok
<diego-ch> what about ump?
<codeworkx> libUMP
<codeworkx> needed
<diego-ch> also from arm website
<codeworkx> yep
<codeworkx> hope u also upgraded ump at kernel
<diego-ch> i need to do that too i guess
<codeworkx> thats userspace
<codeworkx> ump kernel is at same zip like mali
<diego-ch> ok then i've already updated both
a3Dman has joined #teamhacksung
RossWell98 has quit [Excess Flood]
RossWell98 has joined #teamhacksung
RossWell98 has quit [Changing host]
RossWell98 has joined #teamhacksung
<diego-ch> make: *** No rule to make target `/local/var/tmp/diego-ch/cyanogenmod10/out/target/product/janice/obj/SHARED_LIBRARIES/libGLES_mali_intermediates/export_includes', needed by `/local/var/tmp/diego-ch/cyanogenmod10/out/target/product/janice/obj/SHARED_LIBRARIES/gralloc.janice_intermediates/import_includes'. Stop. make: *** Waiting for unfinished jobs....
<diego-ch> codeworkx: if you're not too busy, could you help me setup these files?
<diego-ch> I'm hoping this driver update will fix a few hiccups noticeable in the android ui
paulk-desktop has quit [Quit: Ex-Chat]
a3Dman has quit [Read error: Operation timed out]
a3Dman has joined #teamhacksung
<codeworkx> diego-ch: i'm not at home
<diego-ch> hmm
<diego-ch> any chance we can fix that tomorrow ?
chris41g_ has joined #teamhacksung
<codeworkx> sure
<codeworkx> wait
chris41g has quit [Ping timeout: 256 seconds]
chris41g_ is now known as chris41g
<codeworkx> do it for libGlesmali
<diego-ch> ok thanks
<diego-ch> only libglesmali? what about libump and libegl?
<codeworkx> you are building libump
<codeworkx> no need then
<codeworkx> just blobs which are required by gralloc
<diego-ch> but I did not add libump to device tree yet, I'll see what happens
<diego-ch> codeworkx: both libGLESv1_CM_mali.so and libGLESv2_mali.so ?
ricotz has quit [Quit: Ex-Chat]
<diego-ch> this error persists: make: *** No rule to make target `/local/var/tmp/diego-ch/cyanogenmod10/out/target/product/janice/obj/SHARED_LIBRARIES/libGLES_mali_intermediates/export_includes', needed by `/local/var/tmp/diego-ch/cyanogenmod10/out/target/product/janice/obj/SHARED_LIBRARIES/gralloc.janice_intermediates/import_includes'. Stop. make: *** Waiting for unfinished jobs....
<codeworkx> libGLES_mali.so
<diego-ch> missing makefile?
<diego-ch> wait. i dont think i have libgles_mali.so on stock rom
kZard|nb has joined #teamhacksung
<codeworkx> your stock libs dont work
<codeworkx> what mali sources did you load?
<codeworkx> r3p2?
<diego-ch> r3p2-01rel1
<codeworkx> lol
<diego-ch> xD
<codeworkx> there are no matching libs avail
<codeworkx> use r3p1 rel1
<codeworkx> and use blobs from smdk4412-common
<diego-ch> stock is r3p1-01rel0
<codeworkx> on your old ste device?
<diego-ch> yes, samsung galaxy s advance gt-i9070
<diego-ch> ste u8500 soc
<codeworkx> lol
<diego-ch> cm works, gotta fix omx codecs, vibrator, camera recorder, and ui has some hiccups
<diego-ch> gps also works but it takes a lot of time to get signal
<diego-ch> yep. no libGLES_mali.so on stock rom, only libGLESv2_mali.so, libGLESv1_CM_mali.so
<codeworkx> right
<codeworkx> look at your gralloc makefile which shared libs it wants to have
<diego-ch> r3p1 source says liblog libcutils libGLESv1_CM libGLES_mali
lolwat has quit [Read error: Connection reset by peer]
<diego-ch> I'm afraid samsung did not release any gralloc sources
<codeworkx> they never do
<codeworkx> bastards
<diego-ch> it's weird that they use the same board name as sony
<diego-ch> montblanc
<codeworkx> probably ste
<diego-ch> my next phone won't be samsung
<diego-ch> this thing is super slow on stock rom
<diego-ch> touchwiz crashes like hell
<diego-ch> cm is way faster on it
SlashV has quit [Quit: Leaving.]
<a3Dman> desamsung all the things
<diego-ch> make: *** No rule to make target `/local/var/tmp/diego-ch/cyanogenmod10/out/target/product/janice/obj/SHARED_LIBRARIES/libMali_intermediates/export_includes', needed by `/local/var/tmp/diego-ch/cyanogenmod10/out/target/product/janice/obj/SHARED_LIBRARIES/gralloc.janice_intermediates/import_includes'. Stop. make: *** Waiting for unfinished jobs....
<diego-ch> r3p1 breaks with libMali
<diego-ch> added to the vendor repo like that prototip but it didnt work
SlashV has joined #teamhacksung
SlashV has quit [Client Quit]
SlashV has joined #teamhacksung
<codeworkx> look at our libgralloc at hardware/samsung
<codeworkx> diego-ch: libMali is in system/lib
<diego-ch> yep
<diego-ch> okay
GNUtoo-m4a785t-m has quit [Read error: Connection reset by peer]
<diego-ch> codeworkx: libgralloc_ump?
<codeworkx> yes
SlashV has quit [Quit: Leaving.]
<codeworkx> but thats for exynos
<diego-ch> hm
<diego-ch> I dont think I can code that, maybe there's something I can reuse from sony montblanc source
<diego-ch> I saw that someone used sony's montblanc liblights source to add bln support to the s3 mini
<diego-ch> which has ste soc too
SlashV has joined #teamhacksung
<diego-ch> or maybe from ste snowball
kZard|nb has quit [Ping timeout: 276 seconds]
Turilo has joined #teamhacksung
white has quit [Remote host closed the connection]