ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - Don't ask to ask. Just ask! - See http://linux-sunxi.org | https://github.com/linux-sunxi/ | Logs at http://irclog.whitequark.org/linux-sunxi
drachensun has joined #linux-sunxi
mdfe has quit [Remote host closed the connection]
egbert has quit [Read error: Operation timed out]
egbert has joined #linux-sunxi
techn__ has joined #linux-sunxi
zub has joined #linux-sunxi
techn_ has quit [*.net *.split]
zub_ has quit [*.net *.split]
ganbold_ has joined #linux-sunxi
torqu3e has quit [Quit: torqu3e]
bsdfox has joined #linux-sunxi
bsdfox has quit [Changing host]
bsdfox has joined #linux-sunxi
ganbold has quit [*.net *.split]
torqu3e has joined #linux-sunxi
wingrime has joined #linux-sunxi
torqu3e has quit [Quit: torqu3e]
eebrah has joined #linux-sunxi
torqu3e has joined #linux-sunxi
rz2k has joined #linux-sunxi
bsdfox has quit [Ping timeout: 240 seconds]
<rm> mnemoc, why a commit's checksum would change in stage, after it was already there?
<rm> at https://github.com/linux-sunxi/linux-sunxi/commits/stage/sunxi-3.4 "sunxi: unify sun4i and sun5i platform devices to single" was 34b5211326, now title is the same, but the checksum is 1563a62d2b
<rm> I built a kernel, put the old checksum into the version string, and now someone is pulling the rug from under me
<rm> now I have a meaningless kernel version
<rm> sadly I didn't save complete commit diff from 'before'
torindel has quit [Ping timeout: 240 seconds]
ZaEarl has joined #linux-sunxi
ZaEarl has quit [Ping timeout: 245 seconds]
<mnemoc> rm: the stage branches are rebased
<mnemoc> rm: they are intended for devs to test new changes, not to users....
<mnemoc> if a change is good for users, it has to be moved out of the stage
<mnemoc> well... not out. merged to the stable branch
n01 has joined #linux-sunxi
<mnemoc> stage/ will still have it, but below it's base
<wingrime> mnemoc: dma It like depedency hell
<mnemoc> do we need to make the clocks and irq "civilized" first?
<wingrime> you still not acepted pm unification
<wingrime> and I now working on dma unfication
<wingrime> and only clocks are pending in mach
<mnemoc> the dsl in my new apartment still works like crap... it's syncing at 3M (when syncs at all) while it should be 16-18M :<
<wingrime> mnemoc: sunxi make some HW dst/src bits different on sun4i/sun5i
<mnemoc> using the phone as modem atm. will merge the pm thing soon
<wingrime> so i fight with depedeny hell
<wingrime> mnemoc: pm 100% same , there must be no-problem with it
<wingrime> if my patch to outdated hramrach made same
<wingrime> *too
<wingrime> hramrach made simular patch becose he did't noticed this one
rellla has joined #linux-sunxi
<wingrime> I wonder That I didn't forget something for dma
<rm> mnemoc, I want to build kernels from stage
<rm> tell me what do I use as a version string then
<rm> date/time?
<rm> I thought commit checksums were stable
<mnemoc> rm: rebase makes new commits
<mnemoc> timestamp is probably the only way
shineworld has joined #linux-sunxi
<mnemoc> rm: can you send patches to improve our defconfigs?
vicenteH has quit [Read error: Connection reset by peer]
paulk-desktop has joined #linux-sunxi
<shineworld> Can script.bin to be used to define display geometry (I'm thinking to Screen DPI, or X DPI, Y DPI) ? Actually I've used ro.sf.lcd_density=120 to match my lvds display and avoid the SystemUI exception in loading StatusBar but at boot geometry recovery by SurfaceFlinger from driver are wrong: Mar 31 23:40:14 <shineworld>I/gralloc ( 88): xres = 800 px
<shineworld> Mar 31 23:40:14 <shineworld>I/gralloc ( 88): yres = 480 px
<shineworld> Mar 31 23:40:14 <shineworld>I/gralloc ( 88): xres_virtual = 800 px
<shineworld> Mar 31 23:40:14 <shineworld>I/gralloc ( 88): yres_virtual = 960 px
<shineworld> Mar 31 23:40:14 <shineworld>I/gralloc ( 88): bpp = 32
<shineworld> Mar 31 23:40:14 <shineworld>I/gralloc ( 88): r = 16:8
<shineworld> Mar 31 23:40:14 <shineworld>I/gralloc ( 88): g = 8:8
<shineworld> Mar 31 23:40:14 <shineworld>I/gralloc ( 88): b = 0:8
<shineworld> Mar 31 23:40:14 <shineworld>I/gralloc ( 88): width = 127 mm (160.000000 dpi)
<shineworld> Mar 31 23:40:14 <shineworld>I/gralloc ( 88): height = 76 mm (160.421051 dpi)
<shineworld> How is managed display geometry in linux-sunxi ?
<mnemoc> shineworld: please don't paste more than 3 lines on irc
<shineworld> ok I will do (sorry for that)
<wingrime> mnemoc: it realy big patch )))
<rm> mnemoc, I don't think I will
<rm> as you noticed I hate git/github with a passion and want to have as less as possible in common with it
<rm> but I religiously upload my configs in plaintext with every new kernel I make
<rm> so if anyone wants to look and pick any changes they deem useful, it's all there
<rm> ("in plaintext", i.e. not just buried deep in some .deb package or other archive)
<oliv3r> wingrime: ttp://paste.debian.net/246287/
<oliv3r> wingrime: remember http://linux-sunxi.org mainlining-effort
<oliv3r> wingrime: some people have started on cleaning up irq etc
<wingrime> oliv3r: have my patch work ?
<wingrime> oliv3r: did you noticed some results?
<wingrime> mnemoc: peinding patches: https://github.com/wingrime/linux-sunxi/tree/dma-rework
<oliv3r> wingrime: i think it was the 'unstable' version, i cherry-picked your commit. i had one reboot crash
<wingrime> oliv3r: what last commit
<oliv3r> wingrime: it looks like there's a quite a speed increase
<wingrime> oliv3r: I update branch
<oliv3r> wingrime: it's ok, it was only 1 crash and i did do all the tests. the pastebin frmo up there shows all results
<wingrime> oliv3r: where crash?
<wingrime> oliv3r: you saved dmesg log
<wingrime> ?
<oliv3r> no clue :) i started a dd write test, and it ran for about 10-12 minutes and it rebooted
<oliv3r> i have no log
<wingrime> oliv3r: I hope it only "no mem"
<wingrime> problem
bsdfox has joined #linux-sunxi
bsdfox has quit [Changing host]
bsdfox has joined #linux-sunxi
<wingrime> you maybe simply out of mem
<wingrime> I hope
shineworld has quit [Quit: Leaving]
<mnemoc> rm: patches go via the ML, not github
<wingrime> mnemoc: just for see size
<wingrime> mnemoc: I will send now))
<oliv3r> everybody: sorry for not having my cover-letter sorted :)
<oliv3r> wingrime: if it where no mem, the oom killer would have killed something, no this reeks more of the watchdog kicking in
<oliv3r> since it actually rebooted
<n01> Ehi guys I was rewriting the DWT driver for using the new watchdog framework ... could be interesting?
<mnemoc> always
<n01> good :)
<n01> it's not a huge contribution but it is something I think :)
<wingrime> n01: good
<oliv3r> n01: i think Turl was wroking on the wdt
<wingrime> n01: i hope you support "reboot"
<wingrime> oliv3r: I can't seek black cat in black room
<oliv3r> n01: i think he's doing it for 3.8+ with FDT etc integrated
<oliv3r> wingrime: lol what? miau?
<wingrime> olib3r: I don't realy know why you had reboot
<wingrime> [linux-sunxi] [PATCH 02/10] sunxi-sound: Merge sun5i sound support into sun4i code
<n01> ok oliv3r, I'll check with him ... thanks
<wingrime> oliv3r: we now have conflict )))
<wingrime> oliv3r: I replaced mach/dma.h to plat/dma.h
<oliv3r> wingrime: conflict?
<oliv3r> wingrime: bah
<oliv3r> wingrime: let mnemoc fix that :p
<oliv3r> wingrime: but this is a really old patchset
<wingrime> I hope
<oliv3r> mnemoc: should commit that asap
<n01> Turl, oh you are here :) are you working with wdt?
<mnemoc> oliv3r: what?
<oliv3r> mnemoc: hansg's audio patches part2
<oliv3r> of which i messed up the cover letter :)
<mnemoc> ok
<wingrime> mnemoc: I replaced mach/dma.h to plat/dma.h , my DMA unification will conflict with sound unification
<wingrime> mnemoc: I hope you reslove it
hipboi has joined #linux-sunxi
<hipboi> oliv3r, ping
<oliv3r> hipboi: pong
<rz2k> oliv3r: please dont push fb scaler patch
<rz2k> cedarfb needs it to be customizable
<rz2k> we discussed this previously
<oliv3r> rz2k: didn't see a comment on that on the ML; so i missed that
<oliv3r> rz2k: but I did comment i couldn't test it
<oliv3r> cause my tablet refuses to show anything on hdmi, especially when interlacing (my tv either doesn't like it)
<oliv3r> (my monitor 'scans' the output which causes the a10 to freeze
<wingrime> rz2k: can you test my cedar unufication
<mnemoc> oliv3r: so beside 1/10, the rest are good?
<rz2k> wingrime: will test when I will need it to work, sorry, I'm not doing sunxi for a while
<rz2k> oliv3r: fbscaler is also used by xbmc, so if you force, it can break things
<oliv3r> mnemoc: to me they are; they didn't break things, but i couldn't test 1/10
<techn__> mnemoc: how about those u-boot lichee-dev patches?
<mnemoc> techn__: date?
<techn__> mnemoc: ~5 days ago :/
<oliv3r> why can't I get hdmi out working on my tablet :(
<oliv3r> rellla: ping
<wingrime> oliv3r" try dev branch
<wingrime> and bisect
<oliv3r> wingrime: i don't think it's a kernel issue, it's a fex or something issue :) maybe the hdmi port isn't even wired :)
<oliv3r> wingrime: maybe it's because my monitor 'probes' the output
hipboi has quit [Quit: Leaving]
mdfe has joined #linux-sunxi
<rm> looks food :)
<rm> wingrime, go eat something :p
<wingrime> )
<wingrime> rm, I wonder how much patches still not aproved in ML
<wingrime> so I "bump" some interesting
eebrah_ has joined #linux-sunxi
<oliv3r> wingrime: reviewed patches get prio :)
<oliv3r> wingrime: but remember, mnemoc is still moving etc, so may be a nother week before he has time to do work on patches :(
<wingrime> oliv3r: I know, but it break depedences and conflicts
<wingrime> mripard: mmc have own dma engine , so it have no depedences to mainlining
<wingrime> oliv3r: I know way how optimize dma
<wingrime> oliv3r: but it needs rewrite
<wingrime> oliv3r: and lot of time to do this
<wingrime> oliv3r: good way, write unit tests for it
<wingrime> oliv3r: good way, and make some self-measurment
<oliv3r> anybody other then mripard awake that knows how to interact with devicetree?
<oliv3r> wingrime: ideally, you'd start with mripards git tree's and start working mainline
<oliv3r> wingrime: but hard to test if you don't have uart
<oliv3r> wingrime: if you rewrite it, it would need fdt etc and something that can be mainlined ::)
<wingrime> oliv3r: oliv3r: uart not so diffucult
<wingrime> oliv3r: oliv3r: I know where but it need disassemble and solder
<oliv3r> wingrime: i haven't found uart on my tablet yet
<mripard_> oliv3r: i'm awake
<oliv3r> mripard_: oh excellent
<oliv3r> mripard_: ok, i understand how to read the main memory address for a register 'series' from dt
<oliv3r> mripard_: but usually there's offsets for the seperate registers; how do you access those via dt? 'old fashioned' defines for the offsets?
<mripard_> yes
<mripard_> register relative address are defined in the driver
<wingrime> mripard: Good News :mmc have own dma engine , so it have no depedences to mainlining
<mripard_> IP base address comes from the device tree
<oliv3r> mripard_: and where do you keep those defines, in a Header or just in the C file?
<oliv3r> i would assume the last
<mripard_> oliv3r: there's no strong convention here
<oliv3r> wingrime: wouldn't the mmc driver eventually use the 'normal' dma engine? I can see that u-boot version be 'complete by itself' of course
<mripard_> but what I do is: if it's small, in the C file, if you have a lot of define, put it into a header in the same directory
<oliv3r> mripard_: so keep it in C if nothing else needs those; naming convention? prefix or not even needed it its never exported?
<mripard_> it's really about the SNR :)
<oliv3r> mripard_: ah that's also a good idea, if it's big keep it out
<oliv3r> Signal to Noise Ratio? :p
<mripard_> yes
<oliv3r> agreed
<mripard_> code being the signal, the defines the noise ;)
<oliv3r> :p
<oliv3r> so any naming convention to adhere to?
<mripard_> prefix the functions with the name of your driver
<oliv3r> so no sun?i_ prefix
<wingrime> mripard: mmc controller can copy data directly to mem, without cpu (some internal dma)
<oliv3r> SUN?I_*
<mripard_> oliv3r: it's really up to you wether you put it or not :)
<mripard_> wingrime: interesting, so the mmc controller has its own dma controller, separate from the "main" on?
<mripard_> *one
<oliv3r> then i'll prefix it to potentially (if ever) avoid nameclashes
<wingrime> YES
<oliv3r> that's interesting!
<oliv3r> probably done for BROM/boot[01] ease
<wingrime> mripard: mmc have no interact with main dma engine
<oliv3r> wingrime: that DMA engine also used in the u-boot driver?
<wingrime> mripard: don't know,
<mripard_> interesting
<wingrime> mripard: more interesting, I want try optimize main dma "finite state machine" code
<wingrime> mripard: so you can do mmc mainline
<oliv3r> mripard_: something closely relating https://github.com/linux-sunxi/linux-sunxi/blob/stage/sunxi-3.4/arch/arm/plat-sunxi/include/plat/io.h will probably be required on 3.8+ too, right? Right now the 'generic' one is used, and thus the 'limits' etc aren't honored? (i have no clue onto what it is and does, was just curious)
<mripard_> wingrime: I have other stuff in my workpipe now, but that's good news :)
<mripard_> oliv3r: it's there actually
<oliv3r> ah, i thought it had to be in io.h
<oliv3r> as the 'generic' asm/io.h says 'don't include this file, include asm/io.h instead
<oliv3r> which I thought would be some magic linkage to sunxi/io.h
rz2k has quit [Read error: Connection reset by peer]
<ssvb> wingrime: when optimizing dma, just be really careful with cache clean/invalidate operations, right now this stuff is messed up for sunxi
<ssvb> wingrime: and your prototype optimization patch is also messed up
<mripard_> oliv3r: this can't work on a multiplatform kernel ;)
<oliv3r> mripard_: ah, so i'm reading old stuff :p ok
<oliv3r> mripard_: so to use ioread32; i include asm/io.h or sunxi.h?
<oliv3r> or both?
<mripard_> use writel
<wingrime> ssvb: that prototype I don't send to mainline at all
<mripard_> well, more readl
<mripard_> but yes, include asm/io.h
<ssvb> wingrime: yes, but mainline or not, we don't want to have any data corruption
<wingrime> ssvb: I just move cache invalidation form "drivers" to "dma"
<ssvb> wingrime: and a discussion about it here http://comments.gmane.org/gmane.linux.linaro.devel/2303
<ssvb> wingrime: you just change wrong code to a bit different wrong code :)
<oliv3r> mripard_: hm, the header says ioread? is a 'generic' interface for doing new-style memory-mapped or PIO access. e.g. isntead of read[bwl]
<wingrime> ssvb: dma code is crap
<wingrime> ssvb: but we need unify it at all
<oliv3r> wingrime: fair point
<ssvb> wingrime: the needed cache clean and invalidate operations are different for reads and writes
<mripard_> oliv3r: hmmm, I don't quite see how it relates to memory mapping, once the memory has been mapped, it's mapped, ioread or not.
<wingrime> ssvb: At first I must implement new finity-state machine
<mripard_> but ioread makes endianness conversions, so, do whatever you want :)
<ssvb> wingrime: maybe we can just reuse some dma framework from the mainline?
<oliv3r> mripard_: i'm just learning :p and found that comment in iomap.h which implied 'read[bwl] is old, use ioread' :)
<wingrime> ssvb: yes, but i still see only cache helper
<wingrime> ssvb: and more interesting, try use dma_mapper as replacment for invalidation
<wingrime> ssvb: also sound code did't do any flush
<oliv3r> wingrime: sound is also quite a mess :p
<paulk-desktop> seems like my a13 tablet touchscreen driver is missing from the linux-sunxi tree
<paulk-desktop> it's elan_ktf2k
<ssvb> wingrime: ok, just try not to reinvent wheels unless this is really necessary :)
<wingrime> ssvb: I seeking good example
<wingrime> ssvb: for drvier base
<wingrime> ssvb: using kernel framweork means break wemac ,ether, nand, sound
<wingrime> ssvb: I uart also have full HW dma support
<ssvb> wingrime: is it difficult to change wemac, ether, nand, sound to use the standard dma framework?
<wingrime> ssvb: It difficult test that sitty codebase
<wingrime> *shiity
<wingrime> *shitty
<oliv3r> mripard_: heh; checkpatchs complains to include linux/io.h instead of asm/io.h :)
ganbold__ has joined #linux-sunxi
<wingrime> ssvb: we need do cache invalidate in more selective way
<wingrime> that can me great performance impovment
rundfunk has quit [Quit: leaving]
<rellla> oliv3r?
eebrah_ has quit [Ping timeout: 256 seconds]
eebrah has quit [Ping timeout: 240 seconds]
<oliv3r> rellla: hey, what is the allwinner xbmc status?
<oliv3r> rellla: your image still valid? is it only a rootfs? does it work in combination with our 'hwpack'?
<oliv3r> wingrime: you responded before I could. THough I see it took me 25 minutes to reply. ouch. anyway, I don't think it'll be backported. the code to support sid (for soc-detect) is currently in the kernel allready
<rellla> oliv3r: never tried the hwpacks. last week i set up my cubieboard with debian rootfs and new sunxi-3.0.
<rellla> xbmc from my repo run as expected. not better than half a year ago, but even not worse.
<n01> guys, in which branch do we have sunxi.dtsi?
<oliv3r> rellla: well the hwpack only contains closed binaries (mali, cedarx) the kernel and a script.bin
<n01> tnx oliv3r
<oliv3r> rellla: the theory is, you have a 'clean' rootfs, without kernel or closed source binaries or modules. you'd simply extract the hwpack and you have the missing bits :)
<rellla> i know. but i bundled this things on my own.
<oliv3r> n01: you probaly have to do git remote add mripard git://github.com/mripard/linux.git
<oliv3r> rellla: do you still have a precompiled binary?
<rellla> oliv3r: binary of what?
<rellla> oh. it's from nov2012 ;)
<oliv3r> do you have a more recent compilation of that?
<oliv3r> i guess i need to put that ontop of an existing rootfs
<rellla> yes. "stable" Frodo. as far as you can say "stable" ;)
<oliv3r> rellla: this ontop of X? or just the framebuff
<rellla> fb!
<oliv3r> rellla: ok; well there's a session/XBMC.desktop :)
<n01> oliv3r: are u able to boot already a kernel with dt?
<oliv3r> n01: mripard_ can, I don't have uart so if I could, i can't see anything
<rellla> this november version should work in a way, too - you want to test the fb_scaler patch?
<n01> great
<oliv3r> rellla: nah, just want to see if I can get it to run at all
<rellla> the binary is crosscompiled with debian/sid-rootfs. putting it on top of that rootfs should work.
<rellla> hopefully.
* rellla will update xbmca10-binary as soon as he boots up his dev-pc...
<oliv3r> rellla: awesome :)
<oliv3r> rellla: even better if you'd make it compatible with hwpacks :p
<oliv3r> rellla: i'll find a stable sid-rootfs
<oliv3r> and uptodate
<oliv3r> ah, i just build my own ;)
<rellla> maybe it's even better if you build xbmc at your own, too. you surely have some toolchain there...
<oliv3r> rellla: ideally, we expand the sunxi-bsp to build xbmc ;)
<oliv3r> rellla: but I know xbmc will need libs etc
<rellla> oliv3r: afaik you have to install the libs in addition to the rootfs. don't know, if my vanilla rootfs at dl.linux-sunxi.org/rellla is including them.
<rellla> best way would be a "dpkg -i" or "apt-get install"
<rellla> in the future
<rellla> but as long there is no progress with allwinner/cedarx, xbmc-development will stay stopped as it is for a few months.
<oliv3r> rellla: aye :( 'they are working on omx support'
<oliv3r> rellla: need more in the RE department :)
<rellla> oliv3r: as long as they work on any support ...
<oliv3r> rellla: :S
<oliv3r> rellla: they are busy with A31 and A20 so could be the new driver will encompase those aswell
<wingrime> What a hell "copyright" issue on ML, I added my copyright to new files that AW have no deal with
<wingrime> it stupid add AW copyright to new files
<rellla> oliv3r: i think we have to wait... so i'll try to compile a stable vdr 2.0 in the meanwhile. maybe i'll find some time to plug my cardreader to the cubieboard ;-)
<oliv3r> wingrime: i think technically, you are 'copying' the file (renaming) and the contents is still AW copyright. But i'm no copyright guru :)
<oliv3r> rellla: ;)
<wingrime> oliv3r: with is GPL we can wipe AW copyright and write linux-sunxi
<oliv3r> wingrime: I do not know :(
<oliv3r> wingrime: in the end, It will not matter, since the dma code has to be rewritten anyway, and then it absolutly will be no aw copyright anymore
<wingrime> oliv3r: this is a header I don't know how can defines be copyrighted stuff
<oliv3r> wingrime: i don't know either :(
<oliv3r> i think headers aren't copyrightable anyway
<wingrime> oliv3r: dma HAS to be rewrited anyway but when, what is a guestion
<oliv3r> wingrime: when you have time? :p
<wingrime> oliv3r: There was old story with oracle thay make from protocol magic numbers a poem with copyright
<wingrime> oliv3r: you must send "poem" to database to connect
<wingrime> poem are copyrighted)))
<oliv3r> wingrime: lol really? was the poem in the 'header'
<wingrime> maybe I find link))
<oliv3r> Orade!
<wingrime> This means you need send copyrighted stuf for connect )))
<oliv3r> oh! threewater send mail :)
<mnemoc> wingrime: GPL is a usage license. it doesn't allow you to remove copyrights unless *all* the code coming from that author is gone
<mnemoc> if you add new content you can add an extra copyright line
<wingrime> mnemoc: I did't remove any copyringht
<wingrime> mnemoc: this is a new files (simply it too big to make "#ifdef" )
<oliv3r> wingrime: you copied code though, that was copyrighted :p
<oliv3r> wingrime: your dma patches didn't crash anything, wifi reset and got new ip; so no crasuh
<wingrime> mnemoc: fill free add AW copyrith when you will merge this)))
<mnemoc> wingrime: i haven't even looked at the patches, i'm only commenting on what I saw here on irc
<wingrime> mnemoc: "signoff" actualy for it
<oliv3r> 536870912 bytes (537 MB) copied, 33.9973 s, 15.8 MB/s
<oliv3r> for nand read
<wingrime> oliv3r: can you say what "last patch" ?
<wingrime> in git history
traeak has left #linux-sunxi [#linux-sunxi]
<wingrime> and actualy it helps?
<oliv3r> wingrime: the pastebin i did earlier is good :)
<oliv3r> that's write performance before/after
<oliv3r> hmm, it's about the same, 0.1 MB/s less actually (on a sample of 2)
Skaag has quit [Ping timeout: 252 seconds]
mdfe has quit [Remote host closed the connection]
fredy has quit [Ping timeout: 245 seconds]
fredy has joined #linux-sunxi
<n01> wingrime: what did u mean with "i hope you support "reboot""?
bfree has quit [Ping timeout: 252 seconds]
<wingrime> n01: we have strange reboot that make suicide with watchdog
<n01> wow ... is this reproducible?
<wingrime> see core.c
<n01> on sunxi-3.4 branch?
<wingrime> n01: yes
<wingrime> n01: It will be grate if you move reboot to you driver
<mnemoc> _restart() in 3.4 lost a sun5i-specific chunk during unification
<mnemoc> 3.0 has it
<wingrime> mnemoc: it does not care
<mnemoc> ok
<wingrime> mnemoc: only difference - sun5i do suicide when he not died after delay in endless cycle
<wingrime> mnemoc: it will be better make reboot right way or atleast move it to WTD driver
<mnemoc> what would be the right way?
<wingrime> mnemoc: call 0 NMI IRQ
<n01> is this a common thing to have _reboot _restart in wdt driver?
<wingrime> n01: you not get it right
<mnemoc> we currently uses the wdt to reboot
<mnemoc> use*
<mnemoc> moving it within the driver would be to isolate the usage of that controller in a single file
<oliv3r> and to poweroff?
<wingrime> n01: if we have WTD enabled in config we must call wtd driver for suicide (stop refresh)
<oliv3r> wdt*
<n01> haaaa ok, I got it
<mnemoc> oliv3r: poweroff is done by the AXP iirc
<oliv3r> I think xfce (from fedora 18) uses halt when you hit 'shut down'
<wingrime> olvi3r:xfc still not show charge right way
<oliv3r> wingrime: xfce4 shows that it's charging or on battery; but the battery icon seemst o be always 'near empty (red)'
<wingrime> olvi3r: I made some fix for axp to to support avg_energy
<wingrime> but it not helped (shows 100% always)
rz2k has joined #linux-sunxi
bfree has joined #linux-sunxi
rundfunk has joined #linux-sunxi
ganbold__ has quit [Remote host closed the connection]
torqu3e has quit [Quit: torqu3e]
<n01> hno: did you write the current wdt driver?
<mnemoc> n01: yes, he did
<n01> well ... I just needed to ask something but I'll wait
<mnemoc> n01: you might have better like by email, hno doesn't come to irc often lately
vinifm has joined #linux-sunxi
<vinifm> hi, I've been having problems with DMA
eebrah has joined #linux-sunxi
<vinifm> <3>dma0: channel has nothing loaded <cr> [ 2406.030000] dma0: channel has nothing loaded
<vinifm> after that the program no longer responds
<wingrime> vinifm: witch device
<wingrime> vinifm: nand?
<wingrime> vinifm: wemac?
<vinifm> wifi
<wingrime> vinifm: audio?
<wingrime> vinifm: than it usb
<vinifm> socket in wifi
<vinifm> rtl9281cu
<wingrime> eu = usb
<wingrime> c = cpio
<vinifm> sorry, rtl8192cu
<vinifm> wifi usb
<vinifm> realtek wifi usb
<wingrime> vinifm: usb code totaly crap, even without dma
<vinifm> really?
<Dreadlish> usb is crappy everywhere
rellla has quit [Quit: Nettalk6 - www.ntalk.de]
<Dreadlish> 3.0 is somewhat better, but still not enough
rellla has joined #linux-sunxi
gzamboni has quit [Read error: Connection reset by peer]
<vinifm> i am using stage/sunxi-3.0
<techn__> wingrime: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0228a/index.html
<wingrime> I see. I just need alloc non cached memory
<wingrime> ))
<wingrime> that most funniest thing
<wingrime> I broke nand , wifi and sound still works
<wingrime> strange
gzamboni has joined #linux-sunxi
<oliv3r> n01: also Turl is rumoured to work on a wdt for mainlining efforts
<oliv3r> wingrime: oh appearantly matt porter (mdp) is working on DMA a bit :)
<n01> oliv3r: yes I know that unfortunately he is not here to ask
<n01> or at least he is afk
<oliv3r> n01: easter today; probably around tomorrow again :)
<oliv3r> n01: he's usually reasonably active here
<n01> :) ok, I'll ask him tomorrow then ... in any case it is a good exercise (I'm really not familiar with dt and this is a good occasion to practice a bit)
shineworld has joined #linux-sunxi
<oliv3r> n01: ;)
<oliv3r> n01: any particular reason your after the wdt?
<oliv3r> anybody familiar with deboostrap?
<n01> oliv3r: not really, I'm not used to kernel space and the wdt driver seemed easy enough to start with
<bfree> oliv3r: re debootstrap I'd say: /topic - Don't ask to ask. Just ask! ;)
<oliv3r> n01: okay :) your trying to get it mainline ready?
<n01> oliv3r: yep, also dt-ready
<n01> but obviously if Turl is already working on it I'll leave it to him
<oliv3r> n01: turl does have a plate full! :)
<oliv3r> n01: i've just submitted my first attempt at the 'sid' driver, i think it is the world most simplest driver ;)
<oliv3r> n01: parallel to that, i've started working on the PWM driver
<n01> I have seen it and I'm jealous :P
<oliv3r> n01: but this is all to get stuff into mainline; so 3.8+
<oliv3r> n01: heh, we'll see; still haven't gotten any feedback :)
<mripard_> oliv3r: where did you send it?
<oliv3r> mripard_: sunxi ml
<oliv3r> i'll send you a copy
<mripard_> 'k
<mripard_> please cc me on this, I'm interested ;)
<oliv3r> mripard_: heh; i'll gladly need your feedback
<oliv3r> i'll send you my own version that's inlined with questions; and on v2 i'll directly CC you
<oliv3r> mripard_: sent
<mripard_> I'll reply to you on the mailing list, it's hard to comment on your questions :)
rellla has quit [Quit: Nettalk6 - www.ntalk.de]
shineworld has quit [Read error: Connection reset by peer]
<oliv3r> mripard_: better; gives me time to think and research on it ):
<oliv3r> :)*
eebrah has quit [Ping timeout: 276 seconds]
shineworld has joined #linux-sunxi
eebrah has joined #linux-sunxi
<oliv3r> mripard_: for what it's worth, i've allready fixed and rebased the Kconfig and Makefile ;)
<oliv3r> any git experts here? I keep seeing lichee-3.0.8-sun4i-an7g3 as a local repository; what is it, and how do I get rid of it :)
<mnemoc> it's a tag iirc
<mnemoc> from an old source drop
<mnemoc> git branch -D foo will kill it if it's a local branch
<Turl> n01: ping? :)
<Turl> it's long weekend over here, I'll be back on tue/wed
<mnemoc> wingrime: can you see ssvb's reply to the i2c merge patch?
<wingrime> wait
<Turl> n01: not around I assume, feel free to /msg me, I'll read it the next time I attach to my bouncer
<wingrime> mnemoc: look like I didn't noticed
<oliv3r> mnemoc: i know about -D; but won't it get pulled in next time again?
<wingrime> mnemoc: you can checkout older version
<wingrime> mnemoc: But I don't see any affects
<wingrime> ssvb: Thanks, i realy missed with add big paches
<mnemoc> oliv3r: local branches aren't created spontaneously, except during `git clone`
<oliv3r> reviews win :)
<oliv3r> mnemoc: then I must have cloned it
<oliv3r> wingrime: you too: remotes/wingrime/lichee-3.0.8-sun4i-an7g3
<wingrime> mnemoc: this fix, we talked about that aw_clksrc_read have wait, I tested it and mistakely add this
<ssvb> wingrime, mnemoc: I guess it should not be a big problem to revert the patch and apply a fixed one
<oliv3r> mnemoc: and i think it's still up on github? remotes/origin/lichee-3.0.8-sun4i-an7g3
<wingrime> ssvb: more strange thing.. this have no problem at all
<ssvb> wingrime: I also have tested this aw_clksrc_read stuff a bit and will post the results to the ml shortly :)
<mnemoc> oliv3r: remote branch is not local...
<ssvb> wingrime: yes, it appears to be mostly safe
<wingrime> ssvb: thanks, but all works and I didn't notice any problem
<wingrime> ssvb: It becose timer runs faster than CPU
<mnemoc> ssvb: as it's a rebased branch (and I've shout that out) we can commit the fix only for that line and then squash them before merging...
<oliv3r> mnemoc: i grepped for it in branch -a :p
<wingrime> mnemoc: it mostly safe )))
<oliv3r> mnemoc: btw, my sid driver, is against 3.8 so no point in even trying to merge it till we have some preliminairy fdt
<mnemoc> i'll setup git.linux-sunxi.org soon, and make cleanup, but I have a trade show this weekend and don't have time for that atm....
<oliv3r> mnemoc: no rush
<wingrime> ssvb: I make some dma irq handler optimization
<wingrime> ssvb: and there strange problem
<wingrime> ssvb: only nand broken
<wingrime> ssvb: usb and sound works good
<wingrime> ssvb: nand simply timeout when read
<ssvb> wingrime: a pessimist in me is assuming that everything broken, but just not caught by tests yet :)
rz2k has quit []
<oliv3r> ssvb: i wholeheartedly agree :)
<wingrime> ssvb: nand error on load broken
<wingrime> ssvb: I get big oop
rellla has joined #linux-sunxi
rellla has quit [Client Quit]
drachensun has quit [Remote host closed the connection]
paulk-desktop has quit [Quit: Ex-Chat]
wingrime has quit [Ping timeout: 255 seconds]
drachensun has joined #linux-sunxi
drachensun has quit [Remote host closed the connection]
drachensun has joined #linux-sunxi
shineworld has quit [Remote host closed the connection]
eebrah has quit [Ping timeout: 255 seconds]
vinifm has quit [Quit: Saindo]
torqu3e has joined #linux-sunxi
n01 has quit [Ping timeout: 252 seconds]
theOzzieRat has joined #linux-sunxi
drachensun_ has joined #linux-sunxi
rundfunk_ has joined #linux-sunxi
LeCare__ has joined #linux-sunxi
drachensun has quit [Ping timeout: 272 seconds]
rundfunk has quit [Ping timeout: 272 seconds]
LeCare_ has quit [Ping timeout: 272 seconds]
drachensun_ has quit [Remote host closed the connection]
drachensun has joined #linux-sunxi
rnp has joined #linux-sunxi
rnp has left #linux-sunxi [#linux-sunxi]