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
mozzwald has joined #linux-sunxi
<mozzwald> is it possible to have 2 ethernet ports on A20 and has it been done on any available boards yet? datasheet shows 2 sets of emac pins
pwhalen has joined #linux-sunxi
<Turl> mozzwald: I believe in theory, it should be doable, but I don't know of anybody who tried and achieved that feat yet
Andy-D has quit [Ping timeout: 244 seconds]
maksimlin has quit [Ping timeout: 245 seconds]
popolon has quit [Quit: WeeChat 1.0.1]
maksimlin has joined #linux-sunxi
wenbin has joined #linux-sunxi
egbert has quit [Disconnected by services]
skaag has quit [Ping timeout: 260 seconds]
egbert has joined #linux-sunxi
akazien has quit [Remote host closed the connection]
akazien has joined #linux-sunxi
skaag has joined #linux-sunxi
akazien has quit [Ping timeout: 265 seconds]
naobsd has joined #linux-sunxi
astr has quit [Ping timeout: 272 seconds]
astr has joined #linux-sunxi
Renard has quit [Remote host closed the connection]
akazien has joined #linux-sunxi
maksimlin has quit [Ping timeout: 246 seconds]
akazien has quit [Remote host closed the connection]
akazien has joined #linux-sunxi
maksimlin has joined #linux-sunxi
skaag has quit [Quit: Leaving.]
viccuad has quit [Read error: Connection reset by peer]
pwhalen has quit [Ping timeout: 272 seconds]
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
pwhalen has joined #linux-sunxi
hipboi has quit [Ping timeout: 255 seconds]
hipboi has joined #linux-sunxi
HeavyMetal has quit [Ping timeout: 272 seconds]
HeavyMetal has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
weissschloss has quit [Remote host closed the connection]
weissschloss has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
skaag has joined #linux-sunxi
jelly-home has quit [Excess Flood]
jelly-home has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
skaag has quit [Quit: Leaving.]
maksimlin has quit [Ping timeout: 245 seconds]
jelly-home has quit [Quit: ""]
skaag has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
jelly-home has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
leviathanch has joined #linux-sunxi
astr has quit [Ping timeout: 258 seconds]
Night-Shade has quit [Ping timeout: 240 seconds]
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
astr has joined #linux-sunxi
skaag has quit [Quit: Leaving.]
hipboi has quit [Ping timeout: 265 seconds]
sehraf has joined #linux-sunxi
leviathanch has quit [Ping timeout: 272 seconds]
leviathanch has joined #linux-sunxi
hipboi has joined #linux-sunxi
amitk has joined #linux-sunxi
_massi has joined #linux-sunxi
marcin has joined #linux-sunxi
marcin is now known as Guest6016
esperegu has joined #linux-sunxi
leviathanch has quit [Ping timeout: 240 seconds]
Quarx has joined #linux-sunxi
wenbin has quit [Quit: Leaving]
leviathanch has joined #linux-sunxi
simosx has joined #linux-sunxi
Quarx has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
wickwire has joined #linux-sunxi
indy has quit [Ping timeout: 246 seconds]
indy has joined #linux-sunxi
<rellla> jemk: compared to AW's render.c example, libvdpau's sequence of the ioctls (esp. regarding deinterlacer) seems a bit messed up, do you agree?
leviathanch has quit [Ping timeout: 265 seconds]
<wens> mripard: any other comments on sun9i clk patches?
<wens> Turl: ^
<mripard> wens: I don't think I do
<wens> btw, i'll do a simple prcm series, so you can at least test r_pio
Net147 has joined #linux-sunxi
deasy has joined #linux-sunxi
leviathanch has joined #linux-sunxi
<mripard> ack
<mripard> thanks
astr has quit [Ping timeout: 255 seconds]
Net147 has quit [Quit: Try HydraIRC -> http://www.hydrairc.com <-]
indy has quit [Ping timeout: 258 seconds]
Tintu1322 has joined #linux-sunxi
<Tintu1322> Hello... I am trying to integrate a resisitive touch screen to A20 hummingbird... What are the steps i should follow ? can you help me...?
astr has joined #linux-sunxi
leviathanch has quit [Ping timeout: 260 seconds]
indy has joined #linux-sunxi
skaag has joined #linux-sunxi
skaag has quit [Max SendQ exceeded]
skaag has joined #linux-sunxi
naobsd has quit [Quit: Page closed]
Tintu1322 has quit [Quit: Page closed]
Tintu1322 has joined #linux-sunxi
<Tintu1322> Hello... I want to integrate a resistive touch screen to A20 device... what are the configuration steps i have to follow in linux and android layers... ?
leviathanch has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
leviathanch has joined #linux-sunxi
MY123 has joined #linux-sunxi
leviathanch has quit [Ping timeout: 258 seconds]
afaerber has quit [Quit: Verlassend]
skaag has quit [Quit: Leaving.]
rmax has joined #linux-sunxi
* rmax waves and is ready to tackle the A23...
<rmax> libv: did you find the time to look into the script.bin I sent you?
<libv> not yet, sorry, perhaps tonight
<rmax> So, is there anything that I can do for now?
<libv> poke at fexc yourself ;)
<rmax> OK, I'll have a look. AFAIU I need to edit that stuff in order to enable the serial console I soldered in, right?
<MY123> rmax: mainline kernel?
<MY123> (or Android?)
<libv> rmax: yeah, you apparently do need to edit it, wens knows more
<rmax> MY123: It currently runs Android, but I want to get to run regular Linux on it and can spend the whole week to work on that.
bengal_ has joined #linux-sunxi
<MY123> rma
<MY123> rmax: Linux 3.17 has a23 support
simosx has quit [Read error: Connection reset by peer]
<rmax> Hmm - but the linux-sunxi wiki says there are still some pieces missing in the RAM initialisation code or something, and libv recently confirmed that this information is still current, if I got him right.
<MY123> rmax: The code runs at least on a A23 tablet
<rmax> Sounds good, so let's see if I can get it to run on my q8h as well. :)
<MY123> rmax: Does U-boot output messages from UART?
popolon has joined #linux-sunxi
<rmax> No, the UART is dead by default. The q8h wiki page says it needs to get enabled first.
<MY123> rmax: If booting from NAND, for replacing script.bin, you should patch a LiveSuit image and flash it(at least on my A20 tablet)
Renard has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
<wens> 3.18-rc1
<wens> watchdog patches didn't make it
dantob has joined #linux-sunxi
hipboi has quit [Ping timeout: 245 seconds]
<rmax> So, the boot0 issues mentioned in http://linux-sunxi.org/A23 have been solved, or is that separate from A23 support in mainline Linux?
hipboi has joined #linux-sunxi
philippe_fouquet has joined #linux-sunxi
<philippe_fouquet> hi
<philippe_fouquet> I try to use the fel mode for somme tests.
<philippe_fouquet> All uboot work well but went I run the kernel nothing.
bengal_ has quit [Ping timeout: 240 seconds]
<philippe_fouquet> the kernel work fine when I use it on sd or nand
<philippe_fouquet> some body know how i can have more debug that "Starting kernel ..."
afaerber has joined #linux-sunxi
Andy-D has joined #linux-sunxi
<mripard> rmax: there's no relation between boot0 and linux
<rmax> Looks like I don't yet have the full picture of how these things work all together, but I am reading up...
viccuad has joined #linux-sunxi
Tintu1322 has quit [Quit: Page closed]
<mripard> boot0 initialises the RAM, load the second stage bootloader (either boot1 pre-A23, or u-boot for A23), and starts it
<mripard> it's that 2nd-stage that will load and start the kernel
<mripard> but it really doesn't care wether it's an allwinner kernel or a mainline one
<mripard> it's just a blob.
<rmax> OK, but that means without a working boot0 I can't boot Linux, even if it would support A23, right?
<mripard> yep
<mripard> but unless you start a new design, or you blew the NAND, you should have one
<rmax> OK, then I completely misunderstood libv and the wiki pages.
<rmax> I thought a working boot0 was one of the missing pieces to complete A23 support.
<MY123> rmax: boot0 is needed for AnDrOiD
<wens> rmax: well, proper boot0 support is wanted
<mripard> MY123: why?
<MY123> mripard: It loads U-boot
<philippe_fouquet> if i wen start a kernel in fel mode how to do it?
<MY123> philippe_fouquet: Trying to make boot0 as SPL
<mripard> MY123: well... yeah, but how is that related to android?
<MY123> mripard: Android's kernel can't work withour U-boot, which needs boot0 currently (A23)
<rmax> mripard: I think he wanted to tell me that Android needs boot0, so if Android runs on the devide, it must have a working boot0 binary.
<MY123> *without
<philippe_fouquet> why boot0 on wiki "http://linux-sunxi.org/FEL/USBBoot" ask to uboot-spl and uboot in mode fel
<mripard> MY123: you're still stating a fact, not explaining what u-boot does that is needed by android.
<MY123> mripard: Loading the Linux kernel :
<rmax> mripard: not u-boot, boot0.
<MY123> :-)
<mripard> rmax: then Allwinner's uboot would be working fine too.
<mripard> MY123: then a u-boot SPL would do just fine
<mripard> there's nothing specific about boot0, really
<MY123> mripard: There is not an u-boot SPL for A23 which works yet
<mripard> (and even less so Android)
<philippe_fouquet> for me uboot-spl and after uboot work fine
<philippe_fouquet> for a A20
<philippe_fouquet> but my kernel didn't load
<MY123> philippe_fouquet: sunxi-3.4 or mainline?
<philippe_fouquet> the image it correct but it stop after "Starting kernel ..."
<philippe_fouquet> mainline
<MY123> philippe_fouquet: So early_printk works. Did you load a DTB?
<philippe_fouquet> no sorry sunxi-3.4
ricardocrudo has joined #linux-sunxi
<MY123> philippe_fouquet: I got the same thing when trying to load an A10 kernel on a A20
<philippe_fouquet> the kernel work wend I used it with Poenixsuit
<philippe_fouquet> well
Black_Horseman has quit [Ping timeout: 245 seconds]
dantob has quit [Ping timeout: 260 seconds]
<oliv3r> mripard: i don't even dare to ask, but when compiling your sunxi-next, is there anythign special required to get more output (serial console) other then adding the DEBUG_LL + setting up the right uart stuff?
<oliv3r> mripard: [ 0.015075] CPU1: Booted secondary processor is the last thing i get :(
<oliv3r> mripard: i had a 3.17.0-rc6 (from mainline) that worked fine, I thought i give your 3.17 (only rc3?) series ago, but get no serial console anymore :(
FR^2 has joined #linux-sunxi
<mripard> oliv3r: and yet you dared :)
<mripard> paste all the boot logs
naobsd has joined #linux-sunxi
philippe_fouquet has quit [Remote host closed the connection]
Andy-D has quit [Ping timeout: 240 seconds]
philippe_fouquet has joined #linux-sunxi
FunkyPenguin has quit [Ping timeout: 258 seconds]
FunkyPenguin has joined #linux-sunxi
Andy-D has joined #linux-sunxi
tomcheng76 has quit [Read error: Connection reset by peer]
tomcheng76 has joined #linux-sunxi
dantob has joined #linux-sunxi
HeHoPMaJIeH has quit [Quit: Konversation terminated!]
<oliv3r> mripard: http://sprunge.us/JcZb
<oliv3r> mripard: it's not much :D
<oliv3r> mripard: I guess you will also update 17-rc3 -> 18-rc1 as time permits?
<mripard> what are the bootargs ?
<hramrach_> well, it's not known how to extract dram parameters from an a23 boot0 so far
<oliv3r> mripard: http://sprunge.us/KTBi
<hramrach_> so you have working boot0 for booting from nand if your tablet boots from nand but no possibility to boot from SD or FEL
<oliv3r> though earlyprintk i only aded on my last 2 boots to see if it would make a diff
<mripard> oliv3r: remove that loglevel
<hramrach_> rmax:
<rmax> yes?
<rmax> BTW, I got a fex dump.
vovcia has joined #linux-sunxi
<vovcia> hi :)
<oliv3r> mripard: ohh that gives me much more output; mmc now hangs, i'll print output
<hramrach_> yes, me too. that usually includes bogus dram settings
<vovcia> im trying to resume/suspend cubietruck.. echo mem > power/state is working
<oliv3r> mripard: http://sprunge.us/NADU
<rmax> Only had to comment out the "return 0" behind the "invalid section length" error message in decompile_section.
<hramrach_> because the settings are set in boot0 and not the fex
<oliv3r> mripard: are these all recent changes? (also bootconsoel disabled?)
<vovcia> unfortunately i have no idea how to wake it - power on butn is not workin
hipboi has quit [Read error: Connection reset by peer]
<oliv3r> mripard: ah ok console gets enabled, earlycon0 gets disabled, seems logical
<hramrach_> vovcia: power on button should works unless something is broken
<vovcia> hramrach_: ok thx :) good it know it should work
<rmax> Oh - and a colleague just stepped by and dropped an A31 tablet on my desk...
<vovcia> hramrach_: do U know if there is RTC wake support?
<rmax> So, I'll do the NDH handling with that one as well...
<hramrach_> vovcia: there are multiple devices you can set up to wake from sleep but I have no idea what is enabled in the current code
<hramrach_> also are you running 3.4 or mainline?
<oliv3r> mripard: btw, do I still need to ack anything for the relicensing?
<mripard> oliv3r: yes, please
<oliv3r> mripard: ok, i thoguht i did ...
<mripard> and hmmm, I don't know why it hangs there
<oliv3r> mripard: i'll ack the whole series again, just in case :)
<oliv3r> this is on an a20-lime
<oliv3r> i take it we don't need the vqmmc?
<rmax> The A31's model number reads ALFAR8040, a string that produces zero hits on Google.
<philippe_fouquet> a kernel could be start with out ramdisk
<mripard> oliv3r: I haven't seen the lime, but yeah, usually you don't
<oliv3r> i'm building 3.17-rc6 from mainline and see if that does work
<rmax> It is a FSL S8
<hramrach_> A31 should be easier to get working than a23
<rmax> Why? Better documentation or has more work been done already?
<hramrach_> both
<oliv3r> mripard: i've sent the license change mail ;)
<vovcia> hramrach_: im running Linux cubex 3.4.90-5-ARCH #4 SMP PREEMPT Sun Sep 21 21:09:35 MDT 2014 armv7l GNU/Linux
<hramrach_> hmm, that's not exactly the latest, is it?
<hramrach_> I haven't tried suspend in ages so no idea if it works
<oliv3r> mripard: stock 3.16-rc6 with stock sunxi_defconfig boots fine
<oliv3r> (well systemd complains, but that's userland :) )
<oliv3r> mripard: as expected, mmc gives one more line of output on 3.17-rc6 http://sprunge.us/ZANH
philippe_fouquet has quit [Remote host closed the connection]
crudo has joined #linux-sunxi
crudo is now known as Guest22515
Guest22515 has quit [Client Quit]
ricardocrudo has quit [Remote host closed the connection]
hipboi has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
<oliv3r> mripard: actually; i shouldn't even use rc6, i just realized i should fetch linus's latest tree and do a proper 3.17 :)
<rmax> Which name shall I use when adding a new board to the linux-sunxi wiki, the marketing name or the model number from Android's "about tablet" dialog?
<oliv3r> rmax: libv is best to answer that question :)
<rmax> Found it in the HOWTOs.
<oliv3r> even better ;)
pwhalen has quit [Ping timeout: 240 seconds]
<oliv3r> mripard: linus's 3.17 works fine, I also diffed the mmc driver to compare to your tree and it didn't say there where differences ...
<oliv3r> go figure
pwhalen has joined #linux-sunxi
<oliv3r> wens: on mainline do we allerady use stmmac on A20 even when using the old RTL100mbit PHY? (if it is, awesome) it does seem that way from what I can see
<hramrach_> depends on your config. either should work
<oliv3r> well i had both as modules and appearantly the default in the dts is gmac, so that's awesome
esperegu has quit [Ping timeout: 265 seconds]
<oliv3r> since the sunxi-emac was giving us some performance issues
esperegu has joined #linux-sunxi
viccuad has quit [Read error: Connection reset by peer]
pan2sunxi has joined #linux-sunxi
<mripard> the EMAC driver was quite solid in mainline
viccuad has joined #linux-sunxi
<mripard> running at around ~12MB/s
<mripard> the only thing is that it was not using DMA
<mripard> and what happens if you use multi-v7 ?
<oliv3r> mripard: we had sunxi-emac in mainline? interesting. I recall that on 3.4 it was having some full duplexing issues
<oliv3r> mripard: multi-v7 from your branch?
<oliv3r> mripard: i'll test that as soon as my order of SD cards are in
<oliv3r> my sd card is now functionally under a printer again :)
<mripard> oliv3r: yep, we had it since the very beginning
<mripard> 3.9 or so
<hramrach_> is that adaptation of the AW driver or something different?
<wens> oliv3r: yes
pan2sunxi has quit [Quit: Page closed]
<mripard> hramrach_: some rework of the AW driver iirc
<mripard> it's been mostly done by Stefan
<wens> sent out v2 of sun9i clk series
<hramrach_> there was some problem with the AW driver that it would work for some transfers and not others depending on latecy/roundtrip
<hramrach_> but seemed to work well enough for my use cases
dack has joined #linux-sunxi
dantob has quit [Remote host closed the connection]
xavia has joined #linux-sunxi
philippe_fouquet has joined #linux-sunxi
tomboy65 has quit [Ping timeout: 264 seconds]
rafaelMOD has joined #linux-sunxi
tomboy65 has joined #linux-sunxi
zeRez has joined #linux-sunxi
Quarx has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
<hramrach_> rmax: the link you have on http://linux-sunxi.org/FSL_S8 points to an A8 web page. The S8 spec says it has a31 CPU but your wiki page says a23
<wens> ha crashed my a23 and my a80...
<wens> seems like the a23 manual is misleading...
<slapin> hi, all! IIRC, on wiki there was a link on how to compile mainlinek kernel for sunxi, I want to make OE support for it, but I failed to find it, any ideas? wiki became a bit hard to navigate these days :(
<slapin> hramrach_: thanks! the last one is what I need
Quarx has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<rmax> Is dev@linux-sunxi.org just an alias for linux-sunxi@googlegroups.com or is it a separate list?
leviathanch has joined #linux-sunxi
<rmax> hramrach_: Thanks for provereading the S8 page. I corrected the SoC (my bad), but the A8 headline on the product page must be a mistake, because the URL says S8 and the photos and specs match the device in fron of me. Also, the actual S8 page says it is based the SoC is an ATM7029.
<rmax> I mean "... the actual A8 page ...". :(
<hramrach_> which is the same as http://www.fslkj.com/Product/S8/48.html?
<rmax> Whoops
<hramrach_> the web design :/
<rmax> Well, the web design combined with my incompetency in the language used there - although I had help from a colleague who is native to that language. ;)
deasy has quit [Remote host closed the connection]
focus has quit [Remote host closed the connection]
<rmax> Is dev@linux-sunxi.org forwarding to linux-sunxi@googlegroups.com or are they separate lists?
tomcheng76 has quit [Ping timeout: 255 seconds]
<dack> libv: has there been any progress on libnand? I notice that in the sun7i_defconfig it's still set to install libnand by default.
tomcheng76 has joined #linux-sunxi
leviathanch has quit [Ping timeout: 260 seconds]
<arete74> rmax: yes, forwarding email to google groups
<rmax> I sent a patch to the former and later on subscribed to the latter, but I only see other patches in the archive not mine.
<rmax> Is it only accepting mails from subscribers?
Akagi201 has joined #linux-sunxi
<hramrach_> the only information about the a23 dram controller in the manual is that it's 16bit which means useless performance :S
Andy-D has quit [Ping timeout: 258 seconds]
MY123 has quit [Quit: Connection closed for inactivity]
<rmax> hramrach_: I am still confused about whether this dram initialisation stuff is needed or not to bring up Linux on these devices. Is it correct that it is not needed if the goal is just to bring up Linux, but needed if the goal is to replace just about any piece of software on the device with open source — including boot0?
<hramrach_> it is not needed if you want to just butcher the existing rom. and if you have a backup from which you can restore. but if you want to install to empty nand, boot from an SD card, etc you nned a working boot0 that is somewhere other than the inacessible area of the tablet nand
<hramrach_> and since you need a different boot0 for sd card than nand you need some understanding of the memory controller or the existing code to get that
<rmax> Ah - now things become clearer.
<rmax> And Allwinner only provides a boot0 blob for booting from nand?
<hramrach_> it only provides blobs for booting their evb
<hramrach_> tablet vendors provide firmware blob if you are lucky from which you can presumably extract nand boot0 blob
<rmax> And that can't be extracted from the nand itself, you're saying?
<hramrach_> not easily.
<hramrach_> the area where it's stores is normally inacessible. mainline kernel has driver to access this area .. on a10/a13/a20
jemk has joined #linux-sunxi
<hramrach_> actually I am confused
<rmax> And the procedure to access it depends on the SoC rather than the NAND chip?
<hramrach_> well the nand chips stores blocks and the kernel driver composes those blocks into something that makes sense
<hramrach_> in case of AW that something looks like a block device
<hramrach_> and indeed, the boot0 is outside of that block device so you cannot make sense of the blocks that make up the loader unless you use a different driver
<hramrach_> I am not aware of any software other than the on-chip bootloader and the mainline kernel driver that implement *reading* boot0
<hramrach_> the AW proprietary flash tools presumably implement *writing* boot0
philippe_fouquet has quit [Remote host closed the connection]
<hramrach_> on SD card the situation is much simpler because everything is just a block device there
<rmax> And the Android kernel has no way to access the raw blocks on the nand flash?
VargaD_ has joined #linux-sunxi
<rmax> I guess A=Android, but what does the W stand for?
bengal_ has joined #linux-sunxi
<hramrach_> AW=Allwinner
<rmax> whoops :)
VargaD has quit [Ping timeout: 265 seconds]
VargaD_ is now known as VargaD
<rmax> Ah - it looks like my patch finally made it to the list. Is it moderated or does it take so long for technical reasons?
<hramrach_> no idea
<hramrach_> sometimes the mail is held and forwarded by moderator. sometimes it is slow
<hramrach_> well, I never really looked closely at the flash drivers. You have flash with bit errors and ecc codes and bad blocks and with some effort and the existing code you can get at the entirety of this stuff
Andy-D has joined #linux-sunxi
<hramrach_> one problem is the ecc and stuff is done in the nand controller normally and the area with boot0 on the SoCs where the layout is somewhat known is known to use different settings
<rmax> BTW, I probably won't get a firmware image from the supplier of my A23 tablet, because I upset him by playing the refund card with AliExpress when he didn't adhere to his 10 day delivery guarantee.
<hramrach_> I just downloaded what is presumably recovery image for my tablet
<rmax> And I even doubt he would be able to supply firmware files if I hadn't done this.
<hramrach_> so I can leave the nand bitrot and when it becomes unusable reflash with that image in the hope it boots again
<hramrach_> they presumably have the firmware they flash at the factory at the very least
<rmax> Sure, but I don't think these devices are manufactured by as many people as offered on AliExpress.
<rmax> Is there a standard place for such recovery images on Android? I am still not very familiar with their file system layout.
<hramrach_> yes, aliexpress is probably more like ebay. not so much for manufacturers but individual users and resellers
<rmax> Some sellers at least claim to be manufacturers, but most of them seem to be just smaller or larger reseller.
<hramrach_> you just ask around until you get at a firmware. I bought mine from a different reseller which is more expensive than aliexpress but apparently attempts some support
<rmax> I sometimes wonder how many of the smaller resellers are actually employees of a manufacturer that makes these devices.
<hramrach_> I do not try to understand Chinese economy
<hramrach_> it makes no point trying from this far
Andy-D has quit [Read error: Connection timed out]
Andy-D has joined #linux-sunxi
amitk has quit [Quit: leaving]
bengal_ has quit [Quit: Leaving]
bertrik has joined #linux-sunxi
tomboy65 has quit [Remote host closed the connection]
tomboy65 has joined #linux-sunxi
<hno> aliexpress is consumer sales platform like e-bay. It's quite rare to find manufacturers there. Absolutely majority of the shops are small resellers.
bonbons has joined #linux-sunxi
<hno> You may have better luck to find manufacturers on the sister site alibaba, but most are bulk resellers targting businesses, and scams are apparently not uncommon.
<rmax> The pro side of AliExpress is that it has builtin escrow service. Whenever items I ordered weren't shipped at all or arrived later than stated in the seller's delivery guarantee I got my money back.
sehraf has quit [Read error: Connection reset by peer]
sehraf has joined #linux-sunxi
FR^2 has quit [Quit: Connection reset by peer]
skaag has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
FunkyPenguin has quit [Ping timeout: 245 seconds]
FunkyPenguin has joined #linux-sunxi
bengal has joined #linux-sunxi
linkmauve1 has quit [Ping timeout: 260 seconds]
linkmauve1 has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
_massi has quit [Quit: Leaving]
ninolein_ has quit [Ping timeout: 260 seconds]
ninolein has joined #linux-sunxi
vladi4ko has joined #linux-sunxi
rmax has left #linux-sunxi [#linux-sunxi]
jinzo has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
vladi4ko has left #linux-sunxi [#linux-sunxi]
wickwire has quit [Read error: Connection reset by peer]
* hramrach_ shall take some English classes
<hramrach_> looking at my writing ... it's almost as bad as Chenglish
<dack> hey.. this may be a little OT but hopefully someone knows the answer to this...
<dack> when I disconnect the cable for eth0, ifconfig still shows the connection as active with an IP address. How do I detect when the connection is removed and deactive the connection?
<hramrach_> it logs in dmesg
<dack> "ip monitor" seems to detect the change, but it doesn't go any farther than that
<vovcia> dack: ifplugd
<vovcia> dack: on systemd there is netctl-ifplugs@ethXXX service
<hramrach_> there are also some mii-tools or what
<dack> from what I've been reading it seems like it should normally detect a downed eth0 connection... I'm not sure why it's not doing that
<hramrach_> and some tools may work better for some use cases than other so better stfw so you get more choices and get the bets one
<vovcia> dack: what distro...?
<hramrach_> no. link down and interface down is separate
<bonbons> dack: linux keeps interface configured, even if link goes down
<dack> I'm trying to use connman to automatically switch from the broken eth0 to wlan0, but it doesn't seem to see the broken connection as the IP address remains on eth0
<bonbons> it's up to your userspace to unconfigure things if it wants to
<vovcia> dack: ip remaining on eth0 is not such bad thing.. is interface down?
<dack> The ip address remains when the wire is disconnected from the device.
<dack> The issue is I need the wlan0 to come up when the wire is disconnected. The wlan is supposed to be a fallback.
<dack> What do you guys normally use to manage network connections on AW devices in linux?
<vovcia> dack: systemd, NetworkManager, custom ifplugd scripts, eventually TCP Multipathing
konradoo77 has quit [Ping timeout: 265 seconds]
<dack> I thought I had this working already before, but it's not any more... it may be something in the latest Linaro is breaking it.
<vovcia> dack: isnt connman kind of a "dead"?
<dack> vovcia: is it? it's actively being developed for tizen... I guess the question is "is tizen dead?". :)
<dack> I need something I can use at the command line, and I've yet to find a way to do that with NetworkManager
<bonbons> dack: connman does detect link going down here (though not tested on sunxi device) - so unless your device does not properly send the notifications your connman configuration needs revisiting?
<bonbons> if I remember well you can tell connman to be pretty verbose on what it does, so it should be able to tell you if it gets informed
konradoo77 has joined #linux-sunxi
<dack> bonbons: yeah, I'm pretty sure I had it working before, so I'm not sure what's changed... my config has remained the same and I think the connman version has remained the same. Something in linaro, I suspect.
<dack> bonbons: I have connmanctl with "monitor on"... it keeps telling me the "ethernet" connection is "unchanged"
<vovcia> U guys dont think systemd will "have it all" eventually?
<vovcia> i mean, its in master tree?
<bonbons> dack: check your logs and make sure debug logging is enabled
<vovcia> thats OT of course :)
<hramrach_> so there is something like NM but sane?
Zboonet has joined #linux-sunxi
<dack> what linux flavour do you guys typically use on AW devices? I've been typically using Linaro
<vovcia> dack: Arch Linux
<bonbons> dack: Gentoo Linux
<dack> vovcia: that's what I thought when you mentioned "systemd"
<hramrach_> Debian Linux
* hramrach_ is running sysvinit systemd and upstart
mmarker has joined #linux-sunxi
<hramrach_> multiple boards allow for trying out different stuff
HeHoPMaJIeH has quit [Remote host closed the connection]
<hramrach_> sysvinit is slowest .. and most reliable
* vovcia systemd + NetworkManager(for USB connections)
<dack> vovcia: but how do you use NetworkManager at the command line? or are you using a desktop?
<hramrach_> there is nm-cli
<hramrach_> but I only use NM with gui
<vovcia> dack: nmtui
<dack> part of my reason for using connman was that it used dbus and I could easily interact with it inside of my running code
<dack> maybe NetworkManager can to?
<hramrach_> nm probably does the same
<vovcia> dack: i wat trying nm and connman for auto usb connectivity, and finally stick to nm
<vovcia> in fact im using nm to manage links not managed by systemd :)
<hramrach_> I have auto USB connectivity with just default debian script
<hramrach_> but maybe my USB connectivity is simplistic
<vovcia> my is too, simple dhcp
<hramrach_> I just plug the device in USB and it's connected
<hramrach_> then you need no manager. just udev - dhclient
<dack> I just finished switching from wicd! :) I've had nothing but headaches with NetworkManager on my desktop so I was hoping to avoid it
<hramrach_> I configured NM on an ancient notebook to see if it can manage Ethernet+WiFi
<hramrach_> and it seems it could
konradoo77 has quit [Ping timeout: 260 seconds]
<hramrach_> but the recent UI is so horrible you cannot expect the user to connect to a WiFi network with it
<dack> anyone know what the package name is in ubuntu/linaro for nm-cli?
<hramrach_> probably networkmanager-cli
<hramrach_> I mean they had that Apple UI clone which works. and then they removed the part that shows the available WiFi networks in the menu so there is no list anymore anywhere obvious
<hramrach_> did not figure out how to connect to WiFi network other than configuring it beforehand
<dack> oh.. seems nmcli is included in the base package
<vovcia> maybe ipv6 is the ultimate solution?
<dack> wicd had a nice ncurses ui but I had some issues with properly configuring it... it also seems to be a somewhat dead project
<dack> connman is pretty nice to use, but if it can't detect the dropped eth0 connection... well, no good.
<dack> I think the issue is somewhere else, though... cat /etc/class/net/eth0/carrier says 1 when the cable is disconnected, which is wrong
<vovcia> dack: tru nmtui
<vovcia> dack: *try nmtui
<dack> oops.. /sys/class....
<dack> I'm not sure how "ip monitor" is working, but the kernel files in sysfs aren't
konradoo77 has joined #linux-sunxi
<dack> where does nm store it's settings?
<dack> nvm.. just found it
<dack> damn capitals in file names! :)
<dack> /etc/NetworkManager/system-connections/
Gerwin_J has quit [Quit: Gerwin_J]
bertrik_ has joined #linux-sunxi
<hramrach_> hmm, EDID does not work
<hramrach_> I have no idea why
<hramrach_> cat /proc/cmdline
<hramrach_> console=tty0 console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait panic=10 disp.screen0_output_mode=EDID:1024x768p60
<hramrach_> [ 2.501637] PCLK=108000000 X 1280 1328 1440 1688 Y 1024 1025 1028 1066 fr 60 PP
<hramrach_> [ 2.512807] Using above mode as preferred EDID mode
<hramrach_> [ 2.582125] disp clks: lcd 108000000 pre_scale 1 hdmi 108000000 pll 270000000 2x 1
bertrik has quit [Ping timeout: 272 seconds]
<hramrach_> http://sprunge.us/fIQX full dmesg
deasy has joined #linux-sunxi
Akagi201 has quit []
leviathanch has joined #linux-sunxi
akazien_ has joined #linux-sunxi
viccuad has quit [Quit: WeeChat 1.0.1]
viccuad has joined #linux-sunxi
akazien has quit [Ping timeout: 272 seconds]
<bonbons> mripard, ccaione: what is the status of those axp20x patches that did not go in last spring? (v7 remaining patches - http://lists.infradead.org/pipermail/linux-arm-kernel/2014-June/267605.html)
leviathanch has quit [Ping timeout: 250 seconds]
leviathanch has joined #linux-sunxi
akazien_ is now known as akaizen
viccuad has quit [Read error: Connection reset by peer]
jemk has quit [Quit: leaving]
konradoo77 has quit [Ping timeout: 272 seconds]
<vovcia> i tried rtcwake on cubietruck with no luck :/ http://pastebin.com/AusAm2jw
zeRez has quit []
konradoo77 has joined #linux-sunxi
lennso has joined #linux-sunxi
lennso has left #linux-sunxi [#linux-sunxi]
<hramrach_> ssvb: my a10s olinuxino still boots with https://www.mail-archive.com/linux-sunxi@googlegroups.com/msg08084.html so you can have my tested-by
leviathanch has quit [Remote host closed the connection]
leviathanch has joined #linux-sunxi
<vovcia> hmm i have some serial output from rtcwake: normal standby start! \n __bss_start:F0003628!
<hramrach_> but the textured cube is always gray no matter what :/
<hramrach_> vovcia: that's expected. if you don't also have a wake output that means either it fails do go to sleep properly or failed to set up the wake interrupts
<vovcia> and no reaction to POWER ON :[
<vovcia> nor FEL
<hramrach_> for me it reacts and crashes: http://sprunge.us/jaeC
<vovcia> but i never had power button in system so no surprise
<hramrach_> that's irrelevant. power button should be connected to AXP .. if you have one
<hramrach_> vovcia: if you are still using the old .90 kernel build a new one at least. no point debugging an outdated kernel
<vovcia> hramrach_: axp_mfd 0-0034: AXP (CHIP ID: 0x41) detected
jinzo has quit [Quit: Leaving]
<vovcia> 3.4.90 kernel :)
<vovcia> ok ill get to new kernel
bonbons has quit [Quit: Leaving]
rafaelMOD has quit [Quit: Saindo]
konradoo77 has quit [Ping timeout: 272 seconds]
konradoo77 has joined #linux-sunxi
dack has quit [Remote host closed the connection]
bertrik_ is now known as bertrik
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 272 seconds]
leviathanch has quit [Ping timeout: 240 seconds]
akaizen has quit [Ping timeout: 272 seconds]
leviathanch has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
imcsk8 has quit [Quit: Reconnecting]
imcsk8 has joined #linux-sunxi
discopig has joined #linux-sunxi
akaizen has joined #linux-sunxi
akaizen has quit [Read error: No route to host]
akaizen has joined #linux-sunxi
leviathanch has quit [Ping timeout: 246 seconds]
leviathanch has joined #linux-sunxi
leviathanch has quit [Ping timeout: 240 seconds]
paulk-collins has quit [Quit: Ex-Chat]
bengal has quit [Quit: Leaving]
skaag has quit [Quit: Leaving.]
rafaelMOD has joined #linux-sunxi
arokux2 has joined #linux-sunxi
rafaelMOD has quit [Quit: Leaving]
ricardocrudo has quit [Remote host closed the connection]
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
naobsd has quit [Quit: Page closed]
Renard has quit [Remote host closed the connection]
bertrik has quit [Remote host closed the connection]
Gerwin_J has joined #linux-sunxi
skaag has joined #linux-sunxi
xavia has quit [Remote host closed the connection]
pietrushnic has joined #linux-sunxi
arokux2 has quit [Remote host closed the connection]
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi