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
RayFlower_ has quit [Read error: Connection reset by peer]
ganbold_ has quit [Ping timeout: 255 seconds]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Quit: RayFlower_]
ganbold_ has joined #linux-rockchip
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
hipboi has joined #linux-rockchip
hipboi_ has quit [Ping timeout: 244 seconds]
field^Mop has quit [Ping timeout: 255 seconds]
<naobsd> dan64b: which kernel and modules are you using? detail please.
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
cnxsoft has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
Tony_ has joined #linux-rockchip
<Tony_> hi, body, I made it.
<Tony_> RK's Loader + Linux(latest) + miniroot(ext4) works fine now.
<Tony_> naobsd, thank you so much.
<naobsd> miniroot(ext4) means you gave up to use ramdisk, and prepare/mount miniroot on external storage?
ganbold_ has quit [Ping timeout: 255 seconds]
<Tony_> yes, you are right. ;)
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
<Tony_> it is on external storage.
<Tony_> naobsd, ramdisk is so complex, Loader and kernel are all be its trouble.
<dan64b> Hi, I was away but I'm back now. For Mali, I'm using the modules from linux-rockchip\rk3188_r-box_android4.2.2_sdk\device\rockchip\common\gpu (I've tried all of them).
<Tony_> naobsd, now my point is kernel, I modify it at first, if the kernel for rk3188 seems well, then it's the time to talk about u-boot for it.
<dan64b> There is libmali folder and libmali_smp
<Tony_> dan64b, what's your problem ?
<Tony_> dan64b, I use 4.2.2 sdk, then I don't need do anything with Mali, it can works fine.
<Tony_> dan64b, what's your SDK version, why you need do it by yourself ?
<dan64b> sdk version is 4.2.2_r1, reason being is I'm running on linux distribution not android
<dan64b> I need mali for hardware acceleration so that gpu is used and cpu is free for other tasks.
<Tony_> dan64b, cool, I also did it that running on linux distribution not android.
<Tony_> dan64b, but I haven't see Mali works fine or not. ;(
<dan64b> by the way, why does some version of mali has kernel version e.g. "mali.ko.3.0.36+"?
<dan64b> what significance does kernel version has in module name?
<Tony_> I just know about why the end of name has a "+". it's because you have a .git dir so it added a "+".
<Tony_> about 3.0.36, I don't know before.
mcan has joined #linux-rockchip
mcan has quit [Changing host]
<naobsd> Tony_: I see. ramdisk is just one of many ways for rootfs
<naobsd> dan64b: please explain about kernel
mcan is now known as mrcan
<dan64b> my kernel version is 3.0.36+
<Tony_> dan64b, so you need use the mali.ko.3.0.36+.
GriefNorth has joined #linux-rockchip
<Tony_> you can't insmod it ?
<dan64b> ok, does this mean I have to rename mali.ko.3.0.36+ to mali.ko?
<Tony_> no, no use.
<Tony_> It's useless.
ganbold_ has joined #linux-rockchip
<naobsd> dmesg please
<naobsd> yes, file name is not important
<Tony_> can't insmod reason I guess that is check module magic by insmod of busybox/toolbox
<Tony_> insmod of toolbox don't check magic, but the insmod of busybox check it.
<naobsd> I'm not sure it says "bad address" when version mismatch
<Tony_> dan64b, you need give your dmesg at first.
RayFlower_ has quit [Quit: RayFlower_]
<Tony_> dan64b, there are so many kinds of mismatch.
<Tony_> dan64b, dmesg please.
<dan64b> yep, give me couple of minutes, I'm trying few things....
<Tony_> naobsd, you are so cool, I fond your commit from mainline repo.
<Tony_> naobsd, I even want to commit something into mainline kernel.
<naobsd> I think I only did .dts... it's not difficult work
<Tony_> naobsd, yes, but it is kind of honor for me.
<Tony_> naobsd, ;)
mrcan is now known as mcan
<Tony_> naobsd, in the feature, will it be okay that there just need only one kernel image for all ARMv7 CPU.
<dan64b> alright, I can get you dmesg, there is two folders of Mali, gpu/libmali_smp/dedicated and gpu/libmali_smp/osmem. Do you care which one the dmesg is for?
<Tony_> naobsd, I just need different dts for diff them.
<Tony_> dan64b, one by one.
<Tony_> dan64b, I won't waste some time. just do it, I want to know what's your real problem.
<Tony_> *It won't wast some time.
<Tony_> *It wont' waste long time.
Astralix|away has joined #linux-rockchip
<dan64b> sorry, it took a while to setup my environment:
<dan64b> sudo insmod /lib/modules/ump.ko.3.0.36+ insmod: ERROR: could not insert module /lib/modules/ump.ko.3.0.36+: Unknown symbol in module
Astralix` has quit [Ping timeout: 264 seconds]
<dan64b> mali: Unknown symbol ump_dd_handle_create_from_secure_id (err 0)
<dan64b> This is error for libmali_smp/dedicated
<Tony_> dan64b, next one.
<dan64b> for libmali_smp/osmem, the errors are long:
<dan64b> WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0xa4/0xbc()
<dan64b> sysfs: cannot create duplicate filename '/class/ump'
<dan64b> [<c06386dc>] (unwind_backtrace+0x0/0xec) from [<c06698bc>] (warn_slowpath_common+0x54/0x64)
<dan64b> [<c06698bc>] (warn_slowpath_common+0x54/0x64) from [<c06698fc>] (warn_slowpath_fmt+0x30/0x40)
<dan64b> ....
<dan64b> kobject_add_internal failed for ump with -EEXIST, don't try to register things with the same name in the same directory.
<dan64b> ...
<dan64b> Failed to initiaze the UMP Device Driver
<dan64b> any suggestions?
<Tony_> I guess you miss some CONFIG_XXXX for Mali.
<Tony_> I can merge your config file with android_4.2.2_defconfig.
<Tony_> I just guess.
<dan64b> ah ha, so the SDK version I have which comes with kernel 3.0.36+ DOES NOT contain any reference to Mali in kernel .config.
<naobsd> reboot before insmod another one
<naobsd> explain which kernel
<naobsd> explain dmesg
<naobsd> please.
<dan64b> thank, I've initiated a reboot and will try again....
<dan64b> SOLVED by reboot. Thank you!!!
<dan64b> aside note: does kernel .config need to know anything about mali? Asking because I've seen online repositories that reference mali in configuration.
<dan64b> yikes, need more help.
<dan64b> "modinfo mali" returns ERROR: module mali not found. Even though lsmod shows mali loaded.
<dan64b> How can I determine version number of a loaded module?
<Tony_> modinfo mali.ko.3.0.36+
<Tony_> modinfo $filepath/filename
Tony_ has quit [Read error: Connection reset by peer]
<dan64b> Tony_, I've tried both of the above, it says "Module mali.ko.3.0.36+ not found."
<dan64b> Perhaps, the better question from me would be: is there a documentation on how to install files found in linux-rockchip\rk3188_r-box_android4.2.2_sdk\device\rockchip\common\gpu\libmali_smp ?
<dan64b> I've got to go - I'll check here tomorrow. Have a good day. Bye.
ganbold_ has quit [Ping timeout: 255 seconds]
ganbold_ has joined #linux-rockchip
FreezingCold has quit [Ping timeout: 265 seconds]
ganbold_ has quit [Ping timeout: 255 seconds]
ganbold_ has joined #linux-rockchip
ganbold_ has quit [Ping timeout: 255 seconds]
Avagetto has joined #linux-rockchip
Avagetto has quit [Client Quit]
Avagetto has joined #linux-rockchip
kido has joined #linux-rockchip
ganbold_ has joined #linux-rockchip
paowz has joined #linux-rockchip
paowz has quit [Client Quit]
paowz has joined #linux-rockchip
paowz has quit [Client Quit]
paowz_ has joined #linux-rockchip
Avagetto has quit [Read error: Connection reset by peer]
paowz_ has quit [Ping timeout: 246 seconds]
paowz_ has joined #linux-rockchip
Omegamoon has joined #linux-rockchip
rz2k has joined #linux-rockchip
Tony__ has joined #linux-rockchip
rz2k has quit [Remote host closed the connection]
field^Mop has joined #linux-rockchip
Tony__ has quit [Ping timeout: 252 seconds]
Tony__ has joined #linux-rockchip
RayFlower_ has joined #linux-rockchip
ssvb has quit [Ping timeout: 264 seconds]
Tony__ has quit [Remote host closed the connection]
bengal has joined #linux-rockchip
VargaD has quit [Quit: ZNC - http://znc.in]
Astralix|away is now known as Astralix
VargaD has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
cnxsoft has quit [Quit: cnxsoft]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
ssvb has joined #linux-rockchip
Omegamoon has quit [Ping timeout: 264 seconds]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
Omegamoon has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
nighty-_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
FreezingCold has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
field^Mop has quit [Ping timeout: 252 seconds]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
FreezingCold has quit [Read error: Connection reset by peer]
FreezingCold has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
bengal has quit [Quit: Leaving]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
GriefNorth has quit [Ping timeout: 264 seconds]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
ganbold_ has quit [Ping timeout: 255 seconds]
ganbold_ has joined #linux-rockchip
nighty-_ has quit [Quit: Disappears in a puff of smoke]
Omegamoon has left #linux-rockchip [#linux-rockchip]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
nighty-_ has joined #linux-rockchip
markm_ has joined #linux-rockchip
markm has quit [Ping timeout: 246 seconds]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
FreezingAlt has joined #linux-rockchip
FreezingCold has quit [Ping timeout: 255 seconds]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
ganbold_ has quit [Ping timeout: 255 seconds]
sunilmohan_w has quit [Ping timeout: 252 seconds]
sunilmohan_w has joined #linux-rockchip
Astralix is now known as Astralix|away