leowt changed the topic of #linux-rockchip to: Rockchip development discussion | http://linux-rockchip.info | http://irclog.whitequark.org/linux-rockchip
RayFlower has quit [Quit: RayFlower]
RayFlower has joined #linux-rockchip
RayFlower has quit [Client Quit]
RayFlower has joined #linux-rockchip
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
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
hramrach has quit [Ping timeout: 272 seconds]
hramrach has joined #linux-rockchip
dmpo0 has joined #linux-rockchip
<dmpo0> Hello
<dmpo0> !
<cosm> hey dmpo0
dmpo0 has quit [Quit: Page closed]
cm8 has joined #linux-rockchip
<cm8> cosm: read log of yesterday.. where can i find current kernel to use with your fbturbo fork?
<cosm> cm8: I'm also working on porting the patches to the up-to-date rockchip tree from naobsd, but that's incomplete yet
<cm8> ah, ok, thx - that is what i was asking for ;-)
<cm8> htc-t010-v2 is based on rockchip-3.0-rbox-kk?
<cosm> yes, it's just with a board file and config for devices compatible with mk802iv
<cosm> so those patches should be directly usable on rockchip-3.0-rbox-kk and other branches derived from that one
<cm8> as i tried porting this myself (with no success at this point): did you have a look at the overlay manager code yet?
<cosm> a bit
<cosm> why?
<cm8> it makes one patch obsolete i think, the one you hardcoded xv to the yuv-capable layer with in your first attempt at lgeek repo
<cm8> well, not obselete, but maybe easier
<cosm> right, I know what you mean
<cosm> I guess you mean the dev_drv->overlay thing in rk3188_fb_get_layer, right?
<cosm> and the change in FBIOSET_OVERLAY_STATE in rk_fb
<cm8> yeah exactly, https://github.com/linux-rockchip/kernel_rockchip/blob/wip/htc-t010-v2/drivers/video/rockchip/lcdc/rk3188_lcdc.c#L1635 if we hardcode this struct member to always be true, it'd be the same as original patch, i think there is only one place where the member is set at all, so it should be easy and the patch is a little smaller - but still, it probably won't solve your problem to create a patchset applyable to all rock
<cm8> they simply differ too much from one to another, unfortunately
<cosm> I need to take a closer look at how that's supposed to work, maybe it doesn't necessarily need a kernel patch
<cosm> I think it's a bit insane to approach it this way :), but if I can tweak the userspace driver to work with it, it's better
<cm8> you mean you could use that ovl mgr, toggling states with fbturbo driver?
<cm8> if only documentation by rockchip would not be soo sparse..
<cosm> I've actually found this FB/LCDC code to be quite ok to understand and use with no documentation
<cosm> I just didn't have that much time to work on it
<cm8> yeah, but not being consistent you'd have to code for different cases in the userspace driver, i.e. if you want to keep using it with the older kver without that ovl mgr
<cm8> even a Changelog by Rockchip would help and make life much easier, and if it'd just roughly list the spots they worked on and overhauled..
<cosm> it's annoying that they break functionality provided to the userspace, yes
<cosm> the mainline kernel basically *never* does that
<cm8> yep
<cosm> anyway, I get the feeling this switching is going to be broken in interesting ways
<cosm> in which case, well, I'll port my patch to this kernel as well
<cm8> and if they do, they discuss, document and write changelogs for easy understanding, it's not fire and forget..
<cosm> but if it isn't, I'll modify my patch for the older kernel to be compatible with this one
<cm8> or you fork fbturbo in two and relate each copy to a specific kernel counterpart (that is, if you can't find a changeset that satisfies both base kernels..)
<cosm> no way
<cm8> just my 2ct
<cm8> it'd make the chaos perfect :)
<cosm> in the worst case I'll make fbturbo detect which kernel it's running on
<cosm> they've added hardware cursor support
<cm8> but seems not as complete as with your patch, on ioctl is missing, iirc
<cosm> but it's broken...
FreezingCold has quit [Ping timeout: 258 seconds]
<cm8> *one
<cosm> we could live without the missing ioctl, it's just for setting a 3rd palette color and we're not using it
<cm8> ok, so it's broken in yet another way you say?
<cosm> haha, yes
<cosm> it hardcodes palette colors
<cosm> it hardcodes the cursor image
<cm8> last one should be ugly
<cosm> it hardcodes display size to 720p
<cm8> :)
<cm8> yeah, you've written about that a couple of days ago.
<cosm> and the worst is, the hardcoded cursor is sort of asymmetric
<cosm> :)
<cm8> so ultimately a patch would have to throw out their code first and replace it with the implementation you adopted earlier.. oh well..
<cosm> I think that's what I'll do
<cm8> quite some effort for something that will be obsolete once mainline is ready, but noone knows yet when this will happen, despite all the progress
<cosm> the guys working on mainline support were here a few days ago
<cosm> it sounds like they're making good progress
<cm8> nice
<cosm> but lots of things are still not supported
<cm8> you probably need to decide yourself if it's worth the effort, i'd appreciate it for sure :)
<cosm> I don't really have any experience with writing good (as in good for mainline) drivers
<cm8> me neither, but the more code read and written probably won't hurt to getting there :)
<cosm> but once someone starts working on the graphics subsystem, I hope I'll be able to work with them to have the features needed for XV acceleration
<cosm> hopefully in a way that's not too different
<cm8> there is also this dedicated vpu thing - http://linux-rockchip.info/mw/index.php?title=VideoAcceleration - but it means even more work to adopt for linux. I'm sure you've read about it, but it's not of priority. xv support will help a lot for sure.
<cosm> it would be nice to have it working
<cm8> ok, gotta leave now. my bicycle needs some love. c u around.
<cosm> but the ARM cores are powerful enough to decode most types of video
cm8 has left #linux-rockchip [#linux-rockchip]
ferric has quit [Ping timeout: 265 seconds]
cnxsoft has quit [Ping timeout: 240 seconds]
GriefNorth has joined #linux-rockchip
cnxsoft has joined #linux-rockchip
cnxsoft has quit [Ping timeout: 240 seconds]
naobsd has joined #linux-rockchip
cnxsoft has joined #linux-rockchip
arcade|2 has joined #linux-rockchip
<arcade|2> whether it can be done, adopt the driver x170 https://github.com/lizhm82/i10-kernel/tree/i10soc-3.0.8-android/drivers/misc/i10
arcade|2 has quit [Client Quit]
cnxsoft has quit [Ping timeout: 252 seconds]
rz2k has joined #linux-rockchip
tonikasch has joined #linux-rockchip
<viric> ok, testing mk802iv with serial port
<viric> E:Invaid tag(0x00000200)!
<viric> Load failed!
<viric> I've several: W: Invalid Parameter's tag (0x00000200)!
<viric> Invalid parameter
<viric> no wonder it doesn't boot
<viric> What can it be?
<viric> ah different bootloaders have different ftl? (1.x, 2.x?)
<viric> hm I wish I knew the name of the serial port device
<viric> ah it's ignoring the changes I write in the parameter file. mh
<viric> definitely my paramters file is broken
cnxsoft has joined #linux-rockchip
<viric> aaaah rkcrc!!!!!
<viric> I understood how to write parameters finally
<viric> cnxsoft: do you know if the picuntu kernel doesn't allow overriding the cmdline in parameters?
<viric> FlashReadPage error!!,row = 227190
<viric> FlashReadPage error!!,row = 227190
<viric> FlashReadPage error!!,row = 227190
<viric> grmbl may I have bricked it?
<cosm> regarding the driver linked above - it says 'This software is confidential and proprietary and may be used only as expressly authorized by a licensing agreement from Hantro Products Oy.'
<cosm> I'm not touching that
<viric> argh....
<viric> Kernel boots, but I can't get into recovery mode anymore.
<viric> FTL errors
<viric> Anyone has an idea about this http://sprunge.us/ERfI
<viric> ?
<cosm> viric: does rkflashtool still connect to the device?
<viric> no
<viric> All the mess started when I wrote: rkflashtool w 0 1 < parameters
<viric> but the file 'parameters' didn't exist....
<cosm> I'm fairly sure that overwrites the bootloader, not the parameters
<viric> no, I succesfully wrote the parameters file that way many times
<viric> start_linux=====132915
<viric> E:CRC failed!
<viric> Begin recover...
<viric> Load failed!
<viric> GetRemapTbl flag = 1
<viric> FtlSetSysProtAddr error j= 45
<viric> that's when it started the 'recover' thing.. maybe it'll take some hours. At every reboot, it seems to restart at the given position.
<viric> oh! It came back to life!
<viric> FtlSetSysProtAddr error j= 619
<viric> powerOn,18253302 18253325 UsbConnected
<viric> Now I wish I knew how to set the kernel cmdline... these kernels (Linuxium / picuntu) don't seem to accept other cmdlines from the parameters file.
<cosm> viric: one of the reasons why you're probably better off rolling your own
<viric> I think so
<viric> but mainline isn't up to date I think
<viric> is there a tree I can cross-build from?
<cosm> what hardware?
<viric> mk802iv
<cosm> or rather my fork: https://github.com/lgeek/Linux3188, but I've had 0 reports of someone else trying to use it, so maybe you don't want to start with it
<viric> let's fetch from the 1st
tonikasch has quit [Quit: Bye!]
<viric> cosm: is there any defconfig I could rely upon?
bgal has joined #linux-rockchip
<viric> there are plenty of rk3188 defconfigs
arcade|2 has joined #linux-rockchip
arcade|2 has left #linux-rockchip [#linux-rockchip]
RayFlower has quit [Ping timeout: 240 seconds]
RayFlower has joined #linux-rockchip
bgal_ has joined #linux-rockchip
bgal has quit [Ping timeout: 265 seconds]
cnxsoft has quit [Quit: cnxsoft]
viric has quit [Ping timeout: 240 seconds]
bgal_ has quit [Ping timeout: 252 seconds]
ganbold has quit [Ping timeout: 245 seconds]
ganbold has joined #linux-rockchip
FreezingCold has joined #linux-rockchip
GriefNorth has quit [Ping timeout: 240 seconds]
<cosm> uhm, wrong window
arelo has quit [Quit: ChatZilla 0.9.90.1 [Firefox 29.0.1/20140506152807]]
tonikasch has joined #linux-rockchip
<ssvb> cosm: you are also doing something with huawei? :)
<cosm> ssvb: it's actually a link posted here
<cosm> just a few lines above
<ssvb> ah, ok
<cosm> I was intending to paste it in my browser
rz2k has quit []
<tonikasch> cu
tonikasch has quit [Quit: Bye!]
<naobsd> rkflashtool never write bootloader
<naobsd> rkcrc is needed if you flash parameter with rkflashtool, but not needed if you flash parameter with Rockchip official tools such as upgrade_tool
<naobsd> I recommend to use upgrade_tool if you have x86 Linux
<naobsd> cmdline from parameter can be ignored by kernel (it's very common thing, it's NOT Rockchip or some specific kernel fork special)
naobsd has quit [Quit: Page closed]
ganbold_ has quit [*.net *.split]
mnemoc has quit [*.net *.split]
moofree has quit [*.net *.split]
jcarlos has quit [*.net *.split]
FreezingCold has quit [*.net *.split]
ganbold has quit [*.net *.split]
irsol has quit [*.net *.split]
viric has joined #linux-rockchip
FreezingCold has joined #linux-rockchip
ganbold has joined #linux-rockchip
irsol has joined #linux-rockchip
ganbold_ has joined #linux-rockchip
mnemoc has joined #linux-rockchip
jcarlos has joined #linux-rockchip
moofree has joined #linux-rockchip
irsol_ has joined #linux-rockchip
irsol has quit [Write error: Connection reset by peer]
irsol_ has quit [Changing host]
irsol_ has joined #linux-rockchip
irsol_ is now known as irsol
FreezingCold has quit [Ping timeout: 255 seconds]
FreezingCold has joined #linux-rockchip
ganbold_ has quit [Remote host closed the connection]