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
<libv> the logic of that should get inversed
<libv> uart 0 is not wired to anything, that's what hramrach proved yesterday
<libv> on a13
<libv> but it stops a10s dead to use uart1 indiscriminately
<libv> 3.4.102+ works just as fine as 3.4.61+
<libv> when the proper uart is chosen
<libv> so... i'll go and inverse the uarts in sun5i defconfig, and document the difference
<libv> and i'll go test the default on some a13 hw as well
techn has quit [Read error: Connection reset by peer]
xavia has quit [Remote host closed the connection]
cajg has quit [Ping timeout: 268 seconds]
hipboi_ has quit [Read error: Connection reset by peer]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
Guest92904 has quit [Read error: Connection reset by peer]
buZz has joined #linux-sunxi
buZz is now known as Guest4153
hipboi_ has joined #linux-sunxi
pwhalen has quit [Ping timeout: 240 seconds]
xavia has joined #linux-sunxi
hipboi_ has quit [Ping timeout: 252 seconds]
pwhalen has joined #linux-sunxi
hipboi_ has joined #linux-sunxi
skaag has joined #linux-sunxi
skaag has quit [Client Quit]
skaag has joined #linux-sunxi
naobsd has quit [Quit: Page closed]
skaag has quit [Quit: Leaving.]
allen has joined #linux-sunxi
<allen> hello ,i want know whether lubuntu support Sleep and wakeup through Power Enable Key(PEK)? Who can give me tips ? Thank you very much !
<allen> i found the distro of cubieboard can't sleep ,it is die when i type "echo standby > cat /sys/power/state "
rafaelMOD has joined #linux-sunxi
hramrach has quit [Ping timeout: 264 seconds]
hramrach has joined #linux-sunxi
TheSeven has quit [Ping timeout: 272 seconds]
TheSeven has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
\\Mr_C\\ has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 250 seconds]
Gerwin_J has joined #linux-sunxi
xavia has quit [Ping timeout: 255 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
xavia has joined #linux-sunxi
lynxis_ has joined #linux-sunxi
lynxis has quit [Read error: Connection reset by peer]
naobsd has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
skaag has joined #linux-sunxi
mmarker1 has quit [Remote host closed the connection]
mmarker has joined #linux-sunxi
amitk has joined #linux-sunxi
\\Mr_C\\ has quit [Quit: .]
xavia has quit [Quit: Leaving.]
cubear has joined #linux-sunxi
hipboi_ has quit [Read error: Connection reset by peer]
PulkoMandy has joined #linux-sunxi
rafaelMOD has quit [Quit: Leaving]
hipboi has joined #linux-sunxi
philippe_fouquet has joined #linux-sunxi
<JohnDoe_71Rus> Can you help with kernel .config? But for android. Config are similar.
<JohnDoe_71Rus> I need build modules in kernel, but can only check "M"
Guest4153 is now known as buZz
diego_r has joined #linux-sunxi
y0g1 has quit [Ping timeout: 245 seconds]
Quarx has joined #linux-sunxi
<hramrach> why do you need in kernel?
<hramrach> anyway, the feature probably depends on something else configured as module
<hramrach> and you can load modules in android by hand in some startup script
<hramrach> JohnDoe_71Rus:
maksimlin has quit [Remote host closed the connection]
<JohnDoe_71Rus> add wifi support. i can't load module insmod: init_module '/vendor/modules/rt2800lib.ko' failed (No such file or directory) but the same folder module rtl8150 8115 0 - Live 0x00000000 loads
<hramrach> look in kernel log?
<hramrach> maybe it depends on something else ?
philippe_fouquet has quit [Ping timeout: 268 seconds]
FR^2 has joined #linux-sunxi
<JohnDoe_71Rus> hramrach: http://paste.ubuntu.com/8316588/ dmesg and some commands
<hramrach> JohnDoe_71Rus: and dmesg after you tried to insert the module?
<wens> libv:
<JohnDoe_71Rus> hramrach: I think I found a bug. With kernel 3.3 was the same. I try to build the module into the kernel.
_massi has joined #linux-sunxi
<JohnDoe_71Rus> I can check in the evening
<hramrach> ssvb: it's A10 Olinuxino Lime Rev A
<hramrach> allen: then it's broken. It should either sleep/poweroff and then resume when you press the power button or do nothing
<JohnDoe_71Rus> hramrach: With kernel 3.3 was the same. If rt2800usb = Y works. if rt2800usb = M failed (No such file or directory)
<hramrach> then look in kconfig what rt2800usb depends on and change it to y in the config
<JohnDoe_71Rus> just recompiled my kernel, nothing else changed
<hramrach> and what was the dmesg when it failed?
<JohnDoe_71Rus> i chahge use menuconfig. it should monitor according
<hramrach> well, I guess this failure can be tested without any actual hardware
HeHoPMaJIeH has joined #linux-sunxi
<JohnDoe_71Rus> hramrach: http://paste.ubuntu.com/8316660/
hipboi has quit [Ping timeout: 276 seconds]
<hramrach> so the module is not built properly.
<hramrach> some error in the makefiles of the driver I guess
<JohnDoe_71Rus> no error
<JohnDoe_71Rus> the same souce, the same modules but compiled in kernel work
<hramrach> yes, it's broken
<wens> libv: u-boot-sunxi hsg-h702 patch sent
hipboi has joined #linux-sunxi
<hramrach> hmm, it looks ok so maybe you have module license problem
<hramrach> it says GPL in it so it should see all symbols. weird
<hramrach> also this looks like upstream driver so should not be this broken :/
<hramrach> oh, you did not load rt2800lib.ko and rt2x00lib.ko before rt2x00usb.ko
<hramrach> so it works as expected
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
hramrach has quit [Remote host closed the connection]
hramrach has joined #linux-sunxi
<wens> libv: ugh, where do we put the dram reg dumps?
<allen> hramrach: in android power enable key can sleep and resume the system ,is linux do this ?
zombu2 has quit [Read error: Connection reset by peer]
philippe_fouquet has joined #linux-sunxi
buZz has quit [Read error: Connection reset by peer]
<hramrach> allen: it should unless it's broken. What device, what kernel version, ..
paulk-collins has joined #linux-sunxi
buZz has joined #linux-sunxi
allen has quit [Ping timeout: 246 seconds]
buZz is now known as Guest44448
<hramrach> the suspend code is very specific and not many people use it so it does not get much testing
<hramrach> at some point it worked, then it was reworked and supposedly worked again bu I personally do not use it
Guest44448 is now known as buZz
<hramrach> anyone can help me build a kernel? I cannot build a .S file which includes files using full path
Quarx has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<hramrach> is there some -I for asm?
<hramrach> the full path does not work because the includes are in $(src) but build seems to happen in $(obj)
<joost_dt1> quick question: building u-boot-sunxi and having an a20-olinuxino-lime-4gb, should i use A20-OLinuXino_Lime or A20-OLinuXino_Lime2 to build?
<hramrach> first uses emac, second gmac
<hramrach> not sure if there is a difference otherwise
<joost_dt1> oh wait, the GMAC is for possible future GigE
<joost_dt1> so A20-OLinuXino_Lime it is, nevermind
<hramrach> no. it's for driving the ethernet port with sane ethernet IP
<joost_dt1> then i misread the comments of the original patch
<hramrach> l is 0.5G RAM version l2 1G RAM version
<hramrach> the naming is sooo obvious ...
<joost_dt1> sigh :-)
<joost_dt1> thanks a bunch
paulk-collins has quit [Remote host closed the connection]
<JohnDoe_71Rus> hramrach: what order of loading modules?
<hramrach> modprobe would figure it out for you. if android does not have that just try it
<JohnDoe_71Rus> modprobe does not display modules in the kernel.
balog has joined #linux-sunxi
buZz has quit [Read error: Connection reset by peer]
buZz has joined #linux-sunxi
buZz is now known as Guest90409
jinzo has joined #linux-sunxi
<hramrach> JohnDoe_71Rus: no, it loads module in correct order
avsm has joined #linux-sunxi
xeros has quit [Ping timeout: 272 seconds]
popolon has joined #linux-sunxi
xeros has joined #linux-sunxi
afaerber has quit [Quit: Verlassend]
hramrach has quit [Remote host closed the connection]
hramrach has joined #linux-sunxi
deasy has joined #linux-sunxi
arend has joined #linux-sunxi
eagles0513875 has quit [Excess Flood]
bengal has joined #linux-sunxi
eagles0513875 has joined #linux-sunxi
<libv> nobody bothered to document the second lime in our wiki
<libv> thanks so much for the confusion.
<libv> wens: cool
<hramrach> also whoever committed the l2 did not update l to use gmac as well
<hramrach> or is there any reason at all to not use gmac on an a20 board?
<naobsd> I posted s/EMAC/GMAC/ patch for A20 Lime (not Lime2)
<hramrach> lime2 already usees gmac
<naobsd> I think lime2 is not available yet
<libv> wtf is this nonsense about gmac?
<libv> and why do we then only have a single fex?
<libv> if it is not shipping, then why is it in our repos?
<naobsd> is Dimitar Gamishev olimex person?
<libv> yes
<libv> but that still doesn't mean that this should've been blindly committed
<libv> if someone had gone and spelled the name out, that would've halted much of the confusion as well
<libv> so...
<libv> i am backing out the l2 from uboot
<libv> and we wait until it ships, and someone has it and creates a whole new device page for it
<libv> also, i am renaming the a20 lime stuff to spell out lime
<libv> l/l2 really is not useful
<naobsd> yes
<naobsd> I think so
<naobsd> name for micro is not consistent too
<naobsd> OLINUXINO_M <-> OLINUXINOM
<naobsd> olinuxino_m <-> oli_micro
bengal has quit [Ping timeout: 268 seconds]
Black_Horseman has joined #linux-sunxi
<naobsd> btw, A20 Lime support is already in u-boot-arm/sunxi custodian
<naobsd> and I got "merged" reply from mripard for Linux
<naobsd> GMAC is used in upstream
avsm has quit [Quit: Leaving.]
<naobsd> I'll maintain A20 Lime page
<naobsd> after I do some linux-rockchip things...
<naobsd> btw A20 Lime uses same board as A10 Lime
<naobsd> merge A10/A20 Lime page, is not good?
<hramrach> technically it's the same board with different chip
<hramrach> like cubieboard 1/2
<libv> hramrach: since we have two pages already, i prefer to keep it that way
<naobsd> I see
<libv> this removes a lot of confusion
<libv> and the fact that they are mostly the same board should just be a footnote
<libv> especially since we have separate uboot and fex support
afaerber has joined #linux-sunxi
qemandro has joined #linux-sunxi
Renard has joined #linux-sunxi
<libv> hrm
<libv> Lougi600 is actively maintaining a slackware page for the what is known a13_mid on our uboot
FreezingCold has quit [Ping timeout: 268 seconds]
cubear has quit [Quit: Leaving]
Gerwin_J has joined #linux-sunxi
<libv> ah, he has some page...
<libv> pfff
Black_Horseman has quit [Ping timeout: 264 seconds]
kz1 has quit [Ping timeout: 245 seconds]
kz1 has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
ricardocrudo has quit [Remote host closed the connection]
ricardocrudo has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Guest90409 is now known as buZz
avsm has joined #linux-sunxi
<hramrach> libv I ma running my a13 tablets with uart0 in kernel
<libv> hramrach: right, good, then i do not need to fire up something on my devices
<libv> hramrach: so you agree that this is the good default
<libv> as it will not prohibit booting of other sun5i devices
<libv> at most, it will not get serial output
<hramrach> technically uart0 is available through the sd breakout on the tablets http://linux-sunxi.org/A13/PIO#PF
dack has joined #linux-sunxi
<hramrach> so if you mux it there you have it, if not it goes to /dev/null
<hramrach> so it's good default for a13 as well
<hramrach> and probably the reason I have it in my config
Andy-D has joined #linux-sunxi
<hramrach> A13 olinuxino has uart1 wired to a connector. that would be an exception
Andy-D has quit [Client Quit]
Wes- has joined #linux-sunxi
<hramrach> hmm, the mid tablet had uart1 wired to a port too
<hramrach> but if you have it you should know and if you do not know about or have an uart connector uart0 should work
<Wes-> Hey, has anybody been able to build the latest kernel with iptables enabled? I keep getting stuck with stuff like the error below, and don't know if I should just go ahead and patch the sources, or if I should keep flipping options in make menuconfig and crossing my fingers.
<Wes-> /export/home/wes/sunxi/A10_kernel_3.4/linux-sunxi/include/net/ipv6.h:364: undefined reference to `in6addr_any'
<hramrach> make ipv6 built-in
<Wes-> hramrach: Thanks - trying this
pwhalen has quit [Ping timeout: 272 seconds]
* rellla thinks of buying a bananapi for 40€ ... no ndh, but fex in sunxi-boards and seperate kernel fork not merged into ours ...
<hramrach> what is interesting about bananapi?
<libv> hramrach: i think this default is only for early printing, before the .fex values kick in
<rellla> hramrach: for me only the price and the gmac atm
<libv> but good, uart0 will be the default in the defconfig
<libv> i need to write up a whole section on determining the u-boot uart in our uart page anyway
<libv> so i will document that as well
<libv> rellla: please do, and ndh it :)
<libv> rellla: that should get some of the disappointed bananapi users over to us
<libv> because i doubt that many of the more clueful ones will be too happy with it
<wens> libv: defconfig for what?
<libv> wens: sun5i
<wens> libv: for u-boot or kernel?
<wens> also should check if uart is muxed before or after mmc
<libv> wens: kernel
<wens> if uart is muxed after mmc, might break mmc (especially if you're booting from it)
<rellla> libv: change your username to sth like ndh_nagger :p
<wens> libv: 3.4 i presume?
<libv> wens: CONFIG_SW_DEBUG_UART=1 keeps it from booting on A10s and on hramrach his a13 tablet
<libv> yes
<libv> by setting that to 0, other a13 devices do not get uart printing until much later
naobsd has quit [Quit: Page closed]
philippe_fouquet has quit [Remote host closed the connection]
<libv> the mmc stuff will have been properly set by u-boot before
<Wes-> hramrach: That worked perfectly. Thanks for the tip, I would not have thought to try that on my own.
<libv> the default is the two io pins which are not exported on a13
<libv> if that was changed by uboot to mux to the mmc pins, then all is ok as well
<wens> ah, so it's for the equiv. of earlycon
<libv> wens: probably, i am just 100% certain that this stops my a10s-es from booting
<libv> and that the side effects for a13 are minimal and much more manageable
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
<hramrach> wens: I am booting from mmc and it WorksForMe(TM)
<libv> yeah, the default is probably those two pins which are not exported
<libv> but can be switched to be those two mmc pins
<libv> you then need fel loading, so this is all done at uboot time
pwhalen has joined #linux-sunxi
<hramrach> the default is probably set by u-boot, anyway
<libv> yes, it is
<libv> with no uart config, those two pins of uart0 are used for serial
<libv> now we need to do the same in our defconfig
JohnDoe_71Rus has joined #linux-sunxi
<JohnDoe_71Rus> hramrach: do you help me?
<hramrach> ask the question and then maybe somebody answers
<libv> hramrach: " -> ''' ... i want this to be consistent
<libv> hramrach: either you go and edit the 101 different pages, or you use " :)
philippe_fouquet has joined #linux-sunxi
<JohnDoe_71Rus> I forgot who was trying to help me with the kernel modules a couple of hours ago
ZetaNeta has left #linux-sunxi ["Freeing memory"]
<libv> plus, we probably should be appendign _config to every page
<libv> but then, that will change again when we move our uboot to the next version of uboot
<libv> as there things get completely changed again
<libv> and i hope that they then finally keep things that way for more than a uboot release
<libv> so really, keep the " for now, we need more changes in future
<hramrach> libv: that's for making the thing easy to select
FR^2 has quit [Quit: Connection reset by peer]
<hramrach> the extra " may not matter sometime but generally it's better to not add extra text needlessly
<libv> hramrach: we need an Device_Page_Example_Todo page where we can list these things
<libv> and where someone should at one point go and implement it all across all pages
<libv> hramrach: also, i personally would prefer '' in this case, which gives us italic over bold
<libv> that would be more consistent with the rest of the wiki, i guess
<JohnDoe_71Rus> hramrach: yes it was you
<hramrach> where is italic used in the wiki?
<hramrach> JohnDoe_71Rus: pastebin blocks me out
<libv> hramrach: i use it all the time for things that should slightly stand out from the text
<JohnDoe_71Rus> hramrach: http://pastebin.com/pQkqGqDq
<hramrach> yes, that url is useless
<libv> well, not all the time, i often use either single ' or " as well
<libv> but you have a point that '' or ''' is easier to select
<libv> but '' says "this bit of text is literal, and different from the sentence surrounding this", whereas ''' says "it is very important that you read this exact sentence or you will shoot yourself in your foot"
<hramrach> when used for whole sentence maybe. I use ''' for higlighting the parts that are useful in the text
<hramrach> because '' does not make the text stand out much and makes it hard to read
<hramrach> so generally not a good idea for something you want the people to read
<hramrach> you can get italic almost as good as normal text with good antialiasing but never as good on screen with vertical pixel rows
<libv> overuse of bold will reduce its value
<libv> ''' is one step up from '' which is one step up from normal text
<libv> so yes, not using " or ' will make it easier to select and copy
<libv> but ''' is a step too far
<dack> ''''' for the win! bold and italics!
<hramrach> I skip '' for the reasons stated above. When I get italics screen then maybe I will start to use it because at least on my screen it will look sane
<JohnDoe_71Rus> hramrach: any suggest or more logs?
<libv> and when this change gets instituted, it should be done everywhere, and we should _config everything
<libv> JohnDoe_71Rus: what are you doing?
<hramrach> JohnDoe_71Rus: I suggest you keep using the ubuntu pastebin that does not block people out
<libv> JohnDoe_71Rus: why are you getting all that noise in your log?
<libv> JohnDoe_71Rus: state hw, what uboot/kernel you are using, etc
<hramrach> libv: the problem was that he insmods a kernel module without inserting the dependencies first
<libv> dack: my a10s is close to working, libnand on cubietruck should happen after that
<libv> hramrach: he has more issues than just that
<hramrach> on android where there is no sane module loading
<libv> this log is insane
<JohnDoe_71Rus> libv: i try add rt3072 wifi support. cubieboard android. i made this with 3.3 kernel but cant repeat with 3.4
<hramrach> I did nit see the lst log
<libv> so you added the code for this wifi module to our sunxi-3.4 kernel?
<hramrach> you can't repeat building the driver or can't repeat the error?
<libv> JohnDoe_71Rus: this is for a usb wifi stick?
<dack> libv: woot! I'm _still_ fighting with the supplier to send me a flash image for my device. He finally understood what I wanted a week ago but hasn't been able to figure out how to send me a big file. :P
<JohnDoe_71Rus> hramrach: sorry http://paste.ubuntu.com/8319259/
<hramrach> hmm, that log looks really odd
arend has quit [Remote host closed the connection]
<JohnDoe_71Rus> libv: yes, usb wifi dongle. the sources from cubietech
<hramrach> like you used different nand driver or something
<JohnDoe_71Rus> do not pay attention to errors nand. It is not in them.
<hramrach> JohnDoe_71Rus: it appears that you use modules for different kernel
<hramrach> when you rebuild kernel you should reinstall modules as well
<JohnDoe_71Rus> i test from sd card. in nand another version
<hramrach> the NE stuff is weird. never seen that and it should not happen
<hramrach> what kernel do you have in nand and on SD card?
<JohnDoe_71Rus> nand 3.3 (if it don't broken) in sd 3.4
<hramrach> that should have the same nand driver
<hramrach> unless something broke somewhere along the way
qemandro has quit [Quit: Leaving]
<hramrach> yes, it should work
FreezingCold has joined #linux-sunxi
<hramrach> actually, they advise Change 'nand_used=1' to 'nand_used=0'
<hramrach> so they are probably aware of the driver discrepancy ..
avsm1 has joined #linux-sunxi
Wes-_ has joined #linux-sunxi
<hramrach> so it's known problem but nobody diagnosed the actual cause
<hramrach> libv: what are you doing with libnand?
<wens> libv: ping, where do you want people to put meminfo dumps?
avsm has quit [Ping timeout: 255 seconds]
<libv> wens: sunxi-boards/meminfo/
<libv> wens: i have put that in two emails already, but people overlooked it
<libv> wens: sunxi-boards/meminfo/aXX/
<libv> like with sunxi-boards/sys_config/
<hramrach> JohnDoe_71Rus: When I built the first cubieboard2 SD image both drivers were the same. I could access the nand with either the closed driver or the open one. But looks like something diverged somewhere
techn has joined #linux-sunxi
<hramrach> anybody has some idea about the nand driver here?
<wens> libv: pushed a31 hummingbird
<wens> i'll do the a23 tomorrow
<hramrach> JohnDoe_71Rus: does the android still work?
<JohnDoe_71Rus> http://paste.ubuntu.com/8319388/ new post
<Wes-_> Is it possible to set something in boot.scr to make the HDMI port and USB keyboard be the console? (olimex lime a10)
<hramrach> the one in nand?
<philippe_fouquet> in fel mode some IO are use for configuration
<JohnDoe_71Rus> from sd
<hramrach> JohnDoe_71Rus: regarding the wifi you have still the same problem. The wifi module version does not match kernel version.
<JohnDoe_71Rus> this one source kernel and anroid
<hramrach> you probably changed kernel options and did not reinstall modules or accidentally took modules from wrong three or something
<JohnDoe_71Rus> it build full image to write livesuit
<hramrach> so maybe you need to make clean or whatever and build again. You obvoiusly get different kernel and modules mixed up
<JohnDoe_71Rus> I started to build again. will be ready tomorrow
<hramrach> that's why I don't like these SDKs that build everything from start to end in a day .. and hten when something minor goes wrong you have no idea how the build works so you just build for another day and pray that in the end you get something that works
<JohnDoe_71Rus> build so long only old pc and small RAM
<hramrach> JohnDoe_71Rus: does the android in flash still work?
<JohnDoe_71Rus> yes it work http://paste.ubuntu.com/8319484/
<hramrach> does this image also complain about the partition table? http://dl.linux-sunxi.org/users/hramrach/cubieboard2-linux3.3-SD-card-image/
<libv> wens: cool, thanks
<hramrach> it has the original driver which shipped on the first cubieboards
<JohnDoe_71Rus> hramrach: above boot from nand
<hramrach> yes I see that. so the SD image just complained about the nand format but did not break it
<JohnDoe_71Rus> 2 days ago, after some boot from sd nand was broken
<hramrach> can probably happen when the different driver tries to repair the nand
lerc has quit [Ping timeout: 246 seconds]
paulk-collins has joined #linux-sunxi
HeHoPMaJIeH has quit [Quit: Konversation terminated!]
JohnDoe_71Rus has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
Wes-_ has quit [Ping timeout: 246 seconds]
xavia has joined #linux-sunxi
Akagi201 has quit [Read error: Connection reset by peer]
Akagi201_ has joined #linux-sunxi
Akagi201_ has quit [Ping timeout: 255 seconds]
philippe_fouquet has quit [Remote host closed the connection]
konradoo77 has joined #linux-sunxi
hramrach has quit [Ping timeout: 264 seconds]
Akagi201 has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 252 seconds]
konradoo77 has joined #linux-sunxi
hramrach has joined #linux-sunxi
petr has quit [Ping timeout: 245 seconds]
kill_-9_1 has joined #linux-sunxi
kill_-9_1 has joined #linux-sunxi
kill_-9_1 has joined #linux-sunxi
kill_-9_1 has quit [Changing host]
amitk has quit [Quit: leaving]
cubear has joined #linux-sunxi
amitk has joined #linux-sunxi
naobsd has joined #linux-sunxi
cubear has quit [Quit: Leaving]
cubear has joined #linux-sunxi
buZz has quit [Read error: Connection reset by peer]
buZz has joined #linux-sunxi
buZz is now known as Guest91452
Guest91452 is now known as buZz
bonbons has joined #linux-sunxi
dack has quit [Remote host closed the connection]
petr has joined #linux-sunxi
avsm1 has quit [Quit: Leaving.]
<hramrach> wtf is this? [ 1.557546] WRN:L2728(/scratch/build/linux-2.6/drivers/usb/sunxi_usb/udc/sw_udc.c):ERR: usb device is not active
bengal has joined #linux-sunxi
<hramrach> actually maybe L2761
<hramrach> either way my ethernet gadget fails
buZz has quit [Read error: Connection reset by peer]
buZz has joined #linux-sunxi
buZz is now known as Guest12869
Andy-D has joined #linux-sunxi
kill_-9_1 is now known as MY123
bertrik has joined #linux-sunxi
cubear has quit [Ping timeout: 252 seconds]
popolon has quit [Quit: WeeChat 1.0]
kz1 has quit [Ping timeout: 268 seconds]
konradoo77 has quit [Ping timeout: 240 seconds]
<hramrach> hmm, need to investigate the a10s some more
<hramrach> it boots fine but neither usb gadget nor the ethernet port come onlline
_massi has quit [Quit: Leaving]
<hramrach> nor the HDMI for that matter
cubear has joined #linux-sunxi
afaerber has quit [Quit: Verlassend]
<MY123> hramrach: the A10S is basically 0xDEADBEEF
konradoo77 has joined #linux-sunxi
mmarker has quit [Read error: Connection reset by peer]
mmarker has joined #linux-sunxi
Guest12869 is now known as buZz
<wens> mripard_: do you remember when you used fastboot to load the kernel, did it say "Booting kernel" or "Booting raw image"?
<libv> usb gadget might be the same issue as on a20
<libv> MY123: no, it is not
<libv> hramrach: you have the olinuxino, right?
<MY123> libv: I did not find it for sale except at ridiculous prices (the chips).
<wens> mripard_: i can't get my a80 to boot the kernel, so i tested on my a31, and can't get it to work either :|
<wens> now i'm stumped, cause i clearly remember boot my a31 with fastboot the first time
<libv> MY123: i just got this mele a210 for about 35eur
<MY123> wens: Did you use the right fastboot?
<MY123> (With the VID/PID USB patch)
<libv> wens: so the ippo q8 is really running around half that frequency?
<wens> MY123: linux doesn't need that, you can specify a custom vendor id
<libv> or are you saying that the wrong clock is being dumped in meminfo?
<wens> libv: seems that way, maybe boot0 did something wrong?
<wens> libv: if you read assembly, maybe you could take a look
<libv> i am not sure i want to spend that much time
<libv> i know, it is little in comparison to what i have looked at before
<wens> MY123: i clearly see fastboot downloading the image from the uart logs
<libv> but still
<libv> my todo list is long enough already
<wens> libv: i think it's not that big a deal atm
<libv> let's wait and see when allwinner actually ends up doing anything.
<wens> i agree
<wens> bed time
<libv> i am pretty certain that they will, but they do need to be poked quite vigorously
<libv> sleep well :)
<MY123> libv: Can Tom Cubie do something?
<libv> MY123: tom is at radxa
<libv> doing mostly rockchip these days
skaag has quit [Ping timeout: 246 seconds]
<MY123> libv: He exited from Allwinner?
<libv> probably kicking himself for not having stuck with the sunxi community (just like we are unhappy with what cubietech has become today)
skaag has joined #linux-sunxi
<MY123> Now there is not any OSS friendly mobile chip company, even Intel has gone with PowerVR...
<libv> ?
<libv> intel has been using powervr since 2008
<MY123> libv: Returned to Intel graphics for Bay Trail then regone to PowerVR series 6.
<libv> MY123: i have a pineview sitting around here, atom with i915 from like 2010/2011
<libv> but intel is now also shipping rogue?
<libv> interesting
<MY123> libv: Yeah.
<MY123> (I have a Dell tablet with that)
akaizen_ has joined #linux-sunxi
<MY123> They are fairly new, that tablet is now for returns. (after #intel-gfx told me that they can do nothing)
<libv> many of the intel guys are quite hypocritical about these things
<libv> this is partly because they cannot see the kms code as separate from the 3d engine and the other engines in there
buZz has quit [Read error: Connection reset by peer]
<libv> now if only intel had hired someone with actual display experience back in 2006 :p
akaizen has quit [Ping timeout: 272 seconds]
buZz has joined #linux-sunxi
buZz is now known as Guest94730
<MY123> (They show that it's an Atom in the middle)
<libv> wait and see where they go
<mripard_> wens: Booting kernel iirc
<libv> the powervrs image is really holding their mips back
<mripard_> wens: did you append the DT ?
<mripard_> (to the krenel image, that is)
avsm has joined #linux-sunxi
amitk has quit [Quit: leaving]
diego_r has quit [Ping timeout: 260 seconds]
akaizen_ has quit [Ping timeout: 260 seconds]
avsm has quit [Client Quit]
akaizen has joined #linux-sunxi
konradoo87 has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
konradoo77 has quit [Ping timeout: 245 seconds]
akaizen has joined #linux-sunxi
avsm has joined #linux-sunxi
Guest94730 is now known as buZz
avsm has quit [Client Quit]
<hramrach> libv: yes, olinuxino
<hramrach> I see boot messages on uart but that's about it
<libv> hramrach: so you see those messages later on?
<libv> oh, nm
konradoo87 has quit [Ping timeout: 264 seconds]
konradoo77 has joined #linux-sunxi
pwhalen has quit [Ping timeout: 246 seconds]
skoperst has joined #linux-sunxi
Andy-D has quit [Ping timeout: 268 seconds]
pwhalen has joined #linux-sunxi
netlynx has quit [Quit: Leaving]
Andy-D has joined #linux-sunxi
PulkoMandy has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
konradoo77 has quit [Ping timeout: 245 seconds]
<ssvb> libv: is http://linux-sunxi.org/Olimex_A13-OLinuXino-Micro basically only missing pictures?
<libv> ssvb: yeah, and a quick look at the schematics
konradoo77 has joined #linux-sunxi
<ssvb> libv: ok, will take some tomorrow (in a daylight)
pwhalen has quit [Ping timeout: 268 seconds]
<libv> ssvb: great, thanks :)
<libv> ssvb: btw, mark fosdem in your calendar, if you haven't done so already
<libv> ah, great louigi600 is editing the along rt713 page, looks like we might get another device cleared as well
* libv hopes to fix the mele a210 script.fex/kernel issues tonight as well
konradoo77 has quit [Ping timeout: 260 seconds]
techn_ has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
pwhalen has joined #linux-sunxi
nuptse_ has joined #linux-sunxi
arete74_ has joined #linux-sunxi
tomcheng86 has joined #linux-sunxi
tgaz_ has joined #linux-sunxi
techn has quit [Ping timeout: 252 seconds]
oliv3r has quit [Ping timeout: 252 seconds]
tgaz has quit [Ping timeout: 252 seconds]
Zboonet has quit [Ping timeout: 252 seconds]
tomcheng76 has quit [Ping timeout: 252 seconds]
arete74 has quit [Ping timeout: 252 seconds]
tgaz_ is now known as tgaz
cubear has quit [Quit: Leaving]
oliv3r has joined #linux-sunxi
HeavyMetal has quit [Ping timeout: 240 seconds]
lynxis_ has quit [Quit: No Ping reply in 180 seconds.]
lynxis has joined #linux-sunxi
HeavyMetal has joined #linux-sunxi
lerc has joined #linux-sunxi
kz1 has joined #linux-sunxi
skoperst has quit [Quit: Page closed]
Andy-D has quit [Ping timeout: 246 seconds]
bonbons has quit [Quit: Leaving]
konradoo77 has quit [Ping timeout: 264 seconds]
<hramrach> ok, so this is boot log with the kernel I use on the A13 tablets with just HDMI and emac support added and then olimex image
<hramrach> for some reason it stops in the middle of initializing AXP
<hramrach> do we still have hardwired AXPs or are they autodetected?
<hramrach> hmm, it says axp152 on both logs so should not be it
<ssvb> hramrach: AXP has a somewhat reasonable default configuration, otherwise u-boot SPL would not work
akaizen has quit [Read error: Connection reset by peer]
<ssvb> hramrach: but for higher clock speeds, one needs higher voltages and they need to be configured
akaizen has joined #linux-sunxi
F1skr has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
<ssvb> hramrach: maybe try to increase dcdc3 voltage in fex to 1250 or 1300? 1200 mV could be a bit low
<hramrach> it's the same in the image which boots
ricardocrudo has quit [Remote host closed the connection]
<hramrach> but maybe ram speed was bumped since that
<hramrach> what is dcdc3 used for?
popolon has joined #linux-sunxi
<hramrach> hmm, ram apparently
<ssvb> hramrach: are you debugging a regression?
<ssvb> hramrach: 1.2V is just low in general, and your log terminates after configuring dcdc3
<hramrach> a10s boots with olimex provided ancient image and not with from scratch image
<hramrach> so you could say it's something generally like a regression
<hramrach> what does u-boot set it to?
<ssvb> hramrach: which version of u-boot are you using now?
konradoo77 has quit [Ping timeout: 245 seconds]
<hramrach> sunxi head
<ssvb> hramrach: do you have dmesg log from the old image?
<ssvb> hramrach: u-boot configures some AXP voltages, but they seem to be fine until the kernel tries to take over the AXP
<hramrach> power_failed |= axp152_set_dcdc3(1500);
<ssvb> hramrach: you can probably even try to disable pmu in fex as an experiment
<hramrach> quite a difference 1500 -> 1200
<ssvb> yeah
<ssvb> your kernel log from the ancient image probably has information about the voltages
<hramrach> the old image sets the voltage to 1200 as well but probably uses lower ram clock
<hramrach> it's pasted just below the new log - just changed card to test
<ssvb> ok
<ssvb> hramrach: hmm, U-Boot 2013.10-rc2-08396-g27c7eed-dirty
<ssvb> hramrach: actually there is a difference in u-boot dram code, the old sunxi u-boot tried to set MBUS clock speed to half of DRAM clock speed, but rc2 tries to set MBUS to 300MHz by default
<ssvb> hramrach: this can be overrided in 'dram_para' struct and you can set '.mbus_clock' parameter for each board
<ssvb> hramrach: oh, it's 2013.10-rc2-08396-g27c7eed-dirty (*2013* not *2014*), u-boot is also ancient :)
<ssvb> hramrach: "sunxi head" means u-boot from the linux-sunxi github repository?
<hramrach> yes, that
<hramrach> setting to 1300 also just stops there
MY123 has quit [Quit: Connection closed for inactivity]
<ssvb> hramrach: I have not broken the u-boot at linux-sunxi github yet :)
<ssvb> hramrach: what happens if you try to disable the 'pmu' in fex altogether?
<ssvb> hramrach: or reduce the dcdc3 voltage also in u-boot (could it be that a sudden voltage drop is bad?)
bertrik has quit [Remote host closed the connection]
paulk-collins has quit [Quit: Ex-Chat]
joost_dt1 has quit [Ping timeout: 240 seconds]
link0 has quit [Remote host closed the connection]
GeertJohan has quit [Ping timeout: 250 seconds]
link0 has joined #linux-sunxi
bengal has quit [Ping timeout: 272 seconds]
GeertJohan has joined #linux-sunxi
GeertJohan has quit [Changing host]
GeertJohan has joined #linux-sunxi
joost_dtn has joined #linux-sunxi
nuptse_ has quit [Quit: Leaving]
<hramrach> setting both u-boot and fex to 1400 gets me past that point
F1skr has quit [Quit: WeeChat 1.0]
<hramrach> but it panics or locks up :/
petr has quit [Ping timeout: 245 seconds]
Seppoz has joined #linux-sunxi
<libv> hrm, we have no-one who is interested in touchscreens it seems
<Seppoz> i do use touchscreens with A10/20
<Seppoz> whats the question
<Seppoz> or what about em (sry)
<Seppoz> libv: how advanced is the mainlined branch of the sunxi yet? does it have all features the sunxi-linux has
<libv> well, we seem to have no-one who works our touchscreen page, or who bothers with getting them running and keeping them running
<Seppoz> oh
<libv> Seppoz: quite a way to go still, some of it is blocked on my kms work though
<Seppoz> oh ok
<Seppoz> im using gt911 products with a10/20 if any1 ever needs any help
<libv> Seppoz: on many device pages, people complain about their touchscreen or they have some explanation of how to fix things, or at least of what is wrong with sunxi-3.4 support
<libv> but nobody has gone and unified this information
rafaelMOD has joined #linux-sunxi
<libv> and i hate it when that has to be me again.
<libv> as it always seems to be me
<Seppoz> well you realize that the touchscreen implementation and the gpio implementation on the sunxi brnch is really a pita right?
<Seppoz> especially the combination of touchscreens into one config and so on
<Seppoz> makes it really hard to work with
xavia has quit [Read error: Connection reset by peer]
<libv> i am now fixing up the Along_rt713 page again, and the owner of that is complaining that the ft5x has the axis reversed
<Seppoz> it took me like 5 days to port the gt911 driver
<Seppoz> thats just one setting
<libv> i think i heard this axis reversal several times
<Seppoz> i believe
xavia has joined #linux-sunxi
<Seppoz> its just a matter of the config you use for the screen
jinzo has quit [Quit: Leaving]
<libv> but when i go to the touchscreen page, there is just as much there as when i created it and gave it some structure
lerc_ has joined #linux-sunxi
<libv> which means that it still has no real content
<Seppoz> i believe the problem with touchscreens is that they are mostly very specific
<Seppoz> per device
<Seppoz> with all the configs and so on
<Seppoz> its like the stuff with the screens
lerc has quit [Ping timeout: 252 seconds]
montjoie[home] has quit [Ping timeout: 252 seconds]
<Seppoz> its not like you have a single implemenattion that works with any device
<libv> but currently, nobody has bothered to document that
<libv> nobody has bothered to gather the touchscreen knowledge that is out there
<libv> why or how it does or does not work, nobody has bothered to explain this
<Seppoz> yea i understand, its not the most easy tho ;P
<Seppoz> its not that hard
<libv> everyone just pokes at it a few minutes and then gives up
<Seppoz> well
<Seppoz> once you understand how those ts work
<Seppoz> mainly most are the same
<libv> i do not want to know or hear that, i want others to be able to find that out easily
<Seppoz> problem is that most touchscreens require specific stuff from ts producer
<Seppoz> like a ts profile
<Seppoz> or eeprom config
<libv> Seppoz: can you go document your own touchscreen hardware on our touchscreen page?
<libv> and explain why touchscreen are such a pain in a separate section?
<Seppoz> yes i guess, its propriotary hw tho
<libv> it has a driver, no?
<libv> you said something about having ported it
<Seppoz> yes
<libv> oh, but the board that has that driver is proprietary and not commercially available?
<Seppoz> yes
<Seppoz> shouldnt matter tho
<Seppoz> as long as they use same i2c and same gpios
<Seppoz> also i had to use some tricks in fex file to work around iterrupts and stuff, but i can share that no prob
<libv> ok, thanks :)
montjoie[home] has joined #linux-sunxi
<Nyuutwo> afair in my tablet setting up touchscreen was fixing fex file for reversing axis
<libv> Nyuutwo: which tablet was this?
<Nyuutwo> k10001l1c
<libv> ah, ok
<Nyuutwo> and I'm bad man
<Nyuutwo> haven't sent patch probably
<Nyuutwo> it just hangs in git
<Nyuutwo> on my disk ...
<libv> Nyuutwo: time to redeem yourself :p
<libv> as you know, i have that same hw, because you had the issues with lvds
<Nyuutwo> yup - pll was not initialized in fex
<Nyuutwo> like manufacturer just hardcoded things bypassing fex
petr has joined #linux-sunxi
<Seppoz> ctp_exchange_x_y_flag = 0
<Seppoz> lol
<Seppoz> must be very hard to change
<Seppoz> xD
<Seppoz> people are just to lazy
<libv> Seppoz: hehe
<libv> this is a pretty common theme here, yes
tinti has joined #linux-sunxi
<libv> Seppoz: sounds like that should sit in a "Common pitfalls" section
<Seppoz> sounds like it should sit in the RTFM section
<Seppoz> lol
<libv> Seppoz: our whole wiki is a big RTFM section, but still people refuse to do so
<Seppoz> i have to admit sometimes asking is more easy
<libv> yes, and then when you get a link, you should actually go and read that
<libv> not complain your head off like some :)
<Seppoz> xD
xavia has quit [Remote host closed the connection]
<libv> i am so funny.
<libv> The UART pins are available on the {{Edit|flip}}side of the board, right next to the {{Edit|Fluxcapacitor}}.
buZz has quit [Read error: Connection reset by peer]
buZz has joined #linux-sunxi
Renard has quit [Remote host closed the connection]
buZz is now known as Guest26335
Guest26335 is now known as buZz
Herm has joined #linux-sunxi