hno changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - Don't ask to ask. Just ask! - See http://linux-sunxi.org | https://github.com/linux-sunxi/ | Logs at http://irclog.whitequark.org/linux-sunxi
hramrach__ has quit [Ping timeout: 240 seconds]
hramrach__ has joined #linux-sunxi
naobsd has quit [Quit: Page closed]
egbert has joined #linux-sunxi
egbert_ has quit [Ping timeout: 252 seconds]
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
derethor has joined #linux-sunxi
BJfreeman has quit [Quit: had a good time]
tinti_ has quit [Ping timeout: 252 seconds]
ibrah has quit [Read error: Connection reset by peer]
Quarx has joined #linux-sunxi
vincenzo has joined #linux-sunxi
^vincenzo^ has quit [Ping timeout: 248 seconds]
Tsvetan has joined #linux-sunxi
Tsvetan has quit [Read error: Connection reset by peer]
Quarx|2 has joined #linux-sunxi
hsildaerD has joined #linux-sunxi
[hawk] has joined #linux-sunxi
hark_ has joined #linux-sunxi
egbert has quit [Disconnected by services]
wingrime has joined #linux-sunxi
egbert_ has joined #linux-sunxi
stekern_ has joined #linux-sunxi
arete74_ has joined #linux-sunxi
theOzzieRat has quit [Ping timeout: 276 seconds]
CaCtus491 has quit [Ping timeout: 276 seconds]
hark has quit [Ping timeout: 276 seconds]
Quarx has quit [Ping timeout: 276 seconds]
vincenzo has quit [Ping timeout: 276 seconds]
arete74 has quit [Ping timeout: 276 seconds]
stekern has quit [Ping timeout: 276 seconds]
Dreadlish has quit [Ping timeout: 276 seconds]
\\Mr_C\\ has quit [Ping timeout: 276 seconds]
<wingrime> Trul:ping
theOzzieRat has joined #linux-sunxi
<wingrime> Turl: ping
CaCtus491 has joined #linux-sunxi
stekern_ is now known as stekern
<wingrime> Jemk: ping
Superpelican has joined #linux-sunxi
jemk has joined #linux-sunxi
auxym has quit [Ping timeout: 264 seconds]
<jemk> wingrime: pong
rellla has joined #linux-sunxi
<wingrime> jemk: why you renamed triger to control2 ?
<jemk> wingrime: i think it does much more then trigger
<wingrime> jemk: I agree
<wingrime> jemk: it constain some config flags
<wingrime> but trigger is offical name
<wingrime> jemk: you current work point?
<jemk> decoding mpeg12 i frames works, but haven't written any buffer management to decode p and b
<jemk> and no real output yet
<wingrime> jemk; how much it close with jpeg
<wingrime> jemk: it must be same regs
Quarx|2 has quit []
18VABDRWA has quit [Read error: Operation timed out]
<jemk> only the buffer regs and quantisation are same
<jemk> and control, but with different bits set
<wingrime> jemk: to witch buffer it decodes?
<wingrime> jemk: to REC ?
<jemk> to rec and rot
<wingrime> jeml: same time?
soul has joined #linux-sunxi
<jemk> rot scaled if enabled, rec original
<wingrime> jemk: rot must also do rotate
<wingrime> jemk: as name is rot_scale
<jemk> agree, but havent found the bits to enable rotate
<wingrime> jemk: upscale?
<jemk> dont think upscale is possible, its done by disp if needed
<wingrime> jemk: wait, in jpeg case, can we avoid rot and use reconstruct
<wingrime> ?
<jemk> have thought about that too, but it seems rec isnt used for jpeg
rz2k has joined #linux-sunxi
<wingrime> it seems depend on control bits
<jemk> there are many bits in ctrl and trigger where i dont know anything about
<wingrime> jemk:you can try test ms-mpeg and divx xdiv
<jemk> even source buffer address is ored with 0x50000000 instead of 0x70000000
<wingrime> jemk:bunch resgs only for mpeg-ms
<wingrime> jemk: realy strange
<jemk> first i want working mpeg12
<wingrime> jemk: it can make you filter some bits
<wingrime> jemk: you can test ms-mpeg and divx to figure that regs used only for ms-mpeg or divx
<wingrime> jemk; for example define MACC_MPEG_CTRL_FORMAT fully
<wingrime> jemk; also socx,socy .. msmpeg only
<jemk> but what does it help if i have even more regs where i have to figure out what they do
<wingrime> jemk: also , I can't understand what JPEG_MCU_START and JPEG_MCU_END do
<jemk> take my jpeg poc, set them to something and see what happens...
<jemk> maybe something happens
Superpelican has quit [Ping timeout: 268 seconds]
<jemk> that way i've found the downscale bits
<wingrime> jemk:I think you need set forward buffer for p.b frames
<jemk> i know, but dont have the buffer management yet to do that, only compile time constants
<wingrime> MACC_MPEG_FRAME_DIST 0x120 is only guess
<wingrime> jemk: I still have no idea how display directly avoid /dev/disp interface
<jemk> why avoid /dev/disp?
<wingrime> jemk: /dev/disp will be outdated
<wingrime> jemk: replaced with drm stuff
<jemk> yeah, but then there must come some replacement
<jemk> but that doesnt exist yet as far as i know
<wingrime> I think I can try write output deiver for mplayer, but if there some thing for replacment
<wingrime> don't want write some thing will be outdatad soon
<jemk> the /dev/cedar_dev needs to be replaced too, but thats all future
soul has quit [Read error: Connection reset by peer]
<wingrime> jemk: jpeg decoder base must be done in kernel
<wingrime> jemk: but /dev/cedar i think will still with us
soul has joined #linux-sunxi
<wingrime> jemk: and mainline version must avoid using some 'preallocaed'
<jemk> but not in this form, its a big security flaw with all this direct uncontrolled hardware access
<jemk> one can map whole memory to userspace, easy to do whatever one wants
<wingrime> jemk: don't forget we can set output frame address to ANY mem
<jemk> but thats all to be done after we know how it works
<ssvb> wingrime: you just should be prepared to throw away some trivial few tens of lines of code of /dev/disp support and rewrite it later
<wingrime> jemk: so new driver must do most decoding process in kernel, and have ability allocate direct lineral mem in any time
<wingrime> jemk: using ioctl and copytouser api
<jemk> i dont bother about that yet, first it needs to be documented
<jemk> and i dont have much kernel knowledge
<wingrime> jemk: thats why I begin make regs guide
<wingrime> jemk: it must bring people that will write many support code
<wingrime> jemk: in current state that only PoC
<jemk> ssvb: are you familiar with disp? why cant it downscale in y direction, or am i doing something wrong?
<ssvb> jemk: are you setting it up right?
<jemk> same way as in vlc+libcedarx
<jemk> but it doesnt work there either
<ssvb> jemk: you can read about the disp hardware (DEFE + DEBE) and its capabilities here - http://free-electrons.com/~maxime/pub/datasheet/A13%20user%20manual%20v1.2%2020130108.pdf
<ssvb> jemk: for the scaled YUV formats it means DEFE
<jemk> ssvb: done that, but there i cant find any reason why it shouldnt be able to do that
<ssvb> there might be a lot of bugs in disp kernel driver code
<ssvb> I think I tested downscaling for RGB and it worked
<jemk> in x direction it works as expected
<jemk> so yeah, it might be a bug
<jemk> just wanted an output for my mpeg poc, so its not realy important
<wingrime> ssvb: it possible resize overlay and place everywhere on screen?
<ssvb> wingrime: in theory - yes, in practice - you might sometimes need to fix a bug or two in the kernel
naobsd has joined #linux-sunxi
<jemk> ssvb: ahhh, sorry, next time i should first try it again before complaining
<ssvb> so what was the problem?
<jemk> ssvb: it basicaly works, but not as expected
<ssvb> ah, ok :)
<jemk> might still be a bug, it scales, but four times to big
<jemk> *too
<jemk> but only if picture exceeds some height somewhere over 1024
wingrime_ has joined #linux-sunxi
jemk_ has joined #linux-sunxi
jemk has quit [Disconnected by services]
jemk_ is now known as jemk
hsildaerD is now known as Dreadlish
Superpelican has joined #linux-sunxi
naobsd has quit [Ping timeout: 250 seconds]
<rm> cheap A20 tablets O.o
<rm> (nevermind the URL)
Superpelican has left #linux-sunxi ["Konversation terminated!"]
Superpelican has joined #linux-sunxi
jemk has quit [Ping timeout: 256 seconds]
Superpelican has quit [Quit: Konversation terminated!]
Superpelican has joined #linux-sunxi
tinti_ has joined #linux-sunxi
Superpelican has left #linux-sunxi [#linux-sunxi]
<oliv3r> cheap yes, but only 512 ram
<oliv3r> the next tablet I buy, must have 1G
<oliv3r> ideally IPS,but it needs 1G at least, 512 isn't enough
<Turl> wingrime_: pong
tinti_ has quit [Quit: Leaving]
<Turl> oliv3r: make that 2G :)
<Turl> be future proof ;)
jemk has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
leowt has joined #linux-sunxi
jemk has quit [Quit: bye]
jemk has joined #linux-sunxi
auxym has joined #linux-sunxi
leowt has quit [Quit: leowt]
wingrime_ has quit [Quit: Lost terminal]
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
auxym has quit [Quit: leaving]
<Black_Horseman> Hello there
<Black_Horseman> i want to make a media player with cubieboard
<Black_Horseman> which distro is compatible with it?
<Black_Horseman> i use opensuse
auxym has joined #linux-sunxi
<auxym> lsmod | grep rt
<auxym> shit wrong term window
<Turl> Black_Horseman: any distro with armhf support should work if you know what you're doing
<Black_Horseman> well, i am a beginer
<Black_Horseman> there is a distro of openSUSE with arm support
<Black_Horseman> but it is tested for raspberry pi
<Turl> for a beginner I'd go with the fedora or ubuntu images
<Black_Horseman> i am using over a year openSUSE in my laptop and an old desktop pc (celeron 600MHz and 512mb RAM)
<Black_Horseman> i 've never tried it on a dev board
<Turl> I meant sunxi beginner :) I don't see any premade openSUSE image so you'd have to build your own bootloader, kernel, get a proper arm rootfs for openSUSE and glue it all together by yourself
<Black_Horseman> this is out of my league
<Turl> you can probably get away without building kernel and bootloader by using a hwpack, but still
<Black_Horseman> so ubuntu it is
<Turl> I'd try a premade image and once you're confortable with that and have read the wiki pages, maybe try to replace the rootfs with an openSUSE one, and work from there :)
<Black_Horseman> i was using dual boot ubuntu 9.04 and vista in 2009
<Black_Horseman> so i am familiar with ubuntu
<Black_Horseman> Turl wich wm does ubuntu have for arm?
<Black_Horseman> i hope not unity
<Turl> Black_Horseman: unity I think, maybe unity 2d
<Turl> I haven't used it so I'm unsure
<Black_Horseman> ok thnx mate
<Black_Horseman> unity was the reason i dumped ubuntu
hglm has joined #linux-sunxi
<Turl> Black_Horseman: the fedora image has xfce I believe
<hglm> You can also use Debian (on which Ubuntu is based), there are Debian images that use LXDE as wm.
<Black_Horseman> i have n't tried fedora
<Black_Horseman> neither debian
<Turl> Black_Horseman: well, the image installation is amongst the easiest, I'd give it a chance
<Black_Horseman> hmm
<Black_Horseman> well when i get my hands o cubie i'll give it a shot
<Black_Horseman> does cubie boots from an HDD?
<Turl> no, from SD Card
<Turl> (well, microSD to be more precise)
<Black_Horseman> only from the SD card?
<Turl> also from NAND, but SD card is easier
<Black_Horseman> i see
<Black_Horseman> NAND is empty, or is it come with preintalled OS?
<Turl> nowadays cubieboard ships with Android preinstalled I believe
<Black_Horseman> well here in greece i have found a reseller for cubie
<Black_Horseman> i wil ask if it has an OS onboard
_BJFreeman has joined #linux-sunxi
BJfreeman is now known as Guest81713
_BJFreeman is now known as BJfreeman
Guest81713 has quit [Ping timeout: 252 seconds]
\\Mr_C\\ has joined #linux-sunxi
^hawk^ has joined #linux-sunxi
[hawk] has quit [Read error: Operation timed out]
BJfreeman has quit [Read error: Connection reset by peer]
_BJFreeman has joined #linux-sunxi
fodo has joined #linux-sunxi
_BJFreeman is now known as Guest10536
cajg has quit [Ping timeout: 260 seconds]
fodo has quit [Client Quit]
Guest10536 has quit [Ping timeout: 252 seconds]
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
cajg has joined #linux-sunxi
<oliv3r> Turl: yeah but a10 doesn't do 2g, and do we know a20 does handle itproperly
<oliv3r> Black_Horseman: cubie 1.0 has android preinstalled, cubie 2.0 has ubuntu i think preinstalled
<Black_Horseman> hmmmm
<Black_Horseman> thnx fr the tip
<Black_Horseman> for*
<Black_Horseman> the reseller here in greece says android preinstalled
<Black_Horseman> and that cubie can boot linux distro from HDD SATA
<bfree> "cubie can boot linux distro from HDD SATA" ... only sort-of, the first boot files (u-boot, board and kernel/initrd) still have to be on sd or nand
<Black_Horseman> i see...
_BJFreeman has joined #linux-sunxi
nove has joined #linux-sunxi
BJfreeman is now known as Guest92361
_BJFreeman is now known as BJfreeman
Guest92361 has quit [Ping timeout: 252 seconds]
soul has quit [Read error: Connection reset by peer]
soul has joined #linux-sunxi
<nove> wingrime, oliv3r, jemk: is summer time and is too hot to proper think, so i am having a break waiting for cooler days
<nove> oliv3r, jemk is not different person, is not me, you appeared to have confused both.
<oliv3r> so nove + jemk are not the same
<oliv3r> good to know :)
<nove> oliv3r, yes, i mistyped, again to be clear, jemk is a different person, not me
<oliv3r> ok ok
<nove> more the better
<oliv3r> aye :)
BJfreeman has quit [Ping timeout: 252 seconds]
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
hglm has quit [Quit: leaving]
wingrime has quit [Ping timeout: 260 seconds]
wingrime has joined #linux-sunxi
<nove> wingrime, for sure MACC_VE_CTRL_MEM_TYPE is bits 16:17
<auxym> Turl: FYI, just booted up my mini-x with a display and it's up! running arch linux arm
<Turl> auxym: :)
<auxym> slight annoyance however: right now the framebuffer goes off-screen to the left and bottom, is there an easy fix, just until i setup the networking and can ssh
ibrah has joined #linux-sunxi
nove has quit [Quit: nove]
<auxym> is it normal that ifconfig only gives me the loopback? or does it mean the module for the wifi chip isnt loaded?
<hramrach__> jemk: there is some special casing of pictures over 1024 in the cedar lib, yes
<hramrach__> and it downscales all right
winocm has joined #linux-sunxi
<winocm> hello
<winocm> my allwinner board doesn't seem to do serial input, i verified that the tx/tx pins on my ttl adapter are wired correctly
<winocm> anyone know why this is?
<winocm> output works fine, i can get output from the linux kernel, u-boot or my own bootloader
ibrah has quit [Read error: Connection reset by peer]
<ssvb> winocm: do you have hardware flow control disabled?
<winocm> yes
<winocm> settings are 115200,8N1
ibrah has joined #linux-sunxi
<Turl> mripard_: nice A31 boot log :)
<mnemoc> hansg!!!!!
<mnemoc> :(
heffer_ has joined #linux-sunxi
<mnemoc> Turl: /q ?
heffer has quit [Ping timeout: 264 seconds]
<Turl> mnemoc: sure
<wingrime> nove: not realy
<wingrime> nove: it other guy guess
<wingrime> nove: I think it 10:11
<wingrime> nove: according dissasembler
<wingrime> mnemoc: nice too see you
<wingrime> mnemoc: have you saw our results
<wingrime> mnemoc: with cedar
ibrah has quit [Ping timeout: 264 seconds]
<mripard_> Turl: not so nice... look at the time stamps
<mripard_> it hangs twice for like 6s
<mripard_> better than my 10h-boot from last week, but still :)
soul has quit [Remote host closed the connection]
<Turl> mripard_: 10h? wtf :)
<Turl> I'd have declared it hanged after 15s :P
ibrah has joined #linux-sunxi
<wingrime> jemk: ping
<mripard_> Turl: actually, I forgot about the board, did something else, and saw it booted like the next morning :)
<Turl> :P
<mnemoc> wingrime: haven't had time to look at the ML yet... summary?
<wingrime> mnemoc: we have workable jpeg decoder PoC
<hramrach__> wb mnemoc :)
<hramrach__> winocm: you need to disable hradware flow control on the other side
<winocm> hramrach__: I use screen -fn
<winocm> do i need to modify sys_config.fex?
<hramrach__> I don't use sceen so would not know
<hramrach__> on one machine it comes enabled on another disabled. not sure why
<hramrach__> stty -F /dev/ttyUSB0 -crtscts
<winocm> tried that with cu, doesn't help :/
<hramrach__> disables hardware flow sontrol on ttyUSB0
<hramrach__> you can see the settings with stty -F /dev/ttyUSB0 -a
<hramrach__> if that shows -crtscts and you have correct wiring then something else is broken
<Turl> mripard_: I found you the perfect android build server ;) http://www.online.net/fr/serveur-dedie/dedibox-extremesp
<mripard_> :)
<mripard_> embed that in a laptop with ~10h battery life, and I'm in :)
<Turl> mripard_: embedding 8 SAS disks is going to be a bit difficult :)
<mripard_> that and the 4 CPUs :)
<mnemoc> wingrime: amazing!
<mnemoc> hramrach__: thanks :) and glad to be back
<winocm> egh, distcc on a poweredge c6100 is cheaper
eebrah|away is now known as eebrah
<auxym> how can i find out which chipset my board has? i guess lspci wont work or...?
<auxym> wifi chipset that is
<hramrach__> how do I tell what spl do I have?
<Turl> auxym: lsusb
paulk-desktop has joined #linux-sunxi
<auxym> Turl thanks, checking it out
<oliv3r> hno: what branch do I need to build with what modification to get a u-boot that boots nand and does microSD uart
auxym has quit [Ping timeout: 246 seconds]
^vincenzo^ has joined #linux-sunxi
^hawk^ has quit [Ping timeout: 268 seconds]
vincenzo has joined #linux-sunxi
auxym_ has joined #linux-sunxi
^vincenzo^ has quit [Ping timeout: 252 seconds]
auxym has joined #linux-sunxi
<auxym> #modprobe rtl8192cu gives me FATAL: Module rtl8192cu not found
<auxym> so... how do I recompile my kernel with it?
<hramrach__> what image are you using? anyway, sources are at github linux-sunxi repo
<auxym> using arch arm rootfs with mini-x hwpack
<auxym> it seems the driver name is different uner arch though, looking into it
<hramrach__> hmm, then the hwpack does not have the module
<hramrach__> what arch is mini-x?
<auxym> its an a10
<hramrach__> hmm, I have an a10 kernel built
wingrime has quit [Ping timeout: 248 seconds]
<auxym> its this thing http://linux-sunxi.org/MinixX10
<auxym> has rtl8188cus wifi
<hramrach__> it is somwehat patched but nothing too experimental I think
<auxym> is it normal that running lsmod gives me nothing?
<hramrach__> no. most kernels have some modules
<auxym> yeah thats weird. like i said I'm using the kernel from the sunxi BSP
<hramrach__> auxym: did you try depmod -a?
<hramrach__> modprobe does not find modules unless you run depmod
<hramrach__> hmm, android really is uncooperative
<hramrach__> it sets some odd mode and nothing is displayed
<hramrach__> with the same kernel linux works fine
<auxym> ok did depmod -a then lsmod still empty
<hramrach__> of course it is empty if all modules failed to load
<hramrach__> the kernel is sooooo buggy
<hramrach__> it whines when you try to write data to a flash card
rellla has quit [Quit: Nettalk6 - www.ntalk.de]
<auxym> i have this in dmesg: usbcore: registered new interface driver rtl8192cu
<hramrach__> then you have the module loaded
<auxym> odd
<hramrach__> but if that's the only line it does not like your card
<auxym> it is the only line
<auxym> ifconfig doesnt list the thing (only loopback)
<auxym> and ifconfig wlan0 up
<auxym> gets me a dmesg: wlan0: link is not ready
<hramrach__> you need to connect to an AP
<auxym> hm
<auxym> then why would modprobe (-r) tell me that rtl8192cu not found?
<hramrach__> you probably have different driver that creates wlan0
<auxym> can i check that somehow?
<hramrach__> look in /sys
<hramrach__> there is onfo on all devices and drivers
<hramrach__> info
<auxym> ok, digging around. kinda hard though since the console goes off my tv at the bottom and sides
winocm has quit [Ping timeout: 246 seconds]
Soru has joined #linux-sunxi
mdfe has joined #linux-sunxi
<auxym> ok. so I have the module 8192cu loaded, just couldnt see it in lsmod because of my fb going off-screen thing
<auxym> trying to associate it though gets me something about the driver not being able to put the adapter in managed mode
jemk has quit [Remote host closed the connection]
<auxym> does anyone know if I need to do anything special to get the OTG port to act as a regular usb host port?
<auxym> eg. my keyboard works in the host port, but not in the otg
dwilkins has quit [Ping timeout: 252 seconds]
<Turl> auxym: you may need to edit script.bin and configure it in host mode
mdfe has left #linux-sunxi ["http://quassel-irc.org - Chat comfortably. Anywhere."]
paulk-desktop has quit [Ping timeout: 256 seconds]
paulk-desktop has joined #linux-sunxi
paulk-desktop has quit [Client Quit]
paulk-desktop has joined #linux-sunxi
<auxym> aight thanks. im off to bugging the arch arm guys for wifi setup
wm has joined #linux-sunxi
wm has quit [Quit: Leaving]
auxym has quit [Ping timeout: 248 seconds]
xenoxaos has joined #linux-sunxi
auxym_ has quit [Ping timeout: 240 seconds]
auxym has joined #linux-sunxi
auxym_ has joined #linux-sunxi
eebrah is now known as eebrah|away
auxym has quit [Ping timeout: 256 seconds]
auxym_ has quit [Ping timeout: 246 seconds]
paulk-desktop has quit [Quit: Ex-Chat]
auxym has joined #linux-sunxi
auxym_ has joined #linux-sunxi
rz2k has quit []
auxym_ has quit [Ping timeout: 256 seconds]
auxym has quit [Ping timeout: 256 seconds]
dwilkins has joined #linux-sunxi
auxym has joined #linux-sunxi
auxym_ has joined #linux-sunxi
auxym_ has quit [Ping timeout: 246 seconds]
auxym has quit [Ping timeout: 264 seconds]
auxym has joined #linux-sunxi
auxym_ has joined #linux-sunxi
lkcl_ is now known as lkcl
auxym_ has quit [Ping timeout: 246 seconds]
auxym has quit [Ping timeout: 248 seconds]
auxym has joined #linux-sunxi
auxym_ has joined #linux-sunxi
auxym_ has quit [Ping timeout: 248 seconds]
auxym has quit [Ping timeout: 260 seconds]
auxym has joined #linux-sunxi
auxym_ has joined #linux-sunxi