Server migration complete, Welcome to version 2.1.1



Welcome, Guest.
Please login or register.
Forgot your password?

+-Site Stats

Total Members: 15649
Latest: zj023
New This Month: 53
New This Week: 0
New Today: 0
Total Posts: 128335
Total Topics: 15780
Most Online Today: 58
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 6
Guests: 48
Total: 54

For those setting up a Beaglebone Black

Started by charleskerr, June 10, 2014, 02:34:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


If you are working to get a Debian environment on your Beaglebone black for basic ARM and PRU development  these are the steps that worked for me.  It does assume some working knowledge of linux command line

BeagleBone setup for Debian

Helpful links:

   The username/password will be debian/temppwd

Obtain the latest image from here:

After flashed do the following:

   apt-get update
   apt-get dist-upgrade
   apt-get install build-essential
   apt-get install vim
   apt-get install ca-certificates

We need to the device tree compiler ("dtc") for our overlays.
    apt-get install device-tree-compiler
However, this is not always up to date.  To get the latest, we can do the following:
   wget -c
chmod a+x
When complete, you can delete the git directory it makes with the following:
rm -rf git/

//    The Following is dependent on what version of the image you.  And your capes.  The pins you want to expose.
//   Bottom line is you don't get the PRU enabled at initial start.  If you want to have it on boot, and you know the default dtbo file (they are located in /lib/firmware)
then you would probably do something like the following
We now have the basic compilers and libraries installed.  We are ready to move on to setting up the PRU enviroment

edit the /boot/uboot/uEnv.txt file


This may not have the pins configure how you want, so you should look at the dts (the etc you installed can convert the dtbo back to a dts)

For an useful environment variable, add the following to /etc/profile

   export SLOTS=/sys/devices/bone_capemgr.*/slots
To verify all has gone well so far, reboot the system
If you want to see the slots enabled on your system, do a:
   cat $SLOTS

You should get something like this:

0: 54:PF---
1: 55:PF---
2: 56:PF---
3: 57:PF---
4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
5: ff:P-O-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
6: ff:P-O-L Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN
7: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-BONE-AUDI-02
The "L" in the P-O-L means the item is enabled.  Note the HDMI are not enabled.

// This is optional.  However, if you are going to run PRU code, you will need the libraries added at the end

Setting up the PRU build environment.

Get the source tree:
         git clone
         cd am335x_pru_package
         cd pru_sw/app_loader/interface/
         CROSS_COMPILE= make (note the space between the = and the command)
         cd ../lib/
One should see the following: libprussdrv.a  libprussdrvd.a
Copy these to the /usr/lib
         cp * /usr/lib

Now change directory to
         cd ../../utils/pasm_source/
      source linuxbuild
      cd ..
      cp pasm /usr/bin
      chmod a+x /usr/bin/pasm

      cd ~/am335x_pru_package/pru_sw/app_loader/include
      mkdir /usr/include/pruss
      cp *.h /usr/include/pruss/

Setting up the ntp server

       apt-get install ntp
       dpkg-reconfigure tzdata    << this setups timezone

To get your sd card to mount, add the following to /etc/fstab
   /dev/mmcblk0p1       /media/microsd     auto    defaults  0       0

create a directory for the mount point
   mkdir /media/microsd

In addition, to ensure you can boot with a SD card present, have the following file (uEnv.txt) on the sd card
mmcroot=/dev/mmcblk1p2 ro
One is never too old to learn

David Pitts

Great information Charles. This will be great to have for development of the Beagle code. Thanks for the post.
PixelController, LLC


Yes, thanks.  It will definitely save me some leg work when I get around to playing with one.



Yes Great information Charles, it be fun to test and getting around to playing with one  8)
Jerry Plak

Support FPP

+- Recent Topics

help getting started, next step? by Poporacer
January 28, 2023, 05:10:18 PM

Trying to configure LOR CF50D Floods on FPP Pi Player with PiCap by
January 28, 2023, 03:19:37 PM

wifi issues on BBB running fpp v6.3 by k6ccc
January 28, 2023, 02:04:23 PM

BBB / FPP sending data to ESP32 WLED by srwmemphis
January 28, 2023, 04:39:02 AM

raspberry PI 3 / PI 4 by mrfix1
January 27, 2023, 07:13:55 AM

Bug in newest release by tbone321
January 26, 2023, 06:14:26 PM

Cannot Connect to F48V4-NS Through Rasberry Pi by Poporacer
January 26, 2023, 03:13:43 PM

new piCaps in the works? by Bwinter
January 26, 2023, 11:25:32 AM

DIY voucher request by CaptainMurdoch
January 26, 2023, 11:14:38 AM

Which volume to grow during setup? by RickR
January 26, 2023, 09:55:17 AM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod