Turl changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - Don't ask to ask. Just ask and wait! - See http://linux-sunxi.org | https://github.com/linux-sunxi/ | Logs at http://irclog.whitequark.org/linux-sunxi
* WarheadsSE still needs to get back to A20 boards
KBme has quit [Ping timeout: 245 seconds]
adb has quit [Read error: Operation timed out]
* TheSeven swears about android being an undocumented mess
nieuwbie has joined #linux-sunxi
<nieuwbie> hey anybody knows how FEL mode looks like?
aesok has quit [Remote host closed the connection]
nieuwbie has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
rellla3 has quit [Ping timeout: 260 seconds]
iamfrankenstein has quit [Ping timeout: 260 seconds]
keebler has quit [Remote host closed the connection]
cajg has quit [Ping timeout: 272 seconds]
futurisk has quit [Ping timeout: 272 seconds]
futurisk has joined #linux-sunxi
futurisk has quit [Read error: Connection reset by peer]
cajg has joined #linux-sunxi
geecko has quit [Remote host closed the connection]
woprr has quit [Ping timeout: 246 seconds]
woprr has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
woprr has quit [Ping timeout: 246 seconds]
woprr has joined #linux-sunxi
woprr has quit [Ping timeout: 245 seconds]
printallthething has quit [Ping timeout: 245 seconds]
printallthething has joined #linux-sunxi
woprr has joined #linux-sunxi
woprr has quit [Ping timeout: 245 seconds]
woprr has joined #linux-sunxi
<woprr> ...
JohnDoe_71Rus has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
arokux1 has joined #linux-sunxi
kenny__ has joined #linux-sunxi
tomboy65 has quit [Ping timeout: 245 seconds]
JohnDoe_71Rus has quit [Ping timeout: 245 seconds]
arokux has quit [Ping timeout: 245 seconds]
kenny has quit [Ping timeout: 245 seconds]
tomboy65 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
[xeros] is now known as xeros
Taduro has quit [Ping timeout: 246 seconds]
prasannapete has joined #linux-sunxi
eagles0513875 has quit [Remote host closed the connection]
selfbg has joined #linux-sunxi
<selfbg> How can I make my A10 to use external 32kHz crystal instead of internal? I'm setting bit0 from TMR_32KHZ_OSC_CTRL but I'm thinking that I'm missing something ?
wolfy has joined #linux-sunxi
Taduro_ has joined #linux-sunxi
BluesBoy has joined #linux-sunxi
Quarx has joined #linux-sunxi
n01 has joined #linux-sunxi
enrico_ has joined #linux-sunxi
_massi_ has joined #linux-sunxi
hramrach has quit [Ping timeout: 240 seconds]
hansg has joined #linux-sunxi
<wens> i get some high frequency noise when i use an SSD, but not when i use a normal 2.5" HDD
Xaros has quit [Ping timeout: 246 seconds]
<hansg> wens, on the cubietruck? I get the same, I'm pretty sure it is coming from the powersupply logic (ie the axp209) probably it is using an audiable switching frequency for one of the dcdc convertors, and the inductors are acting as a "loudspeaker"
<wens> i dont get the noise when i use a normal hard drive though. maybe the SSD draws more power?
<oliv3r> high pitched noise? me too
<speakman> morning folks!
<oliv3r> selfbg: that doesn't sound even near right?
<oliv3r> for what PLL do you want to use the external 32 kHz clock?
<speakman> Trying to build 1wire support on sunxi, but kernel build complains about undefined reference to 'axp_gpio_set_value' and a few others. Using sunxi-3.4 branch. Any ideas what's wrong?
<oliv3r> each PLL can take it as source i think
<speakman> this is the complete error: http://pastebin.com/8xFUuPe9
<oliv3r> speakman: that's AXP kinda unrelated to 1 wire?
<speakman> oliv3r: What's hcd0 then? USB?
selfbg has quit [Quit: Leaving]
<oliv3r> usb otg
<speakman> Ok. I just enabled APM according to http://linux-sunxi.org/Advanced_Power_Management
<speakman> Are there any alternatives but to disable USB OTG?
<wens> the two 32 kHz clocks feed into LOSC via a mux (the mux is controlled in a register in the timer module)
<speakman> And now it built perfectly :)
<wens> LOSC then feeds the mux for CPU , APB1, and other things
<oliv3r> i was thiking along the lines of CCM_CPU_CLK_SRC
<oliv3r> and the user manual says '32 kHz INTERNAL rc clock
<n01> oliv3r: I want start mainlining the axp20x driver. Anyone working on this already?
<oliv3r> selfbg where in http://linux-sunxi.org/A10/CCM does it come from?
<hansg> n01, maintain as in port to the upstream kernel and maintain it there ?
<oliv3r> n01: wingrime started it or looked at it, but it looked like a big undertaking :)
<n01> hansg: yes, that's the idea
<n01> oliv3r: yep, I know :)
<oliv3r> hansg: lol i can actually hear changes in frequencies in the highpitched noise
<oliv3r> like old harddisks do (but very high pitched)
<wens> oliv3r: ah, yes. A10 and A20 have slightly different clock trees :(
<oliv3r> hmm, ok then it may be possible
<oliv3r> :D
<oliv3r> the axp even makes noise when the battery is charging (and the device is 'off')
<hansg> n01, ok, note the sunxi driver for the axp209 is a mess, my advise would be to throw it away
<oliv3r> cb2 makes the same noise, just much much quieter
<hansg> Most users interested in running upstream kernels are doing so on development boards or topset boxes, so no batteries involved.
<oliv3r> without battery too i ment
<oliv3r> without sata, cb2, cb3
<hansg> So I would start with just supporting the powersupply parts and the power button without worrying about battery management which is the hard part I think
<oliv3r> the yall have high pitched noises in various levels if you keep your ear next to it
<hansg> n01, so I suggest you start with my written from scratch axp152 driver, and modify that to work with the axp209 + port it to device tree, see:
<speakman> Looks like APX didn't work very well after all. :/ http://pastebin.com/Acz9veuK
<wens> looks like on the A10, internal 32khz feeds cpu and apb1; losc feeds timer and keypad
<wens> on the A20, any module using 32khz will use losc
<n01> hansg: yeah, the idea is to use the mfd framework and irq domains
<wens> the wifi module on ct needs a 32khz clock from clk_out_a
<oliv3r> wens: ah ok so it is quite different
<n01> hansg: I'll look at your driver
<oliv3r> wens: so that needs to be properly setup too
<oliv3r> hansg: have you tried sata on a10 yet? :)
<hansg> n01, note my driver does not use mfd, if you want to go mfd (which probably is best) you can probably still recycle bits of it :)
<wens> i tried enabling power to wifi/bt. nothing on sdio.
<n01> hansg: I think to make it mainline-able I have to go with mfd
<hansg> oliv3r, no I'm trying to do $dayjob stuff atm, but all this sunxi stuff is so distracting (and much more fun)
<wens> bt seems to require firmware, but don't know where to get it or how to load it :(
<hansg> n01, yes
<oliv3r> hansg: tell redhat they should make you work on sunxi for a few weeks ;)
<oliv3r> wens: can't we extract it from windows driver/Allwinner driver?
<hansg> oliv3r, I wish :
<hansg> oliv3r, I wish :) even
<wens> oliv3r: i'm not sure it's the same blob as wifi
<oliv3r> i'll sprinkle some more printk's around ahci then and see why it barfs :)
<n01> hansg: I'll keep you posted :) thanks for the pointer
<oliv3r> wens: highly likly it's not, it seemed that there where 2 pieces of silicon under the tin
<wens> oliv3r: you peaked inside? :p
<oliv3r> wens: it seemed! i'm not sure :p
<oliv3r> since it's two different product numbers
<wens> i know. but BCM4329/4330 is actually a WiFi/BT/FM single chip solution
<oliv3r> hansg: problem for me right now is, my cubieboard1 has issues so it's possible it's completly broken on other bits too, so don't know if it's my board being broken or the driver
<oliv3r> wens: crap :p
<oliv3r> wens: no windows driver for the 4330? (assuming that'st he BT part number)
<oliv3r> wens: then again; make benn get it
<hansg> oliv3r, as I already said on the mail I should be able to give things a shot tonight
<oliv3r> hansg: that was last night! :p
<oliv3r> hansg: i haven't read my mail for today yet :)
<oliv3r> wens: have you sent an e-mail off to benn yet? I can do it too if you want
<hansg> Ah, well last night I mailed that fixing wens gigabit issue (hi wens!) took me the entire night, so you're issue got punted to tonight (as in today's evening)
<hansg> s/you're/your/
<wens> hansg: thanks :)
<oliv3r> hansg: sure ino prob, got $work today, and want to cleanup mainline driver today and really start the review process now, as it will be a long one i guess
<wens> anyone using ct with nfsroot please give gigabit speeds a try
<speakman> When unchecking the "SUNXI dual USB mode" [something] - will USB be fully disabled or just not being able to do both host and device?
<hansg> speakman, that looks like a fex file issue, note those warnings are harmless and can be ignored
<hansg> speakman, the above remark was a reply to: http://pastebin.com/Acz9veuK
Nyuutwo_ has joined #linux-sunxi
ojn_ has joined #linux-sunxi
<wens> oliv3r: i still have gmac rewrite on my hands, then maybe port sunxi-rfkill to mainline, to use it for controlling the gpios for wifi/bt
jukivil1 has joined #linux-sunxi
<oliv3r> wens: much todo :p
rah_ has joined #linux-sunxi
arete74_ has joined #linux-sunxi
atsampso1 has joined #linux-sunxi
ynezz_ has joined #linux-sunxi
<wens> oliv3r: and i wanted to look at usb otg
<wens> hmm.. high pitch noise when system halted, but not powered off.
<oliv3r> axp never really shuts down
<oliv3r> i think you can, but not via the button/shutdown command
<oliv3r> it tries to charge the battery or something
<oliv3r> even if its missing :p
<wens> hope it doesn't blow up...
<oliv3r> hansg: allwiner,driver =<1> won't work? we really need 3?
<speakman> hansg: thanks. I disabled the USB OTG and removed APX. I hope that will work too.
<hansg> oliv3r, <3> is what the fex file for the cubietruck uses
<oliv3r> ah
piscodig has joined #linux-sunxi
FDCX has quit [*.net *.split]
Nyuutwo has quit [*.net *.split]
rwmjones has quit [*.net *.split]
arete74 has quit [*.net *.split]
ojn has quit [*.net *.split]
atsampson has quit [*.net *.split]
ynezz has quit [*.net *.split]
rah has quit [*.net *.split]
jukivili has quit [*.net *.split]
discopig has quit [*.net *.split]
<hansg> oliv3r, also 3 is what is used by the sunxi sdc / mmc driver when doing 50 MHz DDR, so it seems reasonable we need this for a Gbit phy too.
ojn_ is now known as ojn
<speakman> hansg: Hm. Any idea what's the problem with the fex file? I still get some issues..
<oliv3r> hansg: fex file could in theory be still wrong, tsvestan once said, we want to have the lowest one that works
<hansg> speakman, what device are you using and can you post the fex file somewhere, also what are your issues other then the warnings ?
piscodig is now known as discopig
<speakman> hansg: I'm using OLinuXino A10s with Debian SD, no idea which fex is used for script.bin (it was delivered on the SD card). If it's nothing to worry about, that's enough for me. I do not use LCD on this device anyway.
<hansg> Best thing would be to grab: https://github.com/linux-sunxi/sunxi-boards/blob/master/sys_config/a10s/a10s-olinuxino-m.fex and run it through fex to bin, and use the result as script.bin
rwmjones has joined #linux-sunxi
<hansg> Or just ignore the warnings :)
<speakman> :D
<speakman> hansg: no more errors - thanks! :)
<speakman> By the way; anyone got 1-wire working on sunxi gpio?
popolon has joined #linux-sunxi
maz_ has quit [Ping timeout: 252 seconds]
<oliv3r> speakman: someone wrote a driver, so it should work
FDCX has joined #linux-sunxi
<oliv3r> speakman: someone on the sunxi ML
<speakman> oliv3r: yep, w1_sunxi driver does load, but w1_gpio won't. I thought w1_gpio was supposed to utilize w1_sunxi, but maybe I'm wrong. I've never used 1-wire on Linux and I don't have any 1-wire devices are atm. Maybe it's all working. ;)
<speakman> Hm. Maybe it's the other way around; w1_sunxi uses w1_gpio? But it's not loaded. Weird.
<oliv3r> i'm not sure, i think you only need w1_sunxi
<oliv3r> i wouldn't be supprised if w1_sunxi is a copy off
KBme has joined #linux-sunxi
<oliv3r> what i vaguely recall is that the w1_sunxi driver was a quick hack and was 'ok' for 3.4
<oliv3r> but your testing the strength of my very weak memory now
<speakman> Ok. What I'm doing right now is a quick hack, so that's far enough for me atm. :D
prasannapete has quit [Read error: No route to host]
prasannapete has joined #linux-sunxi
<oliv3r> hansg: i assume you want the CC that heads mainline aswell?
<wens> oliv3r: rfkill-gpio seems usable for wifi/bt gpios, but it doesn't support DT :(
deasy has joined #linux-sunxi
<oliv3r> that sucks big time
<oliv3r> so the whole dt framework needs to be integrated into rfkill-gpio then
FR^2 has joined #linux-sunxi
<oliv3r> shouldn't be a huge problem; but still some extra efford
<wens> seems like someone tried it. found a patch series from last year
<oliv3r> so just bang it into shape and resubmit!
panda84kde has joined #linux-sunxi
notmart has joined #linux-sunxi
notmart has joined #linux-sunxi
notmart has quit [Changing host]
<oliv3r> wens: looks lik emost of th ework is pretty much done
<oliv3r> minus ]
<oliv3r> so he says 'wrong' :p
<oliv3r> so appearantly shci has rfkill feature?
<wens> don't think so
<oliv3r> in any case, marc brings upa good point, for USB devices that have GPIO's
<oliv3r> i think ours have that too?
<oliv3r> or is it ilimited to power for vusb
<oliv3r> new connector for usb 3.1
<oliv3r> lets hope it'll be as slich as the lightening connector
<oliv3r> i do admit i like the design of the connector
<wens> in any case, i think its repurposing rfkill. rfkill should only turn off RF amps and stuff, not the whole controller
<oliv3r> yeah
<oliv3r> in the case of vusb , USB still works if you turn off vusb
<wens> the data lines still work, but the device controller doesn't get power from USB?
<wens> i think one of my laptops used a similar configuration with a hardware switch
kivutar has joined #linux-sunxi
<oliv3r> wens: it depends on the device really, but if it's not bus-powerd (i think was the term) it should still work
<oliv3r> so a mouse won't
deasy has quit [Ping timeout: 260 seconds]
deasy has joined #linux-sunxi
rah_ is now known as rah
kivutar has quit [Ping timeout: 248 seconds]
HeHoPMaJIeH has joined #linux-sunxi
<wens> oliv3r: in my case, throwing the switch made the device disappear
<oliv3r> ah then it actually disconnected it
ZetaNeta has joined #linux-sunxi
rz2k has joined #linux-sunxi
<hansg> <oliv3r> hansg: i assume you want the CC that heads mainline aswell? -> Yes please
<oliv3r> done :)
<oliv3r> i thought as much
AreaScout has joined #linux-sunxi
<oliv3r> mripard_: not sure wha the difference between method 0 and method 1 then is :) I did do the rename as suggested.
<slapin> hi, all!
<slapin> Please, I beg you, recommend some song about broken deadlines! Please!
<oliv3r> slapin: haha
<oliv3r> hey slapin
<oliv3r> did you break the deadline?
<oliv3r> bad boy!
<slapin> oliv3r: I broken, thousands, probably millions of deadlines! And I always come with excuse!
<oliv3r> slapin: hehe, then the deadlines are crap
<slapin> oliv3r: they are always crap if it is not you who set them for yourself, and even then most of them are crap, too
* slapin needs such song badly
<oliv3r> crap made a typo on rob herrings name! :(
Taduro_ has quit [Ping timeout: 252 seconds]
Taduro_ has joined #linux-sunxi
Quarx has quit []
Taduro_ has quit [Ping timeout: 252 seconds]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
eebrah has joined #linux-sunxi
BluesBoy- has joined #linux-sunxi
jinzo has joined #linux-sunxi
jinzo has joined #linux-sunxi
jinzo has quit [Changing host]
prasannapete has quit [Quit: prasannapete]
BluesBoy has quit [Ping timeout: 252 seconds]
BluesBoy- is now known as BluesBoy
rellla has joined #linux-sunxi
<wens> oliv3r: funny, i don't see sata mentioned anywhere in A10 manual
Vanfanel has joined #linux-sunxi
<speakman> How much differ the uSD solution found on many sunxi boards (as OLinuXino A20) against eMMC?
<Turl> speakman: uSD is replaceable and cheap
<Turl> wens: it's mentioned on a couple of places as "NC"
<speakman> Turl: uSD's can't handle stuff like TRIM/SECURE EREASE commands?
<oliv3r> wens: we don't have docs about it :)
<oliv3r> i don't think eMMC can either
<oliv3r> i thought eMMC is nothing special, ist just directly solderd onto the board
<oliv3r> e.g. uSD in a chip?
<slapin> Turl: btw, does EMAC on A10 completely poll-based and DMA-unfriendly?
<mripard_> oliv3r: my method 1 is exactly what Tejun is saying
<mripard_> => make ahci_platform generic enough so that all of this is not required.
wingrime has joined #linux-sunxi
<oliv3r> mripard_: i thought that was method 2
<oliv3r> :p
printallthething has quit [Quit: Leaving]
<oliv3r> we shoudl have named it betterI suppose :)
<mripard_> oliv3r: method 2 is "rewrite the whole thing"
<mripard_> method 1 is "rewrite the thing enough so that we don't need these glues"
<mripard_> like, for example, being able to fill http://lxr.free-electrons.com/source/drivers/ata/ahci_platform.c
<oliv3r> ah yes
<oliv3r> I guess starting with the least intrusive way and then see what needs to improve where would be more safe
<oliv3r> anyway, this first send was mostly to get some comments on how to best handle things, get the discussion started :)
hansg has quit [Remote host closed the connection]
hansg has joined #linux-sunxi
<oliv3r> mripard_: CC list is growing! :p
ganbold_ has joined #linux-sunxi
kivutar has joined #linux-sunxi
<oliv3r> http://www.phoronix.com/scan.php?page=news_item&px=MTUzNDY Valve Joins The Linux Foundation
<wens> Turl: maybe it's unfinished :(
<Turl> slapin: it has some dma support I think, at least on one way
<Turl> you can see it on 3.4
<Turl> wens: you mean the manual? I think it's just lazyness/lack of need
<Turl> wens: they didn't even advertise the SoC had sata at first
<oliv3r> or, they don't want us to know which IP they use
<wens> just saying they support AHCI would be generic enough to hide details, which is pretty much what it says in A20 manual :(
<oliv3r> 'generic enough' heh; but it's not entirly generic unfortunatly
<wens> oliv3r: i meant for advertising purposes
* wens cleaning up u-boot patches per hansg 's request
<torbenh3> wens: does GigE work now ?
<torbenh3> hansg claims, that allwinner,drive = <3>; is the fix.
<torbenh3> if i am not confused, then sunxi-3.4 is not using that.
<wens> torbenh3: it does, though i get hangups with nfsroot
<torbenh3> it was initing all the pinmux regs to 55555555555 ....
<wens> sunxi-3.4 would use fex to handle that. drive/pull are in fex
<wens> so no wonder allwinner gmac wouldn't work on its own
<torbenh3> ahhh... the driver contained code, to handle pinmux on ots own. but that was probably unused and broken. kk
<torbenh3> wens: are you setting PA14 to 0 ? its NC and i think i was lazy, and set em all to 5
<torbenh3> but havin gmac_rxerr lines connected to an NC pin, might yield shite.
<wens> i suppose if you don't select it, it's still left floating in the SoC?
<torbenh3> it wont float.
<torbenh3> the internal line behind the muxes will also have a pull up or down...
Taduro has joined #linux-sunxi
ynezz_ is now known as ynezz
<wens> i see
<wens> torbenh3: easy to fix :)
<torbenh3> wens: yeah. since you are pretty close now, maybe this is whats missing.
eagles0513875 has joined #linux-sunxi
<eagles0513875> hey guys
<eagles0513875> oliv3r: hey im still getting an issue here
<oliv3r> eagles0513875: what is your issue?
<eagles0513875> i wonder if i should remove any formatting on the microsd and let buildroot partition as necessary
<oliv3r> i don't use buildroot so no clue :
<oliv3r> eagles0513875: those are mmc errors/warnings, i don't know what could cause them :)
<eagles0513875> ok
<eagles0513875> what do you do to get a root system on your embedded device?
<plaes> oliv3r: in your second patch the AHCI_IDR define is not used
<oliv3r> plaes: i only copy pasted it from the original driver, i'm not sure if its wise to remove it, maybe AW forgot to use it ;)
<plaes> ok
<oliv3r> plaes: that said, IDR and RWCR use the same value, so it may be cruft left behind
<plaes> yup, that's how I spotted it
<oliv3r> but good spot :)
<plaes> also, the email you sent as reply misspells your own name? :)
<oliv3r> nah, i use oliver for short as people often get confused, but I really should use my proper name
<oliv3r> Officially it is double LLed
<plaes> hehe
<eagles0513875> olliver?
<eagles0513875> or there is an accient somewhere in that
<oliv3r> nope, that's how it's supposed to be
<oliv3r> but it looks stupid and people often get that wrong anyway
<plaes> in sunxi_ahci_init() - would it make sense to print some message when any of the clock setups fails
<oliv3r> but I really should starting my proper name, atleast patches ;)
<plaes> :)
<oliv3r> plaes: probably :p but as I see things going, it may change entirly anyway (hopefully)
<oliv3r> and get put under the ahci_platform umbrella
<plaes> ok
<eagles0513875> oliv3r: think i have isolated the issue i think
<oliv3r> eagles0513875: great!
<eagles0513875> its something with it booting off the memory card
<eagles0513875> im going ot try a newer revision of the kernel
<oliv3r> build head myselfsome so lets see
<eagles0513875> oliv3r: how can i specify to always pull head in buildroot is what i would love to know
<oliv3r> never used buildroot; so no clue
<eagles0513875> its ok im just curiosu is all but im not sure if it is possible
<eagles0513875> but it seems like though the channel is dead sadly :(
<oliv3r> eagles0513875: i get the same errors
<eagles0513875> mmc errors?
<eagles0513875> O_o
<oliv3r> yep
<eagles0513875> ok nice to know its not only me
<oliv3r> but i boot to a builtrood initramfs :p
<oliv3r> so no root
<oliv3r> my SD card is IDed normally
<oliv3r> so i'd ignore it for now
<eagles0513875> :-/
<eagles0513875> ok
<oliv3r> i may be just cruft spewing
<oliv3r> [ 5.516395] mmcblk0: mmc0:d110 SD512 488 MiB
<eagles0513875> thing is its not booting any further it powers of the sdcard and i get no other output
<oliv3r> see, it's detected fine
<eagles0513875> yes i do see
<oliv3r> cna't mount it, but i may not have fat in my kernel
<hansg> oliv3r, working on sata on sun4i now, "good" news: it fails for me to. Interesting note, it seems were not setting up clock register 1c200c8 at all, which is the sata mod clock register. I've added a hack to set this up, but it does not help
<eagles0513875> oliv3r: :-/ ok
<oliv3r> Turl: ^
<eagles0513875> i recloned buildroot
<eagles0513875> goign to need to update the sunxi stuff to the latest revision again :(
<eagles0513875> sigh
<oliv3r> hansg: i thought initially that sun4i and sun7i are identical driver wise, I didn't spot any differences so far
<oliv3r> hansg: you home allready?!
<oliv3r> hansg: well atleast my board isn't broken then
<hansg> oliv3r, I'm always home (i work from my home). and I've hit a roadblock with $dayjob (waiting on input from colleges on that), so ...
<eagles0513875> wait if oliv3r i leave all the defaults that are generated with make cubieboard2_defconfig i should have something which works no?
<oliv3r> hansg: ah, ok; i don't know if I could manage working from home
<oliv3r> to many distractions etc
<oliv3r> eagles0513875: possibly
<eagles0513875> ill see soon
<oliv3r> eagles0513875: oh i do have fat enabled, but can't mount it?
<oliv3r> oh no dev entry
<eagles0513875> O_o
<eagles0513875> wait what
<eagles0513875> ya lost me oliv3r
<eagles0513875> oliv3r: i wonder if i could tell my laptop to boot off the memory card lol
<eagles0513875> but it probably wont work for my laptop as its setup for the cubieboard2 hardware lol
<eagles0513875> but that would be a very interesting way to test for sure
<oliv3r> eagles0513875: if your laptop is 'arm' and runs an allwinner soc, sure
<eagles0513875> no it doesnt
<eagles0513875> its intel based
<oliv3r> won't work :)
<eagles0513875> a rather nice monster though
<eagles0513875> i know shame there are no emulators or something of the sort
<oliv3r> arm emulators exist, allwinner emulator, not yet
<eagles0513875> ok
<eagles0513875> man if this project really takes off i think i would consider getting an IP license and developing my own hardware
<eagles0513875> oliv3r: the kernels usually used are upstream kernel.org kernels correct
<plaes> eagles0513875: nope
<eagles0513875> ok
<eagles0513875> then special sunxi kernels
<eagles0513875> forked from upstream
<plaes> allwinner provides their own SDK which is based on kernel-3.4
<eagles0513875> ahh ok that could be why it wasnt working
<eagles0513875> in build root i bumped it to the 3.12 kernel
<oliv3r> eagles0513875: sunxi-3.4 isn't; well it's upstream 3.4 with sunxi patches ontop
<eagles0513875> so i cant use anything newer then 3.4
<oliv3r> plaes: but only very recently, it was 3.0 and 3.3 for ages
<oliv3r> eagles0513875: not really; there's an experimenal 3.10 that has only very limited number of drivers
<eagles0513875> got it
* plaes started looking into sunxi recently :)
<eagles0513875> :)
<oliv3r> plaes: i notice :p what are your interests?
<eagles0513875> i really would like to eventually get on the bandwagon and help out with this project :)
<eagles0513875> but for now i really need to get my business off the ground.
<plaes> oliv3r: I got a Gemei G9 tablet from a friend..
<eagles0513875> time for me to dress and get ready to head to a course hopefully i can try this out soon before i go
<oliv3r> eagles0513875: :)
<oliv3r> plaes: ah yeah tablets make it all start :)
<plaes> so I first wanted to see whether it's possible to start playing with lima, but libv sent me here :)
<oliv3r> plaes: ah, yeah lima is very experimental; it's not ready for 'users'
<eagles0513875> out of curiosity if i have an old htc how can i put lets say a custom os on it besides android?
<plaes> so I documented the tablet, added external uart and booted self-built sunxi-3.4 kernel from sdcard
<eagles0513875> humm :)
<eagles0513875> plaes: how do you compile all this stuff for the device?
<eagles0513875> im using buildroot on this project but would like to potentially do something with my old phone
<plaes> I just built kernel and used rootfs from linaro
<oliv3r> gah, wills wang 3.4 patches don't seem to work either
<oliv3r> oh maybe gpio bug thing
<eagles0513875> anyway im going to have to stop my build from now
<eagles0513875> and try again tomorrow
eagles0513875_ has joined #linux-sunxi
<eagles0513875> will keep you guys posted
<eagles0513875> hey my znc is bk
<eagles0513875> haha
<oliv3r> eagles0513875: good luck!
<eagles0513875> thanks
<eagles0513875> viva php course lol
<eagles0513875> last day
<plaes> I would like to move the "WIP and left to be done stuff" to the top of the page of the
eagles0513875 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<plaes> ...of the Linux_mainlining_effort wiki page
<oliv3r> depends on how you interpret it
<plaes> otherwise you have to scroll to the bottom :S
<oliv3r> if you look at 'what can I do' then yeah ,if you want to know at 'what has been done' you care less?
wolfy has quit [Quit: Paradoxul homosexualilor este ca, desi nu reusesc sa se reproduca, sunt in fiecare an din ce in ce mai multi. (Tristan Bernard)]
<plaes> you usually want the latest news first.. don't you? :)
<plaes> btw, can I move the MMC driver to "WIP -> major drivers"?
<plaes> I read that hans got it working
deasy has quit [Remote host closed the connection]
<hansg> oliv3r, I've working sata on sun4i, the fix is ridiculously easy, the interrupts field in the dtb is wrong, for sun4i there is only cell in an interrupt specification, not 3, sigh. IOW this:
<hansg> --- a/arch/arm/boot/dts/sun4i-a10.dtsi
<hansg> +++ b/arch/arm/boot/dts/sun4i-a10.dtsi
<hansg> sata: ahci@01c18000 {
<hansg> compatible = "allwinner,sun4i-a10-ahci";
<hansg> @@ -309,7 +309,7 @@
<hansg> reg = <0x01c18000 0x1000>;
<hansg> - interrupts = <0 56 1>;
<hansg> + interrupts = <56>;
<hansg> clocks = <&ahb_gates 25>, <&pll6 0>;
<hansg> clock-names = "ahb_sata", "pll6_sata";
<hansg> status = "disabled";
<hansg> Fixes it
HeHoPMaJIeH has quit [Remote host closed the connection]
BluesBoy has quit [Quit: I love my HydraIRC -> http://www.hydrairc.com <-]
<hansg> oliv3r, btw when I say ridiculously easy I don't mean that in a bad way towards you, it is something easy to miss, it took me long enough to figure out ...
ZetaNeta has quit [Ping timeout: 246 seconds]
<eagles0513875_> hey guys im back again
<eagles0513875_> oliv3r: :)
<eagles0513875_> hi all how easy is it to contribute to the project in terms of development?
<n01> eagles0513875_: you cannot use the recipes you have in buildroot with the mainline kernel
pfdm has joined #linux-sunxi
<eagles0513875_> understood
eagles0513875_ has quit [Changing host]
eagles0513875_ has joined #linux-sunxi
eagles0513875_ has quit [Changing host]
eagles0513875_ has joined #linux-sunxi
rellla has quit [Quit: Nettalk6 - www.ntalk.de]
eagles0513875_ is now known as eagles0513875
<eagles0513875> if i werent going to use buildroot how would one go setting up an embedded system
<n01> btw, I wrote the buildroot recipe for cb1 and I used it several times, so I guess you are doing something wrong if it doesn't work for you.
<eagles0513875> i know what i did wrong n01
<eagles0513875> i wasnt aware that i have to stick with the default recipe for the cb2
<n01> eagles0513875: buildroot is just a tool to make things easier. You can do everything step by step
<eagles0513875> with the 3.4 kernel i bumped it up in menuconfig to use 3.12 kernel
<eagles0513875> n01: is there any documentation on how to do it step by step?
<torbenh3> n01: that describes sunxi-3.4 ...
<torbenh3> it seems that eagles0513875 wants mainline, although i fail to understand, what he wants with that....
<eagles0513875> i dont need mainline tbh
<n01> eagles0513875: stick with 3.4
<eagles0513875> i thought the work that sunxi did was all done in the mainline linux kernel
<WarheadsSE> anyone: state of A31
<eagles0513875> ok
<eagles0513875> how come the sunxi project doesnt get the changes they do merged into the mainstream kernel
<wens> eagles0513875: they are slowly being merged
<torbenh3> because the stuff in sunxi-3.4 is so offensive, i refuse to boot it :S
<torbenh3> it needs a lot of work still.
<torbenh3> but this work seems to be going good these weeks.
hansg has quit [Ping timeout: 245 seconds]
<eagles0513875> wens: ahh ok :)
<eagles0513875> is it easy to contribute to the project?
<wens> basic things (usb sata ethernet mmc) are in working shape, but not mainline quality
<eagles0513875> what knowledge does one need to have besides probably C programming
<eagles0513875> that explains the mmc errors i was getting with mainline
<torbenh3> there is no mmc driver in mainline
rodrigo_ has joined #linux-sunxi
<eagles0513875> it powered on my microsd card then did some thigns and output errors to serial then shut off the card
<rodrigo_> Hi my friends, i am new here, but i would like to help you develop mele a1000g for linux
<torbenh3> knowledge in kernel programming.
<rodrigo_> what can i do to help»?
<WarheadsSE> He is looking for A31 support @ kernel
<rodrigo_> Yes
<wens> torbenh3: hansg got mmc working :)
<torbenh3> wens: i know that. but that doesnt mean, its mainline :)
<n01> eagles0513875: probably that was android on nand
<torbenh3> actually, since merge window closed, before he got it working, its NOT in mainline :)
<swabbles> rodrigo_: http://linux-sunxi.org/A31
<torbenh3> n01: or hansgs kernel....
<rodrigo_> yes
<eagles0513875> n01: ya the board came with droid out of the box
<rodrigo_> swabbles, i've read already, it says not support. But can i help? I have a device with this.
<eagles0513875> i too would like to somehow contribute i have an A20 on my cubieboard 2
<rodrigo_> How do you get kernel support for linux on these boxes? Kernel programming? I'm really a newbie, but i can learn anything and help.
<swabbles> rodrigo_: basically, you can try to get the sunxi-3.4 kernel to work using an existing code base (e.g. Android).
<swabbles> It's also a good idea to send an e-mail to the sunxi mailing list.
<rodrigo_> What is the email?
<swabbles> eagles0513875: if you have some know-how as for kernel programming, it might be a good idea to join the mainline effort.
sspiff has quit [Quit: Konversation terminated!]
<eagles0513875> swabbles: sadly no kernel know how
<eagles0513875> but i would love to learn
<eagles0513875> and i will sign up for the mailing list though
<rodrigo_> yea me too
Taduro has quit [Read error: Connection reset by peer]
shineworld has joined #linux-sunxi
Taduro_ has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
rodrigo_ has quit [Quit: Page closed]
kenny__ is now known as kenny
FR^2 has quit [Remote host closed the connection]
Vanfanel has quit [Quit: Lost terminal]
<[7]> hm, allwinner's 4.2.2 sdk isn't 4.2.2. probably forked from some slightly newer git master...
<[7]> and they didn't contain their mess inside the device tree
<[7]> no, they messed with stagefright and its libs as well, directly in their source code
<eagles0513875> [7]: that a good thing or not
<KBme> usually not
<KBme> except if they fix things, which I strongly doubt they did
<oliv3r> hansg omg that is rediclously easy!
adb has joined #linux-sunxi
<[7]> I'll try to get a bit closer to mainline android, and get rid of all dependencies on cedar/libve
n01 has quit [Ping timeout: 252 seconds]
<[7]> I really don't need that memory hog on a platform that won't do video decoding anyway
kivutar has quit [Remote host closed the connection]
kivutar has joined #linux-sunxi
<oliv3r> can't belive i overlooked that :S makes me feel dumb :(
rz2k has quit []
Fusing has joined #linux-sunxi
<[7]> well, easy things get overlooked most easily :)
eebrah has quit [Ping timeout: 252 seconds]
pfdm has quit [Ping timeout: 250 seconds]
FR^2 has joined #linux-sunxi
_massi_ has quit [Remote host closed the connection]
eebrah has joined #linux-sunxi
hansg has joined #linux-sunxi
hansg has quit [Client Quit]
<KBme> true dat …
xeros has quit [Quit: xeros]
xeros has joined #linux-sunxi
panda84kde has quit [Ping timeout: 252 seconds]
n01 has joined #linux-sunxi
n01_ has joined #linux-sunxi
n01 has quit [Disconnected by services]
n01_ is now known as n01
n01_ has joined #linux-sunxi
Fusing has quit [Ping timeout: 246 seconds]
shineworld has quit []
eebrah has quit [Ping timeout: 260 seconds]
eebrah has joined #linux-sunxi
notmart has quit [Quit: notmart terminated!]
<mnemoc> rm: do you want to take maintainship of packages,linux-sunxi.org/debian ?
<rm> no
<rm> if I knew how to build these things, I wouldn't ask someone to do that :)
<mnemoc> libv built the ubuntu ones, you can probably use his work and just recompile on your machine
<libv> mnemoc: if it is decided that the debian "repository" is orphaned, then it'll be easy for me to also do that one
<libv> all the real porting and packaging work has been done already, and i know how to set up and maintain that repo tool
<mnemoc> hereby I declare the debian apt repo orphan
<mnemoc> let me change the permissions
<libv> ok, can you get me symlink like you did for ubuntu?
<mnemoc> sure
<libv> ok, give me a few days though, i am busy poking with something else
<mnemoc> done
kivutar has quit [Ping timeout: 264 seconds]
deasy has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
Fusing has joined #linux-sunxi
ZetaNeta has joined #linux-sunxi
kivutar has joined #linux-sunxi
Taduro_ has quit [Ping timeout: 246 seconds]
<plaes> \o/ my first self-built kernel ran :D
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
* plaes tries mmc stuff
n01 has quit [Read error: Connection reset by peer]
n01_ has quit [Read error: Connection reset by peer]
n01 has joined #linux-sunxi
n01_ has joined #linux-sunxi
shineworld has joined #linux-sunxi
shineworld has quit [Read error: Connection reset by peer]
n01 has quit [Disconnected by services]
n01_ is now known as n01
ZetaNeta has quit [Read error: Connection reset by peer]
mripard_ has quit [Read error: Operation timed out]
mripard has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
<Turl> libv: mali 450mp6 vs sgx544mp2
<plaes> does sunxi stuff support CONFIG_EARLY_PRINTK ?
Md has joined #linux-sunxi
<mnemoc> sure
<[7]> hm, does someone have a clue how this resistive touch panel controller works?
<mnemoc> iirc the driver is called sun4i-ts
<[7]> it's registering a release like a drag into the top left corner like 1 of 3 times
<[7]> and all the filtering etc. for that seems to be done in hardware from what I can tell from that driver source
<plaes> o/ finally found it
<[7]> i.e. most fex configurables are passed straight into some registers and thus aren't documented anywhere... or are there docs for the controller's registers?
<mnemoc> if it's not in the user manuals, nope. so you'll have to document it in the wiki based on the source of the driver and experimentation
<[7]> :/
<mnemoc> most of what's on the wiki comes from analysing the sources and REing...
<mnemoc> so, join the allwinner-support party
kivutar has quit [Quit: Ex-Chat]
<Turl> wonder why they focus on the pi so much though
<mnemoc> because there are A LOT of those crapboards out there
<plaes> mhm.. it has momentum
* mnemoc wonders how the lime is doint
<mnemoc> doing*
<eagles0513875> hey guys
<eagles0513875> :(
Gerwin_J has joined #linux-sunxi
<plaes> \o/
<plaes> mmc is recognized on sun4i
<libv> mnemoc: thanks
AreaScout has quit []
<libv> hdmipi is a prototype?
<libv> it looks like just some off-the-shelf lvds controller
<mnemoc> libv: thanks YOU for adopting it
<mnemoc> but it tells "pi"
<libv> man, so many idiots try to sell standard chinese crap
<techn_> anyone know what's problem here? http://pastebin.com/JJBBH5zU
<libv> and so many idiot buyers
<WarheadsSE> libv: yes. so many idiots.
<libv> i hope lkcls venture goes some way to what those idiots just threw at this fully standard chinese
<libv> since it is not kickstart and doesn't claim to be the rpi, i fear it doesn't though
<mnemoc> you mean the improv board?
<libv> right, the improv
<libv> i wish it well, but i fear for it
<mnemoc> 75E... and only 1GB of RAM...
<mnemoc> but I ordered one
<libv> :)
<plaes> anyone familiar with ubuntu?
<plaes> init: ureadahead main process (30) terminated with status 5
<libv> plaes: yes, it does that :p
<libv> plaes: missing device for it?
<plaes> no idea
<plaes> trying to boot from mmc
<libv> plaes: as when i do not build in disp/lcd getty on tty0 and tty1 dies the same way
<plaes> ah
<plaes> on normal distros there's /etc/inittab for that :)
<libv> :)
eebrah has quit [Ping timeout: 246 seconds]
<mnemoc> techn_: defective dram? :(
enrico_ has quit [Quit: Bye]
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
<[7]> or possibly misconfigured dram?
<[7]> something corrupted by the bootloader?
<[7]> overclocking/undervolting?
FR^2 has quit [Quit: und weg...]
parabyte has joined #linux-sunxi
<parabyte> oh wow i did not know this channel exist's
<parabyte> sweet
<parabyte> I installed Debian onto my a13's nand
<parabyte> been a real cool educational experience
<parabyte> but i am new to all this and wondered if anyone has any tips on how i can compile the zet6221 driver
<parabyte> i wrote my own kernel make file but i do not think it is for 3.4 series kernel
jinzo has quit [Quit: Leaving]
<zumbi> someone knows a EU shop with cubietruck in stock?
n01 has quit [Ping timeout: 250 seconds]
<KBme> parabyte, kernel makefile? are you sure it's not just the config you wrote?
ganbold_ has quit [Remote host closed the connection]
<Turl> probably others from http://cubieboard.org/buy/ too
<parabyte> have any more information KBme ?
<zumbi> Turl: "This product is currently not in stock" -- I found the same with all the ones I have looked at
<parabyte> i only have zet6221.c and .h
<parabyte> so i wrote a Makefile
<parabyte> told it to cross compile, told it to use arm hard float build tools
<parabyte> i could not get it to work :(
<parabyte> im only a user
<Turl> zumbi: you can buy from international shops too, shipping worldwide
<zumbi> Turl: which one?
<zumbi> it might take long time
<Turl> zumbi: seeedstudio for example
<parabyte> im going to write another make file and use wingrime source see if i can get it to play
<Turl> there is some more there too
<Turl> they have EMS/UPS/DHL if you need it quick
adb has quit [Ping timeout: 272 seconds]
<parabyte> oh i think i got it to build
<parabyte> just hand to fiddle around with a few include's
<zumbi> Turl: cool, thanks, I found some at dfrobot
<parabyte> what on earth is ctp_platform_ops.h
<parabyte> what does that header do?