BeagleBoneSoftware - Revision history 2014-12-28T23:00:33Z Revision history for this page on the wiki MediaWiki 1.25alpha Alan o: First incomplete cut 2013-05-31T18:15:42Z <p>First incomplete cut</p> <p><b>New page</b></p><div>[[Category: Linux]]<br /> [[Category: OMAP]]<br /> [[Category:Development Boards]]<br /> [[Category: BeagleBoard]]<br /> [[Category: BeagleBone]]<br /> <br /> [[File:BeagleBone_256x249.jpg|320px|thumb|right|BeagleBone]]<br /> [[File:BeagleBone-Black-A5_product_detail_black_sm.jpg|320px|thumb|right|BeagleBone Black]]<br /> <br /> This page documents installation, use, maintenance, and software development using Linux on a [[BeagleBone]].<br /> <br /> &lt;br&gt;<br /> <br /> = Getting Started =<br /> [|] has a great [|getting started guide] which covers the BeagleBone and BeagleBone Black. This guide covers steps from unboxing all the way though installing an image on the SD card (for BeagleBone), or installing a flasher image and flashing the eMMC (for BeagleBone Black).<br /> <br /> == Making an SD card the hard way ==<br /> [|The Angstrom BeagleBoard page] contains pre built kernels, bootloaders, filesystems, and whole-disk images for the official Angstrom releases, as well as instructions for installation.<br /> <br /> = The Angstrom Distribution =<br /> The official distribution shipped with the BeagleBone is [|Angstrom]. Angstrom is built upon [|OpenEmbedded], and has targets for many popular embedded Linux boards.<br /> <br /> == Building Angstrom from source ==<br /> Documentation regarding building Angstrom from source can be found on the [|Building Angstrom page] at the Angstrom website. For BeagleBone, use '''MACHINE=beaglebone'''<br /> <br /> TODO: Also tell how to get from a built angstrom distro to something installed on the SD card.<br /> <br /> === Building just the kernel ===<br /> To build just the kernel, run the following:<br /> MACHINE=beaglebone ./ bitbake virtual/kernel<br /> <br /> TODO: tell where this kernel shows up and what to do with it (copy to SD card).<br /> <br /> === Build just the toolchain ===<br /> TODO: Figure out how to actually do this (nobody seemed to know when I asked last time).<br /> <br /> === Downloading a prebuilt toolchain ===<br /> Prebuilt toolchains can be downloaded from the [|Angstrom Toolchains page]. For BeagleBone, The armv7a-vfp-neon toolchains will work for the BeagleBone.<br /> <br /> = The Linux Kernel =<br /> The modern Linux kernels (version 3.8) for the BeagleBone Black (and also the modern kernel on the BeagleBone), is implemented and maintained as a set of patches ahead of the mainline kernel, along with a script to download a mainline kernel and patch it accordingly. This is the same kernel (mainline and patches) which is in the Angstrom build.<br /> <br /> To Build a kernel, check out the [| beagleboard/kernel Github project], making sure to use branch 3.8. The contains exact steps for building the kernel and copying it to your BeagleBone.<br /> <br /> = The U-Boot Bootloader =<br /> The BeagleBone uses the [|U-Boot] bootloader.<br /> TODO: What's the official u-boot to use, and how to build it?<br /> TODO: Where is the official uEnv.txt?<br /> TODO: Is there a list of uEnv.txt variables which work with the installed bootloader?<br /> TODO: How to set the HDMI resolution?<br /> <br /> = The Angstrom Linux Distribution =<br /> TODO install packages<br /> TODO upgrade distro<br /> TODO configure networking<br /> TODO links to some basic Unix/Linux resources<br /> TODO (plenty of other stuff could go here)<br /> <br /> = Software Development =<br /> == Build software with native toolchian ==<br /> == Build software with a cross toolchain ==<br /> == Talking to hardware ==<br /> * DeviceTree and Capemgr<br /> * Example for each bus<br /> * Serial port<br /> * SPI<br /> * I2C<br /> * etc<br /> * PRU (optional?)</div> Alan o