Difference between revisions of "Beagleboard:BeagleBoneBlack Rebuilding Software Image"

From eLinux.org
Jump to: navigation, search
(Build Instructions)
(Debian Build Instructions)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
= Sources =
 
= Sources =
 
Angstrom
 
  
 
It is highly recommended that you always use the latest version of the Software.
 
It is highly recommended that you always use the latest version of the Software.
For instructions on updating the Angstrom Software on your BeagleBone Black go to Updating the Software
 
  
 
If you power off the board without using the Power Button to do it, you can corrupt the data in the eMMC Flash.
 
If you power off the board without using the Power Button to do it, you can corrupt the data in the eMMC Flash.
For instructions on reflashing the Angstrom Software on your BeagleBone Black go to Updating the Software
+
 
 +
For instructions on reflashing or updating the software on your BeagleBone Black go to https://beagleboard.org/getting-started#update
  
 
Software Sources
 
Software Sources
  
 
     Bootloader: http://www.denx.de/wiki/U-Boot/SourceCode (git://git.denx.de/u-boot.git)
 
     Bootloader: http://www.denx.de/wiki/U-Boot/SourceCode (git://git.denx.de/u-boot.git)
     Kernel: http://github.com/beagleboard/kernel/tree/3.8
+
     Kernel: http://github.com/beagleboard/linux
     Root file system: http://github.com/beagleboard/meta-beagleboard
+
    Angstrom root file system: http://github.com/beagleboard/meta-beagleboard
 +
     Debian root file system: https://github.com/beagleboard/image-builder
 +
    Cape overlays: https://github.com/beagleboard/bb.org-overlays
  
 
To access the getting started guide do the following:
 
To access the getting started guide do the following:
  
*1) Go to http://github.com/jadonk/beaglebone-getting-started.
+
*1) Go to http://github.com/beagleboard/beaglebone-getting-started.
 
*2) At the top of the page next to the "Clone in Windows" button, click the ZIP button.
 
*2) At the top of the page next to the "Clone in Windows" button, click the ZIP button.
 
*3) Unzip that folder into a separate directory.
 
*3) Unzip that folder into a separate directory.
 
*4) Open the readme file.
 
*4) Open the readme file.
  
= Build Instructions =
+
= Angstrom Build Instructions =
  
 
All Angstrom binaries are built using OpenEmbedded. This document described the steps necessary to setup an environment where you can build images and packages yourself.
 
All Angstrom binaries are built using OpenEmbedded. This document described the steps necessary to setup an environment where you can build images and packages yourself.
  
If you just want a simple toolchain, please read our simplified development setup instructions
+
The OE host distributions wiki has information about needed packages on your host and possible tweaks for e.g. SElinux.
  
The OE host distributions wiki has information about needed packages on your host and possible tweaks for e.g. SElinux.
+
<big>Step 1</big>
<big>
 
Step 1</big>
 
  
 
get the setup scripts:
 
get the setup scripts:
Line 48: Line 46:
 
MACHINE=beaglebone ./oebb.sh bitbake virtual/kernel
 
MACHINE=beaglebone ./oebb.sh bitbake virtual/kernel
 
</pre>
 
</pre>
 +
 +
The complete image is the [https://github.com/Angstrom-distribution/meta-ti/blob/master/recipes-misc/images/cloud9-gnome-image.bb cloud9-gnome-image] that for legacy reasons lives in the Angstrom fork of meta-ti.
 +
 +
<pre>
 +
MACHINE=beaglebone ./oebb.sh bitbake cloud9-gnome-image
 +
</pre>
 +
 +
= Debian Build Instructions =
 +
 +
You'll want a fairly beefy ARM system to run this script.
 +
 +
<pre>
 +
git clone git://github.com/beagleboard/image-builder.git && cd image-builder
 +
./beagleboard.org_image.sh
 +
</pre>
 +
 +
Latest builds can be found at http://builds.beagleboard.org.
 +
 +
More info and links to the test snapshots can be found on the [[Beagleboard:BeagleBoneBlack_Debian]] page

Latest revision as of 07:20, 26 May 2017

Sources

It is highly recommended that you always use the latest version of the Software.

If you power off the board without using the Power Button to do it, you can corrupt the data in the eMMC Flash.

For instructions on reflashing or updating the software on your BeagleBone Black go to https://beagleboard.org/getting-started#update

Software Sources

   Bootloader: http://www.denx.de/wiki/U-Boot/SourceCode (git://git.denx.de/u-boot.git)
   Kernel: http://github.com/beagleboard/linux
   Angstrom root file system: http://github.com/beagleboard/meta-beagleboard
   Debian root file system: https://github.com/beagleboard/image-builder
   Cape overlays: https://github.com/beagleboard/bb.org-overlays

To access the getting started guide do the following:

Angstrom Build Instructions

All Angstrom binaries are built using OpenEmbedded. This document described the steps necessary to setup an environment where you can build images and packages yourself.

The OE host distributions wiki has information about needed packages on your host and possible tweaks for e.g. SElinux.

Step 1

get the setup scripts: Go to the the setup-scripts repository and clone it, the URLS are on top of that page. You should end up doing something like:

git clone https://github.com/Angstrom-distribution/setup-scripts

Step 2

If you are behind a firewalling proxy, have a look at the oebb.sh file, it has built-in proxy handling.

Start building:

MACHINE=beaglebone ./oebb.sh config beaglebone
MACHINE=beaglebone ./oebb.sh update 
MACHINE=beaglebone ./oebb.sh bitbake virtual/kernel

The complete image is the cloud9-gnome-image that for legacy reasons lives in the Angstrom fork of meta-ti.

MACHINE=beaglebone ./oebb.sh bitbake cloud9-gnome-image

Debian Build Instructions

You'll want a fairly beefy ARM system to run this script.

git clone git://github.com/beagleboard/image-builder.git && cd image-builder
./beagleboard.org_image.sh

Latest builds can be found at http://builds.beagleboard.org.

More info and links to the test snapshots can be found on the Beagleboard:BeagleBoneBlack_Debian page