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
lerc has quit [Ping timeout: 276 seconds]
lerc has joined #linux-rockchip
ganbold has joined #linux-rockchip
totopr has joined #linux-rockchip
<totopr> hi all
<totopr> may I ask for support about boot from SDCard on RK3188 ?
<totopr> i flashed the image http://dl.radxa.com/rock/images/android/radxa_rock_android_kitkat_r2_140911_sdcard.zip on the SD card with sudo dd if=radxa_rock_xxxx_sdcard.img of=/dev/sdx but the tablet just ignored the sdcard and did a normal boot
<totopr> that image is shipped as sd-bootable
<totopr> anyone?
totopr has quit [Ping timeout: 252 seconds]
cnxsoft has joined #linux-rockchip
Guest70510 has quit [Ping timeout: 248 seconds]
c0d3z3r0 has joined #linux-rockchip
mrueg has quit [Remote host closed the connection]
mrueg has joined #linux-rockchip
ganbold has quit [Quit: This computer has gone to sleep]
ganbold has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
JohnDoe7 has joined #linux-rockchip
JohnDoe7 has quit [Client Quit]
totopr has joined #linux-rockchip
totopr has quit [Client Quit]
naobsd has quit [Remote host closed the connection]
ganbold has quit [Quit: This computer has gone to sleep]
ganbold has joined #linux-rockchip
ganbold has quit [Client Quit]
ganbold has joined #linux-rockchip
naobsd has joined #linux-rockchip
linux-rockchip has quit [Remote host closed the connection]
linux-rockchip has joined #linux-rockchip
wadim_ has joined #linux-rockchip
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
ganbold has quit [Ping timeout: 244 seconds]
ganbold has joined #linux-rockchip
ganbold has quit [Quit: This computer has gone to sleep]
premoboss has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
aep has joined #linux-rockchip
<aep> hi. any idea how to get rk29_wdt working? i.e. watchdog
<aep> its compiled in, but .probe never gets called for me
paulk-collins has joined #linux-rockchip
<aep> naobsd: nope. that explains alot
<aep> let me try adding that
ckeepax has joined #linux-rockchip
ckeepax has quit [Ping timeout: 250 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<aep> naobsd: i dont have any rk29_device*. maybe this is the wrong driver? it's an rk3288
<aep> actually not even any platform_device
<aep> and i dont have /mach-rk29 but /mach-rockchip
<aep> instead the driver calls platform_driver_register
<aep> apparantly you need to platform_device_register too? i have no idea how this is supposed to work
<aep> there's a matching thing with interrupts in rk3288.dtsi , i just dont understand how to piece them together
unfalse has joined #linux-rockchip
<naobsd> aep: what you mentioned is rk29_wdt.c in stable-3.0 kernel. unless you give right information, no one gives right answer.
<unfalse> hello
<unfalse> i had a miniPC UG007b on a Mali 400. i have installed Debian 7.8 on it, but it don't have a video driver.
<unfalse> can anybody help me to build and install Lima driver? Or any other normal video driver?
<aep> naobsd: ah yeah. i have no idea which kernel i got. it's a vendor drop
<aep> let me figure that out first
<aep> the closest one i could find is https://bitbucket.org/T-Firefly/firefly-rk3288-kernel/
<aep> its android 3.10
<aep> watchdog irq stuff is set here, i think its correct
<aep> it says 'Flattened Device Tree', so no idea if the dtsi applies now or not
<unfalse> the problem only is video acceleration not working
<aep> unfalse: do you have a /dev/mali ?
<unfalse> aep: no
<aep> then that's step1. try to figure out how to install the mali kernel driver in your distro
<aep> it's a module.
<aep> probably dkms?
<unfalse> aep: cat /sys/class/display/*HDMI/mode
<unfalse> aep: 1920x1080p-60
<naobsd> aep: try to add 'watchdog { status = "okay"; };' in your .dts
<unfalse> aep: youtube is working as a slideshow
<aep> naobsd: ah! thanks. gonne try
<aep> unfalse: get the mali driver first. nothing to do with resolution
<unfalse> aep: ok
<naobsd> mali is _3D GPU_, it doesn't give "video acceleration" at all
<naobsd> mali is not framebuffer device, and is not HDMI controller.
<aep> hm i always thought some accell feature depend on a working gl driver? dunno
<aep> will probably help getting it working anyway
<sjoerd> It depends on what you're accelerating :)
<sjoerd> 3d rendering will get quite a bit more accelerated if you use the 3d gpu
<aep> nah like youtube probably uses the new media thingy in chrome which probably uses gl
<aep> which probably sucks with the software rasterer
<sjoerd> chrome does accelrated compositing using GL yes
<aep> looks like it's not as much as i though tho, i just checked
<aep> should work fine even with zero gl
<unfalse> aep: one dude adviced me to use debootstrap and build a driver with it using this instructions http://linux-sunxi.org/Mali_binary_driver
<aep> i have no idea about debian, sorry. but yeah that wiki is really good
<aep> not sure how much applies for rockchip, but it worked for me on sunxi
<unfalse> aep: I started to do it, but got an error. For now I don't remember it exactly.
<unfalse> aep: i think if i give it another try and post a questions here, maybe i proceed further
<unfalse> aep: *will proceed
<aep> yeah
<aep> naobsd: that wasnt it
<aep> .probe is still not called although init is
<aep> i wonder if i should disable CONFIG_OF
ganbold has joined #linux-rockchip
<aep> the hdmi driver seems structured exactly the same way. just platform_driver_register and then an entry in dtsi that is status: disabled
<naobsd> aep: check dts too
<aep> yeah, i think i misunderstood how dts works
<aep> getting there
<aep> is there a reason you said watchdog {} instead of &watchdog{} ?
<aep> that seems to be how the other stuff works
<naobsd> ah
<naobsd> just a typo, probably
<naobsd> please use right form
<aep> cool thx
<naobsd> aep: btw which board are you using?
<aep> naobsd: ugoos ut3s
<naobsd> aep: ugoos offers source code?
<aep> it was quite a battle to get it
<aep> if you want anything out of it i can probably send it
<naobsd> :)
ckeepax has joined #linux-rockchip
<aep> its absurdly broken of course
<naobsd> I don't have that board so there is no strong reason to get source code for it
<naobsd> (I sometimes collect such a thing just for collection...)
<naobsd> it might be useful for mainlining if there is special hack outside of dts ;)
<aep> i could probably get my customer to send you one just for helping me fix it :D
<naobsd> currently I only accept something to hack _with spare time_ ;)
<naobsd> everytime I wish spare time is included in the box I ordered
<aep> heh
<naobsd> btw why do you need watchdog?
<naobsd> I'm not sure it really works even if it can be enabled
<aep> because the thing is so broken that it hangs often
<aep> would rather have it reboot
<aep> you think it won't work?
<naobsd> no idea, I just feel something strange because it's disabled
<aep> yeah
<aep> i'm pretty sure its random tho
<aep> the amount of code that made no sense in this thing is amazing
<naobsd> I checked kernel tree in lollipop sdk, but it's disabled :(
dlezcano has quit [Ping timeout: 240 seconds]
dlezcano has joined #linux-rockchip
<naobsd> aep: then, "&watchdog {}" works?
<aep> no. but i think i broke something
<aep> still trying
<aep> android stuff is quite a nuisance
<naobsd> lately I don't try Android on RK so much... mainly for hardware health check ;)
<aep> i fix android middleware for a living. usually the kernel just works, except when china. meh
<naobsd> one of RK3288 board is 24/7 online at home with mainline u-boot/linux ;)
<aep> yeah that didnt help
<naobsd> aep: oh sorry. I guess it's not ready in RK 3.10 kernel tree... :(
<aep> going to try copying exactly what hdmi does
<aep> pretty sure its a device tree thing, since .probe never gets called
<naobsd> if ugoos kernel source is old, you may try more recent kernel from firefly or linux-rockchip.org mirror. it might be stable... (but I cannot promise updated source is stable)
premoboss has quit [Quit: Sto andando via]
cnxsoft has quit [Quit: cnxsoft]
<naobsd> hmm rk3399 is really interesting...
dadude has joined #linux-rockchip
<aep> naobsd: any other idea why .probe would just not be called?
JohnDoe_71Rus has joined #linux-rockchip
dadude has quit [Ping timeout: 252 seconds]
wadim_ has quit [Read error: Connection reset by peer]
vetkat has quit [Quit: Bye bye]
vetkat has joined #linux-rockchip
tlwoerner has joined #linux-rockchip
<aep> so apparantly my dtb is being ignored
<aep> any idea where they put that stuff?
<aep> probably loaded from the bootloader
<aep> its definatly loaded by uboot on this box. i just dont know from where. or how to change it
tlwoerner has quit [Quit: Leaving]
<aep> aha, its in resource.img
<aep> any tool to extract that?
matthias_bgg has quit [Ping timeout: 252 seconds]
cosm has quit [Ping timeout: 240 seconds]
cosm has joined #linux-rockchip
em|tue has quit [Ping timeout: 240 seconds]
em|tue has joined #linux-rockchip
heniu has joined #linux-rockchip
<heniu> tools to extract https://yadi.sk/d/XmMtw-qBmzQP7
<heniu> UPDATE TOOLS 5.78.35.0 (full support 3288. 3128 resources.img)
heniu has quit [Client Quit]
cosm has quit [Ping timeout: 250 seconds]
paulk-collins has quit [Ping timeout: 255 seconds]
cosm has joined #linux-rockchip
em|tue has quit [Ping timeout: 248 seconds]
em|tue has joined #linux-rockchip
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
paulk-collins has joined #linux-rockchip
Luke-Jr has quit [Read error: Connection reset by peer]
totopr has joined #linux-rockchip
<totopr> hi all
<totopr> may I ask a question?
<naobsd> aep: there should be RK official resource_tool on top directory in kernel source tree
<naobsd> aep: resource.img can be included in boot.img(and resource.img). if your boot.img has 2nd image, it should be resource.img. loader try to use resource.img in boot.img 1st, and if it doesn't exist, loader try to use resource.img flashed in resource partition.
tnn has quit [*.net *.split]
VargaD has quit [*.net *.split]
cosm has quit [*.net *.split]
linux-rockchip has quit [*.net *.split]
Apocx has quit [*.net *.split]
pulser has quit [*.net *.split]
vetkat has quit [*.net *.split]
c0d3z3r0 has quit [*.net *.split]
mmind00 has quit [*.net *.split]
bashintosh has quit [*.net *.split]
leming has quit [*.net *.split]
topi` has quit [*.net *.split]
tyler-baker has quit [*.net *.split]
bbelos has quit [*.net *.split]
totopr has quit [*.net *.split]
unfalse has quit [*.net *.split]
dlezcano has quit [*.net *.split]
_jungh4ns has quit [*.net *.split]
cyrozap has quit [*.net *.split]
sjoerd has quit [*.net *.split]
nnnn20430 has quit [*.net *.split]
afaerber has quit [*.net *.split]
aep has quit [*.net *.split]
philhug has quit [*.net *.split]
amstan has quit [*.net *.split]
sjg1 has quit [*.net *.split]
steev has quit [*.net *.split]
pozzoni has quit [*.net *.split]
naobsd has quit [*.net *.split]
mrueg has quit [*.net *.split]
srao has quit [*.net *.split]
rperier has quit [*.net *.split]
eebrah has quit [*.net *.split]
daniels has quit [*.net *.split]
em|tue has quit [*.net *.split]
ganbold has quit [*.net *.split]
vickycq has quit [*.net *.split]
Kruppe- has quit [*.net *.split]
ckeepax has quit [*.net *.split]
erc has quit [*.net *.split]
cp- has quit [*.net *.split]
zhecka__ has quit [*.net *.split]
ssvb has quit [*.net *.split]
irsol has quit [*.net *.split]
mcan has quit [*.net *.split]
arield has quit [*.net *.split]
lerc has quit [*.net *.split]
cp-- has quit [*.net *.split]
nashpa has quit [*.net *.split]
fireglow has quit [*.net *.split]
arnd has quit [*.net *.split]
RayFlower has quit [*.net *.split]
norris has quit [*.net *.split]
bamvor has quit [*.net *.split]
tizbac has quit [*.net *.split]
geniack has quit [*.net *.split]
robogoat has quit [*.net *.split]
dianders has quit [*.net *.split]
paulk-collins has quit [*.net *.split]
azend|vps has quit [*.net *.split]
libv has quit [*.net *.split]
maz has quit [*.net *.split]
FergusL has quit [*.net *.split]
ChanServ has quit [*.net *.split]
amstan has joined #linux-rockchip
norris has joined #linux-rockchip
RayFlower has joined #linux-rockchip
tyler-baker has joined #linux-rockchip
vetkat has joined #linux-rockchip
sjoerd has joined #linux-rockchip
sjg1 has joined #linux-rockchip
fireglow has joined #linux-rockchip
eebrah has joined #linux-rockchip
daniels has joined #linux-rockchip
srao has joined #linux-rockchip
rperier has joined #linux-rockchip
mrueg has joined #linux-rockchip
naobsd has joined #linux-rockchip
VargaD has joined #linux-rockchip
irsol has joined #linux-rockchip
erc has joined #linux-rockchip
ckeepax has joined #linux-rockchip
vickycq has joined #linux-rockchip
zhecka__ has joined #linux-rockchip
em|tue has joined #linux-rockchip
cp- has joined #linux-rockchip
ganbold has joined #linux-rockchip
arield has joined #linux-rockchip
ssvb has joined #linux-rockchip
Kruppe- has joined #linux-rockchip
mcan has joined #linux-rockchip
tnn has joined #linux-rockchip
cosm has joined #linux-rockchip
linux-rockchip has joined #linux-rockchip
Apocx has joined #linux-rockchip
pulser has joined #linux-rockchip
paulk-collins has joined #linux-rockchip
libv has joined #linux-rockchip
FergusL has joined #linux-rockchip
maz has joined #linux-rockchip
azend|vps has joined #linux-rockchip
dianders has joined #linux-rockchip
totopr has joined #linux-rockchip
unfalse has joined #linux-rockchip
srao has quit [Ping timeout: 240 seconds]
lerc has joined #linux-rockchip
nashpa has joined #linux-rockchip
paulk-collins has quit [Quit: Quitte]
ChanServ has joined #linux-rockchip
<totopr> I have to boot from SD, leaving NAND untouched
<totopr> trying procedure from http://linux-rockchip.info/mw/index.php?title=Creating_bootable_SD_card but don't know how to get header, code, 3188_LPDDR2_300MHz_DDR3_300MHz_20130830.bin and u-boot.bin
<totopr> can these file be extracted from HW ^
cp-- has joined #linux-rockchip
steev has joined #linux-rockchip
totopr has quit [Ping timeout: 252 seconds]
srao has joined #linux-rockchip