ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - Don't ask to ask. Just ask! - See | | Logs at
DavidBsAs has joined #linux-sunxi
<DavidBsAs> Hi all, I have a Mele A2000 and I'm trying to turn it into a usable LibreOffice box. I'm using Ubuntu image from, and video it's a little laggy.
<DavidBsAs> Installed sunxi module and it is a little better, but still, Spreadsheets and Word Processor doesn't run smoothly. Any sugestions?
tinti has quit [Excess Flood]
tinti has joined #linux-sunxi
<DavidBsAs> Hi ssvb :)
<Turl> DavidBsAs: nice to see a fellow argentine in here :)
<Turl> DavidBsAs: you can run the memory at a faster clock, that should speed graphics up a bit
<DavidBsAs> Turl, r u from Argentina too? Will try to speed up the memory clock, up to match cubieboard speed. Do you estiate it would speed it up enough to use a 2 or 3 windows smoothly¡
<DavidBsAs> *?
<DavidBsAs> *estimate
<Turl> I dunno, I don't run X on my devices, but it should be a bit faster
<Turl> and yes :)
<Turl> to change memory speed you just need to edit the memory speed on the uboot code, rebuild and dd the new spl to your sdcard
<Turl> something like that
<DavidBsAs> I've been using precompiled sd images, never built my own, but looks like that needs to be my next step.
tinti has quit [Quit: Leaving]
<DavidBsAs> :) thanks
<Turl> DavidBsAs: there's some docs on here if you don't know where to start
<DavidBsAs> Tryin that now, Turl. Thanks. What devices do you have and what are you using them for? If I may ask.
<Turl> DavidBsAs: a mele as a home server (storage, torrents, music playback) and a cubieboard for development
<Turl> and a tablet as tablet
ganbold_ is now known as ganbold
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
DavidBsAs has quit [Read error: Connection reset by peer]
DavidBsAs has joined #linux-sunxi
DavidBsAs has quit [Quit: Leaving]
eebrah has quit [Ping timeout: 276 seconds]
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
mturquette has quit [Read error: Operation timed out]
jabjoe has left #linux-sunxi [#linux-sunxi]
n01|away is now known as n01
wowon_ has joined #linux-sunxi
<oliv3r> Turl: not on uart no
BJfreeman has quit [Quit: had a good time]
rellla has joined #linux-sunxi
paulk-desktop has joined #linux-sunxi
<oliv3r> Turl: it appears the non-booting kernel is the one that has the dtb appended
<oliv3r> also, is setenv bootargs console=/dev/ttyS0 enough to get output?
<oliv3r> (or is console only ttyS0, without /dev?
<oliv3r> or is the loglevel also required
<oliv3r> it's without the /dev, but also that doesn't produce any output :(
<oliv3r> mnemoc: is slow :(
<n01> oliv3r: where are you stuck?
<oliv3r> I only get 'starting kernel'
<oliv3r> so I assume it is actually starting, but I don't get console output
<oliv3r> n01: can you send me your kernel, so I know i have a kernel that will work and output over uart?
<n01> oliv3r: have you enabled early printk?
<oliv3r> i used stock config, so good point, I'd assume it be on
<oliv3r> but i also don't get a login prompt after a while, which should run on uart i would guess?
<n01> oliv3r: yes but at least you are supposed to see the early printk
<n01> anyway now I'm at $work$, I'll send you ASA I get home
<oliv3r> ok
<oliv3r> i brought my cubie to work today :)
<n01> and your work is ...
<oliv3r> really boring shit
<oliv3r> but i get to do other things when not working
<oliv3r> which is often :)
<n01> cool :)
<oliv3r> hno: if I use md on 0 - 0x100, i get sram a1 displayed (SPL), if I do md on 0x4000 - 0x4100 I get sram A2. If i do md 0x3ff0 - 0x40f0, i get that region. But if I do md 0x3fff, the board resets?
eebrah|away is now known as eebrah
shineworld has joined #linux-sunxi
<mnemoc> oliv3r: uhm... it might be because the requests per second limits we set of varnish.. :-/
<mnemoc> on*
drachensun_ has quit [Ping timeout: 276 seconds]
<mnemoc> oliv3r: after killing the old server I'll ask hetzner to allow more than 5TB/M at 100MHz and reduce the traffic restrictions
<mnemoc> oliv3r: if you find troubles beside speed, please let me know
<oliv3r> mnemoc: sure :)
<oliv3r> it's okay-ish for now
<oliv3r> not doing much thouhg, only editing pages, so shouldn't be 'heavy'
<oliv3r> any USB hackers on? got some sram questions :)
<oliv3r> also, and EMAC hackers on? mripard i'm looking at you!
<mripard> ?
<oliv3r> oh nice
<oliv3r> ok, i'm playing with SRAM ctl registers via md, mw and mtest in u-boot
<oliv3r> according to the datasheet, you can chance mappings of sram to either 'cpu' or 'device'
<oliv3r> in the case of the EMAC, we have 1 bit to do this mapping
<oliv3r> in the sun7i code however, 0x5 << 2 is written to the sram register
<oliv3r> which not only sets the mapping but, but also the 'reserved' bit # 2.
<oliv3r> have you done anything with that in your new emac driver?
<mnemoc> btw, the import/lichee-3.3/{a31,a20}-dev branches have the same commits but sanitized (utf8, ^M, --whitespace=fix)
<mnemoc> and rebased. still need another pass un-removing stuff
<mripard> oliv3r: no
<oliv3r> mnemoc: i just picked a randum sun7i tree, i'll use the import one
<oliv3r> mripard: does your emac driver use SRAM at all?
shineworld is now known as shine|meeting
<mripard> oliv3r: nope
<oliv3r> mripard: any guess why the AW driver does use it? would there any performance benefit be?
<mripard> the one we derived from didn't use it
<mripard> but yes, it's way faster than the RAM, so maybe they use it for faster DMA, I don't know.
<oliv3r> maybe If i get really smart i'll look at it
<oliv3r> i'll also compare to the sun4i emac driver
<oliv3r> i want a datasheet with allr egisters documented ;(
<mnemoc> wiki wiki. code is more reliable than allwinner docs
<mnemoc> so document the code
<oliv3r> the code doesn't mention anything :(
<oliv3r> it only does what I linked up there at line 478
<oliv3r> but instead of writing 1, it writes 5 to the register in question, without explanation, and register '2' is 'reserved' :S
<mnemoc> :(
<oliv3r> gotta compare it to sun4i code yet
<oliv3r> i can't run a 'branch diff' on github right?
<oliv3r> then again, that comment is the only reference :p
<mripard> and I'm not mapping the SRAM anywhere
<mripard> nor do I put the magic value in the SRAM register you mentionned above :)
<oliv3r> yep, i see :)
<oliv3r> but what driver did you use as base?
<oliv3r> since even the sun4i one does it
<mripard> I don't know, I only carried on stefan's work
<mripard> and I guess it's for DMA
<mnemoc> stefanro wrote his own driver almost from zero
<mripard> and since we don't use DMA at all
<mnemoc> for u-boot
<mripard> not for linux
<oliv3r> i'll check his github then
<oliv3r> on u-boot
<mnemoc> isn't it a bad idea to not use DMA for ethernet?
<oliv3r> well if it works stabaly without, it's a good startingpoint?
<mripard> well, you have to start somewhere.
<mnemoc> :)
<oliv3r> and makes the driver simpler, so initially easier to debug, trhen go from there?
<oliv3r> ok but i dont' understand one thing
<oliv3r> i don't know much/anything about DMA, but i thought DMA access, was direct RAM access (or sram i suppose)
<mnemoc> hno and slapin worked months on trying to get the nand working without DMA
<oliv3r> so how does sram have anything to do with using DMA?
vicenteH has joined #linux-sunxi
<mripard> mnemoc: there's several other statements that applies to the ethernet driver :)
<mnemoc> :)
<mripard> like, isn't it a bad idea to have an interrupt for each packet that come in/off ? :)
<mnemoc> uhm
<oliv3r> and on that note, do you need/want DMA to access the SRAM?
<oliv3r> since in effect, SRAM is 'just faster, but still memory'
jochensp has joined #linux-sunxi
<mripard> with DMA, you offload the CPU from the data transfer between RAM/device
<mripard> like if you want to send out a packet
<oliv3r> so you can us DMA on SRAM and regular ram
<mripard> you can either have your CPU get the packet from RAM and put it into the data registers
<mripard> (which is called PIO)
jochensp has left #linux-sunxi [#linux-sunxi]
<mripard> or, you can program the device to directly go get the data it needs in the memory
<mripard> (which is DMA)
<mripard> so yes, I guess it can be either SRAM or DRAM in our case
<oliv3r> so to improve emac performance, we should cange intterupt handling in the driver to improve performance
<oliv3r> use SRAM for emac
<oliv3r> and finally, use DMA for emac
<mripard> DMA won't make things faster
<oliv3r> oh?
<mripard> it will just make the CPU less busy
<oliv3r> true
<oliv3r> faster when under load* :)
<oliv3r> Ok, i think I understand
<oliv3r> so the only thing i don't yet understand :p
<oliv3r> the sram configuration registers
<oliv3r> you map sram to either the CPU or to the EMAC in this case
<oliv3r> you set some bits in the register. Why is that then needed?
<oliv3r> is all unmapped area directly useable by the CPU? or is it simply a write protection so nothing can write to those area's
<oliv3r> and if so, how does the emac write to it?
<oliv3r> going from that, if the emac hardware puts data directly into the sram (dma on the hardware end? and singals with an interrupt that the data is ready?) how do we get it out if it is restricted to the emac?
<oliv3r> (sorry for asking many possibly obvious questions :p)
<mripard> I don't know, I've never seen such a use of SRAM before, but the OS can't access unmapped memory
<mripard> a random device can, but will need to use the physical addresses obviously
<mripard> (well, if there's no MMU between the device and the memory"
<oliv3r> gotta run some tests now, but if the ctl_Reg changes the 'write protection' of that area, I just dont' know how to CPU access it, can't imagine that register being flipped on/off constantly to allow the emac to write into the sram, and then to allow the CPU to read/write from there
FunkyPenguin has quit [Quit: - Chat comfortably. Anywhere.]
<mnemoc> oliv3r: import/lichee-3.3/a20-dev . that other is history-less, from a bulk (older) leak
<oliv3r> did I use the wrong one again? :(
<oliv3r> rename the 'crappy' ones to 'archived/...'
<mnemoc> :p
<mnemoc> too many things to do and so little time to spare...
<oliv3r> yes! :(
<oliv3r> mripard: one more question, then i'll get off your back :p; where does SRAM get mapped for the CPU to be used in the kernel? (ANd was what does it use it?)
awafaa has joined #linux-sunxi
<oliv3r> yay, 4k of USB sram is usable when unmapping it!
<oliv3r> oh, nvm, it's always usable :S
awafaa is now known as FunkyPenguin
awafaa_ is now known as awafaa
FunkyPenguin has quit [Changing host]
FunkyPenguin has joined #linux-sunxi
<oliv3r> because by default it's unmapped :S
simosx has joined #linux-sunxi
simosx has joined #linux-sunxi
<oliv3r> bah, the mapping bits don't do anything usefull
<oliv3r> well it doesn't do an enable/disable to access it
<oliv3r> the thing is, the VideoEngine DOES access sram c1, but no matter what bit settings I use, it's always offlimits :(
<oliv3r> oh, i'm using the wrong memory address to test :D
<oliv3r> not that it makes any difference :(
<oliv3r> Oh! no it does work!!
paulk-desktop has quit [Quit: Ex-Chat]
FunkyPenguin has quit [Quit: - Chat comfortably. Anywhere.]
FunkyPenguin has joined #linux-sunxi
hansg has joined #linux-sunxi
forcev has joined #linux-sunxi
FunkyPenguin has quit [Read error: Connection reset by peer]
forcev is now known as FunkyPenguin
FunkyPenguin has quit [Changing host]
FunkyPenguin has joined #linux-sunxi
FunkyPenguin has quit [Client Quit]
FunkyPenguin has joined #linux-sunxi
FunkyPenguin is now known as forcev
FunkyPenguin has joined #linux-sunxi
Yakuz has joined #linux-sunxi
rz2k has joined #linux-sunxi
shine|meeting has quit [Quit: Leaving]
hipboi has joined #linux-sunxi
<hipboi> some cubieboardii for people here
<oliv3r> oh nice
<oliv3r> little introduction box is to small
<hipboi> :O
<hipboi> oh, yes
<oliv3r> :)
<hipboi> it's bigger now
<mnemoc> :)
<hipboi> amery is the first...
<mnemoc> :p
<oliv3r> i'm a slow typer
<oliv3r> i had to bug report!
<mnemoc> excuses
<oliv3r> it was an important bug report
<oliv3r> i need to find a better power adapter, the one I have now, cheap psp nockoff, doesn't even do 1amp :S
<oliv3r> i can power my 2'5 hdd from it, if the board is un-booted :S
<oliv3r> hno: i'm trying to write 0xffffff to the NFC registers, they always read back 0, is it true its write only registers?
<oliv3r> maybe dissable comments for that specific page
<oliv3r> and make the 'form' larger (so the scrollbar dissapears)
eebrah_ has joined #linux-sunxi
<oliv3r> mw 0x01c20000 0xffffffff 0x56 locks the cubieboard :p
<oliv3r> not quite unexpected :p
<n01> submitted :D
<n01> \0/
<mripard> oliv3r: SRAM is first used directly by the bootloaders
<mripard> and then, the .map_io callback in the mach definition in arch/arm/mach-sunxi will probably map it
<oliv3r> and what does it use it for? Cache? in that regard, does l1/l2 cache be handled by software? or is it fully done in hardware
<mripard> nothing
<mripard> map_io use to maps the whole available memory space
<mripard> so sram is mapped
<mripard> but that's just a side effect
<oliv3r> so we _could_ use it as some form of cache (assuming it's faster then ram); otherwise perhiphals could pio/dma it and get faster buffers
<mripard> yes, probably
<oliv3r> ok, got it
<oliv3r> i'll stop distracting you now so you can get your developer cubie 2.0 :)
<mripard> hehe
<mripard> I was filling out the form :)
<mripard> hipboi: great idea ;)
<hipboi> :O
<hipboi> what idea
<mripard> to give out 50 cubie for developpers
<hipboi> it's one of the reason i started cubietech
<n01> giveaway? :)
<oliv3r> you'll end up poor :p
<hipboi> hmm, we must ask allwinner for some money
<oliv3r> lol
<oliv3r> i'd gladly pay for better docs/cedarX sources :)
<oliv3r> (better docs == defined missing/hidden registers)
<hipboi> maybe there is chance
CountryGeek has joined #linux-sunxi
forcev_ has joined #linux-sunxi
<oliv3r> hipboi: I heard rellla may have some news
<rellla> oliv3r: so what you've heard? i can't hear anything ;)
<oliv3r> rellla: still nothing? :(
<hipboi> eva contacted me recently after read the startup report of cubietech
eebrah_ has quit [Ping timeout: 246 seconds]
<hipboi> and even introduced a customer to us who wrote to allwinner ask about cubieboard
<rellla> hipboi: great idea, filled out. hope it isn't too much to read ;)
forcev has quit [*.net *.split]
dwilkins has quit [*.net *.split]
CountryGeek is now known as dwilkins
<oliv3r> i only had a small box to fill in ;)
<oliv3r> hipboi: that's really good and positive news
<hipboi> i told her we need allwinner support, she asked me to write a mail
<hipboi> i think i should send a mail to the list to gather what we need
<hipboi> maybe (better docs == defined missing/hidden is enough...
<rellla> oliv3r: still nothing, last email from Service/ Chen Xiaochuan was on May 8th, my answer from 7th - funny time difference.
<rellla> and last time it took around a week to answer. that will be tomorrow ;)
<oliv3r> hipboi: yes, there are a few 'ereasd' registers in the docs etc, that information in a free license would be awesome; and secondly, cedarX sources (so we can also fix them). having register information to that will be very helpfull, having the source as reference will be even more helpfull
<oliv3r> hipboi: but very exciting news indeed
<rellla> hipboi: and don't tell them, that cedarx seems to work useable via libhybris ;)
<hipboi> rellla, :)
<oliv3r> if they don't wanna give more info for A20 (we don't have any yet), we'll gladly take A10 info (as it's quite compatible with A20 i hope)
<rellla> btw, is cedarx also implemented in a31?
<hipboi> cedarx should be the same in a10/a20
<hipboi> improved in a31
<oliv3r> so in a31, it'll be CedarX 2.0
<oliv3r> i suppose A40 will be cedarX 2.0 aswell :)
<oliv3r> hipboi: A20 user manual (full version) would be nice to start with aswell
<mnemoc> dreaming awake?
<oliv3r> sorry
<oliv3r> yeah
<rellla> mnemoc, go to sleep again ;)
<oliv3r> fuck. me i'm stupid
<oliv3r> i'm checking initial values for the timers
<oliv3r> and they constantly change and i'm like, wtf am I doing wrong, do I have the correct ranges?
<oliv3r> but ... the timer run
<oliv3r> s, so of course the values will constantly change :S
eebrah_ has joined #linux-sunxi
<oliv3r> anybody ever used interrupt for timer0?
<oliv3r> can't seem to enable it
mdp has joined #linux-sunxi
<oliv3r> hey mdp
<mdp> hi oliv3r
rellla has quit [Quit: Nettalk6 -]
<oliv3r> hmm, nor can I enable the wdt interrupt? n01 you around?
eebrah_ has quit [Read error: No route to host]
mdp has quit [Quit: ZNC -]
mdp has joined #linux-sunxi
<n01> oliv3r: I successfully enabled the wdt interrupt
<n01> what problem do you have?
eebrah_ has joined #linux-sunxi
<oliv3r> mw 0x01c20d00 0x400 1
<oliv3r> doesn't change anything
<oliv3r> :)
<n01> are you playing in u-boot?
<oliv3r> yep :)
<n01> ok then it is a different story
<oliv3r> even when I do 'watchdog 0' i can't enable the interrupt
<oliv3r> watchdog does work, if i do watchdog 1; it restarts a second later
<n01> I don't know how in u-boot is the configuration
<oliv3r> you set the interrupt via software only I suppose? you don't touch any registers?
vicenteH has quit [Ping timeout: 268 seconds]
<n01> oliv3r: I used the register indicated in the A10 reference manual to enable the watchdog interrupt
jinzo has quit [Ping timeout: 264 seconds]
<oliv3r> that's bit 8
<oliv3r> strange, i can't set it from u-boot
<oliv3r> totally offtopic, a device driver sets up its own intterupt like that?
<oliv3r> or should be do this via the interrupt framework? (i have no idea, hence the question)
eebrah_ has quit [Ping timeout: 268 seconds]
jinzo has joined #linux-sunxi
<n01> oliv3r: you have to request an interrupt to the kernel
<oliv3r> but that register, I would have thought you setup the interrupts etc in the interrupt 'driver'
<oliv3r> and then your driver requests the interrupt that way :)
<hno> oliv3r, you need to enable a clock gating bit for the NFC registers to work.
<oliv3r> hno: ahhh, ok
<oliv3r> i'll try to figure that bit out later and try again
<oliv3r> n01: init_irq; handle_irq look interesting in your driver :p
<oliv3r> hno: checking the timer section
<n01> oliv3r: yep, you can see the old version of my driver
<n01> in the final version I left out all the IRQ part
<oliv3r> ah, you don't use IRQ at all anymore?
<oliv3r> i'll check out some other sunxi driver at a later point then
<n01> not anymore ... the latest version is very very slim ... no IRQ, no reboot for arch, just the basic functionality
<hno> oliv3r, or 0x2000 into 0x1c20060
<oliv3r> hno: ah, thanks; that does speed things up :)
<oliv3r> n01: smart, better have a basic driver first, add fancy features later :)
<oliv3r> n01: hopefully I finally can boot my kernel and test SID support :p
<hno> Argh... used gparted to repartition one of my cards and not u-boot claims there is 0 files and 0 directories in my FAT boot partition. Linux do find everything.
<oliv3r> u-boot doesn't know about different offset partitions?
<oliv3r> i think parted starts at sector 2048s by default
<n01> better to use sfdisk
<oliv3r> Turl: you did work on the clocks right?
<oliv3r> Turl: i see in the sun4i dts that timer only uses the 24MHz clock? But i think it can use the 24M, 32kOSC or even PLL6/6; doesn't that have to be in the dts aswell? or how does that work
vicenteH has joined #linux-sunxi
<oliv3r> mripard: why does tirqchip/irq-sunxi.c not use DT?
<libv> 2 patches to sunxi-mali coming up
<oliv3r> oh nice!
<libv> one adds proper eglplatform.h so that X11 or fbdev can be build time handled
<mripard> oliv3r: ?
<mripard> it does.
<libv> second adds detection for r3p1 and r3p2
<mripard> oliv3r: hmmm, yes
eebrah is now known as eebrah|away
<mripard> what makes you think it's not using DT ?
<oliv3r> mripard: i overlooked it. i'm cross-reading things
<oliv3r> is what i ment!
<mripard> same question :)
<oliv3r> the defines at the top put me off
<oliv3r> never mind! id idn't say a thing
<oliv3r> i'm doing to many things at the same time :(
<oliv3r> of which I understand too little :p
<oliv3r> but i think timer0 is a reasonable clean way on how to handle and define a timer?
<oliv3r> er IRQ
<mripard> what do you want to do?
<oliv3r> i'm poking various registers
<oliv3r> see what default values are etc
<oliv3r> documenting that on the wiki
<oliv3r> i fialed to set the wdt interrupt register
<oliv3r> so that led me to read the wdt driver, found some irq stuff, checked the mainling patches, found the irq and timer patches
<oliv3r> (i'm chaotic at mind and drift easily)
<mripard> I'm sorry, but I still don't get your question then :)
drachensun has joined #linux-sunxi
hipboi has quit [Quit: Leaving]
<oliv3r> mripard: just randomly picking at stuff, not doing anything really, just documenting things atm
<oliv3r> or rather, playing with cubieboard and u-boot? :)
<oliv3r> learning!
ganbold_ has joined #linux-sunxi
<Turl> oliv3r: what timer?
<oliv3r> Turl: in the dts; let me find the refence
<oliv3r> Turl: however we see that TMR_0_CLK_SRC we can use 3 clock sources
<Turl> oliv3r: you're pointing me to docs and description of two different registers? :P
<oliv3r> where is my link wrong :( the dts one?
<Turl> the dt node uses 0x01c20c00
<oliv3r> ohh i see
<oliv3r> hmm
<Turl> timer base is 0x01c20d00
<oliv3r> what timer is that?
<oliv3r> wait, must be close :p
<Turl> oliv3r: ah, the wiki docs are bad
<Turl> oliv3r: datasheet says base is 0x01C20C00
<oliv3r> yeah, typo
<Turl> s/datasheet/user manual/
<oliv3r> because in the register table (the one that links to the timer page) it does say c00
<oliv3r> i'll fix, i'm editing it anyway, my question still holds :p
<oliv3r> does explain a few things btw, i was using d00 and couldn't figure certain defaults out :)
<oliv3r> Turl: nice catch! :p
<Turl> oliv3r: yeah it should take all 3 clocks :)
<oliv3r> Turl: ok, wasn't anything offensive, just me wondering
<Turl> I guess mripard wrote that dt node back when we only had osc24M
<oliv3r> trying to understand :)
<Turl> no offense taken :)
<Turl> btw, in case any of you guys don't follow the cubie list,
<oliv3r> Turl: yeah, mnemoc was first, i was second :p
<oliv3r> i think
<oliv3r> Turl: tom posted the url here :)
<mripard> oliv3r: yes, I wrote that part when we had no clock support, and it followed, it should be behind a mux
<mripard> Turl: looks like a patch for you :)
<mripard> beware that you should also update the divider in the timer driver code
<ssvb> oliv3r: how do you know that you were the second? is there some public list of applicants?
<oliv3r> ssvb: i was nearly simultaniously with mnemoc and tom said he was first!
<oliv3r> hence, the 'i think' :p
<Turl> mripard: a mux? hm
<oliv3r> and he was only faster cause I reported a bug to tom! :p
<ssvb> ok :)
<oliv3r> but no, don't think the list is public
<ssvb> btw, I wonder if it would be faster to wait for cubieboardii or just order A20 based Mele now?
<Turl> I'd hope it isn't, I'm posting my address to it :)
<Turl> ssvb: does the mele have gigE?
<ssvb> Turl: not according to their specs :(
<ssvb> Turl: that's actually what is holding me back, and also the missing VGA connector
<oliv3r> ssvb: can you order it allready?
* jelly-home tries to submit a patch quickly to be eligible for FREE STUFF
<oliv3r> ssvb: i'll probably get a a20 mele anyway (nicer in the bedroom)
<oliv3r> the specs _may_ lie, they may have used the old specs and not updated it
<Turl> jelly-home: lol
<oliv3r> but it could also quite easily be they used the same PCB
<oliv3r> and simply didn't solder the VGA connector
<oliv3r> i care for the tv-out if i'm using it as a tv box
_BJFreeman has joined #linux-sunxi
<mripard> Turl: ah, you can select it in the device
<mripard> hmmm, meh.
<mripard> we will change it if someone needs it.
_BJFreeman is now known as BJfreeman
<Turl> mripard: we could implement it as a mux too, which should be default osc24M
<Turl> if someone wants to change it though they'll need to stuff set_parent calls somewhere
hansg has quit [Remote host closed the connection]
<oliv3r> ssvb: i'll wait till it's better available and price drops to 50-75 USD
<Turl> ssvb: the mele will always be infinitely more costly though :p
<oliv3r> Turl: the shop you mean?
<Turl> oliv3r: these cubieboards are free :)
<oliv3r> Turl: yeah but the mele sits nicer with the TV :p
<oliv3r> and having 2 is always better then the 1
<oliv3r> 1 to dev, 1 to 'test'
<oliv3r> bah, hometime :)
<Turl> yeah, I agree
<Turl> mele looks good as home server too :)
<Turl> except when people ask you 'why does your server have hdmi, vga, rca etc on the back?' :P
ganbold_ has quit [*.net *.split]
n01 has quit [*.net *.split]
<mnemoc> Turl: flexible fbcon :p
oliv3r_ has joined #linux-sunxi
lunra_ has joined #linux-sunxi
<Turl> mnemoc: yeah right :P
ganbold_ has joined #linux-sunxi
<jelly-home> "direct access to... files"
n01 has joined #linux-sunxi
<rm> back in my day servers did have VGA, Turl
<rm> and people thought that was normal!
<rm> :D
oliv3r has quit [*.net *.split]
lunra has quit [*.net *.split]
ganbold has quit [*.net *.split]
<Turl> rm: a server with S/PDIF isn't that normal though haha
mturquette has joined #linux-sunxi
ganbold__ has joined #linux-sunxi
mturquette has quit [Changing host]
mturquette has joined #linux-sunxi
<mnemoc> and 7" RCA displays (for cars) are cheap. nice for servers
luoyi has joined #linux-sunxi
<luoyi> are there anyone have started X with mali framebuffer driver successfully ?
<mnemoc> use ssvb's driver
<luoyi> my Xorg just give me " unable to open display" . Xorg.0.log is at
<luoyi> don't know what's wrong with me. I just follow and can't get it work
<ssvb> luoyi: kill modesetting with fire
<luoyi> ssvb: howto ?
<ssvb> luoyi: your distro must have a package for xf86-video-modesetting (the name of the package may be slightly different), you can try to find an uninstall it
<luoyi> ssvb: pacman -Rd xf86-video-modesetting done. and still fail
<ssvb> luoyi: do you get different error messages in the log now?
<luoyi> ssvb: strange. no log now
<luoyi> ssvb: I'm a ArchLinux user . and choosed ArchLinuxArm for cubieboard. it doesn't have a startx command . so I install fluxbox
<Dreadlish> ech
<Dreadlish> luoyi: xorg-xinit
<Dreadlish> this package has startx...
vicenteH` has joined #linux-sunxi
<luoyi> Dreadlish: cool
<luoyi> Dreadlish: startx OK now
<luoyi> Dreadlish: can bring up X Window
<Dreadlish> ok.
tinti has joined #linux-sunxi
<luoyi> Dreadlish: which window manager is suitable for cubieboard ? I'm a XFCE4+Compiz user on PC
<Dreadlish> luoyi: any should
<Dreadlish> work
<luoyi> Dreadlish: is xfce4 too heavy for the cubieboard
<Dreadlish> rather not.
vicenteH has quit [*.net *.split]
hno has quit [*.net *.split]
<Dreadlish> on 512mb it works tolerably
<Dreadlish> and as i remember cb has 1gb of ram ;d
<luoyi> Dreadlish: OK . I'm pacman -S xfce4 now
<luoyi> Dreadlish: and looks like there are no compiled version of xbmca10 for cubieboard for download
<Dreadlish> xbmc for a10/a13 is being ported as i read somewhere
<Dreadlish> cause there are problems with libcedarx afaik
<luoyi> Dreadlish: I mean I need to compile it myself
<luoyi> Dreadlish: I think maybe I need hours to make it done
<Dreadlish> it would take much time to build xbmc on cb natively
<mnemoc> rellla has a prebuilt of xbmca10 in for debian armhf iirc
<Dreadlish> but it works err...
<Dreadlish> not good
<Dreadlish> likes to hang during playing
<luoyi> Dreadlish: what's the best video player for a10 now ?
<luoyi> Dreadlish: can use the full power of the VPU ?
<ssvb> mnemoc: some dude made an xbmc image with libhybris support -
<Dreadlish> any would do the same...
<ssvb> mnemoc: maybe rellla or somebody else could pre-build something 'official' for
<luoyi> ssvb: it's for hackberry. can be used with cubieboard ?
<ssvb> luoyi: don't know, proper cedarx support is still a work-in-progress activity
* Yakuz notes something that also directly works with cvbs on a2000 who still use fat tv´s
<Dreadlish> ssvb: i'm still waiting when it would work properly ;d
<ssvb> luoyi: IMHO cedarx accelerated VLC is much easier to build, you can check and
<Dreadlish> vlc \o/
<ssvb> luoyi: and willswang has just merged a libhybris support pull request :)
* ssvb goes editing the wiki page
<ssvb> Dreadlish: only the commandline version of VLC so far
<luoyi> ssvb: you mean vlc can't be used under X now ?
<luoyi> ssvb: I can only use it in the framebuffer console ?
oliv3r_ is now known as oliv3r
<ssvb> luoyi: VLC renders video to a hardware overlay which is shown on top of whatever is on screen
<oliv3r> my servers all hav VGA, old VGA KVM is nice :)
<ssvb> luoyi: you can run it with or without X
<luoyi> ssvb: got it. thx
LoCoZeNoz_ZUE has joined #linux-sunxi
<LoCoZeNoz_ZUE> I been sent here from #gentoo-embedded in epic adventure of installing gentoo on my Mpman MID74C
<LoCoZeNoz_ZUE> And i would like to ask: How
<oliv3r> slightly insane? :p
<LoCoZeNoz_ZUE> yes
<luoyi> error: Libtool library used but 'LIBTOOL' is undefined
<oliv3r> LoCoZeNoz_ZUE: but if you have uart it shouldn't be too hard
<luoyi> error: possibly undefined macro: AM_INIT_AUTOMAKE
<luoyi> looks like have some problem with my autoconf toolchain
<LoCoZeNoz_ZUE> The guys at #gentoo-embedded sad i need a kernel to run it. and sad guys here will help
<oliv3r> LoCoZeNoz_ZUE: partition your SD card as you want, get arm v7 stage3
<mripard> Turl: oh, and btw
<mripard> you had a build breakage ?!
<oliv3r> LoCoZeNoz_ZUE: oh yeah, our kernel is at
<oliv3r> LoCoZeNoz_ZUE: follow
<oliv3r> LoCoZeNoz_ZUE: should help you with the initial steps
<LoCoZeNoz_ZUE> ok
<oliv3r> LoCoZeNoz_ZUE: if you get the entire BSP, you should end up with a hwpack that countains the kernel, bootloader, modules etc
<LoCoZeNoz_ZUE> oliv3r: Did you check the "First Steps" link you gave?
hno has joined #linux-sunxi
steev has joined #linux-sunxi
<LoCoZeNoz_ZUE> oliv3r:
<luoyi> we are merge our work into the mainline kernel code. so can we hope there will be an offical kernel version can support sunxi device be released near future ?
<jelly-home> luoyi: I think you can boot 3.8-3.9 on A10... can't you?
<luoyi> jelly-home: I haven't tried that
<jelly-home> (I said boot, not necessarily do everything)
<luoyi> jelly-home: and looks like there are nobody works on the CEC device support
paulk-desktop has joined #linux-sunxi
de has quit [Read error: Connection reset by peer]
<Turl> mripard: yes, pinctrl
<Turl> mripard: your patch to enable gpiolib fixes it
<Turl> mripard: hence my tested-by :)
<jelly-home> luoyi: waiting for the kernel people to decide on an API...! O:-)
<luoyi> jelly-home: we have libCEC now
ganbold__ has quit [Remote host closed the connection]
<Turl> mripard: while you're around, can you check if I missed anything for sunxi-next?
<techn_> luoyi: what work you are talking about?
<hno> luoyi, there is CEC support in current sunxi-3.4 kernels I think. But needs some love.
n01 is now known as n01|away
eebrah_ has joined #linux-sunxi
vinifm has joined #linux-sunxi
<oliv3r> LoCoZeNoz_ZUE: it should tell you how to build things, let me recheck :p i did it from the head
<LoCoZeNoz_ZUE> oliv3r: Nvm, i already found it
<LoCoZeNoz_ZUE> But basicaly how should i do it?
<oliv3r> LoCoZeNoz_ZUE: 'the easy option'
<LoCoZeNoz_ZUE> I got a A10 Tablet (Mpman MID74C) with partly broken touch (not much), and i want to put gentoo there
<oliv3r> yes, it's that easy (If your board is supported)
<oliv3r> if you board is not supported, we need to find out what clone its off
<oliv3r> you'd need to extract script.bin from /dev/block/nanda (you can mount it in android)
<oliv3r> bin2fex it and compare it to the existing ones
<oliv3r> obtain memory timings (from android)
<LoCoZeNoz_ZUE> I head words "momo 9" (or maybe 11) and "Allwinner A10" around it
<oliv3r> jelly-home: you can boot met 3.9, but it's not usable yet :p no sata, no usb etc etc
<techn_> luoyi: hno: yeah.. there should be somekind CEC support but needs bindings to libCEC.. there should be also some kernel-to-userspace framework to help that work
<oliv3r> LoCoZeNoz_ZUE: then it's probably extremly identical to mine momo9, it really is a inet97f (top of my head)
<oliv3r> LoCoZeNoz_ZUE: check the wiki, i've uploaded qutie some pics to help you identify your tablet
<LoCoZeNoz_ZUE> i also heard words like inet
<LoCoZeNoz_ZUE> They are printed on my "board"
<LoCoZeNoz_ZUE> ok
<oliv3r> check the foto's, if you opened yours, it should quickly follow :)
<LoCoZeNoz_ZUE> And... links to fotos?
<oliv3r> search :p
<LoCoZeNoz_ZUE> momo9?
<LoCoZeNoz_ZUE> oh
* LoCoZeNoz_ZUE 's net is very slow. As he got like 9000 other tasks at same host
<LoCoZeNoz_ZUE> Exactly. My board says "iNet-97F Rev02 wjh2011-12-07"
<oliv3r> then you have inet97f :p
<oliv3r> go rebuild and reproduce :)
<LoCoZeNoz_ZUE> and... how to put gentoo there?
<oliv3r> you do know how to install gentoo, right?
<oliv3r> so, get the BSP
<LoCoZeNoz_ZUE> yeah
<hno> techn_, this libCEC?
<LoCoZeNoz_ZUE> Which one?
<oliv3r> there is only one
<oliv3r> FirstSteps -> easy option
<techn_> hno: yes
<oliv3r> that should yield you with a inet97f_hwpack.gz
<oliv3r> that has everything you need to make your SD card bootable, kernel, bootloader, kernel modules and binary blobs (iirc)
<oliv3r> dd the bootloader to the SD card, format the first partition fat16 (about 100mb), put your kernel there, that should yield you with a booting system (lack of initramfs and/or root is a second problem :p
<oliv3r> once you have that though, it's really easy to create your root partition, extract the stage3 armv7hf tarball, nfs mount your /usr/portage (or however you keep your portage tree) and ... done
<LoCoZeNoz_ZUE> ok, Currently my main "laptop" got a serious operation of changing broken mix of Debian Squeeze and Wheezy to a Gentoo
<LoCoZeNoz_ZUE> So i am currently chatting from my main home server
<oliv3r> you should be able to follow the gentoo handbook easily, the only difference is instead of grub, we use u-boot, and instead of gentoo-sources, you use the sunxi-bsp kernel :)
<LoCoZeNoz_ZUE> That aint so fast
<oliv3r> if you want to cross-compile all packages, we're talking a whole different beast here though ;)
<oliv3r> anyway, nativly compiling it like that should work (so gonna try that with a cubie 2.0)
<LoCoZeNoz_ZUE> ok, gonna start doing all that when i get something better than "THIS HOST" (like my favorite laptop)
<oliv3r> lol
<oliv3r> it should be _really_ easy
<oliv3r> you can do most/all preperation on your host where you prepare the SD card
<oliv3r> special care needs to be taken with USB Host (keyboard) and video output (so you can see);
<LoCoZeNoz_ZUE> 1. This host is "DAMN SLOW" to even chat in irssi.
<LoCoZeNoz_ZUE> 2. It doesnt have a SD slot
<oliv3r> well you can install to nand, but that's much harder, and if things break, you'll need something on SD to fix it with anyhow
<LoCoZeNoz_ZUE> 3. I really better wait for some "suitable" hardware, to do all this on. As even downloading makes this pc stop
<oliv3r> i'd install it to SD, and when your happy, transfer it to nand
<oliv3r> having said that, I haven't gotten the 3.0 or the 3.4 kernel to boot on my tablet yet
<LoCoZeNoz_ZUE> oliv3r: I am gonna do all this as in instruction, but alittle later
<oliv3r> LoCoZeNoz_ZUE: is that a P90?
<LoCoZeNoz_ZUE> oliv3r: ?
<oliv3r> LoCoZeNoz_ZUE: (i think :p)
<oliv3r> LoCoZeNoz_ZUE: it being so slow
<oliv3r> it must be a pentium 90 or older ;)
<LoCoZeNoz_ZUE> oliv3r: No, its a home server connected to TV with Pentium D and 4 gb ram. But its VERY SLOW NOW
<oliv3r> oh, that should handle it easily, chatting etc is no problem, for even something as slow as a 386
<LoCoZeNoz_ZUE> btw, i had several days of transfering a 81 gb tar from 1 pc to another. Using 16 gb usb drive and a split using 4GB pieces.
<LoCoZeNoz_ZUE> also, i really prefer to do it from a "usual laptop"
<oliv3r> lol
sanka has joined #linux-sunxi
<LoCoZeNoz_ZUE> and of course 16gb usb's are much smaller
<LoCoZeNoz_ZUE> so i transfered like 12 GB using a 16 gb flash drive
<oliv3r> you can use USB instead of SD to run gentoo from; but i think you do need to boot from SD (or nand)
<oliv3r> though the tablet's USB port is kinda crap
<LoCoZeNoz_ZUE> oliv3r: I know this is a channel about embedded hardware... But i think you should understand that when i say USB it not nessaserily got anything to do to the topic
<oliv3r> LoCoZeNoz_ZUE: not sure I follow
eebrah_ has quit [Ping timeout: 252 seconds]
n01 has joined #linux-sunxi
LoCoZeNoz_ZUE has quit [Ping timeout: 245 seconds]
LoCoZeNoz_ZUE has joined #linux-sunxi
LoCoZeNoz_ZUE is now known as Guest12073
Guest12073 is now known as ZetaNeta
rz2k has quit []
drachensun has quit [Remote host closed the connection]
drachensun has joined #linux-sunxi
vinifm has quit [Ping timeout: 256 seconds]
vinifm has joined #linux-sunxi
<oliv3r> mnemoc: is there a way to see more then only the activity over the last 30 days? like overa ctivity graph or something
<Turl> oliv3r: on where?
<oliv3r> wiki
<oliv3r> there's a 'special page' that lists 'activity'
<oliv3r> but what if i wanted to see an overview of everybodies contributions, sorted by contributions
<Turl> oliv3r: you can play with the URL, starting date, days, changes :)
<oliv3r> oh
<oliv3r> how?
<Turl> oliv3r: I thought you meant 'recent changes' on the side
<oliv3r> yeah, those are mine (right top button)
<oliv3r> but now i wanna see 'all' contrinutions
<oliv3r> i wanna see who's the busiest on the wiki :p
<Turl> oliv3r: I dunno then :P you can watch recent activity with recent activity on the side, and tweak the url to show a lot of activity maybe
<oliv3r> yeah but no; i think the 'last 30 days' is as good as it gets
<oliv3r> probably an addon, that does 'activity graphing' etc
<Turl> oliv3r: nah, I got it showing 600 days :P
<oliv3r> url
<Turl> but yeah something for the purpose would be good
<Turl> oliv3r: click 30 days, then s/30/600/ on url
<oliv3r> hur hur, Turl, url :D
<oliv3r> but 30 days isn't clickable
<Turl> well click sth else and then tweak the number :)
<oliv3r> nothing is clickable
<Turl> huh?
<oliv3r> that's the best i can get
<Turl> not that
<oliv3r> well yeah
<oliv3r> but you'll have to manually filter through it
<Turl> well yeah :)
<oliv3r> ther'es tons
mturquette has quit [Ping timeout: 246 seconds]
<Turl> mnemoc: ^ :P
<Turl> bbl :)
paulk-desktop has quit [Quit: Ex-Chat]
<oliv3r> i think that's sorta something
n01 has quit [Ping timeout: 276 seconds]
n01|away has quit [Ping timeout: 276 seconds]
mturquette has joined #linux-sunxi
mturquette has quit [Changing host]
mturquette has joined #linux-sunxi
sanka has quit [Quit: Leaving]
<oliv3r> n01 md 0x01c20c90 1 says that WDT_KEY = 0; so is the default really 'something? or does it need to be turned on first?
vinifm has quit [Quit: Saindo]
FunkyPenguin has quit [Read error: Operation timed out]
FunkyPenguin has joined #linux-sunxi
simosx has quit [Quit: Αποχώρησε]
lunra_ is now known as lunra
tinti has quit [Read error: Connection reset by peer]
DidiBsAs has joined #linux-sunxi