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
akaizen has joined #linux-sunxi
petr has quit [Ping timeout: 240 seconds]
Montjoie has joined #linux-sunxi
bbrezillon has quit [Ping timeout: 272 seconds]
payne__ has quit [Ping timeout: 264 seconds]
maksimlin has joined #linux-sunxi
<Turl> froese: I haven't benchmarked it
<Turl> but it's nand, don't expect miracles
protoCall7 has joined #linux-sunxi
<froese> btw, the hynix H27UCG8T2A is known by the driver...
<froese> ok, but even my microsd-card is much faster
souther has joined #linux-sunxi
xavia has quit [Remote host closed the connection]
payne has joined #linux-sunxi
bonbons has quit [Quit: Leaving]
<Turl> froese: then you got a good SD card :)
ganbold has joined #linux-sunxi
<froese> nothing fancy - 16gig/class10 sandisk
<froese> i just noticed, commit e37d760b3 is still the last commit in the sunxi-3.4 branch. it's from may 5th. and only a handfull of commits this year. is the development on that branch dead?
protoCall7 has quit [Quit: protoCall7]
<Turl> froese: nah, that's the stable branch
<Turl> stage/sunxi-3.4 is where development happens
phh has quit [Ping timeout: 240 seconds]
<maksimlin> hi does anyone else have a A31 dev board ?? - the one I got ("hummingbird") looks like it has 12V but I cant see how to tell if the center pin is 12v or Gnd ?
<Turl> maksimlin: no little drawing with + and - on it around?
<maksimlin> Turl: unfort not that I can see, nor on what passed for the docs pamphlet that came in the box
<maksimlin> Turl: I probably should take some photos to put on the wiki as I don't see any page for it there yet...
<Turl> maksimlin: that's a great idea :)
<Turl> maksimlin: I think mnemoc received one the other day, maybe you can ask him
<maksimlin> Turl: actually I just searched badly, it is there already: http://linux-sunxi.org/Hummingbird_A31
<maksimlin> Turl: thanks for the tip! I'll try to catch him
<Turl> wens edited it hm, maybe he has one as well
<maksimlin> I'm hoping to use the board to help work on getting spl working on the a31
<froese> just measure the contacts against ground.
<maksimlin> wens: or mnemoc if you have a A31 hummingbird, would you be able to tell me if the 12V pwr adapeter I need to get should have the center pin 12v or Gnd ?
<froese> .oO(did i ever see a device that has center-ground???)
<froese> maksimlin: do you have a multimeter?
<maksimlin> froese: well yes I'd guess + on center too, but I'd rather not risk finding out they didn't put a zener diode on the input socket :-)
<maksimlin> froese: I do (though not with me atm)
<maksimlin> froese: I've been a long time away from electronics/hardware - is there an easy trick to try?
<froese> just measure the resistance from the pin to ground...
<froese> if it's 0 that is the ground pin *g* (or use the buzzer/diode-tester)
<maksimlin> froese: doh! of course, it sounds obvious when you say it! :-)
<froese> usually you can see it on the pcb, which of the pins goes to the ground plane.
<froese> turl: doesn't look like there's much more on the stage/sunxi-3.4 branch... but still checking...
discopig has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<froese> btw, i managed to crash the kernel when using the led-trigger iptables module.
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
<froese> right, stage/sunxi-3.4 has only the 3.4.91-merge and a single patch more than sunxi-3.4.
xavia has joined #linux-sunxi
<wens> maksimlin: center pin is 12v
<maksimlin> wens: brill thanks! of to buy my adapter at lunchtime then
<maksimlin> wens: do you know if anyone except Hans is working on getting spl boot working on A31 ?
<maksimlin> I asked on the maillist thread but no one answered so far: https://groups.google.com/forum/#!searchin/linux-sunxi/A31$20spl/linux-sunxi/MQKxPOxTnpo/jYDDP7-6CNYJ
<wens> iirc Hans is not working on it
<maksimlin> wens: ok thanks so I guess that means no one is continuing what he mentioned in that post ?
<wens> someone might have mentioned looking into sun6i dram code
<wens> i forgot who though
<maksimlin> ok thanks, I just wanted to not be repeating work others had already done - guess I've got it all to myself :-)
<maksimlin> wens: my aim is to get a sdcard able to boot a custom u-boot build on A31 tablets
<maksimlin> since it seems boot0/1 have not been released publicly for A31, I'm thinking I need to get the spl working to do this
<wens> fwiw, allwinner's code is out there, just need to make sense of it
<wens> mripard has a sdcard image that load's our u-boot as second stage, you could try that
protoCall7 has joined #linux-sunxi
protoCall7 has quit [Client Quit]
<froese> regarding u-boot: is there a technical reason why i couldn't load a stripped down kernel instead of u-boot?
ccube has quit [Remote host closed the connection]
<froese> and then kexec the real final kernel.
<froese> as i understand it, the boot rom can only load a small binary into sram (the spl) which in turn initialises sdram and loads the next bigger stage (u-boot).
<wens> correct
ccube has joined #linux-sunxi
<froese> so, the spl could load a stripped down kernel with internal initramfs which performs what u-boot does (loading final stuff from various devices)
CaptHindsight has quit [Quit: gone]
<froese> ?
<wens> i suppose so
<froese> hmmm... so why is everyone so hooked up with u-boot? requires a 2nd set of drivers, filesystems, network stack etc. that's all present in the regular kernel. should be much simpler to write the loader/menu/etc stuff as a userspace app in an initramfs.
<froese> am i missing something crucial?
<froese> (ok, u-boot is only ~256kb, kernel plus initramfs would probably be around 1-1.5mb)
<maksimlin> froese: maybe u-boot is what everyone is used to using and it can be booted by other prev stage bootloaders
<maksimlin> froese: u-boot also has handy builtin shell env...
<froese> does the bootloader care wether it loads a u-boot binary or a kernel that acts like an u-boot?
<maksimlin> froese: but I dont see any reason why the kernel couldnt be booted direct from the spl
<froese> and shell-env is trivial
<maksimlin> froese: I'm a rank beginner in this - but I wouldnt think so
<maksimlin> froese: yes, but then thats one more thing you need in the kernels initrd
<maksimlin> but hey I like the idea of booting straight into the kernel
<froese> sure. i image a bios-like app in the initramfs and that includes permanent settings.
<maksimlin> maybe others with more experience in this know why its not done
<froese> that direct kernel booting shouldn't be the final kernel. only one to provide the drivers, filesystems, networking, etc. the final kernel should be started via kexec.
<maksimlin> froese: for my part, I want to get u-boot working with spl on the A31 because I want to use the u-boot fork from allwinner that has fastboot implemented
<froese> what's the magic behind this fastboot anyway?
<maksimlin> and I want that in order to help people in Mozillas program with their prototype tablets (which are A31 based) that 'brick' them and then only have hardware button combo to get into FEL and nothing else, so atm the only choice is to use Phoenixsuite and a special boot-uboot--into-fastboot img provided by the vendor
<froese> i see
<froese> but these tablets have an sd-card slot?
<maksimlin> though this would be generally useful for anyone wanting to hack on all these new cheap A31 tabs that have shown up in the shops (at least here in Aus)
<maksimlin> froese: yes - sorry thats what I meant to say - boot custom u-boot from sdcard
<maksimlin> reading the diagram on the boot wiki page, I take it if you put a A31 into FEL, it will look for a something bootable in sdcard0
<froese> i have no experience with that but i got it exactly opposite - fel boots from usb and fel is entered when nothing bootable is found or a special button is pressed.
<maksimlin> froese: yes thats what the page says is the case for A10/20 but then at the bottom of the page is the ascii diagram that says the A31 is a bit diff in its boot order...'
<froese> so, boot order is sdcard0, nand, sdcard1, usb. and the first three are skipped if fel-ubtton is pressed.
<froese> oh, ok. which page?
<maksimlin> sorry this page: http://linux-sunxi.org/Boot#A31
<froese> thanks
<froese> oh, that chinglish page...
<maksimlin> so in that ascii art diagram, the way i read it is that its if (FEL && sdo-bootable) { bootsd0() }
<maksimlin> in whacky pseudo-C :-)
<maksimlin> or more like pseudo-JS
<maksimlin> froese: but that diagram seems clear enough except for the fact I dont know what it means for sd0 to be "bootable"
<froese> yeah, the diagram is ok.
<froese> i think it means, it finds an spl0 header on the sdcard.
<maksimlin> froese: spl has a special header? oh I didnt knwo that
<froese> did you try just putting a card for an a20 into such a tablet?
Gerwin_J has quit [Read error: Connection reset by peer]
Gerwin_J has joined #linux-sunxi
CaptHindsight has joined #linux-sunxi
Andy-D has quit [Ping timeout: 240 seconds]
<maksimlin> froese: no I didnt because I came across that thread on the mail list where Hans said he tried to get the spl working on a A31 and it didnt boot u-boot
<maksimlin> but hey its worth a try
<froese> but at least you should see whether it detects that there's a u-boot on the card.
<maksimlin> hah right ofcourse! yes makes good sense - I'll give it a go
<maksimlin> its pretty much lunchtime now so will go get the pwr adapter, I've at least got the usb-ttl cable with me
<froese> lunchtime? it's 5am here *g*
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
<wens> 11am here
Andy-D has joined #linux-sunxi
<maksimlin> froese: wow your up early! i'm in the antipodes so its 1308 here and middle of winter too :-)
akaizen has quit [Ping timeout: 272 seconds]
<froese> not early, late ;-) time for bed.
akaizen has joined #linux-sunxi
<froese> and we got no summer yet. only 12 degrees C :-(((
<maksimlin> froese: hah! yes fair enoug - I'm guessing if your somewhere in nordic or northern europe its already broad daylight though :-)
<froese> germany. sun is getting up now but street lights are still on.
<maksimlin> I've lived in helsinki while back - that 4am sun is hard !
<maksimlin> btw here in mid winter forecast temp today is 14C and everyone is complaining how cold it is...
<froese> at least it's going down. go a little bit further north and you have 24h sun.
<froese> lol
<maksimlin> :-)
<maksimlin> well I'm off to get food and the pwr adapter, will report back how I go with an A20 sdcard img
maksimlin has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140608211828]]
Gerwin_J has quit [Quit: Gerwin_J]
<froese> guten appetit
ccube has quit [Remote host closed the connection]
ccube has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
TheSeven has quit [Ping timeout: 260 seconds]
TheSeven has joined #linux-sunxi
smotocel69 has joined #linux-sunxi
<froese> ok, i'm heading to bed now. bye.
<smotocel69> ssvb data from reg LRADC_DATA0 without something in that pin is 63
froese has quit [Quit: heading to bed...]
akaizen_ has joined #linux-sunxi
akaizen has quit [Ping timeout: 264 seconds]
JohnDoe_71Rus has joined #linux-sunxi
petr has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
jacq has joined #linux-sunxi
<wens> mripard: how come sun5i-hstimer has a lower rating than sun4i-timer
petr has quit [Ping timeout: 264 seconds]
petr has joined #linux-sunxi
bbrezillon has joined #linux-sunxi
afaerber_ has joined #linux-sunxi
afaerber has quit [Ping timeout: 272 seconds]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
bbrezillon has quit [Ping timeout: 244 seconds]
JohnDoe_71Rus has joined #linux-sunxi
CaptHindsight has quit [Quit: gone]
CaptHindsight has joined #linux-sunxi
petr has quit [Ping timeout: 244 seconds]
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has quit [Changing host]
HeHoPMaJIeH has joined #linux-sunxi
petr has joined #linux-sunxi
nicksydney has joined #linux-sunxi
rgenoud has joined #linux-sunxi
dlan has quit [Ping timeout: 245 seconds]
dlan has joined #linux-sunxi
dlan has joined #linux-sunxi
dlan has quit [Changing host]
_massi has joined #linux-sunxi
diego_r has joined #linux-sunxi
dlan has quit [Ping timeout: 245 seconds]
dlan has joined #linux-sunxi
libcg has joined #linux-sunxi
<mripard> wens: because we don't want to use it by default
marcin_ has quit [Ping timeout: 252 seconds]
arend has joined #linux-sunxi
Turl has quit [Quit: >.<]
sehraf has joined #linux-sunxi
Turl has joined #linux-sunxi
<wens> seems there isn't a way to switch clockevents providers, so we can only use it for clocksource?
<mripard> there is, you can switch either through sysfs or kernel command line
bbrezillon has joined #linux-sunxi
marcin_ has joined #linux-sunxi
<wens> i found that for clocksource, but not clockevents, which i assume the kernel picks automatically
<wens> and with arch_timer, both sun4i-timer and sun5i-hstimer look unused anyway
arend has quit [Remote host closed the connection]
arend has joined #linux-sunxi
arend has quit [Remote host closed the connection]
arend has joined #linux-sunxi
FR^2 has joined #linux-sunxi
jacq has quit [Ping timeout: 240 seconds]
jacq has joined #linux-sunxi
<mripard> wens: yep, iirc, it will prefer to use the local timers
wickwire has joined #linux-sunxi
amitk has joined #linux-sunxi
<wens> btw, why don't we want to use hstimer by default?
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
konradoo77 has joined #linux-sunxi
notmart has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<mripard> wens: because the "normal" timer is good enough
<mripard> and the hstimer runs at a higher speed, which means that it draws more energy as well, while we don't really need it
<mripard> (plus, on the A31 at least, the hstimer is connected to the APB clocks, which might have its frequency change, which would break the timer)
<mripard> it's still unresolved at the moment, I have some patches to address this, but they're still not working properly
<wens> I won't bother with hstimer on A23 then
arokux2 has joined #linux-sunxi
<mripard> yep, at least not a first
<arokux2> does anybody know where in kernel config is "Power Enable Key"?
<mripard> was it merged?
<Black_Horseman> kalimera
<ccaione> mripard: not yet -.-
<ccaione> that patchset was really messy
<arokux2> ccaione: oh, hi. so is this PEK what is needed to get power button working?
<wens> arokux2: iirc it shouldn't matter
<wens> unless you want to use the power button for shutdown, like ACPI
<arokux2> ccaione: the last kernel message I see after "poweroff" is "reboot: System halted" and then I cannot use power key. I do not know if mele has some special power key....
<arokux2> but I have no idea where to go from here
<wens> the power off stub should be registered the minute you load the AXP20X mfd driver
<ccaione> wens is right. It shouldn't matter
<ccaione> the hook is registered in the axp driver, not in the input driver
<arokux2> ccaione: oh... axp isn't added to the mele's dts
<arokux2> it isn't actually added to the any of sunxi dts... hm..
bonbons has joined #linux-sunxi
<wens> the dt bits are missing
<arokux2> I cannot understand how was the driver tested then
<plaes> arokux2: on another boards
<wens> the series wasn't merged completely
<arokux2> as said, no board has bindings for axp in mainline
<arokux2> wens: you are right. this one had dts things
<arokux2> ccaione: ^^^ so I'd need to wait for v4, right? :)
nicksydney has quit [Remote host closed the connection]
nicksydney has joined #linux-sunxi
nicksydney has quit [Read error: Connection reset by peer]
nicksydney has joined #linux-sunxi
jacq has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<arokux2> ccaione: you patch series got trimmed down, v1 included dt bindings, the last one does not include. can you please clarify on this?
<ccaione> arokux2: I was supposed to submit the DTS but my life has been shaken up with not easy health issues so I need time
<arokux2> ccaione: oh, I'm sorry.
<ccaione> arokux2: follow the discussion in the thread it is all in there. atm what is missing is the DTS (my fault for not submitting it) and the input driver (not my fault)
<ccaione> arokux2: life sucks sometimes :)
<arokux2> ccaione: ok. do you have these code at github or so?
<ccaione> arokux2: the v6 is the full patches but the DTS
<ccaione> so all the drivers are in there, but I have to write the DTS pieces again
<ccaione> if you want and you have time do it, it is pretty easy if you see the DTS it the v{1-5}
<ccaione> s/it/in/
<arokux2> ccaione: hm.. i have a rough understanding of the dts, so I can try, but do not rely on me :) do you have the code at github?
<wens> if you want, I can push the last version of sunxi-devel to my github
<ccaione> arokux2: in my local repo at home. I'll push it to github
<arokux2> wens: you are maintaining it by yourself?
<wens> no, it's the last version hansg pushed
<arokux2> ccaione: i'd be great. thank you very much
<ccaione> yeah, probably in sunxi-devel there is v6 + DTS
<arokux2> wens: if hansg pushed it, why should you push?
<wens> arokux2: he removed his
<wens> i meant i'd push it to my github, if you need it
<arokux2> wens: ^ it is not the same?
<wens> nope
<arokux2> wens: .... what is the difference? linux-sunxi/sunxi-devel isn't up to date?
<wens> yeah, hansg updated his own repo more often
<mripard> and he won't update it anymore
<arokux2> wens: then why don't you just push to linux-sunxi/sunxi-devel?
<wens> i don't have push access to linux-sunxi
<arokux2> wens: but this is the right place for it, right..?
<wens> if no one's maintaining it, it only serves to confuse people
<arokux2> mripard: yeah, I've seen his e-mail, but I didn't thought he will delete his work..
<arokux2> wens: yeah, like me :)
<mripard> well, what's the point of keeping it?
<arokux2> mripard: it's not updated, right. but it has some stuff that isn't anywhere yet but on the lkml..
<arokux2> anyways, I know now much more about sunxi-devel and its fate
<mripard> arokux2: not much anymore
<mripard> that's why hans stopped it
<arokux2> ccaione: concerning this e-mail: http://article.gmane.org/gmane.comp.hardware.netbook.arm.sunxi/10897 maybe I'm wrong, but the other guy ment there is some code in the kernel already, for example config MFD_AXP20X. so that is why v6 needs to be rebased.
FDCX has quit [Ping timeout: 240 seconds]
paulk-aldrin has joined #linux-sunxi
arokux2 has quit [Remote host closed the connection]
astr has quit [Ping timeout: 240 seconds]
<ccaione> arokux: yes, there is already code in the kernel that's why I don't understand why do I have to rebase the whole pathset.
<ccaione> also, some code has already acked and still not mainlined (input driver) and I don't know why
kivutar has joined #linux-sunxi
<wens> rebase and pull out the patches that were merged?
FDCX has joined #linux-sunxi
<ccaione> wens: I need to see what has been merged and what hasn't
<ccaione> and I apologize for my sloppery, but there is something else on my mind right now
astr has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 272 seconds]
konradoo77 has joined #linux-sunxi
<wens> np
<wens> if you rebase the whole set, chances are git will tell you about empty commits you can drop
konradoo77 has quit [Ping timeout: 264 seconds]
juanfont has joined #linux-sunxi
paulk-aldrin has quit [Remote host closed the connection]
arokux has quit [Remote host closed the connection]
arokux has joined #linux-sunxi
paulk-aldrin has joined #linux-sunxi
kivutar has quit [Ping timeout: 244 seconds]
hipboi_ has quit [Read error: Connection timed out]
hipboi_ has joined #linux-sunxi
Quarx has joined #linux-sunxi
nedko has joined #linux-sunxi
nedko has joined #linux-sunxi
nedko has quit [Changing host]
nedko has quit [Client Quit]
nedko has joined #linux-sunxi
nedko has joined #linux-sunxi
nedko has quit [Changing host]
nedko has quit [Client Quit]
rz2k has joined #linux-sunxi
nedko has joined #linux-sunxi
<juanfont> hi. i'm trying to set usb_port_type of usbc0 on a A20 board to 1 (USB host) in the script.bin, in order to use a usb wifi adapter. It seems to work but it breaks usb hotplug. the kernel starts to output 'ehci_irq: port change detect'. Any idea?
<libv> a20 usb needs work.
arend has quit [Remote host closed the connection]
hipboi_ has quit [Read error: Connection timed out]
hipboi_ has joined #linux-sunxi
petr has quit [Ping timeout: 245 seconds]
afaerber_ is now known as afaerber
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Andy-D has quit [Ping timeout: 245 seconds]
Andy-D has joined #linux-sunxi
phh has joined #linux-sunxi
<TJvV> hello again
hipboi_ has quit [Read error: Connection timed out]
hipboi_ has joined #linux-sunxi
petr has joined #linux-sunxi
jebba has quit [Quit: Leaving.]
<arokux> TJvV: hi
xinj has joined #linux-sunxi
payne has quit [Ping timeout: 245 seconds]
nicksydney has quit [Remote host closed the connection]
hipboi_ has quit [Read error: Connection timed out]
hipboi_ has joined #linux-sunxi
avsm has joined #linux-sunxi
<TJvV> so far no real progress with the USB problems, just more confusion :(
<TJvV> got a different board with less custom made stuff attached to it; and so far it seems to be going okay...
<TJvV> in the first board, for a while, there was a shortcircuit on the GPIO-2 extension; think that might have affected the USB controllers?
petr has quit [Ping timeout: 272 seconds]
petr has joined #linux-sunxi
Quarx has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
jebba has joined #linux-sunxi
kivutar has joined #linux-sunxi
<arokux> hi oliv3r
<arokux> oliv3r: you were supposed to write a book about sunxi, are you working on it?
<libv> arokux: yes, he is
xinj has quit [Ping timeout: 244 seconds]
xinj has joined #linux-sunxi
<arokux> libv: I was studying fb a bit and found interesting feature in the kernel, framebuffer can be rotated :)
<arokux> echo 1 > /sys/class/graphics/fbcon/rotate
<libv> that's only in software
<libv> no hw support for that
<arokux> libv: i'm not thinking in these categories. this is for one time rotation perhaps. for example, you could decide to rotate your display. I cannot imagine other scenarios...
<libv> arokux: document it in the wiki
<arokux> libv: why? it is not sunxi specific and there is doc about it in Documentation/.../../fbcon.txt
issueat has joined #linux-sunxi
<oliv3r> yeah i am, we are close to getting to the ending
<oliv3r> gotta work through all the reviews next
<arokux> oliv3r: who is working with you?
<oliv3r> the publisher :)
<libv> arokux: still, it sounds like something some people would search our wiki for
hipboi_ has quit [Read error: Connection timed out]
hipboi_ has joined #linux-sunxi
<arokux> libv: alright, added here http://linux-sunxi.org/Display#Framebuffer_tips
<libv> thanks
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
afaerber has quit [Quit: Verlassend]
paulk-aldrin has quit [Remote host closed the connection]
paulk-aldrin has joined #linux-sunxi
lukas2511 has quit [Quit: leaving]
xinj has quit [Ping timeout: 244 seconds]
xinj has joined #linux-sunxi
xinj has quit [Remote host closed the connection]
xinj has joined #linux-sunxi
avsm has quit [Quit: Leaving.]
xinj has quit [Remote host closed the connection]
xinj has joined #linux-sunxi
lukas2511 has joined #linux-sunxi
afaerber has joined #linux-sunxi
arokux has quit [Remote host closed the connection]
arokux has joined #linux-sunxi
hipboi_ has quit [Read error: Connection timed out]
hipboi_ has joined #linux-sunxi
kivutar has quit [Ping timeout: 240 seconds]
xavia has quit [Remote host closed the connection]
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
HeHoPMaJIeH has quit [Remote host closed the connection]
ecelis has quit [Ping timeout: 272 seconds]
ecelis has joined #linux-sunxi
F1skr has joined #linux-sunxi
FR^2 has quit [Quit: Connection reset by peer]
Netlynx has joined #linux-sunxi
Netlynx has quit [Changing host]
Netlynx has joined #linux-sunxi
hipboi_ has quit [Read error: Connection timed out]
hipboi_ has joined #linux-sunxi
petr has quit [Ping timeout: 244 seconds]
petr has joined #linux-sunxi
libcg has quit [Ping timeout: 255 seconds]
<lioka> ok, mainline uses mv64xxx for i2c, why not throw away i2c-sunxi.c from 3.4 and use it too ? required changes seem tot that big
<lioka> not*
<arokux> lioka: only bug fixing happens in 3.4, why should one care about it more?
<lioka> arokux: well, i'm currently under impression that i2c-sunxi.c IS big fat bug with no hope to be fixed
<arokux> oh :)
* lioka trying to get gslx680 working
deasy has joined #linux-sunxi
<plaes> lioka: did you see this: http://linux-sunxi.org/GSL1680 ?
<lioka> plaes: sure
<lioka> and recent thread in linux-sunxi@ too
<plaes> could you pressure Joe that he would submit merge request against 3.4?
<lioka> plaes: you mean with d/i/t/gslx680_ts.c and friends ?
<plaes> yes
<plaes> because it looks ready enough for 3.4
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<lioka> as stated by someone in that thread, in 3.4 it doesn't work reliably, vs 3.0.x
<lioka> i'm stuck with same 'incomplete xfer's
<lioka> and i see same symptoms with userspace driver
xinj has quit [Ping timeout: 244 seconds]
xavia has joined #linux-sunxi
bbrezillon has quit [Ping timeout: 245 seconds]
Quarx has joined #linux-sunxi
avsm has joined #linux-sunxi
avsm has quit [Quit: Leaving.]
bertrik has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
notmart has quit [Quit: notmart terminated!]
zeRez has joined #linux-sunxi
zeRez has quit [Client Quit]
<wens> google introduces android extension pack for mobile graphics
avsm has joined #linux-sunxi
<wens> yup I'm watching
alexvf has quit [Quit: Page closed]
_massi has quit [Quit: Leaving]
hipboi_ has quit [Read error: Connection timed out]
hipboi_ has joined #linux-sunxi
codyps has quit [Ping timeout: 264 seconds]
bbrezillon has joined #linux-sunxi
codyps has joined #linux-sunxi
codyps has quit [Ping timeout: 244 seconds]
Quarx has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
prahal has joined #linux-sunxi
prahal is now known as prahal_
Andy-D has quit [Ping timeout: 264 seconds]
leviathanch2 has joined #linux-sunxi
Andy-D has joined #linux-sunxi
wickwire has quit [Remote host closed the connection]
diego_r has quit [Ping timeout: 264 seconds]
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 264 seconds]
hipboi_ has quit [Read error: Connection timed out]
hipboi_ has joined #linux-sunxi
froese has joined #linux-sunxi
<froese> Turl: found the answer to my problem: http://www.cubieforums.com/index.php/topic,2539.0.html
<froese> but it's kind of strange that simply booting linux from sd-card destroys the nand...
<mripard> wigyori: 11
<mripard> oops
<mripard> wigyori: sorry
bbrezillon has quit [Ping timeout: 244 seconds]
amitk has quit [Quit: leaving]
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
<wigyori> np :)
leviathanch2 has quit [Ping timeout: 252 seconds]
bbrezillon has joined #linux-sunxi
bbrezillon has quit [Ping timeout: 240 seconds]
afaerber has quit [Quit: Verlassend]
<lioka> "allwinner have upgraded the nand driver (close source) to fix data corruption issue, but cause this new issue"
<lioka> oh my
bbrezillon has joined #linux-sunxi
<plaes> fun
<froese> not fun at all :-( why does the nand-driver writes to nand if you only read from it?
hipboi_ has quit [Read error: Connection timed out]
hipboi_ has joined #linux-sunxi
akaizen_ has quit [Remote host closed the connection]
<arokux> lioka: where is this from?
akaizen has joined #linux-sunxi
<lioka> arokux: cubie forum, froese's link above
akaizen has quit [Ping timeout: 252 seconds]
akaizen has joined #linux-sunxi
afaerber has joined #linux-sunxi
arokux2 has joined #linux-sunxi
Netlynx has quit [Quit: Leaving]
leviathanch2 has joined #linux-sunxi
arend has joined #linux-sunxi
arend has quit [Remote host closed the connection]
arend has joined #linux-sunxi
dlan has quit [Ping timeout: 245 seconds]
dlan has joined #linux-sunxi
arend has quit [Remote host closed the connection]
<libv> this libnand android breakage sounds like it should get fixed rather urgently
<froese> too late for "urgently". it's already known for over 6 weeks ;-)
<libv> yes, i vaguely remember someone complaining earlier
<froese> btw, it not only damages the partition table. here everything from 00000000-2fffffff is erased (to 0xff).
<libv> :(
<libv> on a20?
<arokux2> guys, I have a weird problem. it appeared after I configured autologin to serial console
<froese> yes, cubietruck.
<arokux2> without autologin it works
<libv> ok, in that case, we have a reliably testcase which can be easily reinstated
<libv> reliable even
<libv> froese: mail the ml, maybe some more people are listening there
<libv> i do not remember who was dealing with nand the most
<arokux2> do you have any idea what difference could be due to autologin vs manual login? :)
<froese> libv: i only read linux-sunxi via a ml-to-news-reflector without posting. groups.google.com won't work for me.
<libv> there's also the other ml which mirrors google
Andy-D has quit [Ping timeout: 240 seconds]
<arokux2> this one, right?
Andy-D has joined #linux-sunxi
<froese> yes
Guest28814 has quit [Excess Flood]
<froese> arokux2: you didn't tell what doesn't work...
fredy has joined #linux-sunxi
bfree has quit [Ping timeout: 244 seconds]
bfree has joined #linux-sunxi
<arokux2> froese: if autologin is set up, the package manager (pacman) will hang each time after I press Enter in reply to the confirmation prompt
<arokux2> froese: I've used strace. it is as if "read(0," isn't returning anything
<froese> hmm... tty not set up correctly? try "stty sane" for a start.
<froese> try ctrl-m or ctrl-j instead of the return key
<arokux2> froese: you are a genius. stty sane works
<arokux2> ctrl-j works too :)
<froese> you can compare the stty -a output of the working and non-working case. probably only the setting for the return-key wrong.
<arokux2> froese: where is ctrl-j coming from?
<froese> ctrl-j is \n
<froese> there are a couple of flags for that (icrnl etc)
<arokux2> froese: the difference is that working tty does NOT have "-" in front of brkint, echoctl and imaxbel
<arokux2> no idea what they mean, probably some features
<froese> btw, that reminds me of a problem in u-boot: the menu command only accepts one variant (don't remember either \n or \r). my terminal send the wrong one and i was unable to select an entry.
boycottg00gle has joined #linux-sunxi
<arokux2> froese: i'm past u-boot, kernel and systemd bloatware already...
<froese> arokux2: man stty ;-) isn't there a difference in one of icrnl inlcr or igncr?
<arokux2> froese: oh, in icrnl also!
<froese> the flags you pasted sound harmless.
<froese> icrnl - convert cr to nl
<arokux2> froese: thanks. you are smart :)
<froese> arokux2: yeah, me too. but i wanted a boot menu on the serial console to easily switch kernels.
<arokux2> froese: so the bash will understand carriage return and package manager will not, right?
<froese> right. probably most programs that don't turn on raw-mode will fail.
joedj has quit [Quit: uNF]
bbrezillon has quit [Ping timeout: 245 seconds]
<mripard> wigyori: 22
<mripard> damn
<mripard> twice today
<arokux2> froese: hm.. but the programs should/are actually deal(ing) transparently with stdin. how can they know they are working with tty...?
akaizen has quit [Remote host closed the connection]
<froese> well, on unix everyone expects \n as an EOL. so make sure that the tty generates \n for the return-key. as a lot of terminals produce \r, or \r\n there are these flags in the tty line discipline to convert \r to \n or ignore \r etc.
akaizen has joined #linux-sunxi
akaizen_ has joined #linux-sunxi
<arokux2> froese: yes, you are right. I'm now just trying to figure out where pacman (the program) should be blamed here. but it seems to me the thing that sets up the tty should be blamed
<froese> right. getty does a lot of tricks (by analyzing the few characters you type) to set up the tty correctly.
avsm has quit [Quit: Leaving.]
leviathanch2 has quit [Ping timeout: 240 seconds]
<froese> (getty is the program that sits on the tty, waiting for you username)
<arokux2> froese: in my case it is agetty
akaizen has quit [Ping timeout: 264 seconds]
buZz has quit [Ping timeout: 260 seconds]
<froese> yeah, there are a couple of variants
<froese> but they are doing the same...
hipboi_ has quit [Ping timeout: 240 seconds]
tm512 has joined #linux-sunxi
jebba has quit [Quit: Leaving.]
VargaD has quit [Ping timeout: 252 seconds]
<arokux2> froese: looks like agetty looks at the end string of the login name: https://github.com/karelzak/util-linux/blob/master/term-utils/agetty.c#L1781
<arokux2> if it ends with CR, then icrnl is enabled.
<froese> yeah, that's typical getty behaviour.
<arokux2> froese: during autologin there is not CR at the end...
VargaD has joined #linux-sunxi
Wizzup has joined #linux-sunxi
<froese> hmm... i don't know, how autologin is handled on your system. is getty even envolved?
FreezingCold has quit [Ping timeout: 244 seconds]
<arokux2> see serial console sectio
<froese> i start my autlogin script directly from init ...
<froese> ok systemd...
<froese> no need to look further ;-)
<arokux2> :)
<arokux2> froese: on desktop that option is enabled, although I have same autologin :D
<froese> i'm just wondering why poettering starts an external process (agetty) for such a simple task. should be build in!!!
<arokux2> froese: well.. for that he is supporting only agetty, at least he told it in one of the presentations
<froese> but iirc, agetty is not really usefull for real terminals and modems.
kivutar has joined #linux-sunxi
<froese> ok, i'm wrong - still a lot of modem handling in agetty.
bonbons has quit [Quit: Leaving]
boycottg00gle has quit [Remote host closed the connection]
FreezingCold has joined #linux-sunxi
<froese> hmm... the man-pages i see for agetty don't mention the --autologin feature. and gettydefs isn't supported either. so you probably have to set the tty by yourself in .profile or .bashrc or ...
<arokux2> froese: my manpage mentions --autologin
avsm has joined #linux-sunxi
joedj has joined #linux-sunxi
petr has quit [Ping timeout: 245 seconds]
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
<arokux2> froese: http://youtu.be/_2aa34Uzr3c starting from 16:52
rz2k has quit []
nicksydney has joined #linux-sunxi
<froese> hooo... what is he talking about when saying "that's what we are shipping by default?"
bertrik has quit [Remote host closed the connection]
<froese> probably not systemd as systemd should have nothing to do with terminal setup.
petr has joined #linux-sunxi
<arokux2> froese: take a look at the title. there he says systemd should be more, it should be core of the OS, etc
<froese> but even this small snippet shows the problem I have with poettering: he has no overview of the whole system. he sees only his own little world :-/
<libv> nah
<libv> 1000 jaehriges reich
<libv> he's already drawn up plans to annex poland^Wthe kernel
<arokux2> froese: well, he isn't building getty in. he is just testing everything works with agetty and lets you pick your own if you wish. at least in this case
<froese> heck, he ignores everything that doesn't fit into his view. just ask him, how orderly shutdown is handled...
<libv> arokux2: he said something similar about udev, that people would still be able to build it seperately
<libv> and then two months on...
<libv> "oops, sorry. i lied."
<arokux2> :)
rgenoud has quit [Ping timeout: 240 seconds]
<froese> empty /etc? he is more crazy then i thought...
<arokux2> froese: well, sane defaults is always good, no?
<froese> "the same image on desktop and server and everywhere" yeah. reminds me of windows where every server has a mouse.
<froese> arokux2: sure, but not reasonable.
<libv> arokux2: one size fits all, that's why we are using linux, right?
<froese> arokux2: but did you every install a package without customization?
<froese> s/every/ever/
<arokux2> you can override defaults, so if it will remain so then you could tailor it to your needs :p
<arokux2> ok, I do not want to defend poettering here... I also should say for a user like me life has got more difficult with systemd
<libv> arokux2: do you remember pulseaudio?
<froese> I completely agree with poettering that init and the rc-stuff needs a complete overhaul. it's just how he does it that is wrong.
<arokux2> libv: well... newest version of skype dropped support for ALSA and is supporting pulseaudio only, so yes, I'd need to remember it :(
<libv> how did that truly help us, and what did poettering do after he got bored with it?
<froese> oh yeah - never actually used it as whatever i did, it required me to install gnome
<arokux2> us? we just do not need its features :)
<arokux2> but there is one useful thing: per application volume control
<arokux2> this is something that I value, otherwise I know nothing else of it
<froese> arokux2: that is really nice, yeah. it even has more nice features. but the dependencies killed it completely for me.
<froese> arokux2: sane concept of mixing channels. seamless audio-path switching. etc.
kivutar has quit [Quit: Ex-Chat]
<froese> and the same happens with systemd. more and more linux-only features are required and it goes even as far, that you have to use the most recent version of the kernel to use systemd.
<arokux2> froese: and you have to have CONFIG_CGROUPS and CONFIG_FHANDLE enabled :p
<froese> and the worst - systemd gets bigger and more complex every day. and that's not a good property for an "init" process that should always work correctly, even if hell breaks loose.
<froese> arokux2: yeah - but that costs only 5% of cpu-time and memory :-/
astr has quit [Ping timeout: 264 seconds]
<froese> i have to stop that video - makes me mad :-)
<froese> aren't extended attributes required, too now?
paulk-aldrin has quit [Remote host closed the connection]
<arokux2> froese: no idea, but without CONFIG_CGROUPS nothing works, and without CONFIG_FHANDLE root partition will not get mounted.
<arokux2> those are my findings. I'm arch user and in the last days I test and catch bugs of recent mainline on sunxi hardware
<froese> the cgroups were there from start on, iirc.
<arokux2> yes
petr has quit [Ping timeout: 244 seconds]
<froese> the FHANDLE stuff should be new
<arokux2> libv: why don't you put your kms code public on github?
akaizen_ has quit [Remote host closed the connection]
<froese> kms for mainline?
akaizen has joined #linux-sunxi
<arokux2> froese: for sunxi-3.4, i think
<arokux2> froese: maybe it can be omitted somehow, I'm a noob. but with that root partition got mounted...
<arokux2> froese: I mean FHANDLE
<froese> i see.
<froese> i just hope that debian will keep init for a while...
<arokux2> froese: what desktop environment are you using? :)
astr has joined #linux-sunxi
<froese> on the cubietruck? none. headless router/home-server.
<arokux2> froese: no, on working pc/laptop
<froese> no desktop-env either. simple X with icewm.
akaizen has quit [Ping timeout: 244 seconds]
akaizen has joined #linux-sunxi
<froese> btw, the cubietruck runs nice - uptime: 20 days :-)
<arokux2> froese: sunxi-3.4?
<froese> yes
<froese> plus some minor tweaks.
<froese> on the todo-list is still wlan/ap - seems to be a little bit messy atm
<arokux2> I wasn't following developments last month, but I've seen these things work in mainline
<arokux2> froese: ct as router with usb2ethernet dongle?
<froese> does it? there seems to be two different drivers circulating, the cubietech one and the mainline.
<froese> arokux2: no, vlans
<froese> and 8-port vlan-switch, one uplink trunk port to the ct, the other 7 ports on 3 separate vlans.
ojn has quit [Ping timeout: 252 seconds]
<froese> so now i have a cubietruck with up to 7 ethernet interfaces ;-)
<arokux2> not bad.
<arokux2> froese: which vlan-switch would you recommend?
<froese> well, i was looking on the price. took a netgear, gs108e iirc.
<froese> right, gs108e.
maksimlin has joined #linux-sunxi
<froese> the windows config-tools is supposed to be garbage, but there are OS-tools for linux that work.
<arokux2> froese: so it is just a normal switch, I thought it should be somehow special because of the 'vlan-' prefix
ojn has joined #linux-sunxi
issueat has quit [Remote host closed the connection]
<froese> the e-modell is the vlan capable one.
<froese> s/ll/l/
<arokux2> froese: ah, ok. actually people here were speculating A20 SoC can support both EMAC and GMAC and so two native ethernet interfaces are possible, but no one implemented that in hardware yet
<froese> hmm... are the emac and gmac on different pins?
<froese> actually, the easiest way to get a lot of interfaces would be to plug one of the atheros switch chips on a board. so instead of one phy, one bridge chip with 4 or 8 builtin-phys.
<maksimlin> wens: I only had time for a quick go with the hummingbird last night - it seemed to boot into android off internal nand ok, but the uart output was a bit garbled - only about 1/2 the chars came out right, I was using 115200/N/8/1 - is that what you use?
<maksimlin> froese: and thanks for your advice too - I ran out of time yest to try an A20 sdcard img like you suggested, will try tonight
<froese> good luck :-)
avsm has quit [Quit: Leaving.]
<froese> maksimlin: if you try that with a sunxi-3.4 kernel don't forget to disable the nand for the sunxi kernel (see the link i posted some hours ago)
<maksimlin> froese: thanks! I'll go read the channel logs
F1skr has quit [Quit: WeeChat 0.4.3]
xavia has quit [Quit: Leaving.]
petr has joined #linux-sunxi
xinj has joined #linux-sunxi
<arokux2> good night
<froese> n8
<arokux2> libv: mnemoc are they allowed to copy our content...?