/srv/irclogs.ubuntu.com/2012/05/05/#ubuntu-arm.txt

fmakerI'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
fmakerand then the vermagic of my module doesn't match so I can't load it03:09
scientesfmaker, you can build modules on your x86 machine03:11
scienteshowever you need to create a file called .scmversion03:12
scienteswith the exact version string of the kernel03:12
scientesbut that is only if you change the source03:12
infinityIf all you want to do is build a module, you just need the headers, not the complete source.03:12
infinityAnd there's little/no point in cross-compiling it on your x86 machine.03:12
scientesinfinity, yeah I shouldn'y be telling people how to screw up their computers :P03:12
infinityYour Panda can do it more than quickly enough.03:12
fmakerWell I want to make some other changes later to the kernel itself so I'd like to find the full source.03:13
scientesfmaker, then you should build the whole thing03:13
infinityapt-get source linux-ti-omap403:13
scientesor that ^, sure03:13
fmakerinfinity, that's what i did. Try it, the makefile is a different version03:13
fmakernot 3.2.003:13
fmakeroh wait03:14
infinityYes, and?03:14
scientesfmaker, umm, iyeah03:14
fmakermaybe I didn't do exactly that03:14
fmakerI used the normal uname -r03:14
fmakerok I already tried the linux-ti-omap4 pkg03:15
fmakerTry it and you'll see the same Makefile I see03:15
fmaker3.2.1403:15
infinityYes.03:15
infinityIt *is* 3.2.14.03:15
infinityThis isn't news.03:15
fmakerSo there is just one package for all versions03:16
scientesfmaker, that is 3.203:16
infinity"all versions"...?03:16
infinityWe only ship one version of the kernel in precise, so sure.03:16
scientesfmaker, i think you need to read up on the kernel's stably policies03:16
scientes*versioning03:16
infinityWell, and how the Debian packaging works, if you really want to know how and why it gets versioned the way it does.03:17
scientesyeh the debian packages don't bump the 003:17
scienteslike ruby 1.9.3 is ruby1.9.1 b/c debian stuff03:17
infinityThis is pretty kernel-specific, I'm not sure how ruby relates. :P03:18
infinity(The ruby1.9.1 source package is just a hilarious oops, IMO)03:18
scientesin that fmaker should trust that apt-get source and apt-get install get the same versions03:19
fmakernot like x86 where you have one for each, i.e. linux-image-2.6.32-21-generic, linux-image-2.6.32-25-generic, etc03:19
infinityfmaker: Eh?03:19
scientesfmaker, actually you do03:19
infinityfmaker: 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
infinityfmaker: On precise x86, you'll find exactly the same situation.03:20
infinity(Well, except that there's already been an SRU)03:20
fmakerok I'll read up on ubuntu kernel release stuff, thanks. Btw, if ARM on my pandaboard is quite stable so far03:21
fmakergood bit faster than the last dev. release I downloaded too03:21
infinityYou're welcome. ;)03:21
infinitySix months of my life well spent.03:21
infinityOr well-wasted.03:21
infinityI'm never sure which.03:21
fmakerI'm actually working on a driver to use with Android, but it is sooooo much easier to develop it with Ubuntu03:23
fmakerand then bring it to the Android setup03:23
fmakereasily saves me a couple weeks03:23
infinityWell, Android's not a development platform.  I don't think they ever plan to make it self-hosting.03:24
infinitySo, yeah, Ubuntu's a reasonably popular choice for Android dev, I hear. :)03:24
fmakerwell at Google most of the developers use Goobuntu, which is based on Ubuntu03:24
fmakerservers are all Goobuntu03:25
scientesfmaker, why don't you use mainline linux then?03:25
scientesfmaker, unless you arn't planning on submitting it for merging.....03:25
fmakerThe reason I'm writing the driver is to connect to a SPI high speed and precision ADC03:26
fmakerin order to try some different power strategies inside the kernel using this fast power meter03:27
fmakerWhich is a big issue in mobile, hence Android03:27
scientesfmaker, yeah you should be using mainline https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git03:28
fmakerYeah I'll get there, I want to get something up and running  first.03:29
fmakeranyways, thanks for pointing me the right way :)03:30
scientesgit clone ^that address03:31
scientesif you arn't developing in git, your insane IMHO03:31
scientesfmaker, mainline kernels now run android03:36
scientesfmaker, however with mainline + android your phone will never suspend03:37
aliDogHi 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
aliDogI 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!