[03:08] I'm running the 12.04 release on my pandaboard with kernel 3.2.0-1412-omap4 and I want to build a module on my x86 machine. However, when I get the deb pkg source for linux-ti-omap-3.2.0 or from git://kernel.ubuntu.com/ubuntu/ubuntu-precise.git and tag Ubuntu-3.2.0-1412.16, the Makefile says the version is 3.2.14. wtf? [03:09] and then the vermagic of my module doesn't match so I can't load it [03:11] fmaker, you can build modules on your x86 machine [03:12] however you need to create a file called .scmversion [03:12] with the exact version string of the kernel [03:12] but that is only if you change the source [03:12] If all you want to do is build a module, you just need the headers, not the complete source. [03:12] And there's little/no point in cross-compiling it on your x86 machine. [03:12] infinity, yeah I shouldn'y be telling people how to screw up their computers :P [03:12] Your Panda can do it more than quickly enough. [03:13] Well I want to make some other changes later to the kernel itself so I'd like to find the full source. [03:13] fmaker, then you should build the whole thing [03:13] apt-get source linux-ti-omap4 [03:13] or that ^, sure [03:13] infinity, that's what i did. Try it, the makefile is a different version [03:13] not 3.2.0 [03:14] oh wait [03:14] Yes, and? [03:14] fmaker, umm, iyeah [03:14] maybe I didn't do exactly that [03:14] I used the normal uname -r [03:15] ok I already tried the linux-ti-omap4 pkg [03:15] Try it and you'll see the same Makefile I see [03:15] 3.2.14 [03:15] Yes. [03:15] It *is* 3.2.14. [03:15] This isn't news. [03:16] So there is just one package for all versions [03:16] fmaker, that is 3.2 [03:16] "all versions"...? [03:16] We only ship one version of the kernel in precise, so sure. [03:16] fmaker, i think you need to read up on the kernel's stably policies [03:16] *versioning [03:17] Well, and how the Debian packaging works, if you really want to know how and why it gets versioned the way it does. [03:17] yeh the debian packages don't bump the 0 [03:17] like ruby 1.9.3 is ruby1.9.1 b/c debian stuff [03:18] This is pretty kernel-specific, I'm not sure how ruby relates. :P [03:18] (The ruby1.9.1 source package is just a hilarious oops, IMO) [03:19] in that fmaker should trust that apt-get source and apt-get install get the same versions [03:19] not like x86 where you have one for each, i.e. linux-image-2.6.32-21-generic, linux-image-2.6.32-25-generic, etc [03:19] fmaker: Eh? [03:19] fmaker, actually you do [03:19] fmaker: When there's more than one kernel version, there's a source package for each. We've just only released one kernel for omap4 on precise so far. [03:20] (Well, since release) [03:20] fmaker: On precise x86, you'll find exactly the same situation. [03:20] (Well, except that there's already been an SRU) [03:21] ok I'll read up on ubuntu kernel release stuff, thanks. Btw, if ARM on my pandaboard is quite stable so far [03:21] good bit faster than the last dev. release I downloaded too [03:21] You're welcome. ;) [03:21] Six months of my life well spent. [03:21] Or well-wasted. [03:21] I'm never sure which. [03:23] I'm actually working on a driver to use with Android, but it is sooooo much easier to develop it with Ubuntu [03:23] and then bring it to the Android setup [03:23] easily saves me a couple weeks [03:24] Well, Android's not a development platform. I don't think they ever plan to make it self-hosting. [03:24] So, yeah, Ubuntu's a reasonably popular choice for Android dev, I hear. :) [03:24] well at Google most of the developers use Goobuntu, which is based on Ubuntu [03:25] servers are all Goobuntu [03:25] fmaker, why don't you use mainline linux then? [03:25] fmaker, unless you arn't planning on submitting it for merging..... [03:26] The reason I'm writing the driver is to connect to a SPI high speed and precision ADC [03:27] in order to try some different power strategies inside the kernel using this fast power meter [03:27] Which is a big issue in mobile, hence Android [03:28] fmaker, yeah you should be using mainline https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git [03:29] Yeah I'll get there, I want to get something up and running first. [03:30] anyways, thanks for pointing me the right way :) [03:31] git clone ^that address [03:31] if you arn't developing in git, your insane IMHO [03:36] fmaker, mainline kernels now run android [03:37] fmaker, however with mainline + android your phone will never suspend [14:37] Hi all, I need to build a utility (ez-ipupdate) for the pandaboard, as I cannot find a pre-built binary. Do I need to use the linaro toolchain to cross-compile this? Thanks for any input. [14:38] I don' t want to build the whole installation image; just a single utility which I can copy over onto the already-running board. === W1N9Zr53 is now known as W1N9Zr0