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
boycottg00gle has quit [Remote host closed the connection]
jjardon_ has joined #linux-sunxi
jjardon_ has joined #linux-sunxi
bmeneg has quit [Ping timeout: 268 seconds]
jjardon_ has quit [Changing host]
jjardon has quit [Ping timeout: 264 seconds]
traeak has quit [Ping timeout: 264 seconds]
bmeneg has joined #linux-sunxi
traeak has joined #linux-sunxi
VargaD_ has joined #linux-sunxi
mripard_ has joined #linux-sunxi
TheLinuxBug_ has joined #linux-sunxi
joedj_ has joined #linux-sunxi
specing_ has joined #linux-sunxi
AlexDaniel has quit [*.net *.split]
TheLinuxBug has quit [*.net *.split]
specing has quit [*.net *.split]
focus has quit [*.net *.split]
joedj has quit [*.net *.split]
rfugl has quit [*.net *.split]
jjardon_ has quit [*.net *.split]
afaerber has quit [*.net *.split]
VargaD has quit [*.net *.split]
mripard has quit [*.net *.split]
popolon has quit [*.net *.split]
VargaD_ is now known as VargaD
TheLinuxBug_ is now known as TheLinuxBug
joedj_ is now known as joedj
specing_ is now known as specing
afaerber has joined #linux-sunxi
rfugl has joined #linux-sunxi
popolon has joined #linux-sunxi
focus has joined #linux-sunxi
jjardon_ has joined #linux-sunxi
jjardon_ has quit [Changing host]
jjardon_ has joined #linux-sunxi
sirblackheart_ has joined #linux-sunxi
sirblackheart_ has quit [Client Quit]
khuey|away is now known as khuey_
AlexDaniel has joined #linux-sunxi
naobsd has joined #linux-sunxi
AlexDaniel has quit [Ping timeout: 240 seconds]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
book` has quit [K-Lined]
book` has joined #linux-sunxi
kaspter has joined #linux-sunxi
kaspter has quit [Ping timeout: 244 seconds]
vishnup has joined #linux-sunxi
jjardon_ has quit [*.net *.split]
rfugl has quit [*.net *.split]
popolon has quit [*.net *.split]
focus has quit [*.net *.split]
focus has joined #linux-sunxi
jjardon_ has joined #linux-sunxi
rfugl has joined #linux-sunxi
popolon has joined #linux-sunxi
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
MaDMaLKaV has quit [Quit: No Ping reply in 180 seconds.]
MaDMaLKaV has joined #linux-sunxi
MaDMaLKaV has quit [Client Quit]
\\Mr_C\\ has quit [Quit: .]
khuey_ is now known as khuey|away
alexxy has quit [Ping timeout: 246 seconds]
Igorpec3 has joined #linux-sunxi
alexxy has joined #linux-sunxi
alexxy has quit [Ping timeout: 246 seconds]
alexxy has joined #linux-sunxi
cubeast has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
legobane has joined #linux-sunxi
khuey|away is now known as khuey_
Igorpec3 has quit [Ping timeout: 264 seconds]
reinforce has joined #linux-sunxi
dlan has quit [Ping timeout: 272 seconds]
dlan has joined #linux-sunxi
adj_ has quit [Quit: Leaving]
legobane has quit [Quit: Leaving]
legobane has joined #linux-sunxi
legobane has quit [Remote host closed the connection]
IgorPecovnik has joined #linux-sunxi
fredy has quit [Excess Flood]
domidumont has joined #linux-sunxi
fredy has joined #linux-sunxi
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
_massi has joined #linux-sunxi
IgorPecovnik has quit [Ping timeout: 264 seconds]
Igorpec3 has joined #linux-sunxi
sehraf_ has joined #linux-sunxi
MaDMaLKaV has joined #linux-sunxi
florian_ has joined #linux-sunxi
cubeast has quit [*.net *.split]
rfugl has quit [*.net *.split]
popolon has quit [*.net *.split]
focus has quit [*.net *.split]
jjardon_ has quit [*.net *.split]
focus has joined #linux-sunxi
jjardon_ has joined #linux-sunxi
cubeast has joined #linux-sunxi
rfugl has joined #linux-sunxi
popolon has joined #linux-sunxi
traeak has quit [Ping timeout: 256 seconds]
<speakman> libv: I'm just about pushing a patch for Qt to better autodetect Mali without the propritary headers. While testing the patch it couldn't find the eglplatform_fb.h header file from the sysroot I'm using. Now digging into the sunxi-mali repo, it seems like the eglplatform_fb.h is never really installed on the target sysroot fs?
<speakman> libv: or rather; it's installed AS eglplatform.h
<speakman> ls
<speakman> (wrong window ;) )
<speakman> Seems like those two files are 99% identical. Maybe the eglplatform.h should be renamed eglplatform_x11.h in the repo to avoid confusion?
mcan has quit [Read error: Connection reset by peer]
mcan_ has joined #linux-sunxi
traeak has joined #linux-sunxi
mcan_ has quit [Read error: Connection reset by peer]
mcan_ has joined #linux-sunxi
premoboss has joined #linux-sunxi
kaspter has joined #linux-sunxi
adj_ has joined #linux-sunxi
<premoboss> hi guys, i want to test kodi (ex xbmc) on my cubieboard A20. I past i did my effort ricompiling it for A10, but now i ave no time, to redo. More, monnths are gone, so i hope sompe progess was done. there is somewhere a ready-out-of-the-box image for A20 to reverse on uSD to do a test?
<libv> speakman: perhaps you installed the x11 version of our mali drivers?
Andy-D has quit [Ping timeout: 250 seconds]
Andy-D has joined #linux-sunxi
kaspter has quit [Ping timeout: 244 seconds]
ricardocrudo has joined #linux-sunxi
<xes> hi! Is it possibile to wake up a cubietruck with a wake on lan packet?
<plaes> nope
naobsd has quit [Quit: naobsd]
<speakman> libv: No, it's just that both files ends up as "eglplatform.h" hence I can't #include <EGL/eglplatform_fb.h> in my test case :)
<speakman> libv: I think it's a bit confusing one file is called eglplatform.h which will be installed as eglplatform.h unless X11 is undef'd, then eglplatform_fb.h will be installed RENAMED to eglplatform.h
<speakman> libv: If no file had the name eglplatform.h from the beginning, but there is ONLY a eglplatform.h in the target install dir, then it will be pretty obvious it's created somehow along the install stage.
<libv> speakman: ah, but you do not need to include _anything_ with our mali repo
<libv> it just gets included for you
<libv> speakman: there is no point in having any other solution but that one
<libv> we either have x11 libs installed or we have fb libs installed
<libv> not both at the same time
<libv> so egl.h is the only include you need to have, as there is no point installing a header file for support that just is not there
<libv> when ARM cannot make that logical connection, then that is their issue
<libv> but i decided to handle this more cleanly, and to make the binaries and headers match
<libv> so you only need to manually include the fbdev_window.h when you are building against ARMs heap of menure
<libv> with us, you just need to make sure that you do not include fbdev_window.h
<speakman> Hm. Should that be the case with fbdev_window.h as well? It's probably included in the propritary version of EGL/egl.h?
<libv> speakman: it would be the smart thing to do
<libv> but then, it would be an even smarter thing to do for arm to support an open source driver and look where that is going
<speakman> libv: Unfortunately I don't have the propritary drivers handy :/
<libv> speakman: just add a check for fbdev_window.h in the .pro files, and if it exists, include it
<libv> you can manually add these headers to your system for a quick test
<speakman> There is no really convenient way to look for include files in .pro files, there are so many ways to define include dirs.
<libv> speakman: i am sure that there is a way, autotools has been able to do this for aeons
<speakman> libv: Yep, autotools does this by trying to compile a C file which includes the requested file :)
<libv> speakman: then write a testcase which includes egl.h and which uses that struct
<libv> if it passes, then you have sunxi-mali
<speakman> libv: My current solution, made with help from Qt devs, is to add another test in the Qt configure script which does exactly that; include EGL/egl.h and test for the mali_native_window struct.
<libv> good
<speakman> So, yep, that :D
<libv> but i am quite amazed that Qt has no more generic infrastructure to check for headers
<speakman> But(!) is mali_native_window sunxi specific? Or are there other forks around which uses mali_native_window?
<libv> for all the crap that autotools gets...
<speakman> libv: Yepp, me too. if header_exist(eglplatform.h) ...
<libv> speakman: it's probably something i introduced to circumvent the bad license
* speakman likes Autotools <3
<libv> speakman: autotools has its issues
<libv> but so has any other build system
<speakman> libv: ok, should a rename to devfb_window break the license somehow?
<libv> people just tend to bash it because they know it best and believe that anything newer is per definition going to be better
<libv> speakman: sunxi-mali has been cloned and forked so often, that it is pointless to change the name of that struct
<libv> you might want to introduce a typedef to work around it in Qt
<libv> and mali_native_window really is the most sensible name for this
<libv> fbdev_window for something which is very mali specific is very provincial
<libv> arms world seems to be as big as its navel.
<libv> err, bellybutton
<speakman> :D :D
<libv> ah, it is proper english indeed
<speakman> bellybutton = navel even here in Sweden :p
<libv> it seems to be shared across most germanic languages
<speakman> I was going to call the new test in Qt for "eglfs-mali-2" (as oppose to the first test looking for the propritary Mali driver called "eglfs-mail"), but then I can just call it eglfs-mali-sunxi?
<speakman> since struct mali_native_window is a sunxi-mali construction?
<speakman> How should I describe the sunxi-mali repo really? It's Open Source as far as the header file goes, but it does require propriatry binaries?
<speakman> (I'm looking for an explaining commit message for Qt patch)
IgorPecovnik has joined #linux-sunxi
IgorPecovnik has quit [Client Quit]
IgorPecovnik has joined #linux-sunxi
<libv> i am not sure whether that relationship can be described in terms of open sourceness
kz1 has quit [Read error: Connection reset by peer]
kz1 has joined #linux-sunxi
<RSpliet> speakman: on a scale from Microsoft to Stallman, I'd say it's about Apple
<plaes> bbrezillon: do you have ideas how to hook up 2 NAND chips? :)
<bbrezillon> plaes: hi
<bbrezillon> you just have to add a new node in you DT ;-)
<bbrezillon> check which CS and RB pin you're using
<bbrezillon> and adapt the nand@X node accordingly
<plaes> ok
<plaes> it sort of worked out of the box (by copying the info from other dts)
<plaes> and now that I was updating the wiki page, I saw it had 16GB there :D
domidumont has quit [Remote host closed the connection]
IgorPecovnik has quit [Ping timeout: 264 seconds]
domidumont has joined #linux-sunxi
<plaes> address-cells is for CS?
<plaes> yeah, reading that
<plaes> what could the corresponding FEX item be? nand_ceX ?
kaspter has joined #linux-sunxi
<bbrezillon> yep
kaspter has quit [Remote host closed the connection]
<bbrezillon> it's likely to be that one, chip-enable == chip-select
<plaes> well, it wasn't '1' :)
vishnup has quit [Ping timeout: 246 seconds]
<plaes> ok, second nand@0 should be @1
mcan_ has quit [Read error: Connection reset by peer]
paulk-collins has joined #linux-sunxi
Rilasta has joined #linux-sunxi
<Rilasta> Hi all
<Rilasta> I have a problem with my A13 board, maybe someone can help me : I'm trying to update the allwinner u-boot(2011 version) with mainline.
<Rilasta> I've created a custom dts, and the SPL version loads fine with fel tool.
philectro has joined #linux-sunxi
<Rilasta> but when I try to chainload Boot0 , boot1 and u-boot, boot1 is stuck at "jump to" and u-boot doesn't load.
<Rilasta> I've tried othe u-boot, like the ones on the sunxi repositories, and I have the same problem.
<Rilasta> The jump address is good (0x4A000000), and the built u-boot is just a little bigger than the original.
FR^2 has joined #linux-sunxi
enrico_ has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
<libv> Rilasta: what device is this?
Tenkawa has joined #linux-sunxi
Tenkawa has quit [Quit: leaving]
premoboss has quit [Remote host closed the connection]
kz1_ has joined #linux-sunxi
kz1 has quit [Ping timeout: 260 seconds]
kz1_ is now known as kz1
paulk-collins has quit [Remote host closed the connection]
IgorPecovnik has joined #linux-sunxi
kaspter has joined #linux-sunxi
naobsd has joined #linux-sunxi
gzamboni has quit [Read error: No route to host]
vishnup has joined #linux-sunxi
vishnup has quit [Ping timeout: 246 seconds]
vishnup has joined #linux-sunxi
ssvb has quit [Ping timeout: 252 seconds]
<Rilasta> A custom made device.
IgorPecovnik has quit [Ping timeout: 264 seconds]
philectro has quit [Quit: Konversation terminated!]
<bbrezillon> plaes: yep, and as you stated in your comment, reg and allwinner,rb should be adpated too
<speakman> libv: Do you know how to set how much RAM to dedicate for GPU etc? Or where I can read about configuring Mali?
adj__ has joined #linux-sunxi
adj_ has quit [Ping timeout: 256 seconds]
<libv> speakman: that documentation was written by ssvb, he knows best
\\Mr_C\\ has joined #linux-sunxi
<speakman> libv: ok, thanks anyway :)
xenoxaos has quit [Ping timeout: 246 seconds]
<libv> hrm, he's not around atm
<libv> he will probably turn up later
fredy has quit [Excess Flood]
xenoxaos has joined #linux-sunxi
fredy has joined #linux-sunxi
cubeast has quit [Quit: Leaving]
<speakman> Yep, no hurry :)
T0mW has joined #linux-sunxi
<Rilasta> Has anyone tried to use the mainline u-boot with allwinner's boot0-boot1 ?
<mripard_> Rilasta: why do you want to do that ?
<mripard_> U-Boot's SPL is working just fine for most of the SoCs
<Rilasta> I'm trying various ways to achieve my goal : I tried to change only u-boot (not working), tried to use u-boot with SPL instead of boot 0 (error message «Could not determine boot source»), and still be able to use allwinner's tools to generate Livesuit images.
<Rilasta> And still be able to boot to FEL like with boot1 (pressing some buttons).
ssvb has joined #linux-sunxi
<libv> Rilasta: sounds like you are barking up the wrong tree: you either use all of allwinners stuff, or you use sunxi mainline code, i seriously doubt that what you want is currently possible
<libv> Rilasta: and in any case, this seems like a very commercial undertaking, perhaps you should contact known contractors amongst the people who do the mainline uboot work, and ask what they can do for you and get a quote
<libv> Rilasta: mripard is free-electrons.com for instance
<Rilasta> I've just get my hand on the project, so I didn't wanted to change everything, but after a week on trying to make it work, I guess you're right, it's not possible to mix AW's stuff and mainline sources.
<Rilasta> Yes, I know free-electrons :)
jjardon__ has joined #linux-sunxi
jjardon_ has quit [Ping timeout: 268 seconds]
gzamboni has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<Rilasta> Well, I've been able to make mainline u-boot works with boot1, I hade to better read the wiki >_< : use u-boot-dtb.bin instead of u-boot.bin ...
adj__ has quit [Quit: Leaving]
reinforce has quit [Quit: Leaving.]
paulk-collins has joined #linux-sunxi
lemonzest has joined #linux-sunxi
lemonzest has quit [Ping timeout: 246 seconds]
lemonzest has joined #linux-sunxi
<plaes> mripard_: "commit log" means at least a sentence about why this change was needed?
cosm has joined #linux-sunxi
jjardon__ is now known as jjardon
<ricardocrudo> does someone did try to use the Security ID of A20 devices?
JohnDoe_71Rus has joined #linux-sunxi
reinforce has joined #linux-sunxi
RSpliet has quit [Read error: Connection reset by peer]
RSpliet has joined #linux-sunxi
<montjoie> what kind of use do you speek ?
jinzo has joined #linux-sunxi
Rilasta has quit [Ping timeout: 246 seconds]
adj_ has joined #linux-sunxi
domidumont has quit [Read error: Connection reset by peer]
sehraf has joined #linux-sunxi
<plaes> montjoie: btw, I have my A10 device now quite usable, if you still need A10 tests
sehraf has quit [Remote host closed the connection]
sehraf has joined #linux-sunxi
sehraf has left #linux-sunxi [#linux-sunxi]
rubensm has quit [Ping timeout: 264 seconds]
sehraf has joined #linux-sunxi
<montjoie> for the moment no, I need to finish DMA support
sehraf has left #linux-sunxi [#linux-sunxi]
<mripard_> plaes: yep
<plaes> ok
domidumont has joined #linux-sunxi
domidumont has quit [Client Quit]
domidumont has joined #linux-sunxi
<vetkat> quit
_massi has quit [Remote host closed the connection]
bonbons has joined #linux-sunxi
popolon has quit [Ping timeout: 264 seconds]
Gerwin_J has joined #linux-sunxi
popolon has joined #linux-sunxi
<ricardocrudo> montjoie: write data and read back
enrico_ has quit [Quit: Bye]
adj_ has quit [Quit: Leaving]
rubensm has joined #linux-sunxi
ricardocrudo has quit [Remote host closed the connection]
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
viccuad has joined #linux-sunxi
viccuad has quit [Client Quit]
viccuad has joined #linux-sunxi
viccuad has quit [Client Quit]
ganbold has quit [Ping timeout: 255 seconds]
rubensm has quit [Ping timeout: 252 seconds]
bmeneg has quit [Ping timeout: 260 seconds]
arossdotme has quit [Ping timeout: 256 seconds]
lemonzest has quit [Quit: Leaving]
akaizen has quit [Remote host closed the connection]
arossdotme has joined #linux-sunxi
cubeast has joined #linux-sunxi
cosm has quit [Ping timeout: 272 seconds]
afaerber_ has joined #linux-sunxi
afaerber has quit [Ping timeout: 250 seconds]
bmeneg has joined #linux-sunxi
rubensm has joined #linux-sunxi
legobane has joined #linux-sunxi
akaizen has joined #linux-sunxi
MaDMaLKaV has quit [Quit: No Ping reply in 180 seconds.]
koza has joined #linux-sunxi
legobane has quit [Quit: Leaving]
vishnup has quit [Quit: Leaving]
philectro has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
koza has quit [Quit: leaving]
koza has joined #linux-sunxi
koza is now known as mzki
mzki has quit [Quit: leaving]
koza has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
f15h has joined #linux-sunxi
koza has quit [Quit: leaving]
mzki has joined #linux-sunxi
MaDMaLKaV has joined #linux-sunxi
mzki has quit [Client Quit]
mzki has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
florian_ has quit [Ping timeout: 265 seconds]
AlexDaniel has joined #linux-sunxi
cubeast has quit [Quit: Leaving]
ssvb has quit [Ping timeout: 246 seconds]
florian_ has joined #linux-sunxi
ssvb has joined #linux-sunxi
f15h has quit [Quit: Leaving]
destroyedlolo has joined #linux-sunxi
<destroyedlolo> Hello,
<destroyedlolo> I have a bricked tablet and with help of Sunxi software, I've been able to boot it under Gentoo :)
<destroyedlolo> I have even access to Android partition.
<destroyedlolo> fschk complains about some corruption on /dev/nandd : is it safe to correct it ?
reinforce has quit [Quit: Leaving.]
florian_ has quit [Ping timeout: 264 seconds]
paulk-collins has quit [Remote host closed the connection]
Ntemis has joined #linux-sunxi
jinzo has quit [Quit: Leaving]
FR^2 has quit [Quit: Leaving]
alexxy has quit [Ping timeout: 246 seconds]
alexxy has joined #linux-sunxi
ssvb has quit [Ping timeout: 252 seconds]
MaDMaLKaV has quit [Ping timeout: 240 seconds]
ssvb has joined #linux-sunxi
MaDMaLKaV has joined #linux-sunxi
T0mW has quit [Quit: Leaving]
interrobangd has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 250 seconds]
alexxy has quit [Ping timeout: 246 seconds]
bonbons has quit [Quit: Leaving]
alexxy has joined #linux-sunxi
ssvb has quit [Ping timeout: 240 seconds]
ssvb has joined #linux-sunxi
interrobangd has quit [Quit: Leaving]
philectro has quit [Quit: Konversation terminated!]
philectro has joined #linux-sunxi
ssvb has quit [Ping timeout: 252 seconds]
NielsStaplebee has joined #linux-sunxi
NielsStaplebee has quit [Remote host closed the connection]
NielsStaplebee has joined #linux-sunxi
<libv> destroyedlolo: sounds like it is high time to work through the new device howto and get it documented, so that you do not loose stuff and can always get back to a working device (at least with linux on it)
NielsStaplebee has quit [Remote host closed the connection]
ssvb has joined #linux-sunxi
<destroyedlolo> Libv: I'm moving ahead ... But my priority is to get the network working.
<destroyedlolo> Now, the tablet is booting with Gentoo, and I got a full controle on it ... but the network.
<destroyedlolo> USB gagdet is working (tablet detected as network device), but I'm working now on the reverse : Usb shown as a standard network device.
<destroyedlolo> for the tablet as mean.
fredy has quit [Excess Flood]
destroyedlolo has quit [Quit: Leaving]
fredy has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
\\Mr_C\\ has quit [Quit: .]
ssvb has quit [Ping timeout: 250 seconds]
sehraf_ has left #linux-sunxi [#linux-sunxi]
\\Mr_C\\ has joined #linux-sunxi
ssvb has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
philectro has quit [Quit: Konversation terminated!]