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