On 01/16/2012 02:54 PM, Ernie wrote:
>
> Does anyone have a good �Step by Step� guild on how to build a
> Linux (perhaps Ubuntu) kernel for the Beagleboard xM, including the
> steps required to get the new kernel on to a SD card so it will
> boot on the BB. My preferred method would be to cross compile the
> kernel under Ubuntu 10.10 running in a virtual VMWare environment
> under Windows.
cross compilation howto for Ubuntu:
// get the source first
git clone git://kernel.ubuntu.com/ubuntu/ubuntu-precise.git
// tweak the config
cd ubuntu-precise
export $(dpkg-architecture -aarmel); export
CROSS_COMPILE=arm-linux-gnueabi-
fakeroot debian/rules clean editconfigs
// compile it
fakeroot debian/rules binary-omap
// copy the generated .deb on the sd:
cp ../linux-image-$your-own-kernel-version-here.deb /media/$something
// boot the beagle and install it via dpkg:
dpkg -i linux-image-$your-own-kernel-version-here.deb
if you want to mark your kernel in some way (so you can distinguish it
from stock ones), modify debian.master/changelog:
linux (3.2.0-9.16) precise; urgency=low
to
linux (3.2.0-9.16~myownkernel) precise; urgency=low
this way you will get a kernel with "~myownkernel" appended at the end
(and whenever a new offical Ubuntu kernel is available it will
overwrite it).
The same steps are required for a Pandaboard, but you'll have to
switch branch after you checked out the source:
git co ti-omap4
and when you compile it use binary-omap4 insted of binary-omap.
- --
bye,
p.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJPFVMNAAoJEJdscTmfuQbQPicQAJhWqWi1NC2ReHmaZCPc2OFz
rPsepST55tL5+STCotHFFpEn0Yc//5rVGtpI8+PvNw/gPiwXzotQKjs5p5yf4uQZ
GiIRk2iGhhjRcSX1VduttnuWHLm+NMQRNGv/kFoDB0EC83I3J52tvrIbt2U+4T58
VUuOnX71Y8VyN4xQa+XmGxp8ebmKhZsGAO2Fa0Aex7Joyl/D63aMqnkkXigz1Slb
0n4ODF0NMvDFAa/MQwUsmhMWaqj+Gr1bUB3kN+RuEVTMp6Bhb0rvNEYCvxDNLe3R
YKdFsEoxZnkFYjEmxdmqwzzRNdPm96gN+dOb8o1NO9tzz97srh4x8V4l9c5hkdB9
0yYRH3u5j1iyz7uUldqzgKU4GTtxqxVX51VZhIwNs71obFChtwZSyYAja5ovvYo+
Khps22TbUwBJJVHXEQV345p1j2tjV+lwUVDve65bYT/l1NvMut4ppyQOqIhp6y9j
aSbLq3fCQgYle7+o1+enDsJ2rApS/PKlR0dVmvZ3aLGPA3GwQFQOjMQGmQveig/2
056WPL+p1oBEqwQgB1rGyDy+Tzy+vN40fJCE+OwtjB4w6ckSAXZIc+V99TrftXPA
VJe5G4yRPV82v+U7O5JjE0VQqRhmGf5F7K7pH/ebhIJSJqJOgTsKmEFA8YuKEK93
hmo/hpN5dAOfeWTYTN2w
=eXXP
-----END PGP SIGNATURE-----
--
You received this message because you are subscribed to the Google Groups "Beagle Board" group.
To post to this group, send email to beagl...@googlegroups.com.
To unsubscribe from this group, send email to beagleboard...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.