IRC log of #cubox of Sat 08 Mar 2014. All times are in CET < Back to index

01:22 scattym Hey all. Just wondering if anyone has compiled the dm_mod module for archlnux on the cuboxi? I am pretty sure that's what is missing, running dmsetup ls fails and complains about /dev/mapper/control not being there.
02:06 Coburn .seen
02:06 Coburn anyone seen rmk around?
11:37 scattym Hey all. Just wondering if anyone has compiled the dm_mod module for archlnux on the cuboxi? I am pretty sure that's what is missing, running dmsetup ls fails and complains about /dev/mapper/control not being there.
11:38 scattym Which I think is an incorrect error, the lack of kernel module is the real problem I believe/hope.
12:01 scattym I certainly can't find dm_mod.ko or anything similar
12:01 scattym And I can't see a .config for the kernel so don't know if it's supposed to be compiled in (and not a module)
12:01 scattym But I certainly can't get any device mapper stuff working
12:02 scattym Like I could on the old cubox
12:18 aplund and they said it couldn't be done: http://imx.solid-run.com/forums/viewtopic.php?f=8&t=749&p=5323#p5323
12:38 coinsen hmm
12:38 coinsen aplund: are you complaining about the red light?
12:40 coinsen scattym: youre running archlinux?
12:49 aplund aplund: the toslink one
12:49 aplund gah!
12:49 aplund coinsen: that is. I am egotistical though.
12:55 scattym coinsen: yup, seems to be an old kernel though... Linux cuboxi4 3.0.35-11 #1 SMP PREEMPT Thu Feb 20 07:27:44 MST 2014 armv7l GNU/Linux
12:56 scattym my old cubox is a 3.5.7 kernel
12:56 scattym and has the dm_mod module loaded
13:00 coinsen scattym: yea, the latest kernel for the cubox-i is 3.10, but it is still "unstable"
13:00 coinsen scattym: try to install the kernel headers on arch for the 3.0 kernel
13:00 coinsen and then you can probably build the module for yourself
13:01 coinsen let me check that
13:03 coinsen aplund: my toslink light is off
13:05 aplund coinsen: sorry, which kernel are you using?
13:05 coinsen aplund: the default 3.0 kernel that came with arch
13:06 aplund coinsen: yeah. I was talking about the 3.10 kernel
13:06 coinsen aplund: i booted 3.10 some minutes ago, im pretty sure the light was off as well
13:06 aplund coinsen: who's branch?
13:07 coinsen didnt build it myself, i used the pre-built one
13:07 aplund yeah.. ok. But from where?
13:08 aplund oh.. and I guess it will depend on which u-boot you use too.
13:09 coinsen aplund: just tried something out
13:09 coinsen i started xbmc
13:09 coinsen changed the audio source from hdmi to spdif, and the light went on
13:10 coinsen and turns off again, when i switch back to hdmi
13:10 coinsen now it would be interesting what xbmc actually does in the background
13:10 aplund that's how it should be, but the pins aren't set correctly in my 3.10 kernel (jnettlet's one).
13:11 coinsen hmm
13:11 coinsen aplund: where can i find jnettlets kernel?
13:13 aplund coinsen: I don't know about any binaries, but it's here https://github.com/linux4kix/linux-linaro-stable-mx6
13:17 coinsen ah, thanks
13:18 scattym I just tried to upgrade to 3.10 hoping the dm_mod module would be there. How do I change the boot kernel? The new file seems to be in /boot as zImage, do I copy this over uImage?
13:19 coinsen scattym: no, you have to install alarm/uboot-cubox-i
13:20 coinsen before that, delete /boot/SPL and /boot/uboot.img
13:20 dv_ and I guess if you build jnettlets kernel you also need to call: make uImage
13:20 scattym I didn't build this kernel, it's available through pacman out of core
13:20 coinsen scattym: maybe you will have to build it ;)
13:21 coinsen i'm not sure why there is no dm_mod included
13:21 coinsen i mean - at least as module
13:21 dv_ jnettlets kernel is available through pacman?
13:21 scattym No idea who's tree it is
13:21 scattym just saw it there and installed
13:22 coinsen i think it is jnettlets
13:22 coinsen there is no other 3.10 kernel around
13:22 dv_ 3.10.30 ?
13:22 dv_ otherwise it might be one of the other 3.10 projects
13:22 scattym core/linux-imx6-cubox-dt 3.10.30-4 [installed]
13:23 dv_ hm yes this might be the one
13:24 coinsen btw guys, why doesnt freescale offer kernel patches?
13:24 dv_ they have their own forked kernel
13:24 dv_ which is ... 3.0.35
13:25 coinsen oh, okay
13:25 dv_ also, other companies have been porting to 3.10 for them
13:25 dv_ there are several parallel projects going on about this. it is a mess. I'd bet on jnettlets kernel though
13:25 dv_ since this is community driven and has lots of bugfixes
13:27 scattym ok, removed SPL, uImage and u-boot.img installed uboot-cubox-i
13:27 scattym new SPL and u-boot.img came in
13:27 scattym have a zImage file but no uImage
13:27 scattym reboot?
13:27 coinsen reboot!
13:27 scattym haha
13:27 scattym :)
13:27 coinsen and good luck
13:27 dv_ newer uboot can read zImage
13:28 coinsen scattym: do you use wifi?
13:28 scattym nah, cables all the way
13:28 coinsen scattym: do you use hdmi <-> dvi connector?
13:28 scattym hdmi straight into monitor
13:28 coinsen great
13:29 coinsen because if you were using a hdmi dvi connector, you would probably get a blank screen
13:29 coinsen just like me. :(
13:29 scattym and am now on 3.10. thanks for that
13:30 coinsen scattym: does dm_mod work?
13:30 scattym haha, looks like i'll have to go and build the module. still not present
13:30 coinsen damn
13:30 scattym lol at trying to take the easy way out :)
13:42 jnettlet coinsen, try this older patch for your dvi problems. https://github.com/Freescale/meta-fsl-arm-extra/blob/master/recipes-kernel/linux/linux-cubox-i-3.0.35/mxc_hdmi-dont-require-cea-mode.patch
13:42 jnettlet it isn't a fix but a work-a-round.
13:57 scattym downloading core/linux now... is the .config file used to build 3.10 for the cubox-i somewhere?
13:59 dv_ I guess its the default cubox-i config
13:59 dv_ https://github.com/linux4kix/linux-linaro-stable-mx6/blob/linux-linaro-lsk-mx6/arch/arm/configs/imx_v7_cubox-i_hummingboard_defconfig <- this one
14:00 scattym nice, thx again for the help
15:54 ndoo hi guys! i would like to re-compile the 3.10.30 kernel to patch mxc_hdmi.c to allow non-CEA resolutions
15:54 ndoo where do i get started? i'm on mac os x
15:54 ndoo i could always do a VM, in which case, which distro would work easily
16:38 wbx ndoo: you need a cross-compiler targeting armhf
16:40 ndoo would it be sufficient to do a minimal debian, git pull, presumably make defconfig and install the prerequisites?
16:43 wbx ndoo: I thought you are running MacOS X?
16:44 ndoo Might just be easier to do it on Debian :P
16:44 wbx ndoo: i see no difference ;P
16:44 wbx ndoo: you still need a cross-compiler. I regulary build cross-compilers on Darwin. targeting linux armhf
16:45 ndoo Heh! Alright! To the googles/macports!
18:17 coinsen jnettlet: thank you!
18:17 jnettlet coinsen, that means it is working okay?
19:20 coinsen jnettlet: couldnt try it out yet
19:20 coinsen but i will soon
19:20 coinsen not at home right now
20:14 mrsmithy anyone around who can help me installing openelec on my cubox-i 4pro?