mnemoc 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
bertrik has quit [Remote host closed the connection]
payne_ has joined #linux-sunxi
kuldeepdhaka has joined #linux-sunxi
Andy-D has quit [Ping timeout: 240 seconds]
popolon has quit [Quit: Quitte]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
ricardocrudo has quit [Remote host closed the connection]
alexst has quit [Ping timeout: 240 seconds]
rainbyte has joined #linux-sunxi
rainbyte has quit [Quit: Leaving]
mmarker1 has joined #linux-sunxi
mmarker has quit [Read error: Connection reset by peer]
akaizen has joined #linux-sunxi
alexst has joined #linux-sunxi
alexst has quit [Ping timeout: 260 seconds]
Gerwin_J has joined #linux-sunxi
Andy-D has joined #linux-sunxi
mmarker1 has quit [Ping timeout: 240 seconds]
mmarker has joined #linux-sunxi
<Gerwin_J> A80 board design?
TheSeven has quit [Ping timeout: 260 seconds]
<Gerwin_J> i don't have orcad on this computer. Maybe someone else can check it?
TheSeven has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
rz2k has quit [Read error: Connection reset by peer]
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
akaizen has quit [Read error: No route to host]
alexst has joined #linux-sunxi
akaizen has joined #linux-sunxi
alexst has quit [Ping timeout: 240 seconds]
alexst has joined #linux-sunxi
alexst has quit [Ping timeout: 240 seconds]
Andy-D has quit [Ping timeout: 264 seconds]
kuldeepdhaka has quit [Ping timeout: 264 seconds]
kuldeepdhaka_ has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
kuldeepdhaka_ has quit [Ping timeout: 256 seconds]
kuldeepdhaka_ has joined #linux-sunxi
alexst has joined #linux-sunxi
alexst has quit [Ping timeout: 256 seconds]
Nyuutwo has quit [Read error: No route to host]
Nyuutwo has joined #linux-sunxi
afaerber_ has joined #linux-sunxi
afaerber has quit [Ping timeout: 240 seconds]
akaizen has quit []
akaizen has joined #linux-sunxi
alexst has joined #linux-sunxi
alexst has quit [Ping timeout: 240 seconds]
shineworld has joined #linux-sunxi
<wens> awfully quiet weekend
specing has quit [Ping timeout: 272 seconds]
<plaes> awfully lot of drama in the wiki changes :)
kuldeepdhaka_ has quit [Ping timeout: 240 seconds]
kuldeepdhaka_ has joined #linux-sunxi
merbanan has joined #linux-sunxi
kuldeepdhaka_ has quit [Ping timeout: 240 seconds]
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
ogi has joined #linux-sunxi
kuldeepdhaka has joined #linux-sunxi
alexst has joined #linux-sunxi
<wens> i'm afraid of burying mripard in patches
kuldeepdhaka has quit [Excess Flood]
_massi has joined #linux-sunxi
kuldeepdhaka has joined #linux-sunxi
alexst has quit [Ping timeout: 240 seconds]
nedko has joined #linux-sunxi
merbanan has quit [Ping timeout: 240 seconds]
nicksydney_ has joined #linux-sunxi
nicksydney has quit [Ping timeout: 272 seconds]
merbanan has joined #linux-sunxi
nicksydney has joined #linux-sunxi
<oliv3r> gx
nicksydney_ has quit [Ping timeout: 252 seconds]
<oliv3r> erm good morning :)
<plaes> o/
marcin_ has joined #linux-sunxi
sehraf has joined #linux-sunxi
merbanan has quit [Ping timeout: 240 seconds]
<oliv3r> ssvb_: do you have any lime that runs stably at 1008 running your tourichure test
FR^2 has joined #linux-sunxi
blsd has joined #linux-sunxi
merbanan has joined #linux-sunxi
alexst has joined #linux-sunxi
avsm has joined #linux-sunxi
alexst has quit [Ping timeout: 240 seconds]
specing has joined #linux-sunxi
wickwire has joined #linux-sunxi
notmart has joined #linux-sunxi
zumbi has quit [Ping timeout: 260 seconds]
zumbi has joined #linux-sunxi
dl9pf has joined #linux-sunxi
dl9pf_ has quit [Ping timeout: 260 seconds]
alexst has joined #linux-sunxi
alexst has quit [Ping timeout: 240 seconds]
avsm has quit [Quit: Leaving.]
awafaa has quit [Ping timeout: 252 seconds]
diego_r has joined #linux-sunxi
awafaa_ has joined #linux-sunxi
<ssvb_> oliv3r: I have only one lime
<oliv3r> ah
<oliv3r> what about stabiltiy vs temp?
<ssvb_> and to pass the test, it needs thermal throttling support ;)
<oliv3r> and does lm_sensors read the exact same temperature with the 3.4 patches and the mainline?
<oliv3r> i'm doing some more temperature tests (on a board that can go just a little over 115C according to its internal sensor)
<oliv3r> 99C according to my thermocouple :)
<hypno> is there no HW throttling?
<oliv3r> no
<hypno> craazy :D
<oliv3r> there's no official thermal support :)
<oliv3r> though ssvb_ has to agree, these torture tests are pretty hard on the core
<hypno> have you damaged any hw during your temp tests?
<oliv3r> not yet!
<hypno> impressive! but i recon those chips will not survive a long time.
<oliv3r> yeah i agree
<oliv3r> though i strongly doubt any real process will ever generate so much heat
Turl has quit [Ping timeout: 260 seconds]
<oliv3r> ssvb_: right? this is a rather artificial test isn't it
<ssvb_> yes
Wizzup has quit [Ping timeout: 260 seconds]
<oliv3r> you reccon running the A10 at 1008MHz is safe?
<oliv3r> most of my stability tests fail at 1008M but run fine @ 960
<hypno> we use both cores, DSP, and GPU on another arm chip at 100% for hours, so there are definitely cases where that happens
diego__ has joined #linux-sunxi
diego_r has quit [Disconnected by services]
diego__ is now known as diego_r
<oliv3r> i even did 960 MHz in the olimex 'box' for 45 minutes without a problem yet
<oliv3r> though the ambinet temp matters a lot here of course
dl9pf_ has joined #linux-sunxi
dl9pf has quit [Ping timeout: 260 seconds]
<oliv3r> hypno: yeah but the only true test, is running cpuburn :p
Wizzup has joined #linux-sunxi
<oliv3r> i notice 99% cpu usage vs cpuburn is a big diff
<hypno> is CPU burn botter?
<oliv3r> should be
Turl has joined #linux-sunxi
<oliv3r> wb Turl
<ssvb_> oliv3r: Intel uses throttling not just as an emergency safeguard, but also as part of normal CPU operation and calls it http://en.wikipedia.org/wiki/Intel_Turbo_Boost ;)
payne_ has quit [Remote host closed the connection]
<oliv3r> ssvb_: lol yes!
<oliv3r> ssvb_: but even so, under default circumstances, throtteling shouldn't kick in
<oliv3r> hence, 1008Mhz should be reliable imo
<oliv3r> guess its not
<ssvb_> if you don't run cpuburn, real cpu heavy applications will not reach dangerous temperatures and will not throttle below 1008MHz
<oliv3r> that is true
<oliv3r> but then we will rely heavily on userspace based throtteling
<oliv3r> or are there interfaces in the kernel to add that?
<ssvb_> as far as I know, throttling is always implemented in the kernel
marcin_ has quit [Quit: Konversation terminated!]
<ssvb_> at least for Samsung Exynos and Qualcomm MSM
<ssvb_> it should be possible to reuse the existing code, somebody just has to contribute the sunxi patches to the mainline kernel
robb83 has quit [Remote host closed the connection]
alexst has joined #linux-sunxi
<oliv3r> ssvb_: i'll start with 3.4 then
<oliv3r> ssvb_: as we kinda really do need it :(
arete74_ has joined #linux-sunxi
arete74 has quit [Read error: Connection reset by peer]
alexst has quit [Ping timeout: 240 seconds]
arete74_ has quit [Read error: Connection reset by peer]
arete74 has joined #linux-sunxi
issue_ has joined #linux-sunxi
marcin_ has joined #linux-sunxi
bertrik has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
ogi has quit [Ping timeout: 240 seconds]
<ssvb_> the typical "half full" vs. "half empty" way of looking at things :)
paulk-collins has quit [Remote host closed the connection]
awafaa_ is now known as awafaa
alexst has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
avsm has joined #linux-sunxi
alexst has quit [Ping timeout: 256 seconds]
FreezingCold has quit [Ping timeout: 256 seconds]
<oliv3r> ssvb_: too true
<oliv3r> mainline has the temperature sensor thing right? so thermal throtteling once calibrated should be relativily easy
<oliv3r> (sun4i temp)
FreezingCold has joined #linux-sunxi
ganbold_ has quit [Ping timeout: 240 seconds]
yann_s|AFK has joined #linux-sunxi
yann_s|AFK is now known as yann_s
Quarx|2 has joined #linux-sunxi
afaerber_ is now known as afaerber
Black_Horseman has quit [Remote host closed the connection]
alexst has joined #linux-sunxi
alexst has quit [Ping timeout: 240 seconds]
<buZz> wtf
<buZz> cubie8 is a) almost 2x more expensive than promissed
<buZz> and b) no sata
<CaptHindsight> have a link to the price?
<ssvb_> oliv3r: yes, I think it is not very difficult
<buZz> 151 euro
<buZz> ex shipping
kuldeepdhaka has quit [Ping timeout: 240 seconds]
<oliv3r> ssvb_: i will take it uppon me!
kuldeepdhaka has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<wens> buZz: no sign of cb8 on taobao/aliexpress
<buZz> yeah this is also not in stock
<buZz> and photo is from flickr
<CaptHindsight> not the same board or supplier
<buZz> ?
<buZz> what are you saying?
<buZz> you trust the photoshops of cubietruck more? :D
<CaptHindsight> are they from the same supplier?
<buZz> cubietech is cubietech yeah
Gerwin_J has quit [Quit: Gerwin_J]
<buZz> the first you posted doesnt exist
<buZz> its just a photoshop
bgal has joined #linux-sunxi
<CaptHindsight> I can't believe that their designs are so poorly planned, but maybe I just overestimate their abilities
<CaptHindsight> so it's likely they will screw this up as well https://rabbit.io/interface.html
<oliv3r> anybody have had any luck contacting eva recently?
<libv> oliv3r: not since they joined linaro.
<libv> it might be because of other reasons
<oliv3r> libv: i'm a little dissapointed :(
<oliv3r> well i've sent her an e-mail, but nothing yet
<libv> but it's a pretty clear cut-off
<libv> linaro ticked the open source box on the marketing shortlist
<libv> s/short/check/
<oliv3r> yeah :(
ganbold_ has joined #linux-sunxi
<libv> i am writing up a big blog entry about the recent anandtech marketing campaign around the mali
<oliv3r> oh, finally a blog post again :))
<oliv3r> i've been missing them :(
<libv> and linaro, and its detrimental effect, is featured
<oliv3r> yours that is
<oliv3r> when is the estimated time of publishing?
<libv> tomorrow
<oliv3r> cool
<libv> which could end up being next week :p
<libv> nah, it's taking shape quickly now
<hypno> libv: sounds interesting, can you link your blog pre-emptively?
<libv> hypno: nope
<oliv3r> i'll keep my eye out for it :)
<libv> the link will fly past in here, and with some luck, phoronix will mention it as well
<oliv3r> i'm sure there will be a link to the anand post? (I haven't read it yet)
<hypno> okey
<libv> oliv3r: yeah, definitely
<oliv3r> ohh the hangout! yeah i have that youtube page open somewhere as a 'todo'
focus has quit [Ping timeout: 240 seconds]
diego_r has quit [Ping timeout: 240 seconds]
Gerwin_J has joined #linux-sunxi
<oliv3r> anybody recalls how Hansg's temperature driver reports the temperature to the kernel/user? It looks like it's a 2nd input or something, but my kernel foo is a little weak
focus has joined #linux-sunxi
<wens> second output?
<wens> it's using the generic sysfs hwmon stuff
<oliv3r> it is? ok i didn't find how it hooks into the hwmon stuff
<oliv3r> but that's good
<oliv3r> as i see most drivers in the thermal stuff should be able to 'get the temperature' from the hwmon stuff
<oliv3r> but i'll have to dive deeper into that
<wens> line 183 ~ 209
<Gerwin_J> i have pin out of a80
<oliv3r> yeah but i don't see how that plugs into the hwmon stuff
<wens> line 286 registers hwmon dev
ricardocrudo has joined #linux-sunxi
<oliv3r> wens: a dthat's what i overlooked
<wens> Gerwin_J: can you share?
<oliv3r> wens: hero!
<Gerwin_J> yes i uploading it now
alexst has joined #linux-sunxi
<Gerwin_J> pcb design cubieboard 8 http://stedio.net/a80_files/CC-MVB-A80-PCB-V1.0.brd
<Gerwin_J> pcb screenshot: http://stedio.net/a80_files/a80.jpg
<Gerwin_J> i only have a demo version of orcad...
<CaptHindsight> is the .brd and old Orcad layout file?
avsm has quit [Quit: Leaving.]
<Gerwin_J> i don't know
<Gerwin_J> try it
alexst has quit [Ping timeout: 272 seconds]
<oliv3r> wens: is there a kernel interface to get the cpu temperature? (from within the kernel), I don't see functions or calls in that regard in hwmon
<CaptHindsight> Type: Allegro Board
<mripard> oliv3r: there's a thermal framework iirc
<mripard> but I never used it
<CaptHindsight> Layers: 8
<wens> oliv3r: i haven't looked through kernel apis
<ssvb_> oliv3r: also first we need cpufreq support, to be able to change the clock frequency
<oliv3r> ssvb_: yeah i was just being curious and browsing stuff :p
<oliv3r> i'm starting with 3.4 support first anyway
<oliv3r> i take it there's not many unknowns
<ssvb_> oliv3r: nand is the only thing that is missing in the mainline kernel for you, right?
<ssvb_> oliv3r: I wonder if Olimex could also do something like this - http://store.r0ck.me/products/cubieboard2-dual-mirco-sd-card-version
<oliv3r> ssvb_: yeah nand misses :
<oliv3r> emmc you mean
<oliv3r> well emmc is a cheat :p
<ssvb_> oliv3r: instead of the nand, which adds 10 euro to the price tag, they Olimix could probably add a second internal micro sd slot
<oliv3r> because then you put the nand firmware into the emmc firmware :)
<oliv3r> i'm not sure if the nand is pin compatible
markusr has joined #linux-sunxi
<oliv3r> but an emmc chip would fit where the nand is located
alexst has joined #linux-sunxi
<wens> depends on whether they left mmc traces or not?
focus has quit [Remote host closed the connection]
<ssvb_> oliv3r: we just need some open source friendly sd card hardware, the firmware of many of them seems to be upgradable - http://www.bunniestudios.com/blog/?p=3554
alexst has quit [Ping timeout: 240 seconds]
<ssvb_> but I guess everyone had seen the old news about the sd cards hacking already
<CaptHindsight> if you don't have a copy of Allegro here's the Win viewer http://www.cadence.com/products/pcb/Pages/downloads.aspx
<CaptHindsight> that board file is using Allegro V16
<markusr> I want to test mainline kernel 3.16 with ubuntu linaro distribution on cubietruck. But I struggle to find a kernel config. Where can I find one?
focus has joined #linux-sunxi
<markusr> or do I need to make my own?
<mripard> sunxi_defconfig
<markusr> don't I need anything more?
<mripard> I don't know, what do you need?
<CaptHindsight> is Olimex planning a COM for the A20?
<wens> sunxi_defconfig should cover all the hardware we have drivers for
<oliv3r> ssvb_: the opensource friendly bit is going to be an issue :)
<wens> you might want to add filesystems, debug options and other stuff
<ssvb_> markusr: http://linux-sunxi.org/Mainline_Kernel_Howto has sufficient information to get it up and running
<markusr> yes. I already read the howto and it worked (with sunxi_defconfig).
<markusr> But i wonder if there is a config which covers more. Like wens said filesystems etc.
<wens> just open menuconfig and add what you need
<CaptHindsight> http://imall.iteadstudio.com/development-platform/arm/itead-a10-a20-core.html if they make an A80 COM it would be nice. Then you won't have to work around the odd connector layouts
imcsk8 has quit [Quit: Reconnecting]
imcsk8 has joined #linux-sunxi
<wens> I think some of my patches landed in other people's spam folder again
paulk-collins has joined #linux-sunxi
<oliv3r> ssvb_: doing all these temperature measurements is boooring
jinzo has joined #linux-sunxi
* wens remembers he did not send the patches he thought he did
<oliv3r> so no spam then :p
<oliv3r> where did mnemoc go? haven't seen him active ina while
miup has joined #linux-sunxi
captainigloo has quit [Ping timeout: 245 seconds]
captainigloo has joined #linux-sunxi
alexst has joined #linux-sunxi
alexst has quit [Ping timeout: 240 seconds]
<wens> oliv3r: hopefully not
_massi has quit [Remote host closed the connection]
patapovich has joined #linux-sunxi
<patapovich> Cubie 8 kernel git
<patapovich> looked only for 2 min. but atleast spdif driver looks intresting
<patapovich> supports 24bit audio
HeHoPMaJIeH has quit [Quit: Leaving]
<wens> sun9i
shineworld has quit [Quit: Sto andando via]
<wens> a33 is sun8iw5
jebba has joined #linux-sunxi
<mripard> i wonder what is sun8iw5
<mripard> *w4
<wens> i see ac97, hdmi cec/ddc, ulpi in the pinctrl driver
naobsd has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
petr has quit [Remote host closed the connection]
notmart has quit [Quit: notmart terminated!]
Quarx|2 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<libv> libnand?
<wens> i only see a stub, no blob even
<libv> heh
<wens> i'm just skimming through in github though
petr has joined #linux-sunxi
avsm has joined #linux-sunxi
<wens> with rsa support
xavia has joined #linux-sunxi
tomboy65 has quit [Ping timeout: 264 seconds]
alexst has joined #linux-sunxi
tomboy65 has joined #linux-sunxi
alexst has quit [Ping timeout: 256 seconds]
Quarx|2 has joined #linux-sunxi
avsm has quit [Quit: Leaving.]
Nyuutwo has quit [Ping timeout: 260 seconds]
Nyuutwo has joined #linux-sunxi
notmart has joined #linux-sunxi
notmart has joined #linux-sunxi
bgal has quit [Ping timeout: 240 seconds]
avsm has joined #linux-sunxi
<patapovich> heh
bonbons has joined #linux-sunxi
nove has joined #linux-sunxi
<Wizzup> ssvb_: I pulled the sunxi-boards repo, and I used the new cubieboard2.fex to generate a new script.bin ; put it on my cubieboard2, but meminfo still says 480 Mhz
<Wizzup> That seems off, but I am quite sure that putting on the new script.bin did seem to solve my stability problems before
<Wizzup> Do I also need a (more) recent u-boot and/or kernel
alexst has joined #linux-sunxi
<ssvb_> Wizzup: the dram clock speed is set in u-boot
<ssvb_> but the dcdc3 voltage (critical to dram reliability at high clock speeds) is configured in fex
avsm has quit [Quit: Leaving.]
<ssvb_> the newer cubieboard2.fex fixed the voltage and should resolve the reliability problems, so it looks good
alexst has quit [Ping timeout: 264 seconds]
<Wizzup> ssvb_: right!
<Wizzup> so 480 is OK
<nove> no clue of h265/vp9 in the kernel driver, but the blobs headers will give the final response, but until now appears to be by gpu compute
kuldeepdhaka has quit [Quit: Leaving]
froese has joined #linux-sunxi
<Wizzup> ssvb_: However, in the .fex I think it does state 432Mhz as freq, which is what got me confused
<ssvb_> Wizzup: my understanding is that some Allwinner tool is used (or was used) to generate the boot0 binary for android, based on this information from fex
<ssvb_> Wizzup: but if you are using u-boot with linux, then the dram parameters and clock speed information from fex is not used
<Wizzup> right. so if I'd somehow really want to downclock to 432 (doubt it) then I would have to edit the u-boot config
bgal has joined #linux-sunxi
<nove> libv: don't forget the part of "some arm customers asked to not open source"
bonbons has quit [Quit: Leaving]
tomcheng86 has joined #linux-sunxi
bonbons has joined #linux-sunxi
tomcheng76 has quit [Ping timeout: 240 seconds]
<mmarker> Oh. What's a good way to debug uboot issues. Recent pull of uboot on my pcduino3 wasn't reading large files off mmc. Everything works via a netboot. Any way to try to debug this for a proper bug report?
alexst has joined #linux-sunxi
alexst has quit [Ping timeout: 260 seconds]
BorgCuba has joined #linux-sunxi
<BorgCuba> hi, ive got a uboot problem on A13-OLinuXinoM. I prepared the card according to this blog post : http://shawnhymel.com/9/getting-started-with-the-olimex-a13-olinuxino-micro/
<BorgCuba> here is a log: http://pastebin.com/L5myqBLE
<ssvb_> BorgCuba: try to type 'printenv' to see what kind of commands are used to boot the system
<ssvb_> BorgCuba: I think that you might need to format the partition as ext2 instead of fat, or change the ext2load commands to fatload
<BorgCuba> okay, first here is printenv: http://pastebin.com/r8XRhWQk
<BorgCuba> I'll check that
bgal has quit [Ping timeout: 240 seconds]
<BorgCuba> it seems to load the script.bin from the same partition though
Quarx|2 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<BorgCuba> ssvb_, it seems to try fatload to
<BorgCuba> "fatload $device $partition 0x48000000 ${kernel};"
<ssvb_> BorgCuba: try to type the 'fatload' command from the console to load the kernel and check if the problem persists
<ssvb_> BorgCuba: it might be that the recent mmc changes have introduced a regression
<ssvb_> BorgCuba: and it might be a good idea to check if you have no filesystem corruption on the sd card and the uImage file is in fact readable (on your PC)
<ssvb_> BorgCuba: and maybe try a different sd card, your current one could be defective ("Error reading cluster" does not look very encouraging unless it is a software bug in u-boot)
<BorgCuba> i did a diff on both, no problem there
<BorgCuba> at least on the pc
<BorgCuba> I think I'll try with ext2
<BorgCuba> maybe that helps
<ssvb_> BorgCuba: I would also try an older u-boot-sunxi snapshot, something before https://github.com/linux-sunxi/u-boot-sunxi/commit/38f2efaf1157af117edcff5874568df0731e1ec0
<BorgCuba> alright!
<BorgCuba> it boots
<ssvb_> with ext2?
<BorgCuba> yes!
<BorgCuba> I even have vga output
<ssvb_> still something is very suspicious, smells like a bug in u-boot-sunxi
<BorgCuba> yes, perhaps
wickwire has quit [Quit: Leaving]
<BorgCuba> so, what shall I do now? ;-)
<BorgCuba> what about mali und cedarx support?
patapovich has quit [Ping timeout: 246 seconds]
<ssvb_> BorgCuba: what are you going to use your board for? it only has 256MB of RAM, which is a bit too low for anything graphics intensive
bgal has joined #linux-sunxi
<ssvb_> BorgCuba: if it is not a secret, why did you get this board in the first place? https://www.olimex.com/Products/OLinuXino/A10/A10-OLinuXino-LIME has better specs and is less expensive
FR^2 has quit [Quit: Connection reset by peer]
ninolein has quit [Ping timeout: 240 seconds]
ninolein has joined #linux-sunxi
<BorgCuba> well, mine was a little cheaper (like 25 euros)
<BorgCuba> anyway, I just bought it for no particular reason
<BorgCuba> btw, I cannot see cdc_ether gadget driver?
<BorgCuba> will "ACM and mass storage" give me a console and usb drive?
alexst has joined #linux-sunxi
<BorgCuba> the mali driver doesnt seem to compile: drivers/gpu/ion/ion.c:866:4: error: implicit declaration of function ‘__dma_page_cpu_to_dev’ [-Werror=implicit-function-declaration]
alexst has quit [Ping timeout: 272 seconds]
<ssvb_> BorgCuba: which kernel are you trying to compile?
<BorgCuba> Linux debian 3.4.90+ #3 PREEMPT Mon Jul 14 20:40:54 CEST 2014 armv7l GNU/Linux
<ssvb_> the mali kernel module should be enabled by default and compile without any problems
<BorgCuba> yes, it was the ion part
<ssvb_> I mean the git repository
<BorgCuba> I think I cloned it last week
<ssvb_> how did you get ion enabled?
<BorgCuba> I enabled it but the build failed
<ssvb_> maybe you should not do this
<BorgCuba> yes :-)
<BorgCuba> i disabled it and it build okay
<ssvb_> btw, mali is clocked at a ridiculously low clock speed on a13
<BorgCuba> and its MP1 iirc
<BorgCuba> I have another rk3066 hdmi stick here which is more capable but I wanted to try the a13 board because it was so cheap
<BorgCuba> and I have a sunii device :-)
<ssvb_> well, MP1 is a hardware limitation, but the low clock speed is a purely software thing
<BorgCuba> where I have created a wiki page for
<BorgCuba> I see, so one could change the clock
<ssvb_> yes
<BorgCuba> do you know if it is possible to upload the firmware & brom to the wiki?
rz2k has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
paulk-collins has quit [Quit: Ex-Chat]
FR^2 has joined #linux-sunxi
<Turl> BorgCuba: you can get them up on dl.linux-sunxi.org if needed
<BorgCuba> Turl, I'll check that out later
Gerwin_J has joined #linux-sunxi
<BorgCuba> something goes wrong during boot, here is the backtrace : http://pastebin.com/uSV0XEPw
<BorgCuba> what is AW_AXP again?
<Turl> the PMU
<BorgCuba> I think I need to enable CONFIG_AW_AXP or CONFIG_FB_SUNXI_MODULE and CONFIG_AW_AXP_MODULE
<BorgCuba> whats the code in "OSAL_Pin.c" meant to do?
<Turl> abstract the pin handling
<libv> nove: it doesn't surprise me that one or another of those stupid embedded shops was afraid of it
<Turl> (aw likes to use the same driver on various codebases, eg uboot, linux, etc)
popolon has joined #linux-sunxi
popolon has joined #linux-sunxi
popolon has quit [Changing host]
astr has quit [Ping timeout: 240 seconds]
markusr has quit [Quit: Verlassend]
bgal has quit [Ping timeout: 260 seconds]
fredy has quit [Ping timeout: 256 seconds]
<nove> is bad for the number of sells of the new thing, if 3º party can actualize the software of older hardware
alexst has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 240 seconds]
<ssvb_> BorgCuba: A13-OLinuXinoM is one of the rare sunxi boards that has no AXP209 PMIC
fredy has joined #linux-sunxi
astr has joined #linux-sunxi
alexst has quit [Ping timeout: 240 seconds]
<ssvb_> BorgCuba: are you using the right fex file?
<BorgCuba> ssvb_, I have a spare axp209 ;-)
<BorgCuba> ssvb_, I havent looked into what fex file I am using
<BorgCuba> I think they used sy8008s right?
<BorgCuba> ssvb_, this probably my script.bin?
<ssvb_> fex is the text format, script.bin is the binary format
notmart has quit [Quit: notmart terminated!]
<ssvb_> and I guess you need the "pmu_used = 0" to get rid of that problem
<ssvb_> BorgCuba: you can convert it back to fex and check the settings
notmart has joined #linux-sunxi
<BorgCuba> using fexc?
<ssvb_> yes
astr has quit [Ping timeout: 264 seconds]
<ssvb_> BorgCuba: and I believe that everything would have been a bit easier if you used the http://linux-sunxi.org/Manual_build_howto instead of a random internet blog ;)
<BorgCuba> for sure
<BorgCuba> i apologize
ricardocrudo has joined #linux-sunxi
<ssvb_> np
<BorgCuba> ssvb_, have you ever used the usb gadget driver for console access?
<BorgCuba> and is the micro board 2-layers only?
<fiola> ssvb_: Indeed. Sadly it's a common thing to hear people recommend "Google it" which ends up with people following random Internet blogs, instead of going direct to known-good technical sources. The "just google it" Internet meme is appropriate for cat pictures, less good for technical pursuits. Engineers really need to push back against it.
tm512 has quit [Ping timeout: 240 seconds]
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
<fiola> BorgCuba: I'd like to know the answer to that as well. I had to disable the OTG port entirely on A10 LIME to keep load average down.
tm512 has joined #linux-sunxi
<ssvb_> BorgCuba: no, sorry, I only used http://linux-sunxi.org/UART
<froese> fiola: but often there are no known-good technical sources ...
<ssvb_> BorgCuba: and a USB ethernet dongle for network connectivity
<BorgCuba> usb gadget would save some cables
<ssvb_> yeah, sure
<mmarker> Hmm. Seems I missed the early morning. So mainline doesn't adjust CPU clock speeds. Does 3.4? I may be enticed to do some forward porting. Should it be against sunxi-next?
astr has joined #linux-sunxi
<fiola> froese: That's fair enough in the absence of anything better, as long as random Internet blogs are used with caution. It's just not the first port of call, when one knows of competent and directly relevant technical sites.
<froese> fiola: right you are. but for the allwinner stuff there is hardly a "copmetent and directly relevant technical site". even the sunxi-wiki is more a collection of (often outdated) random snippets.
<fiola> One benefit of using the OTG port instead of the UART is that it would let you obtain late-boot console access to a closed box. Short of making a hole for serial wires in a LIME case or installing some kind of miniature socket, one needs to open a LIME case for console access.
<Black_Horseman> hola
<Wizzup> fiola: protip for the LIME case: leave one screw out
<Wizzup> use the hole to tunnel some cables in
<fiola> froese: Yeah, but the wiki's getting better all the time. I'd certainly call it more authoritative and likely to be accurate than a random Internet blog. And the combination of linux-sunxi, eLinux and eewiki beats most other sources on the net.
<Wizzup> I did it with the LIME+case that controls the leds in my parents house
<ssvb_> froese: feel free to improve "a collection of (often outdated) random snippets", it's definitely up to us
<fiola> Wizzup: good idea :-)
<Wizzup> I managed to fit in three 'jumper cables' for serial and an audio cable (abused left and right for spi data and clock)
<froese> ssvb_: well, when i'm looking for infos i'm most of the time not in the position to add the missing data ;-)
<BorgCuba> ssvb_, indeed, setting pmu_used = 0 resolved that issue!
<BorgCuba> thanks again!
<ssvb_> froese: but after you find the solution for your problem, you are in a good position to add the missing info :)
<ssvb_> froese: this is going to make life easier for the next guy
<fiola> Actually, even makes it easier for ourselves on the next board. Memory isn't perfect. :P
ZetaNeta has joined #linux-sunxi
<froese> ssvb_: if I would find info where I'm 100% sure it's corrected i would even do that, but i never got to that point - there are no definit sources in the AW-world (or i haven't found them yet).
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
ganbold_ has quit [Ping timeout: 240 seconds]
<froese> .oO(hmm... i see no "edit" button on the wiki pages)
<fiola> Come to think of it, a 2.5mm stereo audio socket might just about fit on the end bracket of the LIME on the HDMI side. And it would have the benefit of giving anyone who plugs in their headphones a surprise. :P
TheSeven has quit [Ping timeout: 260 seconds]
<ssvb_> froese: you need to create an account first, anonymous edits are disabled for a good reason
<fiola> Needs a marketing bullet point: "Compatible with RS232 headphones." :P
Andy-D has joined #linux-sunxi
formruga has joined #linux-sunxi
netlynx has quit [Remote host closed the connection]
TheSeven has joined #linux-sunxi
<fiola> ssvb_: spam troubles in the past?
<froese> btw, has anyone seen the a20-lime2 yet?
<ssvb_> fiola: yes, spammers are everywhere and happily shit any place they can easily reach
<fiola> :-(
<fiola> froese: I think all there's been so far is Tsvetan's one-liner tease about LIME2 taking another 2 weeks or so. But it'll be ready when it's ready. :P
<fiola> I'm looking forward to the gigabit.
<froese> yes, that and hopefully a 32bit memory interface.
<fiola> I would hope that 32-bit memory can be assumed, even on a LIME. Adding performance features like gigabit but retaining the main bottleneck would be questionable.
<froese> well, the regular lime has only 16bit
<fiola> I'd guess that the memory's being doubled for LIME2 by using two chips to give two banks for 32-bit, while allowing them to keep the same BOM stock as for the other LIMEs.
<froese> i _guess_ the original decision was made to get away with a single ram chip. i don't know, if there are 32bit wide chips.
<froese> what would be nice were a 2nd sdcard instead of the nand...
<fiola> LIMEs have SATA for storage expansion.
<froese> fiola: sure, but the boot loader has to be on sdcard or nand.
<froese> nand is simply too much trouble, more expensive (than an sdcard-socket), and slower.
<ssvb_> froese: a single DDR3 chip can only have up to 16-bit I/O bits according to the JEDEC spec
alexst has joined #linux-sunxi
<froese> ssvb_: ah, thanks. good to know.
<fiola> NAND shouldn't be slower for the same flash technology, it as an 8-bit bus vs the SD card's 4-bit.
<fiola> s/as/has/
<fiola> Is the NAND on LIME's very slow?
<froese> fiola: right, "should" ;-) but has anyone got a fast nand-driver for linux?
<BorgCuba> I am running into trouble building the otg driver
<fiola> That I don't know. But I like numbers, so I guess it's time to measure the storage throughput on the two media.
<froese> fiola: i don't know the lime's speed, on cubietruck it's around 8MB/s.
<fiola> froese: Thanks, good to know.
<froese> BorgCuba: i didn't dare to touch otg yet, but i'm interested in your results ;-)
<BorgCuba> well, i get undefined references when I build for "otg" or "device only"
bonbons has quit [Quit: Leaving]
<BorgCuba> and for "device only" I had to apply this https://groups.google.com/forum/#!msg/linux-sunxi/yKKBeIRBTi0/hm4LyZDPshgJ
<froese> BorgCuba: git grep for the symbols, look which module defines them and adjust your .config.
<BorgCuba> otherwise it would give me an error at compile time
jinzo has quit [Quit: Leaving]
<BorgCuba> I searched the Kconfigs for CONFIG_xxx values but nothing, where can I find CONFIG_USB_SW_SUNXI_USB0_OTG in menuconfig
<BorgCuba> well, no
<BorgCuba> its is enabled
<WarheadsSE> BorgCuba: from menuconfig, you can search with /
<BorgCuba> okay, thanks WarheadsSE
<fiola> No need to type the "CONFIG_" part in that search, it's optional.
patapovich has joined #linux-sunxi
<WarheadsSE> yup
<BorgCuba> okay, now I am missing axp_gpio_set_value and axp_gpio_set_io ...
<patapovich> hey guys, i'm to add link in wiki to a80 kernel source git
<BorgCuba> and I guess i dont have an axp209
<patapovich> but apperantly i'm doing something wrong or don't rights to add external link because changes doesn't seem to be saved
<patapovich> if somebody can add that
<froese> BorgCuba: olinuxino a13? it does have an AXP209.
Gerwin_J has quit [Quit: Gerwin_J]
patapovich has quit [Quit: Page closed]
<BorgCuba> no, it doe not
<BorgCuba> but somehow it is assumed in "sw_hcd0.c"
<BorgCuba> or at least it uses some "axp_gpio_xxx" functions
deasy has joined #linux-sunxi
<froese> BorgCuba: so the schematics on the olimex website are wrong? they definitely have and axp209 on the a13.
<BorgCuba> no, I have the micro board
<BorgCuba> it uses three sy8008 I think
<BorgCuba> does the a13 have internal pullups for the usb reset?
<froese> ah, ok. i was looking at the non-micro board.
<BorgCuba> what a nice a13 datasheet :-)
<BorgCuba> is there a real a13 datasheet?
<ssvb_> BorgCuba: check the documentation links at http://linux-sunxi.org/A13
<BorgCuba> only 1 page for the otg controller
<fiola> nove: Haha, awesome page :-)
yann_s has quit [Quit: ZNC - http://znc.in]
<BorgCuba> I have to leave, thanks a lot for the help guys!
BorgCuba has quit [Quit: leaving]
notmart has quit [Quit: notmart terminated!]
rz2k has quit []
nove has quit [Quit: nove]
issue_ has quit [Remote host closed the connection]
jebba has quit [Quit: Leaving.]
FreezingCold has quit [Ping timeout: 240 seconds]
xavia has quit [Remote host closed the connection]
formruga has quit [Quit: Konversation terminated!]
Deskwizard_ has joined #linux-sunxi
Deskwizard has quit [Ping timeout: 240 seconds]
FreezingCold has joined #linux-sunxi
tomboy65 has quit [Remote host closed the connection]
tomboy65 has joined #linux-sunxi
sehraf has quit [Read error: Connection reset by peer]
naobsd has quit [Quit: Page closed]
ricardocrudo has quit [Remote host closed the connection]
FR^2 has quit [Quit: Leaving]
Andy-D has quit [Ping timeout: 240 seconds]
Andy-D has joined #linux-sunxi
alexst has quit [Ping timeout: 240 seconds]