IRC log of #cubox of Thu 11 Sep 2014. All times are in CEST < Back to index

14:26 kgp rabeeh: How is live
14:26 kgp 'life?
15:54 DoubleMalt Hi all!
17:21 wrexem All these people saying hello
17:21 wrexem Never to be answered.
17:21 wrexem A bit sad, I think.
17:26 joelbaby have a tissue
17:27 kgp Hello
17:29 joelbaby is it me you're looking ofr?
17:29 joelbaby for
17:53 jnettlet wrexem, feel free to take the job of official channel greeter
18:05 Chris-ECServices just a dump question :) i have in mind that there was talked about some sleep state of the cb. could for example an openelec use this sleep state as standby and wake it up again via eg ir or wol?
18:06 sraue i think its possible to - at least - use the same method the RPi uses
18:07 sraue will speak with some xbmc guys about this soon
18:07 Chris-ECServices method of rpi users?
18:07 Humpelst1lzchen Did anyone here tried to compile xbmc under debian? And if so which repository?
18:09 mk01 Humpelst1lzchen: yes, xbmc do compile fine with debian
18:11 Humpelst1lzchen mk01: ok, any recommendation? https://github.com/xbmc-imx6/xbmc.git didn't compile for me
18:11 mk01 yes, that one
18:12 Humpelst1lzchen hmm
18:13 Humpelst1lzchen at least I'm on the right track (I hope)
18:13 mk01 you need imx6 kernel headers (specificaly mxcfb.h from it) installed, then libvpu and vpuwrapper
18:13 sraue Humpelst1lzchen, why not compile xbmc master from https://github.com/xbmc/xbmc/ ?
18:14 mk01 this are the specifics, otherwise the normal dependencies -dev
18:14 Humpelst1lzchen mk01: I should have them. At least I succeeded in compiling Gstreamer
18:14 mk01 sraue: is imx6 merged into upstream already ?
18:14 sraue yes
18:14 Humpelst1lzchen oh nice
18:14 mk01 Humpelst1lzchen: then you should have all.
18:14 sraue its what openelec uses
18:14 Humpelst1lzchen sraue: didn't know that one, thanks
18:16 mk01 hmm, it is real
18:16 mk01 :)
18:16 sraue yeah i tought you know :-)
18:16 mk01 nope
18:17 mk01 we had imx6 as origin and xbmc merged constantly in
18:17 sraue only deinterlacing support is missing and a few small issues are there, but generally it works
18:17 mk01 sraue: so DEINT is forced off or like at imx6/xbmc that it is forced half- ?
18:18 mk01 and only for SD content
18:18 sraue its off
18:18 sraue i think its not included, wolfgar is working on this
18:19 mk01 hmm forced off in glesrenderer . I see
18:20 mk01 https://github.com/xbmc/xbmc/blob/master/xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp#L2802
18:23 mk01 you are right
18:23 mk01 the code from uploadtexture is also missing
18:24 sraue this is something what should be added fast as possible to have this in helix, and fix the remaining small issues, to have a good working port in helix
18:29 dv_ helix? some codename for a xbmc release?
18:29 sraue yes
18:29 mk01 hm. it is known for quite some time ... even 20013 still.
18:30 dv_ you guys are xbmc devs who touch the imx6 bits?
18:31 dv_ I was wondering how far its integration is. there are some very tricky parts with the VPU wrapper and h264 frame reordering
18:32 dv_ took me forever to figure them all out
18:33 joelbaby dv_ .. its not called xbmc anymore :)
18:33 dv_ right, k-something it is now
18:37 Chris-ECServices has someone seen the effect booting up openelec an landing on a black screen but you can hear you can use the menu but don't see anything?
18:37 Chris-ECServices boot again boot again a i see something
18:37 mk01 Chris-ECServices: try removing guisettings.xml
18:38 Chris-ECServices even on a fresh install?
18:39 Humpelst1lzchen Chris-ECServices: Are you on DVI?
18:39 Chris-ECServices no hdmi -> hdmi
18:39 Humpelst1lzchen btw Chris-ECServices Are you the one selling the devices?
18:39 Chris-ECServices jop
18:40 Humpelst1lzchen uuh a vendor using its own stuff
18:40 Humpelst1lzchen got mine from you last week ;)
18:40 Chris-ECServices of course ^^ i'm my best customer :)
18:40 Humpelst1lzchen lol
18:40 Chris-ECServices after set up lakka yesterday my girlfriend don't gives me my i4pro back :/
18:42 Chris-ECServices humpelst1lzchen, how is your one running?
18:43 Humpelst1lzchen fine, thank you
18:43 sraue Chris-ECServices, yes its known
18:47 rabeeh Chris-ECServices: how is lakka behaving now?
18:47 rabeeh kivutar on the channel is one of the main driving forces behind lakka
18:48 Chris-ECServices i should ask my girlfriend :) she uses lakka now for hours and loves it :D
18:48 rabeeh which reminds me; kivutar: the sgtl audio codec now works
18:48 Chris-ECServices no runs really well love it! i've already written a blog post about it
18:48 rabeeh do you have a blog post? maybe some pictures?
18:48 Chris-ECServices ^^
18:48 rabeeh oh; i'v missed that then
18:48 Chris-ECServices http://blog.ecservices.de/2014/09/10/lakka-auf-der-cubox-back-gaming-roots/
18:49 Chris-ECServices sorry is in german like every time :D
18:49 Chris-ECServices i had to edit the config to set sound to hdmi but the rest runs out of the box
18:49 Chris-ECServices only the n64 emu stutters...
18:49 kivutar rabeeh, great news :)
18:50 kivutar i'm working with Squarepusher to get the settings gui ready by the end of the month
18:50 kivutar after that we can finally release
18:51 Chris-ECServices kivutar very cool!
18:51 rabeeh kivutar: have you spread the news in the forums?
18:51 rabeeh i don't typically miss those kind of announcements :)
18:51 kivutar not yet because I fear to have too much people asking for support while the code is not ready
18:52 rabeeh Chris-ECServices: do you use a joystick?
18:52 Chris-ECServices kivutar an enhancement idea: what about some usb rom copy? i friend visits you with roms on usb sticks, put it in and copy (automatically) to your roms folder... without using the share or something
18:52 kivutar I prefer to have everything tested and working
18:52 Chris-ECServices yes using two ps3 controllers
18:52 Chris-ECServices yesterday evening we tested very intensive with some friends :)
18:52 rabeeh kivutar: please handle it the you want
18:53 kivutar Chris-ECServices, this is already the case, any usb stick is automatically mounted in the rom folder
18:53 rabeeh but i strongly suggest to spread the news even in a closed loop to get feedback and improvement ideas
18:53 Chris-ECServices doh ^^
18:53 rabeeh kivutar: i bet it's ntfs filesystem issues
18:54 kivutar rabeeh, I've noticed that the bootloader is faster since 2 weeks
18:54 kivutar or maybe i'm dreaming
18:57 Chris-ECServices as feedback. the debian from igor with gnome desktop runs like a charm. like it!
18:57 jnettlet kivutar, if you put your zImage and .dtbs on the first partition that is formatted fat you can enable direct boot with devmem. devmem 0x20cc068 16 0x100
18:57 jnettlet you need to setup a service to do that on every successful boot though.
18:58 jnettlet if boot fails then it will fall back to standarad 2-stage boot
18:58 kivutar oho
18:58 kivutar jnettlet, the zImage needs to be named zImage?
18:58 jnettlet yes
18:59 kivutar ok let me try this
18:59 jnettlet and if you need special commandline settings you need to change those in the device-tree files
18:59 jnettlet but I have added basic settings that work for what I consider the "generic" setup
19:00 jnettlet wrexem, glad you got pcie working
19:00 jnettlet has it been stable for you?
19:00 kivutar yeah I will need a special cmdline, as my distro is based on openelec
19:01 jnettlet then just patch the dtbs in the kernel.
19:02 jnettlet kivutar, https://github.com/SolidRun/linux-imx6-3.14/blob/linux-linaro-lsk-v3.14-mx6/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi
19:02 jnettlet see the bootargs setting
19:02 jnettlet the same for the cubox-i
19:05 kivutar thanks
19:08 sraue jnettlet, openelec uses https://github.com/OpenELEC/OpenELEC.tv/blob/master/projects/Cuboxi/patches/u-boot/010-cuboxi-u-boot-zImage.patch to support a different name, we asked rabeeh some time ago to include this. OpenELEC uses a different filename as default, so we add "zImage=/KERNEL" in uEnv.txt
19:20 jnettlet sraue, thanks but any new uboot stuff is going to be upstream where there is a default boot script now. If you need something custom like that you can override things with a custom uboot script.
19:27 mk01 sraue: there is bootfile
19:27 mk01 variable
19:27 kivutar ok, patched the kernel, now let's package devmem..
20:14 wrexem jnettlet: It's stable, my wireless card can't see any AP but idk if I would say that's your fault.
20:15 wrexem or anyone... card is probably dead? idk, I harvested it from a laptop
20:15 wrexem new one may come someday soon, it's in the mail
20:15 wrexem Using Igor's debian build, with new kernel and modules - life is good.
20:16 wrexem at least at the command line
20:19 wrexem root@cubox:~# lspci
20:19 wrexem 00:00.0 PCI bridge: Device 16c3:abcd (rev 01)
20:19 wrexem 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192SE Wireless LAN Controller (rev 10)
20:19 wrexem root@cubox:~#
20:20 wrexem Module Size Used by
20:20 wrexem cpufreq_stats 13564 0
20:20 wrexem bluetooth 235932 0
20:20 wrexem 6lowpan_iphc 17172 1 bluetooth
20:20 wrexem arc4 12695 2
20:20 wrexem rtl8192se 103562 0
20:20 wrexem rtl_pci 37039 1 rtl8192se
20:20 wrexem rtlwifi 96271 2 rtl_pci,rtl8192se
20:20 wrexem some modules
20:20 wrexem iwconfig wlan0 scan shows nothing
20:31 mk01 missing fw ?
20:31 mk01 or rfkill active ?
20:31 wrexem Negative, it has the fw - I had to add it
20:31 wrexem err, ps aux|grep rfk
20:31 wrexem root 2474 0.0 0.0 3132 532 pts/0 S+ 20:31 0:00 grep rfk
20:31 wrexem root@cubox:~#
20:31 wrexem I don't see rfkill there
20:31 wrexem is that what you mean? I have modules for rfkill installed
20:36 wrexem root@cubox:/etc# rfkill list
20:36 wrexem 0: phy0: Wireless LAN
20:36 wrexem Soft blocked: no
20:36 wrexem Hard blocked: no
20:39 mk01 firmware files for realtek
20:40 wrexem I have them.
20:40 wrexem root@cubox:/home# dmesg|grep firmware
20:40 wrexem [ 0.575033] imx-sdma 20ec000.sdma: firmware not found
20:40 wrexem [ 4.028754] Loading firmware rtlwifi/rtl8192sefw.bin
20:40 wrexem root@cubox:/home#
20:41 mk01 and after that line "loading ..... bin"
20:41 mk01 is sucess ?
20:41 mk01 "ip a" shows what ?
20:41 mk01 ifconfig wlan0 up
20:42 wrexem 3: wlan0: mtu 1500 qdisc noop state DOWN qlen 1000
20:42 wrexem link/ether 70:f1:a1:7e:c3:c1 brd ff:ff:ff:ff:ff:ff
20:42 jnettlet yeah the interface isn't up
20:43 wrexem root@cubox:/home# ifconfig wlan0 up
20:43 wrexem root@cubox:/home#
20:43 wrexem root@cubox:/home# iwconfig
20:43 wrexem wlan0 IEEE 802.11bgn ESSID:off/any
20:43 wrexem Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
20:43 wrexem Retry short limit:7 RTS thr=2347 B Fragment thr:off
20:43 wrexem Encryption key:off
20:43 wrexem Power Management:off
20:44 wrexem root@cubox:/home# iwlist wlan0 scan
20:44 wrexem wlan0 No scan results
20:44 wrexem root@cubox:/home#
20:44 wrexem (There are several AP visible to my phone)
20:45 mk01 iw dev
20:45 mk01 iw phy
20:46 wrexem when using a USB wifi key, I get results from iwlist wlan1 scan
20:47 mk01 ok, so the realtek is usbwifi wlan1
20:47 wrexem no
20:47 wrexem I have two realtek chips
20:48 wrexem Both load, perform same-ish, but I cannot scan with PCI-E one.
20:48 wrexem Nor join networks, etc
20:48 mk01 ah
20:48 wrexem With the USB removed
20:48 wrexem PCI-E (wlan0) doesn't work.
20:49 mk01 got it, yes. didn't realise the ...SE at the beginning
20:50 mk01 there were some PCIE commits recently
20:50 mk01 (4 days)
20:50 wrexem Yes, otherwise I wouldn't see the card.
20:50 wrexem I have them
20:50 mk01 ok
20:51 mk01 then let's take device visibility as today's success - proceeding towards another set of commits
20:51 mk01 ;)
20:51 wrexem Indeed I am. Gloating, even.
20:52 wrexem I can get on wifi with the usb stick, so that's a win I think :)
20:53 wrexem And Igor... I need to go right now and donate to him. brb
20:55 wrexem Boom, donation complete. Slovenia, heh
20:56 jnettlet wrexem, can you pastebin the contents of /proc/interrupts?
20:58 wrexem http://pastebin.com/iMRk1x37
20:58 jnettlet wrexem, you enabled CONFIG_PCI_MSI. turn it off
20:59 jnettlet it will work after that
20:59 wrexem where would I change that, exactly?
20:59 jnettlet the kernel config
20:59 wrexem then I rebuild?
21:00 jnettlet yes
21:00 wrexem #
21:00 wrexem # Bus support
21:00 wrexem #
21:00 wrexem CONFIG_PCI=y
21:00 wrexem CONFIG_PCI_DOMAINS=y
21:00 wrexem CONFIG_PCI_SYSCALL=y
21:00 wrexem CONFIG_PCI_MSI=y
21:00 wrexem # CONFIG_PCI_DEBUG is not set
21:00 wrexem # CONFIG_PCI_REALLOC_ENABLE_AUTO is not set
21:00 wrexem CONFIG_PCI_STUB=y
21:01 wrexem change that to #CONFIG_PCI_MSI is not set
21:01 wrexem yes?
21:01 jnettlet yes
21:02 jnettlet everything else is fine
21:02 wrexem do I only need to rebuild zImage ??
21:03 jnettlet yes that should be enough
21:04 jnettlet umm unless you modules use PCI. I know the wifi card doesn't need it, so that should be okay
21:06 wrexem Probably I should say then, I used "make imx_v7_cbi_hb_defconfig"
21:06 wrexem I believe that's where that came from yes?
21:08 jnettlet yeah it probably needs to be disabled explicitely.
21:11 jnettlet actually, I still need to finish the patch that allows it to be disabled through device-tree.
21:11 wrexem bleh, gonna need to redo modules I think
21:11 wrexem unknown symbols
21:12 wrexem At least I have it running on 8 cores :D
21:18 wrexem That makes (4) times I have accidentally deleted uEnv.txt :D
21:22 wrexem I guess I don't understand what I'm doing - I rebuilt the zImage, all modules, and still it shows that pci_msi in interrupts
21:24 wrexem oh. hmm
21:24 wrexem should I try "CONFIG_PCI_MSI=n
21:26 jnettlet oh, you forgot the space
21:26 jnettlet # CONFIG_PCI_MSI is not set
21:28 wrexem http://kernel.xc.net/html/linux-2.6.33/x86/PCI_MSI
21:28 wrexem What if I were to set that somewhere - uEnv.txt perhaps?
21:33 wrexem I need someone to swordfight while I am compiling. http://xkcd.com/303/
21:38 jnettlet_ wrexem, actually pci=nomsi should work
21:39 wrexem in the uEnv.txt file?
21:39 wrexem mmcargs=setenv bootargs root=/dev/sda1 rootfstype=ext4 rootwait console=ttymxc0,115200n8 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 rd.dm=0 rd.luks=0 rd.lvm=0 raid=noautodetect pci=nomsi
21:39 wrexem like that?
21:40 jnettlet_ should be fine
21:45 wrexem BLEEPING SUCCESS :) Brilliant!
21:53 wrexem well, it can scan...
21:53 wrexem lol
21:53 wrexem still won't join
21:53 wrexem I still count it a huge win.
21:54 wrexem jnettlet, thank you :)
21:54 wrexem jnettlet_, thank you :)
21:58 jnettlet_ wrexem, no problem. glad it is working for you
21:58 jnettlet why won't it join?
22:00 wrexem It doesn't say... I can see it on scan, I have the psk set...
22:00 wrexem idk where to see the failure at
22:01 wrexem Using identical settings from the usb key in /etc/network/interfaces
22:01 wrexem other than the interface number, wlan0
22:05 jnettlet I can't help you with the /etc/network/interfaces stuff. I am using networkmanager with no problem
22:05 wrexem hmm dmesg shows some stuff, no problem
22:18 wrexem nice, I got it :)
22:18 wrexem it's a range fail on this pci-e card, need some antenna I think
22:19 wrexem rigged it to mobile hotspot - on my phone - and voila
22:19 wrexem total win.
22:20 wrexem I am so incredibly pumped right now.
22:27 jnettlet great