Turl changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - Don't ask to ask. Just ask and wait! - See http://linux-sunxi.org | https://github.com/linux-sunxi/ | Logs at http://irclog.whitequark.org/linux-sunxi | #blameOliver
torindel has quit [Ping timeout: 240 seconds]
torindel has joined #linux-sunxi
pirea_ has quit [Quit: Leaving]
arokux2 has quit [Remote host closed the connection]
ManoftheSea has joined #linux-sunxi
<ManoftheSea> Hi. Looking for advice on how to replace the wifi in the pengpod 700. From casual inspection of the motherboard, looks like I need a 4 or 6 contact chip.
ojn has joined #linux-sunxi
popolon has quit [Quit: Quitte]
torindel has quit [Ping timeout: 240 seconds]
torindel has joined #linux-sunxi
geecko has quit [Quit: Quitte]
torindel has quit [Ping timeout: 268 seconds]
torindel has joined #linux-sunxi
jukivili has quit [Ping timeout: 258 seconds]
jukivili has joined #linux-sunxi
jlj has quit [*.net *.split]
\\Mr_C\\ has quit [Read error: Connection reset by peer]
\\Mr_C\\ has joined #linux-sunxi
torindel has quit [Ping timeout: 240 seconds]
torindel has joined #linux-sunxi
derethor has quit [Quit: Leaving]
ramendik has joined #linux-sunxi
<ramendik> hello
<ramendik> I am looking to get a budget small netbook where I could install GNU/Linux instead of Android. Alibaba abd DX.com are full of VI 8850 models and have some Allwinner A10 models too (thoiugh A10 with HDMI is hard to find)
<ramendik> could anyone recommend partiuclar model known to run?
ZetaNeta has quit [Ping timeout: 245 seconds]
torindel has quit [Remote host closed the connection]
torindel has joined #linux-sunxi
ZetaNeta has joined #linux-sunxi
ZetaNeta has joined #linux-sunxi
ZetaNeta has quit [Changing host]
deasy has joined #linux-sunxi
jlj has joined #linux-sunxi
ramendik has quit [Quit: Page closed]
torindel has quit [Ping timeout: 260 seconds]
torindel has joined #linux-sunxi
pfdm has quit [Ping timeout: 250 seconds]
torindel has quit [Ping timeout: 268 seconds]
torindel has joined #linux-sunxi
torindel has quit [Ping timeout: 246 seconds]
torindel has joined #linux-sunxi
torindel has quit [Ping timeout: 245 seconds]
torindel has joined #linux-sunxi
ZetaNeta has quit [Ping timeout: 264 seconds]
torindel has quit [Ping timeout: 268 seconds]
torindel has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
lynxis has quit [Read error: Connection reset by peer]
lynxis has joined #linux-sunxi
slapin has quit [Ping timeout: 240 seconds]
slapin has joined #linux-sunxi
torindel has quit [Ping timeout: 260 seconds]
torindel has joined #linux-sunxi
codingrobot has quit [Ping timeout: 264 seconds]
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
torindel has quit [Ping timeout: 245 seconds]
torindel has joined #linux-sunxi
deasy has joined #linux-sunxi
robertabcd has quit [Quit: Changing server]
robertabcd has joined #linux-sunxi
robertabcd has quit [Client Quit]
torindel has quit [Ping timeout: 264 seconds]
torindel has joined #linux-sunxi
hipboi has joined #linux-sunxi
lynxis has quit [Ping timeout: 245 seconds]
lynxis has joined #linux-sunxi
torindel has quit [Ping timeout: 245 seconds]
torindel has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
torindel has quit [Ping timeout: 264 seconds]
torindel has joined #linux-sunxi
hipboi has quit [Remote host closed the connection]
hipboi has joined #linux-sunxi
hramrach has quit [Remote host closed the connection]
torindel has quit [Ping timeout: 264 seconds]
torindel has joined #linux-sunxi
torindel has quit [Ping timeout: 240 seconds]
torindel has joined #linux-sunxi
torindel has quit [Ping timeout: 264 seconds]
torindel has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
torindel has quit [Ping timeout: 252 seconds]
torindel has joined #linux-sunxi
torindel has quit [Ping timeout: 240 seconds]
torindel has joined #linux-sunxi
Skaag has joined #linux-sunxi
<Skaag> Hi guys, is there some problem with a kernel built with gcc 4.8 failing to boot?
codingrobot has joined #linux-sunxi
<arokux> afaik, oliv3r has told once something abu
<arokux> a
<arokux> sorry.. about gcc-4.8
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
<arokux> Skaag: maybe you can also supply the kernel boot log?
<Skaag> yes
<arokux> .. no idea
<arokux> is the crash reproducible and same all the time?
<Skaag> it's always the same, yes
<Skaag> funnily, I was just reading this page when you pasted your link: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=fe77047364eac502904a33bcbc35a704be9acc9e
<Skaag> this is what made me think about the gcc 4.8 issue
<arokux> Skaag: do you have any reason not go for mainline? :)
<Skaag> well I just never upgraded...
<Skaag> :)
<Skaag> do you think it will help in this case?
<arokux> Skaag: the supported legacy is sunxi-3.4
<Skaag> question is, will it work with gcc 4.8 or will I have to downgrade gcc regardless?
<arokux> and there is some support in mainline linux with additional features in some other branches
<Skaag> I don't mind trying 3.4
<arokux> Skaag: "The problem is not limited to linux-yocto it also impacts upstream 3.8 stable"
<arokux> Skaag: so maybe it won't go away with sunxi-3.4
<Skaag> gotcha
<Skaag> this started happening after I upgraded the build machine to the latest ubuntu, which brought with it gcc 4.8
<arokux> Skaag: what features do you need to be supported by the kernel?
<Skaag> other than the a13_olinuxino, I need a bunch of things... uvc video, audio, usb touch screen, etc... not too many, but important :-)
<Skaag> usbserial
<Skaag> and I need the audio to work well, this is what caused me to try to recompile the kernel in the first place
<Skaag> otherwise I was totally happy with the 3.0.62 kernel I had until now
<arokux> I provide usb support for the mainline, it is not mainlined yet, going to happen though
<arokux> there is no audio yet in the mainline f
<arokux> afaik
<arokux> but i'm not sure it is SoC specific
<Skaag> so which version do you suggest I stick with?
<arokux> well the feature full and supported by this channel (sunxi.org) is sunxi-3.4
<Skaag> thanks
<arokux> Skaag: you can have more adventures and try mainline :)
<Skaag> without audio/usb support it would be a waste of time at this stage... :-\
<arokux> Skaag: usb is there, audio - do you mean jack or hdmi audio?
<Skaag> jack
<Skaag> I don't need hdmi at all at this stage
<Skaag> I'm using the A13 by Olimex, it has VGA output, which is what I am using right now
<arokux> Skaag: ah, mainline won't support any video output :)
<Skaag> how do I make the sunxi-bsp project compile with gcc-4.7 instead of 4.8?
<arokux> Skaag: find where the compiler is specified and adjust it to your needs
<JohnDoe_71Rus> which setting priorities? [target] storage_type or uEnv.txt root = /dev/mmcblk0p3 to boot from SD.
<JohnDoe_71Rus> because storage_type = 0 can not boot from the card?
<Skaag> I just modified the link in /usr/bin/
<Skaag> it was pointing to gcc-4.8, i switched it to gcc-4.7. hopefully that's enough.
<arokux> Skaag: hm.. hopefully you changed the link to a gcc which is for cross compilation
<Skaag> :) we're about to find out!
<arokux> JohnDoe_71Rus: where you specify this? "storage_type = 0"?
<JohnDoe_71Rus> arokux: in script.bin/fex file
<JohnDoe_71Rus> use android
<JohnDoe_71Rus> http://linux-sunxi.org/Fex_Guide#.5Btarget.5D
<arokux> JohnDoe_71Rus: oh.. ok. I know nothing about android.
<arokux> Skaag: and...?
<Skaag> it just finished recompiling the kernel
<Skaag> copying to SD card and booting
<Skaag> still says gcc 4.8.1
<Skaag> buggery
<arokux> Skaag: btw, I've added usb support to u-boot, and u-boot supports some usb2ethernet dongles. it means you can grab your kernel over network without a need to burn it to the sd card
<Skaag> no ethernet on this board
<Skaag> only wifi
<arokux> Skaag: I think you just changed the link to your host system compiler.
<Skaag> yes
<arokux> Skaag: usb2ethernet dongle can be used, read more carefully :)
<Skaag> the makefile in linux-sunxi has some complex logic for detecting the compiler it needs... :-\
<arokux> Skaag: give me a link on github
<Skaag> arokux, I don't have one... (I need to buy a few)
<arokux> Skaag: make sure you buy one which is supported by U-Boot
<Skaag> thanks
rellla has joined #linux-sunxi
<Skaag> I'm just uninstalling gcc 4.8 entirely
<Skaag> I didn't ask for it anyway
Quarx has joined #linux-sunxi
<oliv3r> goooooood mornin' ya'll
<JohnDoe_71Rus> oliv3r: hi
panda84kde has joined #linux-sunxi
<arokux> Skaag: any luck this time? :)
<Skaag> I think I ruined something badly... now u-boot won't compile. claims system is not configured.
<Skaag> it refers me to the README, but that doesn't contain system dependencies as far as I could find
<arokux> Skaag: what is the output of the readlink -f `which arm-linux-gnueabihf-gcc`
<Skaag> its: /usr/bin/arm-linux-gnueabihf-gcc-4.7
<Skaag> and calling it works
<Skaag> (without the -4.7)
<arokux> Skaag: so you seem to be fine at this point. what is the u-boot message?
<arokux> Skaag: without 4.7? like by running gcc?
<Skaag> no I mean by running: arm-linux-gnueabihf-gcc <- this works (meaning the link works)
shineworld has joined #linux-sunxi
<arokux> Skaag: I'd change to u-boot-sunxi and do a "make distclean CROSS_COMPILE=arm-linux-gnueabihf-gcc"
<arokux> Skaag: helped?
<Skaag> no :(
<Skaag> same exact error. I think it's some dependency I broke.
<Skaag> there used to be a page with the list of packages needed to cross compile on ubuntu
<Skaag> can't find it now
<Skaag> 3am :-(
tinti has quit [Ping timeout: 245 seconds]
<arokux> Skaag: do you have this guy? /host/home/skaag/src/sunxi-bsp/build/a13_olinuxino-u-boot/include/autoconf.mk
<Skaag> yes, it's 4423 bytes large
tinti has joined #linux-sunxi
<arokux> Skaag: then you haven't run distclean?
<Skaag> I did
<Skaag> hm
<arokux> Skaag: run it again and check this guy vanishes
<Skaag> I cleaned also in sunxi-bsp (one level up)
<Skaag> looks better now
<arokux> Skaag: better? :) you are just rebuilding everything again...
<Skaag> what choice do I have :)
<Skaag> do you think it's safe to enable high resolution timer support in ARM kernels?
<arokux> I have no idea, I know that some Allwinner SoCs just miss them, do not know which ones
torindel has quit [Ping timeout: 245 seconds]
<Skaag> hopefully the a13 supports it
torindel has joined #linux-sunxi
BluesBoy has joined #linux-sunxi
rz2k has joined #linux-sunxi
<Skaag> ok it boots again
<Skaag> ITS ALIVE!!
* Skaag checks that all hardware components function
<Skaag> argh. forgot to enable USB Touch Screen as module...
<arokux> Skaag: sunxi-3.4?
<Skaag> ah, good question. I think perhaps still the 3.0 branch...
* Skaag checks
jemk has joined #linux-sunxi
<Skaag> yes, 3.0.62
<Skaag> how do I switch between branches?
<arokux> change to linux-sunxi and: git checkout sunxi-3.4
<Skaag> thanks
<Skaag> tomorrow I will try to do all this again with 3.4
<Skaag> have to get some sleep. thanks for the help!!
<arokux> welcome, good night.
<arokux> Skaag: one more thing...
<Skaag> ?
<arokux> Skaag: can you please make some notes here based on your today adventures: linux-sunxi
<arokux> Skaag: after a good sleep of course :)
<Skaag> sure
<Skaag> I still have audio trouble...
<arokux> Skaag: like what kernel have you used and what was the problem.
<arokux> you haven't expected it to go away, have you? you use the same software after all
<arokux> i'm leaving now too, so see you!
<Skaag> I did set a previously unset kernel flag...
<Skaag> high resolution timers
<Skaag> see you :)
iamfrankenstein has joined #linux-sunxi
n01 has joined #linux-sunxi
rz2k has quit [Read error: Connection reset by peer]
torindel has quit [Ping timeout: 246 seconds]
torindel has joined #linux-sunxi
_massi_ has joined #linux-sunxi
n01 has quit [Read error: Connection reset by peer]
Sonicadvance1 has quit [Ping timeout: 272 seconds]
n01 has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
rellla2 has joined #linux-sunxi
rellla3 has joined #linux-sunxi
notmart has joined #linux-sunxi
popolon has joined #linux-sunxi
torindel has quit [Ping timeout: 246 seconds]
FR^2 has joined #linux-sunxi
torindel has joined #linux-sunxi
Black_Horseman has quit [Quit: Αποχώρησε]
Black_Horseman has joined #linux-sunxi
ganbold_ has quit [Ping timeout: 272 seconds]
ganbold_ has joined #linux-sunxi
<hno> Skaag, as far as I know sunxi-linux 3.4 is not compatible with gcc-4.8. Hangs at boot.
<Skaag> hno, thanks for the feedback.
<Skaag> also seems like the audio is working after all.
<Skaag> although not without many errors/warnings... IRQ issues, and also this one: [pulseaudio] sink-input.c: Failed to create sink input: too many inputs per sink.
<Skaag> will research more when I wake up. brain is no longer in functioning mode...
<popolon> hno, I've a working version compatible with gcc 4.8
<popolon> but that's probably the reason most recent kernel crash then ???
<popolon> I start to ask myself if I didn't used 4.7 for the compilation ???
torindel has quit [Ping timeout: 245 seconds]
<hno> Ok, looked into kernel history and that memset patch is in linux-sunxi 3.4 since Thu Jun 27 18:57:52 2013 -0300. Don't think I have tried after that.
torindel has joined #linux-sunxi
Soru has joined #linux-sunxi
<hno> but there may well be more issues in our kernel related to gcc-4.8. 3.4 is a pretty ancient kernel.
vicenteH has quit [Ping timeout: 240 seconds]
<hno> new gcc optimizations which breaks code assumptions.
rellla3 has quit [Quit: Nettalk6 - www.ntalk.de]
rellla3 has joined #linux-sunxi
torindel has quit [Ping timeout: 259 seconds]
enrico_ has joined #linux-sunxi
torindel has joined #linux-sunxi
rellla3 has quit [Remote host closed the connection]
tinti has quit [Read error: Connection reset by peer]
vicenteH has joined #linux-sunxi
<popolon> hno, thanks for information, I will try to compile recent 3.4 with gcc 4.7 then
<popolon> but I noticed even precompiled binaries kernel crash on cb2
<popolon> don't know if some was compiled with gcc-4.8 ?
<popolon> (I tried precompiled kernel about one week ago)
torindel has quit [Ping timeout: 246 seconds]
torindel has joined #linux-sunxi
torindel has quit [Ping timeout: 264 seconds]
torindel has joined #linux-sunxi
Black_Horseman has quit [Ping timeout: 260 seconds]
torindel has quit [Ping timeout: 268 seconds]
torindel has joined #linux-sunxi
shineworld has quit [Quit: Leaving]
torindel has quit [Remote host closed the connection]
torindel has joined #linux-sunxi
soul has joined #linux-sunxi
Soru has quit [Ping timeout: 245 seconds]
soul is now known as Guest60865
paulk-collins has quit [Ping timeout: 264 seconds]
torindel has quit [Ping timeout: 268 seconds]
torindel has joined #linux-sunxi
Soru has joined #linux-sunxi
Guest60865 has quit [Ping timeout: 240 seconds]
Soru_ has joined #linux-sunxi
fredy has quit [Excess Flood]
Soru has quit [Ping timeout: 246 seconds]
fredy has joined #linux-sunxi
Soru__ has joined #linux-sunxi
Soru_ has quit [Ping timeout: 240 seconds]
torindel has quit [Ping timeout: 260 seconds]
torindel has joined #linux-sunxi
n01 has quit [Ping timeout: 260 seconds]
Soru__ has quit [Ping timeout: 252 seconds]
ManoftheSea has left #linux-sunxi [#linux-sunxi]
jemk has quit [Quit: Verlassend]
\\Mr_C\\ has quit [Quit: .]
\\Mr_C\\ has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
torindel has quit [Ping timeout: 245 seconds]
torindel has joined #linux-sunxi
soul has joined #linux-sunxi
soul is now known as Guest14418
Sonicadvance1 has joined #linux-sunxi
n01 has joined #linux-sunxi
torindel has quit [Ping timeout: 245 seconds]
torindel has joined #linux-sunxi
fnchen has joined #linux-sunxi
fnchen_ has joined #linux-sunxi
fnchen_ has quit [Remote host closed the connection]
fnchen has quit [Read error: Connection reset by peer]
Guest14418 has quit [Ping timeout: 264 seconds]
deasy has joined #linux-sunxi
vicenteH has quit [Ping timeout: 245 seconds]
jinzo has joined #linux-sunxi
dack has joined #linux-sunxi
soul has joined #linux-sunxi
soul is now known as Guest66228
Sonicadvance1 has quit [Ping timeout: 245 seconds]
gzamboni has joined #linux-sunxi
gzamboni_ has quit [Ping timeout: 272 seconds]
atiti has joined #linux-sunxi
Quarx|2 has joined #linux-sunxi
Quarx has quit [Ping timeout: 260 seconds]
shineworld has joined #linux-sunxi
torindel has quit [Remote host closed the connection]
torindel has joined #linux-sunxi
rmull has joined #linux-sunxi
jinzo has quit [Quit: Leaving]
hansg has joined #linux-sunxi
Guest66228 has quit [Ping timeout: 252 seconds]
pfdm has joined #linux-sunxi
hansg has quit [Quit: Leaving]
torindel has quit [Ping timeout: 246 seconds]
torindel has joined #linux-sunxi
<dack> okay.. I'm trying to help find a solution to https://github.com/linux-sunxi/linux-sunxi/issues/158 but I've run into a wall... I got the serial terminal and I think I'm at the uboot prompt, but I can't run the "gpio" commands
<dack> does something special need to be done to add the "gpio" command to uboot?
<dack> okay.. it seems I have to "#define CONFIG_CMD_GPIO" in the config. Where is this config?
Quarx|2 has quit []
Quarx has joined #linux-sunxi
codingrobot has quit [Ping timeout: 264 seconds]
codingrobot has joined #linux-sunxi
vicenteH has joined #linux-sunxi
egbert has quit [Read error: Operation timed out]
BluesBoy has quit [Quit: HydraIRC -> http://www.hydrairc.com <-]
<Turl> dack: include/configs/sunxi-common.h I think
Sonicadvance1 has joined #linux-sunxi
<dack> Turl: Is there any way to turn on that feature without having to recompile and re-install uboot?
<Turl> dack: CONFIG_CMD_GPIO is already enabled apparently
<dack> Turl: yeah, I see that in the sunxi repo. However, I got this uboot from an image someone else made, so I have no idea what settings they set on it.
ganbold__ has joined #linux-sunxi
<Turl> time to upgrade then :)
<dack> *shakes fist* :)
ganbold_ has quit [Ping timeout: 240 seconds]
Sonicadvance1 has quit [Remote host closed the connection]
rellla has quit [Quit: Nettalk6 - www.ntalk.de]
<mnemoc> https://aw-som.com/product_info.php?products_id=32 ... the BDD thing got renamed? or cloned?
HeHoPMaJIeH has quit [Remote host closed the connection]
wingrime has joined #linux-sunxi
rellla2 has quit [Quit: Nettalk6 - www.ntalk.de]
<arokux> dack: there, I'm back now :)
<arokux> mnemoc: that guy told us he (and possibly some others) has/have left BDD and will produce a product very soon
<arokux> "very soon" was ...
<dack> arokux: hey.. I got the latest version of uboot going and was about to try the gpio command
<arokux> dack: and then the lightning stroke into the board and damaged it? :)
<mnemoc> somehow their abuse of aw's logo and name feels.... odd
<arokux> mnemoc: the guy told he was working close with AW
<arokux> mnemoc: so "very soon" took 3 months
<arokux> mnemoc: how have you found them?
<mnemoc> and the "working close with AW" probably means "contracted wits to do the design for us"
<mnemoc> arokux: spam :/
Sonicadvance1 has joined #linux-sunxi
<mnemoc> https://aw-som.com/product_info.php?products_id=91 <--- about including a free camera if I order now
<buZz> ooo i love that name
<buZz> aw-som
<mnemoc> awesome ;-)
<buZz> yeah :P
<arokux> mnemoc: yeah, this is definitely that guy, he liked upverters
<buZz> anyway, why is it not a EOMA-68 board?
<arokux> their website contains quite a bit of info - links to all our resources
<dack> arokux: "gpio s PB09" gave me power to the USB ports
<buZz> also, if you are preordering, why cant you select all the options :/
<arokux> dack: do: gpio c PB09
<arokux> c for clear, s for set
<arokux> dack: and try maybe some other will give it too
<arokux> dack: gpio s PB09 gives power to both USB ports?
<arokux> buZz: preordering what?
<buZz> aw-som
<arokux> lthough the hardware and software is open source
<arokux> aw-som is OSHW?? o_O
<buZz> doubt that
<arokux> they mean the pinout is open source..........
<arokux> how cool is that?? :D
<buZz> about 3 cool
<arokux> dack: still there?
Soru has joined #linux-sunxi
<dack> arokux: here! yeah, I got power to both ports
<dack> arokux: which others did you want me to try?
<arokux> dack: just the three I've given to you
<dack> arokux: okay, 6 and 12 do nothing for the top usb port
<dack> arokux: nothing for the bottom either...
<arokux> dack: good job. now I can give you a workaround probably...
<arokux> so that it looks: usb_drv_vbus_gpio = port:PB09<1><0><default><0>
<dack> arokux: what's the last 0/1 do?
<arokux> dack: so if you now use the latest kernel with new script.bin you should have power on usb ports, hopefully.
<dack> arokux: k.. I'll try it out and get back to you
<dack> arokux: wasn't that fex the one provided by the manufacturer??
codingrobot has quit [Ping timeout: 264 seconds]
codingrobot has joined #linux-sunxi
<arokux> dack: well.. it worked somehow with a possibly buggy kernel... or our kernel got buggy, I do not know exactly yet, this is a temporary workaround, I'll continue investigating.
<arokux> techn__: ^^^^
<dack> arokux: ah.. okay
shineworld has quit [Quit: Leaving]
<arokux> dack: what is you plan with the board anyway? :)
atiti has quit [Ping timeout: 245 seconds]
<dack> arokux: we're using it as a bridge between bluetooth devices and the internet
<arokux> dack: some commercial or hobby project?
<dack> arokux: commercial
rz2k has joined #linux-sunxi
n01 has quit [Ping timeout: 245 seconds]
xeloweb has quit [Ping timeout: 250 seconds]
codingrobot has quit [Ping timeout: 264 seconds]
codingrobot has joined #linux-sunxi
torindel has quit [Ping timeout: 240 seconds]
torindel has joined #linux-sunxi
<dack> arokux: no dice! I'm using the latest 3.4 kernel and made the changes to the script.bin
<dack> I noticed this message, though: ERR: script_parser_fetch usb_controller_type failed
<arokux> with: usb_drv_vbus_gpio = port:PB09<1><0><default><0>
<arokux> dack: sorry, this is the last test for you, i'll take deep thinking break afterwards!
Sonicadvance1 has quit [Ping timeout: 252 seconds]
<dack> arokux: still no dice!
<arokux> dack: have you rebuild script.bin?
<arokux> rebuilt*
<dack> yeah, I copied the fex from the repo and rebuilt it with the sunxi-tools fex2bin
<dack> then copied the script.bin to the same partition as uImage
<arokux> dack: yep, right. ok, I'll look closer at this stuff
<arokux> techn__: ^^^^^
<dack> I now can't see my Wifi adapter after that last change
ganbold__ has quit [Remote host closed the connection]
ganbold__ has joined #linux-sunxi
<Skaag> hi arokux :)
<arokux> dack: yeah, roll it back.
<arokux> dack: it means that line was actually correct.
<arokux> dack: btw, do you see wifi adapter with the latest kernel?
<arokux> dack: and with vanilla fex?
<arokux> hi Skaag
<dack> arokux: I was actually able to get power earlier by running "gpio s PB09" and then running "boot" (before making changes to script.bin)
<Skaag> hope you had a great day
<dack> arokux: yeah, the wifi adapter is powered and seems to be on a separate hub
<arokux> dack: so wifi adapter is powered all the time? in -r1 and later with -r2/stage?
nove has joined #linux-sunxi
<dack> arokux: yes. except after making that last change to script.bin . So usbc2 is probably that hub
<dack> arokux: k.. be back later..
<arokux> dack: thanks
<arokux> Skaag: won't complain
<Skaag> :)
<Skaag> well, I will complain a bit: I'm cold!!!
<techn__> arokux:
<arokux> techn__: yes?
geecko has joined #linux-sunxi
<techn__> "vcc_en_gpio" ?
<techn__> "usb_hub_vcc_en_gpio" ?
<arokux> techn__: what is this? was it there before?
<buZz> en is dutch for and
<techn__> arokux: no other config has it :/
<arokux> techn__: I mean, was it used before by Chinese code?
<oliv3r> buZz: or english for En-glish or En-able :p
<buZz> oh, right
<buZz> its probably enable :P
<buZz> why would ppl abreviate that :/
<techn__> arokux: dunno.. I'll try to grep other branches
<arokux> techn__: please do this, thanks
<arokux> Skaag: now sunxi-3.4 building time?
pfdm has quit [Ping timeout: 250 seconds]
Fusing has joined #linux-sunxi
<Skaag> yes, will start building in a few minutes
panda84kde has quit [Quit: Konversation terminated!]
ZetaNeta has joined #linux-sunxi
ZetaNeta has quit [Changing host]
ZetaNeta has joined #linux-sunxi
<arokux> techn__: any success?
notmart has quit [Quit: notmart terminated!]
enrico_ has quit [Quit: Bye]
Soru has quit [Read error: Connection reset by peer]
soul has joined #linux-sunxi
soul is now known as Guest87547
<arokux> techn__: I cannot find usb_hub_vcc_en_gpio in any of the branches.
<wingrime> mnemoc: as expected no comments still)
_massi_ has quit [Remote host closed the connection]
eebrah has joined #linux-sunxi
<wingrime> arokux: you still can't get usb on hackberry
<arokux> wingrime: this is sunxi-3.4 regression. OTG interferes with HOST though GPIO
<wingrime> arokux: I was right ?
<arokux> wingrime: about what?
eebrah has quit [Ping timeout: 240 seconds]
<wingrime> fet with gpio
<arokux> wingrime: ... you never explained what you mean by this. GPIOs should be always poked for any sunxi-board in order to enable power supply to the USB ports.
<arokux> wingrime: in the case of Hackberry the OTG interferes with HOST
eebrah has joined #linux-sunxi
<arokux> wingrime: do you have schematics for hackberry maybe_
<arokux> ?
<wingrime> no
hramrach has joined #linux-sunxi
eebrah is now known as Guest79005
<arokux> wingrime: so why do you think it is special?
<wingrime> arokux: becose your code not works
<wingrime> arokux: thats firstly
<wingrime> arokux: and secondly, there is no other way broke it (I think)
<arokux> wingrime: it is NOT my code. this is a regression introduced by techn__ and in sunxi-3.4.
<wingrime> arokux: I thinked are you taling about mainline
<wingrime> *talking
<arokux> wingrime: I've added code to USB HOST only, techn__ imported some code into USB OTG and it made USB HOST not to work.
<arokux> wingrime: no, I'm a not.
Guest79005 has quit [Read error: Connection reset by peer]
geecko has quit [Read error: Connection reset by peer]
<wingrime> arokux: OTG are standart IP from synapsis?
geecko has joined #linux-sunxi
Quarx has quit []
<dack> k.. I'm back if you want me to check anything further on the hackberry.
codingrobot has quit [Ping timeout: 264 seconds]
eebrah_ has joined #linux-sunxi
<gzamboni> Are you aware of this company aw-som.com ?
<dack> gzamboni: people were just talking about it on here before..
codingrobot has joined #linux-sunxi
<gzamboni> let me check the history :P
FR^2 has quit [Quit: Connection reset by peer]
jemk has joined #linux-sunxi
<wingrime> jemk: ping
<jemk> wingrime: pong
<rz2k> gzamboni: yes, dude from there was around for some time
<rz2k> didnt show any interest in opensource
<rz2k> probably sold his for to AW, there are page for this SoM on AWs site.
<rz2k> s/his for/his work/
<wingrime> jemk: I tryed 4k video
<wingrime> with vdpau
<rz2k> gzamboni: back in the days, that company even had different name, something like "Black Dragon".
<rz2k> thus why they have this dark site
<techn__> arokux: is it really USB1/2 that is not working?
<jemk> wingrime: and? does it work?
<wingrime> jemk: slow, and with glitches
<wingrime> jemk: only left side of video decoed normaly but slow
<wingrime> jemk: for right side of video, looks I frames was incorect, but P frames looks worked, I saw only diffences
<wingrime> jemk: how are you handle video buffer end ?
eebrah_ has quit [Read error: Connection reset by peer]
arokux2 has joined #linux-sunxi
<wingrime> jemk: so, you can try fix it)
<jemk> wingrime: uhm, input buffer is fixed to 1Mb size, maybe i frames are bigger for 4k
<jemk> wingrime: and i just noticed there isn't even any overrun check...
eebrah has joined #linux-sunxi
<wingrime> jemk: yes, you sholud add some limiters for allocator
eebrah is now known as Guest86935
<jemk> wingrime: no working board available this week, i can only do theoretic work
<wingrime> jemk: ok, such things not quick
<jemk> wingrime: you can try to set a bigger VBV_SIZE in vdpau_private.h
notmart has joined #linux-sunxi
notmart has joined #linux-sunxi
notmart has quit [Changing host]
Guest86935 is now known as eebrah_
eebrah_ has quit [Read error: Connection reset by peer]
<dack> techn__: yeah, I tried changing L733 to PH09 with no success
<dack> techn__: also L743 with no success
<arokux2> techn__: can you please analyze your patch and see what can be the problem?
eebrah_ has joined #linux-sunxi
<techn__> which was fixes
<techn__> arokux2: no clue.. is that port really USB0? or is it misusing some bug?
diego71 has joined #linux-sunxi
<arokux2> techn__: what? if drivers/usb/sun*i_usb are removed the bug disappears.
<techn__> fixed.. arokux2, I didn't find "usb_hub_vcc_en_gpio" implementation
<techn__> arokux2: disappears?
<techn__> I read that it became visible
diego71_ has quit [Ping timeout: 245 seconds]
<techn__> arokux2: "okay, killed them all and I don't have any power on the USB ports"
<arokux2> techn__: oops... I have read it wrong o_O
<techn__> so, is that port really USB0 ?
<dack> arokux: I just realized something and retested changing L733
<arokux2> techn__: in any case - bisect pointed to your patch :p
<dack> ^_
<dack> I think I may have accidentally just changed the 6 to a 9 and the 1 to 0 and missed the PH/PB part
<arokux2> dack: and...?
<dack> HOWEVER... I can't seem to get any devices to work. I just have power now.
<dack> I tried it again by copying the line below it and now I have power on the USB.
<arokux2> techn__: what about splitting your commit into pieces and kindly asking dack to check each of those?
<techn__> .. set on
<techn__> dack: ok, so it is most likely USB0.. and now that I fixed it so that VCC is only se on when USB OTG cable is connected
<techn__> dack: P_B_09
<arokux2> shit happens.
<techn__> yes :)
eebrah_ has quit [Ping timeout: 272 seconds]
<arokux2> techn__: I'm sorry, I'm not following you.
eebrah_ has joined #linux-sunxi
<dack> wait.. so I should only get power when using an OTG cable?
<techn__> arokux2: dack: https://groups.google.com/forum/?hl=fi&fromgroups#!search/Fix$20host$20mode./linux-sunxi/WPUbfzwsU9c/cXdkK_PfZgAJ
<arokux2> techn__: this will not open.
<arokux2> techn__: please find it here: http://dir.gmane.org/gmane.comp.hardware.netbook.arm.sunxi
<techn__> dack: you could try to apply that patch to latest codes
<techn__> then usb0 forces power
FR^2 has joined #linux-sunxi
<arokux2> techn__: can the both USB ports be OTG on hackberry?
<techn__> arokux2: no clue
<dack> are you guys saying that plugging in a dongle directly won't work unless I use an OTG cable? (if the patch is successful)
bsdfox\ has quit [Ping timeout: 260 seconds]
<arokux2> techn__: ^
<arokux2> dack: always ping :)
<arokux2> #join systemd
<techn__> dack: no idea how hackberry is wired
<arokux2> dack: do you happen to have any schematics of hackberry maybe?
<techn__> in theory otg mode could be wided in PCB..
eebrah_ has quit [Ping timeout: 285 seconds]
<techn__> .. wired
<dack> arokux: don't have any specs
<techn__> if that port is USB0 aka OTG
<techn__> USB1/2 shouldn't need any those stuff
eebrah_ has joined #linux-sunxi
<dack> techn__: I guess I could run it as host-only to continously have power, right? I'd like to plug dongles in directly and get power
<techn__> yes
<arokux2> dack: why you have bought this f*ing hackberry :('
Fusing has quit [Ping timeout: 269 seconds]
<wingrime> jemk: but download it file is 6.5 GB
<dack> arokux: lol! These issues didn't exist when I got it!
<arokux2> dack: :)
<arokux2> techn__: what about splitting your commits into pieces?
<arokux2> techn__: to be honest you should have done this from the very beginning. git bisect would have given us the answer already.
wingrime has quit [Quit: Lost terminal]
torindel has quit [Ping timeout: 246 seconds]
eebrah_ has quit [Read error: Connection reset by peer]
torindel has joined #linux-sunxi
<mnemoc> arokux2: now with the nightlies improved, may I remove sunxi-next-usb from the official repo?
<arokux2> mnemoc: yes
<mnemoc> great. thanks. hope sunxi-devel gets your code soon :)
<arokux2> mnemoc: still need to invest some work into OHCI
<arokux2> mnemoc: what is next on your todo list? :p
<mnemoc> make $ :/
<mnemoc> but on my sunxi-3.4 list the next is to make a generic script.bin processor and turn the drivers there into platform_driver/device_driver based on what's on the script file instead of making it the other way around. bringing those drivers a little cleaner and closer to what DTS will do in 3.10+
<mnemoc> hopefully that will allow a hybrid 3.10 to deprecate 3.4
<arokux2> mnemoc: ok
<mnemoc> and/or teach fexc to generate a .dts out of the script.bin for a full-featured dts-based kernel, even if drivers are crap
eebrah_ has joined #linux-sunxi
<techn__> arokux2: Those commits are splitted already to almost 6 commits.. commit that shouldn't have any effect has effect
<mnemoc> (even if the quality of the drivers is still crap)
<dack> techn__: arokux: woot! success!
<arokux2> dack: what did you do?
<dack> I think the "OTG" thing works by connecting the board via the USB without the power plugged in. Not exactly standard.
<techn__> dack: I'm not sure if that is success.. hackberry is wrongly wired :(
<mnemoc> <3 miniand <3 *cough*
<mnemoc> turning script.bin and 3.4 into legacy mode by having a dts-based kernel that is actually fully usable by people
geecko has quit [Remote host closed the connection]
<arokux2> dack: and now you have power on both ports and are able to use USB devices with latest sunxi-3.4?
<dack> arokux: yes. using the latest version in the sunxi-3.4 branch plus that patch. I have power on both ports and am able to use the devices
<techn__> I'm not sure how to fix this.. I think we should have somekind confirmation of usb wiring :/
<arokux2> techn__: the question now is how to incorporate this patch into the official sunxi-3.4
<dack> XD if hackberry { ...
<mnemoc> :\
<arokux2> dack: maybe you as owner of the board can contact the distributor/manufacturer?
<techn__> like hansg says.. my patch is wrong since it "forces" power even if it's not needed
<arokux2> techn__: did the Chinese code also force power?
<dack> arokux: what exactly should I ask?
<techn__> arokux2: old code used to have this "force".. latest branches has power consumption optimizations
egbert has joined #linux-sunxi
<techn__> or maybe host only mode could force power always on
<mnemoc> I haven't followed the issue, but can't this "power" issue just be solved by adding a foo_power = port:..... into script.bin ?
<mnemoc> the drivers blindly load all port: fields, even if they don't know about the key
eebrah_ has quit [Ping timeout: 246 seconds]
Guest87547 has quit [Ping timeout: 240 seconds]
<arokux2> techn__: can you please formulate a question the dack should ask at the distributor/manufacturer of the hackberry?
eebrah_ has joined #linux-sunxi
<techn__> arokux2: I'll try.. but first I'll read if there is somekind possibility to fix this in .fex
<mnemoc> take into account that any pio field in the .fex section will be applied, regardless the "label"
<arokux2> dack: can you please connect a pen driver into each of the (working) usb port in turn and post dmesg?
eebrah_ has quit [Read error: Connection reset by peer]
<dack> arokux: a what now?
<dack> arokux: usb drive pen drive?
<arokux2> dack: sorry, yes
<arokux2> dack: I want to see which driver manages the hardware: HOST or OTG
<arokux2> dack: or just a random usb device
<dack> arokux: http://pastebin.com/nwsBB6Qu <- this is from plugging in the dongle in the top first and then the bottom one second
<dack> arokux: just the first 2 lines are the top port.. all the IRQ stuff is the bottom port
focus_it has joined #linux-sunxi
Nyuutwo has quit [Read error: Operation timed out]
<mnemoc> and that's the .fex you are using?
vicenteH has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<dack> mnemoc: but no power... changing the line above to PB09 gives power, but the ports don't work properly
<dack> mnemoc: yes
Nyuutwo has joined #linux-sunxi
codingrobot has quit [Ping timeout: 264 seconds]
eebrah_ has joined #linux-sunxi
<arokux2> techn__: the top one is USB HOST, the bottom one is USB OTG
<dack> arokux: so the rumours are true!
<arokux2> techn__: my question is now: why your USB OTG touches USB HOST?
<techn__> arokux2: power is shared?
nove has quit [Quit: nove]
eebrah_ has quit [Read error: Connection reset by peer]
_whitelogger has joined #linux-sunxi
<techn__> yes
<arokux2> techn__: so I suppose also does nothing this line: https://github.com/linux-sunxi/sunxi-boards/blob/master/sys_config/a10/hackberry.fex#L733
eebrah_ has joined #linux-sunxi
<arokux2> techn__: and PB09 is power enablement for both.
notmart has quit [Quit: notmart terminated!]
<arokux2> this is the hypothesis...
<mnemoc> wingrime!
khi1 has joined #linux-sunxi
<khi1> hi everyone - does anyone have a seen a similar problem seen like that http://pastebin.com/NCmb4Yhr ? self compiled kernel - nearly sunxi-3.4 std configuration - but shutdown -r leads to endless restarting because of "try to kill cpu:1 failed" before restart
<arokux2> khi1: are you sure you rootfs is fine?
<arokux2> dack: there? :)
<khi1> arokux2: it seems to be ... booting (coldboot) is finishing well - and i can use the system as exspected only restarting or shutdown has problems like this
<dack> arokux: here
eebrah_ has quit [Ping timeout: 272 seconds]
<khi1> arokux2: rootfs is a very small debian wheezy - created mostly as described in http://linux-sunxi.org/Building_on_Debian - sometimes adjusted for cubieboard2
eebrah_ has joined #linux-sunxi
codingrobot has joined #linux-sunxi
<arokux2> khi1: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
<arokux2> khi1: I've seen this if rootfs was absent..
<arokux2> khi1: hm.. but this can be the consequence in this case.
<khi1> arokux2: sure ... but it comes only when rebooting
<khi1> arokux2: on coldboot everthing is fine - Linux A20 3.4.67 #10 SMP PREEMPT Tue Nov 5 20:50:38 CET 2013 armv7l GNU/Linux - default governor performance (kernel configuration based)
<arokux2> khi1: what board is this?
<khi1> arokux2: halt also brings the cubie2 system down after a while of strange exceptions
eebrah_ has quit [Ping timeout: 246 seconds]
<khi1> arokux2: some of the exceptions are also something like "[hotplug]: try to kill cpu:1 failed!"
<khi1> arokux2: its a cubieboard2
rzk has joined #linux-sunxi
rz2k has quit [Ping timeout: 252 seconds]
<khi1> arokux2: http://pastebin.com/5vKywvtS <- this is only the end of the ttl usb logging - there are to many messages maybe i have to pipe the output to a file - sure i knew that link ... but if i read the thread correctly the solution (http://www.cubieforums.com/index.php/topic,729.45.html) doesn't apply to me as my boot.cmd already contain root=/dev/mmcblk0p2 rootwait panic=10 ${extra}
<khi1> arokux2: or do i understand the solution wrong?
<arokux2> khi1: do you have network connection on the board?
jemk has quit [Remote host closed the connection]
<khi1> arokux2: yes and it works pretty good after putting the drivers into the kernel
<dack> arokux: did you want something from me?
<arokux2> khi1: then just do: dmesg | curl -F 'sprunge=<-' http://sprunge.us
n01 has joined #linux-sunxi
<arokux2> dack: yes.. :) replace this line:
<arokux2> dack: with usb_drv_vbus_gpio = port:PH12<1><0><default><0>
<khi1> arokux2: ok just a mom
<arokux2> dack: this is just to test if putting garbage at the L733 will still leave us with a working USB HOST
<arokux2> dack: do not forget to rebuild script.bin
<khi1> arokux2: http://sprunge.us/TZLf
<n01> mripard: ping for the patch
bsdfox\ has quit [Ping timeout: 260 seconds]
awatch has joined #linux-sunxi
<arokux2> khi1: sorry, I have no idea. I recommend you send a mail to our mailing list, it will be seen by the others and they could help
<slapin> hi, all!
<n01> mnemoc: there is any urgent driver to work on?
<slapin> which module is for ethernet on A10?
<khi1> arokux2: well okay - seems to be not a daily issue so i should do it - thank you for your try to help!
<dack> arokux2: I've got power on the port, but I'm not able to use any of the devices
<awatch> Hi, do you know where to get the Android SDK for A20-OlinuXino? The one mentioned on the wiki (http://dl.linux-sunxi.org/SDK/A20-SDK-2.0/) contains only android 4.0 instead of 4.2
shineworld has quit [Quit: Leaving]
<arokux2> dack: do you see anything in the kernel log if you plug some device in?
<arokux2> awafaa: olimex.com ?
Black_Horseman has joined #linux-sunxi
<awatch> The only thing I've found regarding to the A20 is the link on the wiki (https://www.olimex.com/wiki/A20-OLinuXino-MICRO) to the mentioned link at sunxi...
<mnemoc> I simply uploaded what I got from Tsvetan
tinti has joined #linux-sunxi
bsdfox\ has joined #linux-sunxi
<mnemoc> techn__: in the case of the emac driver I removed a similar power define and used the existance of the pio entry for deciding instead
<awatch> Okay, I'll try to reach him. Thanks
<mnemoc> awatch: I will gladly upload the newer SDK if he tells me from where to get it
n01 has quit [Read error: Operation timed out]
<awatch> I'm quite new at the aw/sunxi stuff, so it is possible that I've missed something, but if there is a newer one I will give you a link.
<dack> arokux2: nothing to the serial terminal
<arokux2> dack: ok, thanks...... mysterious
<mnemoc> awatch: thanks
focus_it has quit [Quit: Leaving]
geecko has joined #linux-sunxi
dack has left #linux-sunxi ["http://quassel-irc.org - Chat comfortably. Anywhere."]
khi1 has quit [Quit: Leaving.]
rzk has quit []
bsdfox\ has quit [Read error: Connection timed out]
bsdfox\ has joined #linux-sunxi
n01 has joined #linux-sunxi
bsdfox\ has quit [Read error: Connection timed out]
bsdfox\ has joined #linux-sunxi
FR^2 has quit [Quit: und weg...]
n01 has quit [Ping timeout: 245 seconds]
\\Mr_C\\ has quit [Quit: .]
Fusing has joined #linux-sunxi
awatch has quit [Quit: awatch]
bsdfox\ has quit [Read error: Connection timed out]
\\Mr_C\\ has joined #linux-sunxi
bsdfox\ has joined #linux-sunxi
Black_Horseman has quit [Quit: Αποχώρησε]
Black_Horseman has joined #linux-sunxi
Fusing has quit [Write error: Connection reset by peer]
bsdfox\ has quit [Read error: Connection timed out]
bsdfox\ has joined #linux-sunxi
ZetaNeta has quit [Ping timeout: 252 seconds]
ZetaNeta has joined #linux-sunxi
ZetaNeta has quit [Ping timeout: 240 seconds]
popolon has quit [Quit: Quitte]