Turl changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi
sillysnowflake has quit [Ping timeout: 240 seconds]
naobsd has quit [Quit: naobsd]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
WarheadsSE has quit [Quit: WeeChat 1.1.1]
WarheadsSE has joined #linux-sunxi
lnr has joined #linux-sunxi
lnr has left #linux-sunxi [#linux-sunxi]
naobsd has joined #linux-sunxi
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 250 seconds]
p1u3sch1 has quit [Ping timeout: 256 seconds]
p1u3sch1 has joined #linux-sunxi
<plaes> \o/
<plaes> Allwinner is finally doing some GPL violation fixing..
kaspter has joined #linux-sunxi
cookie-girl has joined #linux-sunxi
cubeast has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
nicksydney has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
gzhechu has quit [Ping timeout: 250 seconds]
gzhechu has joined #linux-sunxi
kaspter has joined #linux-sunxi
khuey is now known as khuey|away
ZbooNet has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
domidumont has quit [Remote host closed the connection]
<RSpliet> plaes: source?
domidumont has joined #linux-sunxi
kaspter has joined #linux-sunxi
<plaes> RSpliet: wiki and mailinglist
<plaes> slow steps, but still an improvement
<TheLinuxBug> I have followed http://linux-sunxi.org/Boot_Android_from_SdCard but the A10 will not boot, just sits there. Does this method work for the A10? Am I missing something easy here?
<TheLinuxBug> I have tried with both android images here: http://dl.cubieboard.org/model/cubieboard1/Image/android/android-tvbox-v2.2/
<TheLinuxBug> I am trying to do this as I have a cubieboard A10 without NAND and would like to try out Android
lucaswang has joined #linux-sunxi
bonbons has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Read error: Connection reset by peer]
iamfrankenstein has joined #linux-sunxi
massi_ has joined #linux-sunxi
Xaros has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 255 seconds]
Black_Horseman has quit [Ping timeout: 250 seconds]
Andy-D has joined #linux-sunxi
prz has joined #linux-sunxi
reinforce has joined #linux-sunxi
Xaros has quit [Quit: Zwi se logou mou!!!]
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 248 seconds]
p1u3sch1_ has joined #linux-sunxi
p1u3sch1 has joined #linux-sunxi
p1u3sch1_ has quit [Client Quit]
trollinger has joined #linux-sunxi
trollinger has quit [Client Quit]
Andy-D has quit [Ping timeout: 256 seconds]
ricardocrudo has joined #linux-sunxi
awe00 has joined #linux-sunxi
ricardocrudo has quit [Remote host closed the connection]
lucaswang has quit [Read error: Connection reset by peer]
afaerber_ is now known as afaerber
sehraf has joined #linux-sunxi
focus has quit [Remote host closed the connection]
focus has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Read error: Connection reset by peer]
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Client Quit]
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Read error: Connection reset by peer]
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Client Quit]
sunxi_fan has left #linux-sunxi [#linux-sunxi]
gianMOD has joined #linux-sunxi
gzhechu has quit [Remote host closed the connection]
sunxi_fan has joined #linux-sunxi
sunxi_fan has left #linux-sunxi [#linux-sunxi]
sunxi_fan has joined #linux-sunxi
gianMOD has quit [Read error: Connection reset by peer]
gianMOD has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
FR^2 has joined #linux-sunxi
nove has joined #linux-sunxi
kaspter has quit [Ping timeout: 250 seconds]
mauro_ has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 252 seconds]
TJvV has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
Andy-D has joined #linux-sunxi
quitte has quit [Remote host closed the connection]
bonbons has quit [Ping timeout: 265 seconds]
MrBar has joined #linux-sunxi
<MrBar> hi
<MrBar> why in sunxi-linux kernel dma ot used? not NDMA not DDMA ?
<MrBar> box without dma just trash
<mripard_> MrBar: It's used in 3.4
<mripard_> what do you need DMA for?
afaerber has quit [Quit: Verlassend]
<MrBar> mripard_, no, dma NOT used in 3.4
<mripard_> you'll have to be more specific than that.
<mripard_> because it is used for some controllers
<MrBar> mripard_, i need DDMA for all devices that can support by ddma for cpu offload
Andy-D has quit [Ping timeout: 250 seconds]
bonbons has joined #linux-sunxi
<MrBar> mripard_, DDMA not used in sunxi-linux kernel 3.4.104
lucaswang has joined #linux-sunxi
<mripard_> sure, if you say so.
<MrBar> all devices drivers uses ugly slow loops to work with devices
<MrBar> just regisry loops
<MrBar> it just trash!
<MrBar> so good news i can use all dma engines for my task
ricardocrudo has quit [Ping timeout: 240 seconds]
<MrBar> not bad
<mripard_> SPI and EMAC and the two main users of DDMA, and their drivers do support DMA
<MrBar> source point?
<MrBar> and what about NAND, USB, MSC ?
<MrBar> GMAC?
<mripard_> GMAC has its own DMA controller
gianMOD has joined #linux-sunxi
<mripard_> I'm not sure about NAND, but I'm pretty sure it uses it too
<mripard_> MSC, I never even saw a board with that, so it doesn't really matter
ricardocrudo has joined #linux-sunxi
<mripard_> and the source is the source code
<mripard_> you can look at it, it's open.
<MrBar> yes i do
<mripard_> then do it
<MrBar> already
<mripard_> apparently, you need to look again then
gianMOD has quit [Remote host closed the connection]
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 250 seconds]
cubeast has quit [Quit: Leaving]
Black_Horseman has quit [Ping timeout: 250 seconds]
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Read error: Connection reset by peer]
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 250 seconds]
pmattern has joined #linux-sunxi
reinforce has quit [Ping timeout: 248 seconds]
<MrBar> where f**ked dma?
bonbons has quit [Quit: Leaving]
<mripard_> it's the phy driver....
<mripard_> since USB host doesn't use DDMA either
<mripard_> but has its own DMA controller
cnxsoft has joined #linux-sunxi
<MrBar> ok right
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<MrBar> what about mmc?
<mripard_> MMC has its own DMA controller
<MrBar> hmm
<MrBar> look like
<MrBar> right
mauro_ has quit [Ping timeout: 264 seconds]
<MrBar> all stufs have internal dma controllers
<mripard_> not all of them, but GMAC, MMC and USB do, yes.
marcin_ has quit [Read error: Connection reset by peer]
<MrBar> only spi uses ddma on demand
<MrBar> very good
<MrBar> now i can use ddma engine for my games
<MrBar> mripard_, thanks a lot
<mripard_> and so now not using ddma is actually good?
<mripard_> seriously?
awe00 has quit [Remote host closed the connection]
<MrBar> i just not know abount internal dma engines
<mripard_> but you know that our drivers are trash
<mripard_> great.
<MrBar> heh
<MrBar> actualy not
<MrBar> but there some printk bla bla bla
<MrBar> and commented code blobs
awe00 has joined #linux-sunxi
<mripard_> feel free to send any patches you want
<MrBar> sorry but i like to play with hardware in user space heh
afaerber has joined #linux-sunxi
nemunaire has quit [Ping timeout: 272 seconds]
mauro_ has joined #linux-sunxi
massi_ has quit [Ping timeout: 264 seconds]
<mripard_> yeah, why bother doing things right
delfes has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
<MrBar> mripard_, really hard make things go in right way
p1u3sch1 has quit [Ping timeout: 246 seconds]
fredy has quit [Excess Flood]
<MrBar> mripard_, i just found great project http://abyz.co.uk/rpi/pigpio/ they just handle pio with dma and i plan to port it on sunxi partially
nemunaire has joined #linux-sunxi
<MrBar> mripard_, yes it hacky way to do it from kernel point of view
fredy has joined #linux-sunxi
<MrBar> but how it useful? what you think about?
<mripard_> I don't see what you can't already do through /sys/class/gpio
<MrBar> mripard_, speed
<MrBar> i plan to handle PIO ports directly an even with ddma
<MrBar> and work at near bus speed
<mripard_> you can't drive the GPIOs with DMA.
reinforce has joined #linux-sunxi
<MrBar> why not?
<MrBar> i can
<mripard_> in both output and input, without losing any data?
Netlynx has joined #linux-sunxi
Netlynx has joined #linux-sunxi
mauro_ has quit [Remote host closed the connection]
premoboss has joined #linux-sunxi
<MrBar> only mem to pio and pio to mem
kaspter has joined #linux-sunxi
awe00 has quit [Ping timeout: 265 seconds]
awe00 has joined #linux-sunxi
pmattern has quit [Quit: Genug für heute.]
reinforce has quit [Quit: Leaving.]
Andy-D has joined #linux-sunxi
<mripard_> MrBar: except that the PIO has no way to report to the DMA controller that it has something to transfer
<mripard_> nor does it have any kind of FIFO that would buffer the data waiting for the DMA controller to fetch them
<MrBar> yes there no support for interrupts planed
<mripard_> it's not just interrupts
<mripard_> there's no way to reliably extract data from the PIO using DMA
<MrBar> mripard_, Continuous mode
<MrBar> of dma
<MrBar> we can get buffer then process it
<MrBar> so i testing it now
domidumont has quit [Ping timeout: 246 seconds]
nove has quit [Quit: nove]
prz has quit [Quit: Leaving.]
kaspter has quit [Ping timeout: 264 seconds]
aballier has quit [Quit: leaving]
reinforce has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Client Quit]
paulk-collins has joined #linux-sunxi
domidumont has joined #linux-sunxi
<wens> feels.... hackish...
FR^2 has quit [Quit: Connection reset by peer]
Turl has quit [Read error: Connection reset by peer]
Turl has joined #linux-sunxi
diego_r has quit [Quit: Konversation terminated!]
whitesn has quit [Ping timeout: 250 seconds]
whitesn has joined #linux-sunxi
<leviathanch> mripard_, Turl: when I use sun4i-pll5 driver for pll3 or pll7 the whole kernel doesn't boot anymore
khuey|away is now known as khuey
<leviathanch> wens: hackish is fine
<leviathanch> when it's a nice hack
<leviathanch> ugly hacks are bad
<leviathanch> ^^
<leviathanch> I hopefully can hack nice kernel code in Shenzhen/Zhuhai soon
* leviathanch waits desperately for the ACK from the CEOs
<leviathanch> wens: is there any pll3/7 driver for a20/a10 available?
<Turl> leviathanch: why are you even attempting such a thing?
<Turl> leviathanch: I had a quick look at the user manual the other day, the PLL looked quite different
<Turl> brb, rebooting
Turl has quit [Quit: >.<]
awe00 has quit [Ping timeout: 256 seconds]
iamfrankenstein has joined #linux-sunxi
Turl has joined #linux-sunxi
endlezzz has quit [Ping timeout: 250 seconds]
<leviathanch> Turl: I need the pll3 and pll7 because I need the HDMI controller to start working
<leviathanch> so that the others from AW can fill in the gaps they do not have docs for
<leviathanch> but first the controller needs to get a proper clock
<leviathanch> Turl: does that mean I need to write my own clock driver first?
<Turl> leviathanch: yeah
<Turl> leviathanch: as far as I recall, no other clock has the fractional thingy
<leviathanch> okey
<Turl> leviathanch: btw, wy are you worrying about the clock? cant you get it to work with what uboot already did for you?
<Turl> why*
iamfrankenstein has quit [Ping timeout: 250 seconds]
<leviathanch> obviously it didn't work properly
<leviathanch> because when I configure pll enable within the HDMI controller, nothing is working
<leviathanch> there is a tristate at the clock input of the hdmi controller
<leviathanch> but enabling/disabling it doesn't do anything
reinforce has quit [Quit: Leaving.]
<Turl> leviathanch: but hdmi is working before your driver kicks in, right?
<leviathanch> uhm
<leviathanch> I'm using mainline u-boot...
<leviathanch> does it have hdmi by now?
<Turl> yeah, on sun4/5/7i iirc
<Turl> (and by extension on mainline too, via simplefb)
<leviathanch> hmm
<leviathanch> okey
<Turl> mainline linux*
<leviathanch> it would be handy to have the ddc clock and hdmi clock and the pll3/7 in linux
<leviathanch> in order to have the capability of changing the modes
ZbooNet has joined #linux-sunxi
Netlynx has quit [Quit: Leaving]
<MrBar> mainline linux is just joke
<paulk-collins> ?
<MrBar> u can't to transform android kernel to linux kernel
<MrBar> it hard to do
afaerber has quit [Quit: Verlassend]
montjoie[home] has quit [Quit: leaving]
pmattern has joined #linux-sunxi
T0mW has quit [Remote host closed the connection]
montjoie[home] has joined #linux-sunxi
<TheLinuxBug> Okay, so is there anyone who can provide a good image for sdcard for Android for A10 or a link to where to get it to work right? I followed the wiki step by step but it never boots. The only thing I have been able to hack together so far is using Android release 1 from Olimex with the kernel from the android images provided for A10. However, it seems to have issue with ethernet a bit and also is lacking in the sunxi apps such as xbmc. If anyone has
<TheLinuxBug> Either that or directions which work to create a good booting Android sdcard
* TheLinuxBug has a hard time pondering why there isn't already one provided on the linux-sunxi wiki but he will take whatever he can get at this point :x
lucaswang has quit [Ping timeout: 255 seconds]
<TheLinuxBug> If someone can provide directions on making a good image I would also be happy to provide a permanent link to it on the wiki serverd from one of my servers, if that sweetens the deal any, lol
mnr has joined #linux-sunxi
<mnr> TheLinuxBug: Most people around here work on "normal"/"mainline" Linux; there are comparatively few people around here who work on android stuff.
<TheLinuxBug> well I bought 3-4 of the boards without NAND on them
<TheLinuxBug> and I had a buddy who wanted to use android
<TheLinuxBug> unfortunately right now it seems the only 'easy' way to make android happen is in the NAND
<TheLinuxBug> seems no one has ever made an sdcard image
<TheLinuxBug> I would be happy with the default image in fact that comes with it
<mnr> Sorry, no idea - I don't use android at all.
<TheLinuxBug> I am not too picky
<TheLinuxBug> Olimex provides a release here: https://www.olimex.com/wiki/A10-OLinuXino-LIME#Android but their default kernel doesn't support the ethernet card on the cubieboard A10
<TheLinuxBug> so I hacked together a kernel from the images provided (using the wiki on how to create an sdcard as the directions) and that now boots
<TheLinuxBug> but ethernet acts weird
<TheLinuxBug> it will always say "No INternet Connection"
<TheLinuxBug> and the throughput isn't very good
<mnr> Wrong fex for your board?
<TheLinuxBug> well I grabbed the script.bin and uImage from
<TheLinuxBug> either one of those images
<TheLinuxBug> and also I tested with
<TheLinuxBug> original version 1
<TheLinuxBug> version 1 is the only one that seems to boot and provide ethernet semi-correctly
<TheLinuxBug> I even just tried using the image provided to create the partition table and just replace the os with the steps in the wiki also
<TheLinuxBug> that also rendered me an unusable device
<TheLinuxBug> so yeah
<TheLinuxBug> not sure
<TheLinuxBug> still hacking at it
kz1 has quit [Read error: No route to host]
kz1 has joined #linux-sunxi
awe00 has joined #linux-sunxi
jinzo has joined #linux-sunxi
mrnuke has quit [Remote host closed the connection]
mrnuke has joined #linux-sunxi
afaerber has joined #linux-sunxi
sillysnowflake has joined #linux-sunxi
Andy-D has quit [Ping timeout: 245 seconds]
mnr has quit [Quit: leaving]
Andy-D has joined #linux-sunxi
kz1 has quit [Read error: Connection reset by peer]
kz1 has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
leviathanch has quit [Read error: Connection reset by peer]
ricardocrudo has quit [Ping timeout: 256 seconds]
dev1990 has joined #linux-sunxi
leviathanch has joined #linux-sunxi
gzamboni_ has joined #linux-sunxi
gzamboni has quit [Ping timeout: 250 seconds]
p1u3sch1 has joined #linux-sunxi
ZbooNet has quit [Quit: Leaving]
MrBar has quit [Quit: Ex-Chat]
jinzo has quit [Quit: Leaving]
paulk-collins has quit [Quit: Quitte]
pirea has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
libcg has joined #linux-sunxi
libcg has quit [Max SendQ exceeded]
libcg has joined #linux-sunxi
libcg has quit [Max SendQ exceeded]
libcg has joined #linux-sunxi
libcg has quit [Max SendQ exceeded]
libcg has joined #linux-sunxi
libcg has quit [Max SendQ exceeded]
libcg has joined #linux-sunxi
libcg has quit [Max SendQ exceeded]
libcg has joined #linux-sunxi
libcg has quit [Max SendQ exceeded]
libcg has joined #linux-sunxi
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
libcg has quit [Max SendQ exceeded]
pmattern has quit [Quit: Genug für heute.]
ricardocrudo has joined #linux-sunxi
pirea has quit [Read error: Connection reset by peer]
awe00 has quit [Ping timeout: 264 seconds]
ricardocrudo has quit [Remote host closed the connection]
Andy-D has quit [Ping timeout: 272 seconds]
khilman has quit [Quit: ZNC - http://znc.in]