IRC log of #cubox of Fri 29 Aug 2014. All times are in CEST < Back to index

00:03 metrem re, i try to install xbian-package-xbmc on wheezy+3.14 (debootstrap), but when i run "/usr/local/lib/xbmc/xbmc.bin" i have "* failed to open vchiq instance"
00:03 metrem what is it this /dev/vchiq ?
00:05 metrem a camera device on rpi ?
00:24 pahartik metrem: Probably interface to "VideoCore 4"
02:40 iCEBrkr oh, speaking of camera devices. My Logitech HD cam works with the Android build + Skype.
03:50 metrem that build. i will see tomorrow if my build of xbian (xbian-package-xbmc/imx6 patch + imx6-wheezy build options) is ok
03:51 metrem of xbmc*
03:52 metrem i see also a folder extra-files on xbianonpi repo. what is it? it's for after the build ?
12:14 curlymo hi all, i ported lirc_rpi to work on the Hummingboard. What is the best way to get it into the official kernel? XBian will have it included soon.
12:25 hrw what XBian is?
12:25 curlymo Have you searched it, before asking the question
12:26 hrw ah. yet another debian based thing
12:27 curlymo what distro are you using?
12:27 hrw depends
12:27 hrw on desktop: fedora. on server: ubuntu. on devices: fedora/ubuntu/yocto/whatever
12:28 hrw used debian since 1999 to 2010 when started working for canonical and moved to ubuntu. year ago moved to redhat so moved to fedora
12:28 curlymo i meant on the cubox
12:28 curlymo or hummingboard
12:29 hrw I have wandboard quad. currently fedora on it
12:29 curlymo then the discussion is useless and indeed XBian is another debian based thing
12:34 hrw curlymo: thanks for pointing xbian. will have to take a look at it once get wandboard running
12:36 curlymo we don't own a wandboard so hard to tell if it will work
12:44 hrw sure, but I do not request anyone working on it
12:44 hrw just noticed that when it comes to mx6 then cubox community looks best
12:45 curlymo let us known when you tested it
12:45 curlymo or want to help port it
13:02 hrw ok. need to use own u-boot with xbian
14:17 R0nd I'm trying to boot my cubox with 3.14 kernel, but the video output is completely blank right after u-boot
14:18 R0nd it's not a "no signal", there actually is 1920x1080 output
14:21 R0nd oh right, I forgot the uEnv.txt with "consoleblank=0"
15:01 R0nd damn, I must be doing something wrong
15:04 R0nd there's no video or wi-fi connectivity after boot
15:28 R0nd ah scew it, gonna put 3.0.35 back in
15:33 Artox no video, no wifi? that bad?
15:35 R0nd I think I'm just doing something wrong, pretty sure people have successfully installed 3.14 before
15:37 hrw can someone share lsmod and dmesg output from 3.14.14 with working video?
15:37 hrw cause I lost that fight on wandboard quad so far
15:37 Artox I bleieve the trouble with 3.14 has to do with depmod
15:37 Artox the wireless module jsut isnt autoloaded
15:37 Artox neitehr are its dependencies
15:41 curlymo i have no issues with 3.14.14
15:41 curlymo except btrfs that is broken
15:41 Artox well, I have issues
15:41 Artox e.g. rfkill list showing nothing
15:41 Artox brcmfmac not loaded
15:42 Artox hrw: http://susepaste.org/17943880
15:45 hrw Artox: cool. thanks
15:45 hrw Artox: can you share kernel config as well?
15:46 Artox its jus tthe cuboxihbdefconfig thingie
15:46 Artox http://susepaste.org/94009373
15:50 hrw Artox: 404
15:52 Artox I see the 404 :|
15:52 Artox weird
15:56 hrw I think that I know where the problem was. lets build and reboot
15:56 Artox hrw: http://pastebin.com/0gyuEFs8
15:57 Artox can someone with working wifi on 3.14 give me a lsmod?
16:18 joelbaby_ b-rad of wdtv fame?
16:21 b-rad indeed ;)
16:29 joelbaby_ b-rad your firmware was awesome. and then i found xbmc.
16:30 joelbaby_ Artox lsmod: http://pastebin.com/2Ar6BRps
16:32 b-rad yeh i haven't touched a wdtv in a couple years now
16:33 b-rad community runs itself like i intended
16:36 joelbaby_ b-rad here in australia they're the no.1 media player
16:38 b-rad if sigma socs do one thing well, its playback media, so not surprised they're still popular
16:43 Artox thanks joelbaby_
16:44 joelbaby_ np
16:48 Artox weird, even with same modules, iwconfig does not show anything but eth0
16:48 Artox and rfkill list does not make any sense either
18:33 Raz0r joelbaby
18:33 Raz0r you there m8
18:33 Raz0r ?
18:33 joelbaby yeah
18:33 Raz0r hi fella
18:34 Raz0r managed to get the new kernal installed but it doesnt have the bloddy rtl8187 driver
18:35 Raz0r im getting this still
18:35 joelbaby hey i worked out you're just a friggin casual. Check out this guy with 14 antenna connected to his scanning PC: https://www.youtube.com/watch?v=jrHXu7M-U68
18:35 Raz0r root@kali:~/rtl8187_linux_26.1010.0622.2006# make rm -f ieee80211/Module.symvers 2>/dev/null rm -f ieee80211/Modules.symvers 2>/dev/null make -C ieee80211 all make[1]: Entering directory `/root/rtl8187_linux_26.1010.0622.2006/ieee80211' make -C /lib/modules/3.14.14/build M=/root/rtl8187_linux_26.1010.0622.2006/ieee80211 modules make: Entering an unknown directory make: *** /lib/modules/3.14.14/build: No such file or directory. Stop. ma
18:36 Raz0r i got a wifi pineapple to m8
18:36 joelbaby with 14 antennae?
18:36 Raz0r nop
18:36 Raz0r nope
18:37 Raz0r just the standard ones 6DB
18:37 joelbaby no, not 14DB
18:37 joelbaby 14 seperate wifi adaptors
18:37 Raz0r no m8 i just have the standard MARK 5
18:38 Raz0r thats alot of wifi adaptors
18:38 Raz0r dont need that many lol
18:38 joelbaby well you do if you scan all 14 channels at once
18:38 Raz0r are you on the hak5 forum ??
18:38 Raz0r lol true
18:38 joelbaby na
18:38 Raz0r oh ok
18:39 Raz0r thought you maybe
18:39 Raz0r any idears on this error ??
18:41 joelbaby jnettlet may be able to help with your make problem.
18:42 Raz0r brillent
18:42 Raz0r thank you
18:42 jnettlet that seems like a bold claim
18:42 Raz0r hey jnettlet you around fella ??
18:43 joelbaby well .. it is the kernel in your repository ...
18:43 Raz0r jnettlet any idears on this error ??
18:43 Raz0r 3.14.14
18:43 Raz0r managed to get that sorted but there is no driver for rtl8187
18:43 Raz0r and i cant install it either
18:43 jnettlet no driver in the kernel?
18:43 Raz0r i get this error
18:44 joelbaby but its in: ./drivers/net/wireless/rtl818x/rtl8187
18:44 Raz0r root@kali:~/rtl8187_linux_26.1010.0622.2006# make rm -f ieee80211/Module.symvers 2>/dev/null rm -f ieee80211/Modules.symvers 2>/dev/null make -C ieee80211 all make[1]: Entering directory `/root/rtl8187_linux_26.1010.0622.2006/ieee80211' make -C /lib/modules/3.14.14/build M=/root/rtl8187_linux_26.1010.0622.2006/ieee80211 modules make: Entering an unknown directory make: *** /lib/modules/3.14.14/build: No such file or directory. Stop. ma
18:45 joelbaby raz0r ... what is "make rm -f ..." meant to do?
18:46 jnettlet Raz0r, first things first can you do lsusb and post the output for me please?
18:46 Raz0r al i done was cd to here /rtl8187_linux_26.1010.0622.2006
18:46 Raz0r then type make
18:46 Raz0r yes of course
18:47 Raz0r root@kali:~/rtl8187_linux_26.1010.0622.2006# lsusb Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub root@kali:~/rtl8187_linux_26.1010.0622.2006#
18:47 Raz0r i was using this http://www.aircrack-ng.org/doku.php?id=r8187 to get it installed
18:48 jnettlet Raz0r, so you tried the in kernel driver and it doesn't support functionality for this like promisc mode or packet injection?
18:49 Raz0r thats correct and it doesnt reconise the Alfa card
18:49 jnettlet well that is probably just a matter of adding a usb id
18:50 Raz0r but the driver isnt installed
18:50 Raz0r what do you mean by adding a USB ID
18:50 jnettlet to the in kernel driver that isn't recognizing your adapter
18:51 Raz0r how would i go about that ??
18:51 Raz0r aorry for the stupid question
18:51 Raz0r sorry
18:53 Raz0r but surley i would need the driver for it installed to /lib/modules/3.14.14/kernel/drivers/net/wireless
18:53 jnettlet one sec, I am just looking at the 8187 in kernel driver quick.
18:54 Raz0r many thanks for the help
18:55 jnettlet Raz0r, okay it looks like the since the 2.6.xx kernel series the rtl8187 is supported by aircrack-ng
18:55 Raz0r right
18:55 Raz0r thats why i was using this
18:55 Raz0r http://www.aircrack-ng.org/doku.php?id=r8187
18:56 jnettlet so all you need to do is enable the driver in the default 3.14.14 kernel config and go.
18:56 jnettlet you care about this page. http://www.aircrack-ng.org/doku.php?id=rtl8187&DokuWiki=3bc5b90b9d4c0ed47004ddee287289b1
18:57 Raz0r FATAL: Module rtl8187 not found.
18:57 Raz0r :(
18:59 Raz0r oh right ok so its not enabled by default ??
18:59 jnettlet depends with defconfig you used to build.
18:59 jnettlet the base_defconfig no, normal one it should be, but let me check that again.
19:00 Raz0r shit it took bloody ages to get it sorted and i just held my finger on return key
19:00 joelbaby lol
19:00 Raz0r :(
19:00 Raz0r lol
19:00 jnettlet oh, you need to do this
19:00 jnettlet make imx_v7_cbi_hb_defconfig
19:01 jnettlet that will enable all the modules you could ever possibly want.
19:01 jnettlet or if you are happy with your kernel now.
19:01 Raz0r where would i enter this command in the kernel folder ??
19:01 jnettlet this is the quicker method
19:01 jnettlet got to the folder where you built your kernel
19:02 jnettlet edit the file .config
19:02 Raz0r thank you
19:02 jnettlet go down and you will see #CONFIG_MAC80211 is not set
19:02 Raz0r ill take a look nowe
19:02 jnettlet change that to CONFIG_MAC80211=y
19:02 jnettlet close the file then run your make command
19:02 Raz0r so just uncomment that line
19:03 jnettlet uncomment and change the is not set to =y
19:03 jnettlet then when you build the kernel again you will get prompted to enable/disable/module all the drivers that use that subsystem
19:03 jnettlet one of those will be rtl8187
19:03 joelbaby jnettlet in the created config file it says: CONFIG_RTL8187=m
19:03 joelbaby is the =m correct?
19:04 jnettlet that means it is a built as a module
19:04 Raz0r just looking now
19:04 jnettlet so what you need to do then is install your modules to a directory you can move over to your cubox-i
19:05 jnettlet if you can mount the / partition of your sdhc on your build machine to /mnt/cubox_root you can do. make modules_install INSTALL_MOD_PATH=/mnt/cubox_root/
19:06 jnettlet make sure and run `make modules` first
19:07 Raz0r can i just rebuild the kernel from scratch on my cubox-i ??
19:07 joelbaby Raz0r are you building on the cubox-i, or on a PC?
19:08 Raz0r well i was thinking on doing it on my cubox-i
19:08 Raz0r can that not be done
19:08 joelbaby well ... where did you build it from before?
19:08 Raz0r never built a kernel befour
19:08 jnettlet It can but it is slow compared to a modern PC
19:08 jnettlet depends what hardware you have
19:08 Raz0r i built it on my office Kali mechine
19:09 Raz0r machine
19:10 Raz0r well it took about 40 min to an hour on my office pc
19:10 joelbaby zImage takes 5 mins on my 3 yr old laptop
19:10 Raz0r lol
19:11 joelbaby so how did you cross compile?
19:11 joelbaby because you'd have had to enter some extra commands on your Kali box to be able to build a cubox image.
19:12 Raz0r i used this script https://github.com/offensive-security/kali-arm-build-scripts/blob/master/cubox-i.sh and modified line 173 to this git clone https://github.com/linux4kix/linux-linaro-stable-mx6.git -b linux-linaro-lsk-v3.14-mx6
19:14 joelbaby Raz0r that script makes it complicated.
19:14 joelbaby all you gotta do is:
19:14 joelbaby export ARCH=arm
19:14 joelbaby export CROSS_COMPILE=arm-linux-gnueabihf-
19:15 joelbaby make imx_v7_cbi_hb_defconfig
19:15 joelbaby make zImage imx6q-cubox-i.dtb imx6dl-cubox-i.dtb imx6dl-hummingboard.dtb modules
19:15 joelbaby here's the only hard bit:
19:15 joelbaby place SD card into your kali computer
19:15 Raz0r lol
19:16 joelbaby find the partition which contains /lib/modules
19:16 joelbaby mount that somewhere
19:16 Raz0r im with you
19:17 joelbaby then: export INSTALL_MOD_PATH=/the_place_you_mounted_it_to
19:17 joelbaby then: make modules_install
19:17 joelbaby then check in lib/modules/
19:17 joelbaby that you have a 3.14.14 directory with things in it.
19:18 joelbaby then type 'sync'.
19:18 joelbaby then eject your SD card
19:18 joelbaby then put it in the cubox.
19:18 Raz0r many thanks ill try that right now
19:19 joelbaby oh ... also copy the zImage and dtb files you made to the sd card 'boot' partition ... that's not the same one as the 'root' partition with the modules in it.
19:20 joelbaby zImage is in ./arch/arm/boot/zImage
19:20 joelbaby and the .dtb files are in ./arch/arm/boot/dts/*.dtb
19:20 joelbaby after the make command finishes.
19:23 Raz0r many thanks ill get back to you on this thanks again for your help chaps :)
19:25 joelbaby hey Raz0r you ever heard of someone called lorry?
20:24 FoXMaN rabeeh: which branch from SolidRun/linux-imx6 is recommended for hummingboard 2iex?
20:28 FoXMaN despite the fact the vpu driver is compiled in 3.0.35 i don't see any messages in dmesg