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