hno 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
tinti_ has joined #linux-sunxi
deasy has quit [Quit: Quitte]
vinifr has quit [Ping timeout: 256 seconds]
uwe_ has quit [Ping timeout: 245 seconds]
uwe_ has joined #linux-sunxi
deasy has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert_ has joined #linux-sunxi
pingo has quit []
deasy has quit [Client Quit]
hipboi has joined #linux-sunxi
tinti_ has quit [Quit: Leaving]
kaspter has joined #linux-sunxi
kaspter has quit [Client Quit]
Kolyan has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
kaspter has joined #linux-sunxi
tinti_ has joined #linux-sunxi
tinti_ has quit [Quit: Leaving]
<Turl> oliv3r: seen "Kernel summit 2013: Call for Hobbyists"? :)
akaizen has joined #linux-sunxi
akaizen_ has quit [Read error: Connection reset by peer]
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
ZetaNeta has quit [Ping timeout: 264 seconds]
egbert_ is now known as egbert
Ehsand has joined #linux-sunxi
Ehsand has quit [Remote host closed the connection]
Ehsand has joined #linux-sunxi
Ehsand has quit [Quit: Leaving.]
Ehsand has joined #linux-sunxi
deasy has joined #linux-sunxi
Ehsand has quit [Remote host closed the connection]
Ehsand has joined #linux-sunxi
Ehsand has quit [Remote host closed the connection]
Ehsand has joined #linux-sunxi
Ehsand has quit [Client Quit]
Ehsand has joined #linux-sunxi
rz2k has joined #linux-sunxi
ZetaNeta has joined #linux-sunxi
atiti has joined #linux-sunxi
Soru has quit [Ping timeout: 245 seconds]
ZetaNeta has quit [Remote host closed the connection]
rellla has joined #linux-sunxi
rellla has quit [Ping timeout: 276 seconds]
rellla has joined #linux-sunxi
atiti has quit [Ping timeout: 240 seconds]
FR^2 has joined #linux-sunxi
<oliv3r> Turl: no, link!
<mnemoc> hobbits?
<oliv3r> my precious!
geecko has joined #linux-sunxi
navlrac has joined #linux-sunxi
bamvor has quit [Quit: Leaving]
atiti has joined #linux-sunxi
hipboi has quit [Quit: Leaving]
Ehsand has quit [Remote host closed the connection]
kaspter has quit [Ping timeout: 240 seconds]
rellla2 has joined #linux-sunxi
drachensun has quit [Ping timeout: 264 seconds]
atiti has quit [Ping timeout: 240 seconds]
boycottg00gle has joined #linux-sunxi
rellla2 has quit [Quit: Nettalk6 - www.ntalk.de]
drachensun has joined #linux-sunxi
wingrime has joined #linux-sunxi
atiti has joined #linux-sunxi
wingrime has quit [Ping timeout: 240 seconds]
<mnemoc> rsyncing build servers is not fun....
<mnemoc> should have tar'ed the whole thing first instead of rsync a gazillion small files
hramrach has quit [Remote host closed the connection]
wingrime has joined #linux-sunxi
hramrach has joined #linux-sunxi
ijc has quit [Ping timeout: 245 seconds]
ijc has joined #linux-sunxi
rellla has quit [Remote host closed the connection]
navlrac has quit [Quit: Page closed]
wingrime has quit [Ping timeout: 256 seconds]
wingrime has joined #linux-sunxi
<boycottg00gle> trying to fix hdmi output i had hoped putting something like "disp.screen0_output_mode=1280x720p60" into uEnv.txt on first partition of the sd card would be good enough. but it seems not to help - any hints?
<boycottg00gle> is that file used during boot at all?
<Turl> well, just writing that won't do anything, as it's not proper uEnv.txt syntax
<boycottg00gle> Turl: do you have a link to that documentation?
<Turl> uEnv is basically a uboot environment but in text form
<boycottg00gle> so i should find it in the uboot documentation?
<Turl> probably something like extraargs=disp.screen0_output_mode=1280x1024p60 may work
<Turl> I don't know what your current environment looks like though
<boycottg00gle> uEnv.txt didn't exist
<boycottg00gle> only uImage and script.bin
<boycottg00gle> looking at hd /dev/mmcblk0: U-Boot SPL 2013.04-06942-gc057dc2-dirty
<boycottg00gle> in the hd also i see: bootenv=uEnv.txt
<boycottg00gle> will just test your suggestion
<boycottg00gle> board is a olimix a20 btw
<boycottg00gle> btw: is a soft reboot good enough?
<boycottg00gle> and shouldn't it show up in /proc/cmdline then?
<Turl> yes and yes
<boycottg00gle> ah here we go :-):
<boycottg00gle> root@A20:~# cat /proc/cmdline
<boycottg00gle> console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait loglevel=8 panic=10 disp.screen0_output_mode=1280x720p60:EDID
<boycottg00gle> output still borken but now i am back on track i guess
vinifr has joined #linux-sunxi
<boycottg00gle> looks like my kernel doesn't know that option
<boycottg00gle> is that a kernel option at all?
<mnemoc> if you are using the community kernel, yes
<boycottg00gle> not sure how this kernel was built
<boycottg00gle> => i guess i will have to build one myself
<boycottg00gle> if i understood techn_ correctly he suggested to build the stage/sunxi-3.4 branch from https://github.com/linux-sunxi/linux-sunxi.git - does that sound reasonable?
<boycottg00gle> trying a native build likely would take ages, right?
\\Mr_C\\ has quit []
kaspter has joined #linux-sunxi
bsdfox\ has quit [Ping timeout: 264 seconds]
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
<atsampson> boycottg00gle: yes, but it's straightforward enough to crossbuild from a conventional machine
<atsampson> see http://linux-sunxi.org/Building_on_Debian , for example
<boycottg00gle> hmm i don't really like to add unkown sources ... but at least i heard of emdebian some time ago ... do i really want to build my own cross toolchain again .. takes ages, too ... puh - there are still no official debian cross toolchains right?
<boycottg00gle> ah the keyring is part of debian?
<boycottg00gle> cool
<boycottg00gle> i guess i will follow http://linux-sunxi.org/Building_on_Debian
<atsampson> emdebian's a lot less messy than it used to be (I think it's more widely used inside Debian these days...)
<boycottg00gle> is there a prefered compiler version for the stage/sunxi-3.4 branch ?
<vinifr> arm-linux-gnueabihf is good
<boycottg00gle> E: Unable to locate package arm-linux-gnueabihf
<boycottg00gle> 4.6? 4.7?
<mnemoc> apt-cache search ?
* mnemoc uses 4.6
<boycottg00gle> 4.6 somehow depends on 4.7 anyway
<boycottg00gle> installing both and will try to use 4.6 for kernel compilation
<boycottg00gle> hmm no default config for my board?
<atsampson> boycottg00gle: I'm using emdebian's GCC 4.7 with sunxi-3.4
<boycottg00gle> => no gcc version really prefered?
<vinifr> what is your distro?
<boycottg00gle> debian
<vinifr> 6 or 7?
<boycottg00gle> 7
<boycottg00gle> armhf
<boycottg00gle> where to find a good default config for olimex a20?
<vinifr> on debian 7 i use version 4.7.2
<boycottg00gle> ok mixed host and target here
<boycottg00gle> but both are identical
<boycottg00gle> regarding revisions (wheezy)
kaspter has quit [Ping timeout: 276 seconds]
<vinifr> arm-linux-gnueabihf-gcc-4.7
<vinifr> type: apt-get install arm-linux-gnueabihf-gcc
<boycottg00gle> compiler is ready: $ arm-linux-gnueabihf-gcc-4.7 -v 2>&1|tail -n1: gcc version 4.7.2 (Debian 4.7.2-5)
<vinifr> type: apt-get install arm-linux-gnueabihf-gdb if you want debug
<boycottg00gle> search for a good default kernel config now
<boycottg00gle> unfortunately the olimex guy didn't post the config here: http://olimex.wordpress.com/2013/06/19/a20-olinuxino-preliminary-debian-linux-image/
<vinifr> sun4i_defconfig for a10, sun5i_defconfig for a13
<boycottg00gle> can't find one for a20
<vinifr> sun7i_defconfig
<boycottg00gle> ah - thx!
<vinifr> but it is present only in stage 3.4
<boycottg00gle> yeah that is the branch i will use
<vinifr> good :)
<boycottg00gle> make ARCH=arm menuconfig
<boycottg00gle> ...
<vinifr> exit and yes
<boycottg00gle> i will go through itz
<boycottg00gle> just didn't compile a kernel for some years
<boycottg00gle> :-)
<vinifr> you also need to compile the bootloader, uboot-sunxi
<vinifr> nevermind :)
<vinifr> boycottg00gle, is necessary only if you do not yet compiled and dd into uSD
<boycottg00gle> there is a uboot in place, will try that one first
<boycottg00gle> FB_SUNXI and CONFIG_FB_SUNXI_HDMI are set but there are no options hmm
<boycottg00gle> compiling kernel
<boycottg00gle> hope i will not run out of disk space :(
<boycottg00gle> looks like one should be able to switch hdmi mode at runtime using ioctl?
<boycottg00gle> (looking at include/video/sunxi_disp_ioctl.h)
<boycottg00gle> ah there even is docu: Documentation/sunxi/disp/disp_ioctls.txt
<vinifr> I'm not familiar with olimex a20, this configuration would not be in script.bin/script.fex
<boycottg00gle> my understanding from http://cubieboard.org/2013/07/19/fedora-19-for-cubieboarda20-is-available/ is that using the sunxi kernel you should be able to pass it as kernel cmdline argument, too
atiti has quit [Ping timeout: 264 seconds]
bsdfox\ has joined #linux-sunxi
bsdfox\ has joined #linux-sunxi
bsdfox has joined #linux-sunxi
bsdfox has joined #linux-sunxi
bsdfox has quit [Changing host]
<boycottg00gle> that's why i compile the kernel .... (should have used make -j?!)
<boycottg00gle> and likely ccache
<boycottg00gle> hmm
atiti has joined #linux-sunxi
<vinifr> in cubieboard I did not configure anything, just connect the hdmi cable
<boycottg00gle> don't have a cubieboard - have a olimex a20
<boycottg00gle> think this is similar to the cubieboard2 but not sure
<boycottg00gle> (looks like the kernel running on that thing is an android kernel - puh)
<boycottg00gle> (cb_a20_android42_v1.01-kernelsource)
tinti has quit [Ping timeout: 264 seconds]
tinti has joined #linux-sunxi
atiti has quit [Read error: Operation timed out]
<boycottg00gle> argh disk full
jlj has quit [Ping timeout: 248 seconds]
jlj_ has quit [Ping timeout: 264 seconds]
jlj has joined #linux-sunxi
jlj_ has joined #linux-sunxi
boycottg00gle has quit [Remote host closed the connection]
vinifr has quit [Ping timeout: 268 seconds]
\\Mr-C\\ has joined #linux-sunxi
\\Mr-C\\ has quit [Client Quit]
wingrime has quit [Ping timeout: 240 seconds]
wingrime has joined #linux-sunxi
wingrime has quit [Ping timeout: 246 seconds]
wingrime has joined #linux-sunxi
boycottg00gle has joined #linux-sunxi
<boycottg00gle> get an error trying compile the kernel:
<boycottg00gle> In file included from drivers/video/sunxi/hdmi/hdmi_core.c:23:0:
<boycottg00gle> drivers/video/sunxi/hdmi/../disp/OSAL_Clock.h:225:1: error: unknown type name ‘__hdle’
<techn_> boycottg00gle: strange
<techn_> boycottg00gle: which compiler you are using?
<techn_> Oh.
<boycottg00gle> 4.7
<techn_> newermind.. I broke it for sun7i
<techn_> one moment
<techn_> boycottg00gle: fetch again
<boycottg00gle> fetched and compiling ...
<boycottg00gle> hdmi_core compiled
<boycottg00gle> thanks!
<boycottg00gle> compilation continues ...
<techn_> sorry for inconvenience :(
<boycottg00gle> thanks for that quick fix!
egbert has quit [Ping timeout: 276 seconds]
geecko has quit [Read error: No route to host]
<Turl> techn_: yeah I hit that some days ago too, but building sun4i
rellla has joined #linux-sunxi
<techn_> Turl: I actuallu fixed sun4i earlier.. but caused regression for sun7i ;)
<techn_> not regression is fixed
<techn_> now
<rellla> techn_: thanks. i run into his compile error, too. seems it is fixed ;)
<rellla> *this
<boycottg00gle> pictures-from-a-developers-life lol
<boycottg00gle> compilation finished, copied kernel+modules over
<boycottg00gle> reboot...
<techn_> mnemoc: those two patches needs to squashed before merge :)
<rellla> guys, atm i have to build different kernels for a10 and a20, right? sun4i_defconfig and sun7i_defconfig?
<boycottg00gle> hmm seems not to boot :(
<boycottg00gle> really should have a serial console :(
<boycottg00gle> on ethernet i only see:
<boycottg00gle> 18.501832 0.0.0.0 -> 255.255.255.255 UDP 77 Source port: 6666 Destination port: 6666
<boycottg00gle> 18.501898 0.0.0.0 -> 255.255.255.255 ADwin Config 64 UDPOut
<boycottg00gle> is that u-boot trying netboot?
<boycottg00gle> do i have to recreate the script.bin if i replace the uImage?
<boycottg00gle> restored old kernel
<boycottg00gle> boots
\\Mr_C\\ has joined #linux-sunxi
<techn_> boycottg00gle: you may need to change u-boot
<techn_> since allwinner's stock u-boot may not support atag parameters
<techn_> that way kernel wont get correct memory amount
\\Mr_C\\ has quit [Client Quit]
<boycottg00gle> is there some document explaining early boot stages
<boycottg00gle> i don't quite understand it yet
<boycottg00gle> there are 2 u-boots?
egbert has joined #linux-sunxi
egbert has quit [Ping timeout: 240 seconds]
FR^2 has quit [Quit: Connection reset by peer]
\\Mr_C\\ has joined #linux-sunxi
<boycottg00gle> puh my serial cable hack somehow works but characters are garbled
wingrime has quit [Ping timeout: 245 seconds]
<boycottg00gle> 1111 gets gggg
<boycottg00gle> 3333 is received as ffff
wingrime has joined #linux-sunxi
mcbrick has joined #linux-sunxi
<mnemoc> techn: should finish mkoving my build server in 2h. after that i'll merge your for-amery
rz2k has quit []
<techn_> mnemoc: patches in stage/sunxi-3.4 already
<mnemoc> cool
<mnemoc> so you mean merging to non-stage?
<techn_> yeah :)
rellla has quit [Remote host closed the connection]
<mnemoc> cool
egbert has joined #linux-sunxi
<lkcl_> boycottg00gle: that i've seen because of earthing loops between the RS232 dongle and the board.
<lkcl_> but also check you've set the correct parity and stop bits (8N1 is the usual default)
vinifr has joined #linux-sunxi
<Turl> oliv3r: you got eth on your cubie again? :)
<oliv3r> a quick check made it look like it yeah :)
<oliv3r> i saw the lights come back up
<oliv3r> and normally emac driver would crash and cry, and it just boots
<oliv3r> but haven't tested it yet :)
egbert has quit [Quit: leaving]
egbert has joined #linux-sunxi
<boycottg00gle> uh shame on me
<boycottg00gle> looks like 3.3V is not good enoguh
<boycottg00gle> one has to put something inbetween there
<boycottg00gle> lol
<akaizen> Are there any Allwinner HDMI sticks that are dual/quad core and have a WiFi chipset that supports AP mode?
bsdfox has quit [Ping timeout: 268 seconds]
<wingrime> oliv3r: are, you fixed PHY ?
<oliv3r> i think so :)
<hno> oliv3r, you did?
<hno> soldered a new PHY?
<hno> techn_, allwinner stock u-boot supports atag, just doesn't support actually filling in the right memory info in it's own knowledge of the memory map, at least not last time I looked.
<hno> boycottg00gle, UART is 3.3V. What do you mean?
<hno> or did you attempt using a 5V cable?
<oliv3r> hno: i put some pics on the wiki, didn't write anything yet
<oliv3r> and haven't properly tested it yet
<oliv3r> but it does way more (as i wrote above) then before, so happy for now
<oliv3r> mounted upside down the first attempt :S (pin1 at pin20)
<drachensun> akazien: A31 tv sticks exist, most everything has the 8188eu chipset
<drachensun> there are two drivers for it I think
<drachensun> does one of them support AP mode?
<hno> drachensun, both, but mainline driver do not work at all for me..
<hno> but does support AP if it had worked..
<Turl> hno: make sure you edit script.bin and enable power for usb
<Turl> the allwinnerized driver does it when you load it
<drachensun> interesting
<drachensun> didn't someone make their TV stick a router
<drachensun> with a USB ethernet
<Turl> drachensun: that's rm
bsdfox has joined #linux-sunxi
bsdfox has joined #linux-sunxi
<vinifr> wigyori, some progress?
<wigyori> vinifr: didn't have a chance today to work on it - 'daily business' -, sorry
<vinifr> wigyori, I am too busy doing homework :)
<hno> Turl, USB was powered fine.. mainline driver just not stable, crashing after some packets.
<hno> mainline from 3.4 that is.
geecko has joined #linux-sunxi
<vinifr> wigyori, are you aware that it is necessary to make some revisions?
<vinifr> source clock and channel selection for now
<oliv3r> i should get me one of those a20 tv sticks, i like the idea of those hdmi sticks still
<Turl> hno: smells like backporting may be in order
<hno> Turl, tried, but still not stable..
<Turl> hno: well, tbh, the rtl card I had was pretty crappy, even with the rtl driver
boycottg00gle has quit [Remote host closed the connection]
drachenphone has joined #linux-sunxi
drachenphone has quit [Client Quit]
drachenphone has joined #linux-sunxi
<hno> Turl, yes.
[1]theOzzieRat has joined #linux-sunxi
theOzzieRat has quit [Ping timeout: 248 seconds]
[1]theOzzieRat is now known as theOzzieRat
wingrime has quit [Ping timeout: 246 seconds]
geecko has quit [Quit: Quitte]
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
ZetaNeta has joined #linux-sunxi
bsdfox has quit [Ping timeout: 245 seconds]