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
Nyuutwo has quit [Ping timeout: 246 seconds]
Nyuutwo has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
FDCX has quit [Ping timeout: 240 seconds]
naobsd has joined #linux-sunxi
FDCX has joined #linux-sunxi
Nyuutwo has quit [Ping timeout: 246 seconds]
Nyuutwo_ has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
xavia has joined #linux-sunxi
wingrime1 has joined #linux-sunxi
wingrime2 has joined #linux-sunxi
wingrime1 has quit [Read error: Connection reset by peer]
woprr has joined #linux-sunxi
wingrime has quit [Ping timeout: 250 seconds]
popolon has quit [Quit: Quitte]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
wingrime has joined #linux-sunxi
wingrime2 has quit [Read error: Connection reset by peer]
wingrime1 has joined #linux-sunxi
wingrime has quit [Read error: Connection reset by peer]
wingrime has joined #linux-sunxi
wingrime1 has quit [Read error: Connection reset by peer]
quitte has quit [Ping timeout: 255 seconds]
wingrime has quit [Read error: Connection reset by peer]
Nyuutwo_ has quit [Ping timeout: 246 seconds]
Nyuutwo has joined #linux-sunxi
<wens> libv: it's a bug in dnsmasq, i ran into it as well
ricardocrudo has quit [Remote host closed the connection]
nedko has quit [Quit: kernel panic]
akaizen has joined #linux-sunxi
wingrime has joined #linux-sunxi
<wingrime> Well first man with a80
akaizen has quit [Remote host closed the connection]
<libv> and there goes ath9k again :(
akaizen has joined #linux-sunxi
<Turl> libv, what client hw are you using, out of curiosity?
akaizen has quit [Ping timeout: 240 seconds]
<libv> various
<libv> which was fine with the wrt54gl
<libv> but that really is becoming very offtopic here :(
<libv> in as far as it ever was on topic
* Turl does not see much activity
<Turl> libv: now that I think of it, when I had most of the issues I was using wifi on an intel card
<Turl> but now I use a laptop with ath9k most of the time
<Turl> that may be why I0m not seeing it
<Turl> bcm chips on the phones seem to be alright
<libv> ath9k is on the openwrt side
<Turl> yeah, same. But this laptop also has ath9k inside(tm)
<libv> then it is probably because thisbuilding is quite noisy
<libv> plus, i use a pair of 2.4GHz wireless headphones which might add to that noise
<Turl> yeah, that could be it
<libv> wrt54gl was fine though
<Turl> consider moving to 5GHz :p
<Turl> I have one in service here :) but it's way way underpowered
<Turl> it can't even handle PPPoE dialing, it slows down to death
<libv> it was perfectly happy with an older openwrt and pppoe
<libv> perhaps that's another openwrt innovation :p
<Turl> libv: it has tomato I think now
libv has quit [Read error: Connection reset by peer]
<Turl> I also ran dd-wrt on it
<Turl> I had a hard time fitting openwrt and configuring it back in the day :p
libv has joined #linux-sunxi
<libv> that was me restarting wifi on the thing. amazingly.
<libv> this irssi is ethernet connected to the router, which then uses pppoe to the dsl modem
<libv> way to go openwrt
<Turl> libv: are you using "wifi up" to do so?
<libv> yes
<Turl> weird
<libv> i'd call it fundamentally broken.
<Turl> my wired net never bats an eye
<Turl> I use DHCP on the WAN port
<Turl> maybe I am just not noticing it
<Turl> it takes a bunch of seconds for the network stack on the desktop to figure out I unplugged the eth cable
<Turl> must be some systemd improvement
FreezingCold has quit [Ping timeout: 260 seconds]
FreezingCold has joined #linux-sunxi
TheSeven has quit [Ping timeout: 272 seconds]
TheSeven has joined #linux-sunxi
akaizen has joined #linux-sunxi
rz2k has joined #linux-sunxi
<libv> i just almost completely rewrote meminfo
<libv> as it was lacking tpr4 look up for sun7i, i needed to alter it anyway
<libv> but now it's completely transformed
xeros has quit [Ping timeout: 240 seconds]
<wens> libv: btw, i said merrii was probably doing a80, because they added an a80 hummingbird section in their forum
<wens> so far it's empty
<libv> who does wills wang work for?
<libv> merrii?
<wens> no idea
<wens> if you want to poke him to finish the wiki page, be my guest
libcg has joined #linux-sunxi
<libv> i did, just 2d ago, over the wiki
lkcl has joined #linux-sunxi
Faisal has quit [Read error: Connection reset by peer]
bertrik has joined #linux-sunxi
bengal has joined #linux-sunxi
_massi has joined #linux-sunxi
Zboonet has joined #linux-sunxi
ddc has joined #linux-sunxi
<oliv3r> mornin'
<oliv3r> wills wang MIGHT be an allwinner engineer in disguise, but gcould also be just some random chinese guy
libcg has quit [Ping timeout: 250 seconds]
Zboonet has quit [Ping timeout: 240 seconds]
Zboonet has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has quit [Changing host]
HeHoPMaJIeH has joined #linux-sunxi
<ddc> bbrezillon: Hi
skoperst has joined #linux-sunxi
<bbrezillon> ddc: Hi
bertrik has quit [Ping timeout: 272 seconds]
Akagi201_ has quit []
Turl has quit [Ping timeout: 256 seconds]
Akagi201 has joined #linux-sunxi
Turl has joined #linux-sunxi
rz2k has quit [Read error: Connection reset by peer]
FR^2 has joined #linux-sunxi
_whitelogger_ has joined #linux-sunxi
tomboy65 has joined #linux-sunxi
Quarx has joined #linux-sunxi
popolon has joined #linux-sunxi
popolon has joined #linux-sunxi
popolon has quit [Changing host]
xavia has quit [Remote host closed the connection]
notmart has joined #linux-sunxi
mawe242 has joined #linux-sunxi
sehraf has joined #linux-sunxi
<ddc> bbrezillon: this my nand partitions http://pastebin.com/XhHrvdcp
<ddc> as I mentioned before I've 6 bad blocks in this nand
<ddc> currently only mtd4 is saving its bad blocks and the rest don't
<bbrezillon> ddc: BBs are detected in kernel part but not in rootfs right ?
<bbrezillon> ddc: can you ubiattach mtd5 (rootfs) and after it has supposedly marke some block as bad, nanddump the last page of one of this badblock ?
<bbrezillon> ddc: (nanddump -o and then nanddump -o -n to see if there's any difference)
quitte has joined #linux-sunxi
bengal has quit [Ping timeout: 240 seconds]
<quitte> bbrezillon: everything seems to be working just fine. I found the eGON string and was able to flash boot0. I can read env from linux and even io errors disappeared
<quitte> however unfortunately mtdsplit doesn't work anymore
konradoo77 has joined #linux-sunxi
<wingrime> Quitte: are you doing that with a80
<wingrime> ?
<quitte> wingrime: a20 cubietruck
<wingrime> quitte: thats must be straidforward in a20 case
<wingrime> Soc so muck
<wingrime> Soc much well known
<quitte> wingrime: I expected linux support to be a lot better when I bought the cubietruck. But yes. A80 is probably worse.
codekipper has quit [Quit: Page closed]
MasterChief4942 has joined #linux-sunxi
<MasterChief4942> Hi, where to connect Matrix keypad to Allwinner A13? kp_out0 = port:PH18<4><1><default><default> But is has no Port "H"
<quitte> MasterChief4942: port H refers to a group of pins on the SOC itself
<MasterChief4942> quitte: Where are these pin groups described? in datasheet either in reference manual?
<quitte> Is your A13 in a eQFP176 package? https://linux-sunxi.org/images/e/eb/A13_Datasheet.pdf page 10
<quitte> it does however not have a port h
<MasterChief4942> quitte: yes it is eLQFP176, but page 10 contains usual pin placement map, no pin groups. explain it for me somehow please
<quitte> page23 and following tell you what the pingroups are and what functions can be assigned to them
<quitte> the chip can do more things than there are pins available. so for some pins those functions can be configured. thats what pin multiplexing is
<quitte> maqybe you can tell me more about that keyboard so I can understand where kp_out0 = port:PH18 is coming from?
<MasterChief4942> quitte: I'm trying to connect 4x7 matrix keypad to A13 Olinuxino Micro, in lcd port there is connected 24 bit 4.3 lcd, GPIO connector is free
<quitte> what 4x7 matrix keypad?
<mnemoc> a13 only seems to have until PG
<MasterChief4942> quitte: yes, soldered myself
<quitte> MasterChief4942: so any GPIO will do?
<MasterChief4942> quitte: don't understand what do you mean
<quitte> MasterChief4942: what keyboard is that? is it connected by i2c,spi,serial?
<wingrime> quitte thats simple matrix
<wingrime> You can do it with gpio
<MasterChief4942> quitte: no I'm trying to connect it directly to that pins which are described in FEX as matrix keyboard
<quitte> okay. so it doesn't matter if it is connected to port H
<quitte> any GPIO will do
<wingrime> Indeed
<quitte> I'm glad to say that I never looked at fex. At least dtb support alreadya existed when I started ;)
<wingrime> quitte I think there some standart driver should be
<quitte> where did you get that fex file. It needs to match your hardware, but it seems it does not since that package does not have a port H
<wingrime> Not sunxi, linux in general
<wingrime> Via gpio and dts
<MasterChief4942> quitte: this is not a fex file, I'm looking at general FEX manual, good Idea will find A13s original fex
<wingrime> Master: not think that old crap usable
konradoo77 has quit [Ping timeout: 240 seconds]
bengal has joined #linux-sunxi
<wingrime> You should take a look at dts and some general driver
konradoo77 has joined #linux-sunxi
<MasterChief4942> wingrime: what is DTS?
<wingrime> Device tree
<wingrime> I taking about mainline
<wingrime> Sunxi
<quitte> MasterChief4942: device tree describes to the linux kernel how the chip is configured. so pretty much the same as fex. except it's free and not platform specific.
<quitte> MasterChief4942: can I look at that general fex manual?
<MasterChief4942> quitte: http://linux-sunxi.org/Fex_Guide any tutorial how to use DTS and/or write GPIO keypad driver?
<MasterChief4942> wingrime: thanks :)
<wingrime> You just need add new stuff to dts
blsd has joined #linux-sunxi
Renard has joined #linux-sunxi
<quitte> MasterChief4942: in the linux source (mainline, linus' 3.16 for example) look at the .dts files in arch/arm/boot/dts/
<wingrime> But, it will work looks like only sunxi-mainline
<quitte> sun4i-a13-something
<quitte> MasterChief4942: those dts files are compiled into dtb files, that are then passed to the kernel by uboot, similar to how it passes an initrd
<MasterChief4942> I understood something :)
* MasterChief4942 got his brain tuned
patap has joined #linux-sunxi
physis has quit [Remote host closed the connection]
<MasterChief4942> I've soldered that keypad with wrong button pins. as a result all of input and output pins are connected together. going to resolder
paulk-collins has joined #linux-sunxi
<patap> here's hans wip lradc driver https://groups.google.com/forum/#!searchin/linux-sunxi/sun4i-lradc-keys$20driver/linux-sunxi/lrfw69sV2cs/izCpxtrANbYJ
<wingrime> Patap: thats not matrix
<wingrime> Thats ressistive chain
<patap> so there is dfferent ip for matrix?
<quitte> there is matrix keyboard in linux' input drivers
<patap> have to check datasheet
<patap> I stand corrected, there is keypad interface.
<patap> atleast for a10 and a20
<arokux> test
<patap> a13 datasheet / user manual doesn't mention it
<quitte> patap: where did you check?
<patap> i looked for "keypad" in datasheets
<bbrezillon> quitte: do you really need mtdsplit
<bbrezillon> ?
<quitte> bbrezillon: it sure would be nice. but there are more pressing things
<bbrezillon> quitte: cause my driver won't work with it in its current state, and I don't know I could make it work
<quitte> especially now that jffs2 is closer to working this is somewhat of a disappointment. still no write support on my system
<quitte> bbrezillon: if breaking mtdsplit is not an issue for mainlining I won't complain
<bbrezillon> quitte: mtdslpit is not mainlined
<quitte> yes
<bbrezillon> quitte: show me where ?
<quitte> yes. it is not mainlined
<bbrezillon> quitte: ah, okay
<bbrezillon> quitte: and I'm not sure mtd partition system was designed to allow these kind of things
<quitte> bbrezillon: compatibility with yuq is better than you made it out to be
<quitte> bbrezillon: #include <magic.h> seems like a hint that this is not well supported
<quitte> bbrezillon: is using ubi partitions the mainline way of approaching the problem of having a flashable image with multiple partitions then?
<bbrezillon> quitte: yes, you can create a single UBI partition containing several UBI volumes (which can be seen as sub partitions)
<ddc> bbrezillon: can't see any difference
<bbrezillon> quitte: then you can use one of these volumes for your squashfs rootfs, one for your kernel
<bbrezillon> quitte: and so on...
<bbrezillon> ddc: can you paste the dumped page
<bbrezillon> ?
<ddc> bbrezillon:I've sent u an email
<quitte> okay. then that's how it's supposed to be it seems. sigh. This is pandora's board.
ddc has quit [Quit: Page closed]
deasy has joined #linux-sunxi
wingrime has quit [Read error: Connection reset by peer]
wingrime has joined #linux-sunxi
wingrime1 has joined #linux-sunxi
wingrime has quit [Read error: Connection reset by peer]
konradoo77 has quit [Ping timeout: 260 seconds]
MasterChief4942 has quit [Quit: Leaving.]
konradoo77 has joined #linux-sunxi
merbanan has quit [Ping timeout: 260 seconds]
wingrime has joined #linux-sunxi
wingrime1 has quit [Read error: Connection reset by peer]
patap has quit [Quit: Page closed]
merbanan has joined #linux-sunxi
wingrime1 has joined #linux-sunxi
wingrime has quit [Read error: Connection reset by peer]
Black_Horseman has quit [Remote host closed the connection]
wingrime1 has quit [Ping timeout: 240 seconds]
pwhalen has quit [Ping timeout: 260 seconds]
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
konradoo77 has quit [Ping timeout: 260 seconds]
ddc has joined #linux-sunxi
pwhalen has joined #linux-sunxi
MasterChief4942 has joined #linux-sunxi
ddc has quit [Ping timeout: 272 seconds]
rafaelMOD has joined #linux-sunxi
<naobsd> does anyone have .dts for Lime2?
<naobsd> (now I'm looking at linux-sunxi/sunxi-next)
pwhalen has quit [Quit: Leaving]
<wens> first you have to ask who actually owns one
<naobsd> if (own_lime2 && have_dts_for_it) then reply()
<naobsd> :)
<naobsd> now trying to make it from dts for Lime(1)
<libv> naobsd: ndh page still needs work
<naobsd> ah
<naobsd> it's not lime2, it's A20 Lime
<naobsd> sorry
<naobsd> then
<naobsd> probably I can update some bits on wiki
<naobsd> if my board is not broken (not yet powered!)
<libv> mostly needs .fex and u-boot patch
* libv checks those
<libv> ah, u-boot is there
ricardocrudo has joined #linux-sunxi
<libv> boards is missing
<libv> but i guess i can just dl that from olimex
<libv> naobsd: nm then
<quitte> bbrezillon: do you think you could send me a pre-v4-fixed patchset for linux 3.16.1?
<naobsd> yes, I just build u-boot-sunxi for a20 lime
<naobsd> and currently I don't have fex, it's no NAND model, I also need to download image from olimex
pwhalen has joined #linux-sunxi
<libv> just found one
FDCX has quit [Ping timeout: 240 seconds]
nedko has joined #linux-sunxi
nedko has quit [Changing host]
nedko has joined #linux-sunxi
ricardocrudo has quit [Remote host closed the connection]
ricardocrudo has joined #linux-sunxi
FDCX has joined #linux-sunxi
afaerber_ has joined #linux-sunxi
<wens> dts should be easy
afaerber has quit [Ping timeout: 245 seconds]
<wens> give it a try
<wens> compile tested only, by no means guaranteed to work
ecelis has quit [Ping timeout: 255 seconds]
ecelis has joined #linux-sunxi
<naobsd> wens: thanks, I also made almost same one :)
<naobsd> -label = "a20-olinuxino-lime:green:usr";
<naobsd> +label = "a10-olinuxino-lime:green:usr";
nabblet has joined #linux-sunxi
<wens> oops
<wens> hehe
<wens> missed that one
<naobsd> hmm.
<naobsd> can all A20 board with ethernet use gmac?
<naobsd> it seems working on A20 lime
<wens> if it can use emac, it can use gmac :)
<wens> they are pin compatible
<naobsd> there are some A20 boards with SUNXI_EMAC in boards.cfg in u-boot-sunxi
<naobsd> for A20 Lime, I changed it to _GMAC (w/o RGMII of course) and it works
<naobsd> gmac is preferred on u-boot too?
<wens> well, nobody updated the other boards to use GMAC
<wens> i only have cubies
<naobsd> I see. I can confirm only A20 Lime
<naobsd> may I use pull req on github? or format-patch to ML?
<wens> for the lime you're better off submitting against mainline u-boot
HeHoPMaJIeH has quit [Read error: Connection reset by peer]
<wens> (which doesn't use boards.cfg)
<naobsd> oh
<wens> git://git.denx.de/u-boot-sunxi.git
<wens> format-patch and send to ijc and hans, and cc the u-boot mailing list
<wens> or you could do both :)
<wens> it's just that more of u-boot will be moved to mainline
HeHoPMaJIeH has joined #linux-sunxi
<naobsd> fetching now...
<naobsd> ...slowly...
<wens> yeah, the u-boot repo is kinda slow
<naobsd> it's time to learn about mainline u-boot ;)
vbmithr_ has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
arete74 has joined #linux-sunxi
moofree_ has joined #linux-sunxi
<naobsd> well, put .dtb compiled from linux tree to mainline u-boot tree?
<naobsd> let's try cb2 at first...
<naobsd> dtb string seems to be just for default setting...
VargaD has quit [*.net *.split]
vbmithr has quit [*.net *.split]
arete74_ has quit [*.net *.split]
moofree has quit [*.net *.split]
VargaD_ has joined #linux-sunxi
VargaD_ is now known as VargaD
<quitte> naobsd: in uboot you load the dtb to a memory address just like a kernel image
pwhalen has quit [Ping timeout: 244 seconds]
<libv> it's in the wiki.
<naobsd> I just wondered
<naobsd> why CONFIG_FTDFILE="sun7i-a20-cubieboard2.dtb" is defined in u-boot config
<naobsd> I thought dtb is referred while building mainline u-boot, but it isn't.
Montjoie has quit [Read error: No route to host]
<naobsd> anyway, U-Boot 2014.10-rc1-00476-gbf4ca38 is booted on cb2
<quitte> the wiki needs some love. there's a lot of how but very little why and in which context
<naobsd> Error: dwmac.1c50000 address not set.
<naobsd> maybe: it just complain about ethaddr
<naobsd> ok, gmac works fine
<naobsd> let's try a20 lime
VargaD has quit [Ping timeout: 250 seconds]
VargaD has joined #linux-sunxi
pwhalen has joined #linux-sunxi
pwhalen has quit [Changing host]
pwhalen has joined #linux-sunxi
<naobsd> I guess dram_a20_olinuxino_l.c can be used for mainline w/o any change...
Montjoie has joined #linux-sunxi
HeHoPMaJIeH has quit [Quit: Konversation terminated!]
bengal has quit [Ping timeout: 240 seconds]
nedko has quit [Quit: kernel panic]
<libv> wens: is there any documentation on how to bring up a device with dt?
Zboonet has quit [Remote host closed the connection]
Zboonet has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
xavia has joined #linux-sunxi
<wens> bring up? you mean write a new dt?
<wens> don't think so
<wens> the mainline kernel page links to some generic dt tutorials
bengal has joined #linux-sunxi
<libv> is it that generic?
<wens> ok, now i can't find it
<naobsd> ok, a20 lime is running with mainline u-boot and sunxi-next kernel
FDCX has quit [Ping timeout: 240 seconds]
<naobsd> [ 0.892448] axp20x 0-0034: Failed to request IRQ 0 for axp20x_irq_chip: -22
<mripard_> wens: libv removed them because they were pointless...
<mripard_> there's http://elinux.org/Device_Tree too
<wens> naobsd: since mripard_ hasn't pushed the new sunxi-next, you should probably use master at v3.17-rc1
<naobsd> wens: I see, thanks
<wens> naobsd: oh crap, forgot to change the interrupt description for the axp, see the other sun7i boards
<naobsd> interrupt-parent = <&nmi_intc>; interrupts = <0 8>;
<naobsd> let's try w/ mainline kernel...
<mripard_> wens: ah, thanks for the reminder :)
arokux has quit [Remote host closed the connection]
arokux has joined #linux-sunxi
FDCX has joined #linux-sunxi
skoperst has quit [Quit: Page closed]
konradoo77 has joined #linux-sunxi
<libv> mripard_: url on what i removed?
<naobsd> 3.17-rc1 is booted. axp20x is loaded w/ modified dts.
<naobsd> everything is new. (too new for me ;)
<wens> libv: probably the dt tutorial from free electrons
<libv> oh, was this a direct copy?
<libv> how about us getting some pointers on how to bring up a new device with dt, first explaining what to do, then pointing to the generic howto, then going into sunxi specifics.
<naobsd> codepage cp437 not found
<naobsd> I thought kernel config was fixed ;)
<libv> naobsd: yes, patch was on the ml 2 weeks ago
<naobsd> will be merged in 3.17? or 3.18?
<naobsd> where should I send changes for a20 lime for linux mainline? linux-sunxi group?
<naobsd> I'm not sure about linux patch procedure well, I need to learn about it ;)
<wens> naobsd: at least to mripard_ and linux arm kernel ML
<wens> should probably put this up somewhere
mawe242 has quit [Remote host closed the connection]
bonbons has joined #linux-sunxi
<naobsd> sleeply, I'll try tomorrow
<naobsd> here is patches:
<naobsd> only some functions are tested for now
<naobsd> zzz
<naobsd> good night
orly_owl has quit [Quit: leaving]
bertrik has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 240 seconds]
konradoo77 has joined #linux-sunxi
<paulk-collins> what's going on with the sun5i defconfig on sunxi-3.4?
<paulk-collins> why is cpufreq, android and a bunch of other useful stuff disabled?
<paulk-collins> like suspend, by the way
<paulk-collins> and ipv6…
<libv> because people are too used to using their own configs, and nobody does patches or the wiki
<libv> paulk-collins: i just sent in a patch for the two rtl wifi drivers for the same reason
<paulk-collins> right
<libv> paulk-collins: please enable a feature, test its functionality, and send in a patch
<libv> as for android, make a separate defconfig for that
<paulk-collins> also, why not use a full-blown config (a copy of a .config)
<libv> paulk-collins: because the full config changes all the time
<paulk-collins> mhh
<libv> by limiting to just the needed ones, there is less chance of them becoming outdated
<wens> hek, even the order changes
<libv> i am really astounded as to how these things are handled
<libv> like the codepage thing in mainline
<libv> nobody of the mainliners cant tell me that they never used vfat
<libv> but instead they chose to stick to their own config making sun7i_defconfig more or less useless
<wens> there's actually little use for it
<libv> same thing with how the wiki is treated
<libv> wens: no use for vfat?
<wens> libv: unless you're using a usb stick to transfer stuff
orly_owl has joined #linux-sunxi
<wens> some of them use rootfs, some use nfsroot, some use ext4
<libv> then who enabled vfat in the defconfig?
<libv> who enabled vfat, but left out all the codepages?
<libv> in any case, hansg has a config somewhere which he mentioned a few times
<libv> people seem to be using that
<wens> hmm
<libv> instead of using defconfig
<paulk-collins> libv, I'm unsure how much of my work for Replicant I should bring back to sunxi-3.4
<libv> so i rather think people do not use defconfig as is, they ran into issues, fixed the config, until it worked _for_ _them_
<libv> paulk-collins: a more useful defconfig would be very much appreciated.
<paulk-collins> I can always do that, sure
<libv> an android defconfig wouldn't go amiss either
<paulk-collins> my current Android config has a path to ramdisk, and I need one for recovery with a different ramdisk
<paulk-collins> I doubt that belongs in sunxi-3.4
<libv> as said, a separate android config.
<wens> mripard_: have you any experience with the iio framework?
_massi has quit [Quit: Leaving]
ccaione has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
ccaione has quit [Changing host]
ccaione has joined #linux-sunxi
<mripard_> wens: a bit, yes, I wrote the AT91 adc driver in there
<mripard_> why ?
<wens> mripard_: i'm wondering if the axp20x adc driver should go in hwmon or iio
<wens> and where to stick the gsensor driver
<mripard_> if it's a generic ADC, then yes, it makes sense
<mripard_> ditto for the gsensor
nabblet has quit [Ping timeout: 272 seconds]
<wens> the axp has temp/voltage/current sensors, as well as generic gpio adc
MasterChief4942 has quit [Quit: Leaving.]
<mripard_> then yeah, iio seems like the way to go
Quarx has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<wens> wonder why no one imported the freescale mma7660 driver
Jentec has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 245 seconds]
<Jentec> hello
<Jentec> anyone know how to u-boot splashscreen using on allwinner a13
konradoo77 has joined #linux-sunxi
<libv> Jentec: why?
<Jentec> like a bootscreen in the first 10 seconds befor loading linux kernel
<Jentec> board is olimex a13
<Jentec> i found this funktion for other board but not for the a13 processor
afaerber_ is now known as afaerber
<Jentec> still mean this
<libv> Jentec: which hw is this anyway?
<Jentec> arm cortex8
<libv> funny.
<libv> ah, olimex a13
<Jentec> yes
<libv> so lcd.
<libv> so forget it.
<libv> that's at least weeks away.
<Jentec> hmm no chance
<Jentec> ?
<libv> not today.
<libv> and besides, i am too busy trying to get my semitime g2 to boot a kernel
netlynx has quit [Quit: Leaving]
bengal has quit [Quit: Leaving]
bengal has joined #linux-sunxi
Jentec has quit [Ping timeout: 246 seconds]
<bonbons> wens: for the AXP, it may be a rather subjective decision on which ADC to put under power_supply class and which ones under hwmon...
konradoo77 has quit [Ping timeout: 264 seconds]
Zboonet has quit [Ping timeout: 240 seconds]
konradoo77 has joined #linux-sunxi
notmart has quit [Quit: notmart terminated!]
nabblet has joined #linux-sunxi
Zboonet has joined #linux-sunxi
deasy has joined #linux-sunxi
pwhalen has quit [Ping timeout: 240 seconds]
physis has joined #linux-sunxi
Zboonet has quit [Ping timeout: 250 seconds]
pwhalen has joined #linux-sunxi
Zboonet has joined #linux-sunxi
nuptse_ has joined #linux-sunxi
Zboonet has quit [Ping timeout: 272 seconds]
nuptse_ has quit [Ping timeout: 250 seconds]
nuptse_ has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 245 seconds]
nuptse_ is now known as Zboonet
konradoo77 has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
crudo has joined #linux-sunxi
ricardocrudo has quit [*.net *.split]
diego71 has quit [*.net *.split]
crudo is now known as Guest26548
diego71 has joined #linux-sunxi
Renard has quit [Remote host closed the connection]
physis has quit [Remote host closed the connection]
Gerwin_J has joined #linux-sunxi
FR^2 has quit [Quit: Connection reset by peer]
physis has joined #linux-sunxi
physis has quit [Remote host closed the connection]
FDCX has quit [Ping timeout: 240 seconds]
bonbons has quit [Quit: Leaving]
FDCX has joined #linux-sunxi
FR^2 has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 255 seconds]
ninolein has quit [Ping timeout: 250 seconds]
ninolein has joined #linux-sunxi
rafaelMOD has quit [Remote host closed the connection]
konradoo77 has joined #linux-sunxi
pwhalen has quit [Ping timeout: 246 seconds]
<libv> has anyone used a10s with sunxi-3.4 recently?
Black_Horseman has joined #linux-sunxi
nabblet has quit [Quit: Lost terminal]
pwhalen has joined #linux-sunxi
physis has joined #linux-sunxi
<quitte> how do you keep track of the dts changes in the mainlining effort?
<specing> git?
bengal has quit [Ping timeout: 250 seconds]
<quitte> specing: okay. so for the cubietruck drivers exist for mmc, ahci and gmac. none of which are in 3.16 or 3.17rc1 dts. are there canonical places to get that data from?
xeros has joined #linux-sunxi
<specing> idk, I've ragequitted from allwinner land in particular and ARM land in general
<quitte> heh
<specing> those $100 extra for getting an x86 are totaly worth it, believe me!
<specing> even comes with Coreboot (aka LinuxBIOS)
physis has quit []
muxator has joined #linux-sunxi
<muxator> hello
<quitte> hi
<muxator> i'm trying to get the power button of my cubieboard working
<quitte> sehraf: thanks. why is that not in the released kernel?
<sehraf> it is ....
<quitte> sehraf: i got 3.16.1 and 3.17rc1 tarballs from kernel.org.
<muxator> I'm trying to understand how the parent device nodes of a driver get built by udev
<muxator> sorry for coming here so abruptly, but the maintainer of Arch's repo on github pointed me to linux-sunxi. My issue is here: https://github.com/archlinuxarm/PKGBUILDs/issues/946
<muxator> my issue is with how sunxi-3.4 interacts with systemd. The device is /devices/platform/sunxi-i2c.0/i2c-0/0-0034/axp20-supplyer.28/input/input1/event1. The problem is that the default configuration of udev (by Lennart Poettering himself) identifies a power button as such only if one of its parents devices is in the "acpi" subsystem.
<muxator> I wonder if a change is needed in udev or in the kernel
<muxator> I already read "ACPI for ARM?" On lwn... http://lwn.net/Articles/574439/ :)
<jelly-home> the easy thing to do is blame udev and systemd!
<muxator> indeed :)
* jelly-home has been blaming udev for almost a decade now
konradoo87 has joined #linux-sunxi
<muxator> my immediate curiosity is to understand how the current tree of devices gets built, and eventually modify it. I spotted the "leaf" device name in the driver's code, but cannot understand how it gets linked to its parents.
<Turl> libv: "I then also wanted proper printing, which could immediately be piped into
<Turl> a dram_something.c file for u-boot." <- I think fexc can do that already
konradoo77 has quit [Ping timeout: 240 seconds]
<Turl> muxator: ACPI is only very recently appearing on ARM, and only on ARM64 servers following SBSA
<muxator> so the choiche of using systemd as init 1 in arch linux arm is more or less doomed...
<muxator> ..thanks anyway!
oliv3r_ has joined #linux-sunxi
<Turl> muxator: I think the kernel has some APM emulation thing you could use
<Turl> maybe systemd likes that more?
Nyuutwo_ has joined #linux-sunxi
<libv> fexc?
RaYmAn_ has joined #linux-sunxi
buZz__ has joined #linux-sunxi
<Turl> libv: the tool behind the bin2fex/fex2bin symlinks
<Turl> there's -O uboot iirc
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
<muxator> thanks turl, I'm going to dive deeper in the following days. Maybe I'll return to ask more
<Turl> sure, you're more than welcome :)
<libv> heh, script_uboot.c
<Turl> there must be a way, it works on less braindead init systems :)
<libv> Turl: it's not too generic
<libv> and it's not too up to date either
<libv> and script.bin only seldomly carries dram parameters
<Turl> libv: the meminfo output you can copy and paste on a fex can't you?
<libv> Turl: well, you and mnemoc and whoelse have only got yourselves to blame here
<libv> if any of you ever had bothered to ndh a device
<libv> then you would've noticed that bootinfo/meminfo is the only tool used
<libv> and that script.bin is totally ignored
<Turl> I thought that was the way to go (run, get info, paste on fex, convert to uboot, send complete fex and uboot patches)
oliv3r has quit [Ping timeout: 246 seconds]
DagoRed has quit [Ping timeout: 246 seconds]
eagles0513875 has quit [Ping timeout: 246 seconds]
buZz has quit [Ping timeout: 246 seconds]
RaYmAn has quit [Ping timeout: 246 seconds]
Nyuutwo has quit [Ping timeout: 246 seconds]
<libv> start reading.
<Turl> libv: to my defense I haven't gotten a new sunxi in a while, probably way before ndh existed :p
TheSeven has quit [Ping timeout: 260 seconds]
DagoRed has joined #linux-sunxi
<libv> and you own no hardware that isn't ndhed, or isn't still marked ndh_todo?
<libv> i find that hard to believe
<libv> ah great, my wifi is dying again
TheSeven has joined #linux-sunxi
<Turl> libv: let me know if there's any device that I own that needs ndh'ing
<Turl> or I'll check myself on the ndh todo
<libv> what?
<libv> you expect me to know what hardware you own?
<libv> wtf?
<libv> Turl: all you need to know is here: http://linux-sunxi.org/Main_Page#Allwinner_based_devices
<Turl> I was gonna list it, but I decided it's better to check for myself :)
eagles0513875 has joined #linux-sunxi
<Turl> libv: I only see this on the list http://linux-sunxi.org/Gemei_G9
<Turl> libv: I have a ZaTab, not exactly that, but still
<libv> on what list?
<Turl> NDH_TODO category
<libv> and you know that the others are all fully ndhed already?
imcsk8 has quit [Quit: Reconnecting]
imcsk8 has joined #linux-sunxi
<Turl> libv: well, I don't know, I'm just assuming as they're not there and you're pretty thorough when checking device pages :)
<libv> yeah, but i do not have a crystal ball either
<Turl> libv: what?
<libv> ah, no that was the idiot right before fosdem
<libv> and you repaired the damage
<Turl> yeah
muxator has quit [Quit: Page closed]
bertrik has quit [Remote host closed the connection]
<libv> wow, i just got a a10s olinuxino image to pluck off a kernel...
<libv> it's quite horrific
<Turl> libv: to what?
<Turl> I have a micro too if you need any testing
<Turl> the sd in it is half dead, I should get it a new one
<libv> my semitime g2 refuses to do anything with sunxi-3.4, and it's the early version with the badly routed uart pads
<libv> it's fine with the onboard android, it happily starts u-boot and shows me a u-boot console
<libv> but it's gone as soon as the kernel loads
<Turl> libv: bad kernel uart cfg/muxing?
<libv> bad routing.
<Turl> but you said you get the uboot console?
<Turl> I don't understand
<libv> on hdmi?
<libv> cfb-console, on hdmi, with the code i produced these last few weeks
<Turl> aaah
<Turl> libv: does uboot detect 1G ram?
<Turl> (and does android?)
<libv> hrm, cfb-console is too late for that
<libv> hrm, perhaps when not using the sd-card
<Turl> libv: can't you get an uart on the sd pins?
<Turl> I feel I asked this already some time back
<libv> not sure, i would have to go dig through the datasheet first
<libv> oh, and idiot me dled an android image for the a10s olinuxino
<libv> no wonder it's such a mess
<Turl> heh
<Turl> maybe you can make more sense of the text than I can :p
<libv> ok, that's just the first spin of these that entered
<libv> it needs to be sent to a company which does bga
<libv> but that was 4 months ago
<libv> i think they burried the thing
<libv> buried even
<libv> yeah, those things were not working too good yet then
<libv> Turl: nie catch though, looks like these guys are not as open as they'd like to claim
<libv> but then, who is?
<Turl> I find it odd that they're using a spi eth thing while using an A10S
<libv> hehe, seems like the android on that device is now gone as well :(
konradoo87 has quit [Ping timeout: 240 seconds]
<Turl> libv: :(
<libv> btw, google translate will happily do german
<Turl> libv: yes, but it adds a dose of funny :)
<Turl> in theory you can uart0 from the SD port, if you have a breakboard handy :)
<libv> i don't have that, but that's nothing a soldering iron and some jumper wires cannot fix
Gerwin_J has quit [Quit: Gerwin_J]
<libv> although, i do not have such thin wire
FunkyPenguin has quit [Ping timeout: 245 seconds]
<Turl> libv: for that money you could get http://store.r0ck.me/products/usd-breakout-board
<libv> yeah
<Turl> libv: don't you have a ct/cb?
<Turl> they used to come with one
<libv> my ct didn't
<libv> heh, conrad has it, which means that i could have one in a few days
<libv> nope, android seems pretty hosed now
<libv> good thing that i got all the necessaries off of it yesterday night
<libv> i am not sure how many cubieboards have been sold already
<libv> but many tens of thousands i guess
Gerwin_J has joined #linux-sunxi
<Turl> libv: they mention some numbers on the armdevices videos I think
<libv> seems like we played a big role in the red brick
<libv> as we could've assumed
<Turl> :p
<libv> it's funny, but not incorrect or completely incomprehensible
<Turl> yeah, it's leaps and bounds better than chinese->*
rainbyte has quit [Read error: Connection reset by peer]
<Turl> I really got quite a bit of laughter out of things like "scrub device fire oh oh ~ !"
rafaelMOD has joined #linux-sunxi
atsampson has quit [Ping timeout: 240 seconds]
atsampson has joined #linux-sunxi
<libv> did hp ever release source for that one?
<libv> the hp-8 1401
akaizen_ has joined #linux-sunxi
xavia has quit [Remote host closed the connection]
akaizen has quit [Ping timeout: 240 seconds]
<libv> it seems like all cheap hp tablets are a31 based
<libv> 7,8, 10"