IRC log of #cubox of Tue 09 Dec 2014. All times are in CET < Back to index

11:04 topi` it's rather unfortunate that the HB wifi doesn't run with the debian-supplied firmware-brcm80211 package :/
11:05 topi` it needs some obscure brcmfmac4330-sdio.txt file to work.
11:05 topi` which I needed to fish from somewhere.
11:08 topi` fsck, my losetup offsets went wrong and a msdos partition turned up garbage :/
11:08 topi` damn, why is it so hard to partition a (virtual)disk?
11:09 topi` oh, no partitioning at *all* in my image
13:27 Artox topi`: the files is not hard
13:31 jnettlet topi`, the reason those files aren't included in debian firmware file is that the file is device specific. As in machine by machine
13:32 bencoh I sent a patch to OE regarding that, I dont think it has been included yet (they have a metapackage for this specific issue)
13:33 bencoh so I wouldnt even dream about debian handling it properly for now :p
13:33 Artox topi`: I got the files here: https://build.opensuse.org/package/view_file/home:mayerjosua:cubox-i:13.1/i.MX6-Adaptations/brcmfmac4329-sdio.txt?expand=1
13:33 Artox https://build.opensuse.org/package/view_file/home:mayerjosua:cubox-i:13.1/i.MX6-Adaptations/brcmfmac4329-sdio.txt?expand=1
13:34 Artox I think I got them from rabeeh
13:35 bencoh hm looks like I had an answer from dv
13:35 jnettlet bencoh, the OE maintainer contacted me about it. The file you proposed was partially incorrect. they took my patches but I don't know where it is now
13:35 dv^laptop bencoh: ?
13:36 bencoh dv^laptop: regarding MACHINE_FIRMWARE_append_mx6 = " linux-firmware-ath6k", apparently some cubox/HB boards need it, it's not related to brcm
13:36 jnettlet Artox, you .txt for the 4330 is wrong
13:36 jnettlet you need to set ccode=ALL
13:37 bencoh dv^laptop: and for ccode=CN vs ccode=ALL ... well, okay :)
13:37 Artox jnettlet: could I not use ccode=DE?
13:37 jnettlet Artox, no
13:37 dv^laptop oh
13:37 dv^laptop okay
13:37 bencoh jnettlet: which board needs ath6k ?
13:38 Artox is there any reasonm to have CN or ALL and not DE?
13:38 jnettlet this is for the initial scanning. The driver will then adjust to the proper country code.
13:38 Artox ah
13:38 bencoh hm, how will it guess the proper country code ?
13:38 jnettlet there is a mechanism for it
13:38 jnettlet it is all part of 802.11
13:39 bencoh sounds like magic, but okay
13:39 Artox country-specific noise? :)
13:39 jnettlet but if you set it to CN, or DE then you can exclude channels that might be used other parts of the world
13:39 jnettlet it is all about which frequencies are licensed to use
13:40 jnettlet bencoh, not magic. There are just a long workflow for it to determine it.
13:40 Artox I should probably create a package containing those .txt
13:40 bencoh based on surronding stations ?
13:40 bencoh surrounding*
13:41 jnettlet the timezone of the local machine, surrounding APs etc etc
13:41 jnettlet you can also manually set it with iwconfig
13:41 jnettlet or just iw now
13:42 jnettlet so it isn't magic, just too long to cover over IRC
13:43 bencoh oh btw, iwconfig cant create/"remove"/create an ibss without reloading the kernel module, while it works well with iw .. I dunno if it's expected behavior, or a wontfix (iwconfig is prolly just there for legacy)
13:44 bencoh that's with 3.14.14
13:44 bencoh (linux-linaro-lsk-v3.14-mx6 4a2f77e014b8cdd10af1aac0db40f582be027f51)
13:45 jnettlet yeah iwconfig is pretty deprecated at this point
13:45 Artox is the firmware (excluding the .txt) already included in a debian package?
13:46 Artox I checked firmware-brcm80211 and it does not have a name I reccognize
13:46 Artox or is the firmware in that package generic
13:48 sopparus sigh
13:48 sopparus is there any way to put stuff on micro sd card directly from the cubox
13:48 sopparus via usb or something
13:48 sopparus i dont have a sd card writer
13:48 Artox usb microsd reader :)
13:48 Artox also, I suppose one could boot a system into RAM
13:48 Artox and then remove sdcard
13:48 Artox and put in another
13:49 Artox who will create such a mini-distro of e.g. DSL?
13:49 sopparus there is no boot from tftp?
13:49 Artox hmmmmmmmmmmmmmmmmmmmm
13:49 Artox in theory there is
13:50 Artox u-boot should be able to do it
13:50 Artox but I do not know about the current status of u-boot and the support of imx6 ethernet
13:51 sopparus btw
13:51 sopparus I have a SDHC Card Slot
13:51 sopparus on my zenbook
13:51 Artox well
13:51 sopparus can it also do micro?
13:51 Artox if you got an adapter -> yes
13:51 sopparus seems to big
13:51 sopparus do not
13:52 Artox I can send you an adapter by mail for free, I got too many anyway :)
13:52 sopparus really?
13:52 sopparus where do you live?
13:52 Artox germany
13:52 Artox I got like 4 of them
13:52 Artox and I only need 0
13:52 sopparus im in sweden
13:52 sopparus if you're ok with that sure
13:53 Artox other than that, those things often come with microsdcards
13:54 jnettlet The CBi/HB needs an SDHC card to boot
13:57 jnettlet booting from tftp over ethernet works fine on the CBi/HB that is how I do all my kernel development. However you still need an SDHC that has u-boot loaded on it
13:57 sopparus ok
13:57 sopparus typical
13:58 jnettlet we adapted this system solely to mess with Swedes
13:58 jnettlet :)
13:58 jnettlet actually it makes the CBi/HB pretty much unbrickable
13:59 jnettlet obviously plugging in an incorrect power adapter will still fry it
13:59 sopparus it was i mistake to not ordering with micro sd card
14:00 sopparus totally missed that
14:00 sopparus now I got one but no writer I noticed.. :D
14:25 jnettlet sopparus, do you have a rooted Android phone with a microsdhc slot?
14:25 sopparus no :(
14:26 sopparus but Artox was very kind to send me one
14:26 sopparus i'll have it in a few days
14:26 jnettlet and in return he will only demand a small part of your soul
14:26 jnettlet a completely fair trade
14:36 sopparus yep ;)
14:45 topi` how can I find out if it's the BCM4229 or BCM4230 that I have on my Hummingboard?
14:47 rabeeh_ bcm4330
14:48 topi` ok
14:49 topi` I'm going to prepare a "custom" debian package that contains the extra *.txt files needed to get the 4330 to life
14:49 topi` this is just so that I can start building proprietary disk images from a repository that resides in our company servers
14:50 topi` the X server is another difficult beast. I need to prepare a custom xorg.conf that just defines a Driver that uses fbdev...
14:51 topi` our other option is to ditch X and use Directfb instead... it's possible to compile GTK apps to use direcfb instad of
14:54 bencoh is it maintained and in a proper working state ?
14:55 bencoh gtk-dfb looks like an devel project to me
14:55 bencoh a*
19:06 Artox [14:55] gtk-dfb looks like an devel project to me
19:06 Artox yes
19:06 Artox but its sort of usable
19:11 Artox [14:49] I'm going to prepare a "custom" debian package that contains the extra *.txt files needed to get the 4330 to life
19:11 Artox I'd be interested in a copy
19:11 Artox maybe you can put it a public place (source package aka debian.tar.gz)