r/BeagleBone • • Oct 19 '13

Not much beats this feeling! I thought I'd share something I'm very proud of.

Post image
48 Upvotes

r/BeagleBone • • Mar 15 '17

BeagleBone Blue is out!

Thumbnail
beagleboard.org
35 Upvotes

r/BeagleBone • • Sep 27 '16

Meet the BeagleBone Black Wireless

Thumbnail
beagleboard.org
31 Upvotes

r/BeagleBone • • Aug 31 '16

PRU tips: Understanding the BeagleBone's built-in microcontrollers

Thumbnail
righto.com
30 Upvotes

r/BeagleBone • • May 11 '19

Immersion cooling a Beagleboards X-15

Thumbnail
gfycat.com
29 Upvotes

r/BeagleBone • • Sep 20 '16

How to run C programs on the BeagleBone's PRU microcontroller

Thumbnail
righto.com
28 Upvotes

r/BeagleBone • • Dec 06 '21

This is what peak performance looks like

Post image
25 Upvotes

r/BeagleBone • • Sep 19 '19

BeagleBone AI finally adds multicore, throws in USB 3 type-C dual-role, 16GB flash, 802.11ac/BT, DSPs, M4s, more PRUs...

Thumbnail
beagleboard.org
25 Upvotes

r/BeagleBone • • Nov 09 '14

New BeagleBone Hardware Leak/Reveal (Estimated Launch: February 2015)

Thumbnail
elinux.org
23 Upvotes

r/BeagleBone • • Dec 03 '17

Hands-on with the PocketBeagle: a $25 Linux computer with lots of I/O pins

Thumbnail
righto.com
22 Upvotes

r/BeagleBone • • Sep 30 '17

New Pocket Beagle

Thumbnail
beagleboard.org
22 Upvotes

r/BeagleBone • • Aug 07 '15

BeagleBone Green Hands-On: Lower Price, Same Horsepower

Thumbnail
hackaday.com
21 Upvotes

r/BeagleBone • • Jun 16 '13

The BeagleBone Hospital Rules!

21 Upvotes

I must say I'm impressed with the team at "The Beagle Hospital". (RMA Department). I've had problems getting any HDMI output at all with my BeagleBone Black and after exhausting all possibilities I sent it in. It turned out that the HDMI connector was faulty and they are fixing it or just sending me a new board.

The point is, I mailed it out Tuesday, they got it on Thursday and then on Friday I received an e-mail from them telling me they fixed it and were sending it out. Damn good customer service ;)


r/BeagleBone • • Mar 07 '19

Beaglebone AI - TI AM5729 (2 Cortex A15, 2 Cortex M4 + 2 PRU, 2 DSP Cores). USB Type-C, GigE and WiFIi. To be priced at ~$100.

Thumbnail
beagleboard.org
20 Upvotes

r/BeagleBone • • May 08 '18

PocketBeagle compared to the Raspberry Pi Zero

Thumbnail
teachmemicro.com
20 Upvotes

r/BeagleBone • • Sep 29 '16

Google launches IoT developer kit based on the Beaglebone Green Wireless

Thumbnail
remcoder.github.io
20 Upvotes

r/BeagleBone • • Jan 14 '15

New BeagleBoard-X15 due out February: dual-core, 2G RAM, 2 ethernet ports

Thumbnail
linuxgizmos.com
20 Upvotes

r/BeagleBone • • Nov 11 '13

[Tutorial] BeagleBone Black: How to boot from the eMMC using the SD card purely as storage

20 Upvotes

Hi all,

I had a really hard time setting up my BBB with a new distro and then getting that distro to work properly from the eMMC, but I eventually figured it out and thought I'd share with everybody what I learned.

The problem occurs because the device names change depending on whether or not there's an SD card in the slot at boot, which can be a source of frustration!

Without a MicroSD card in the slot at boot, the device names are:

  • /dev/mmcblk0: Internal eMMC

  • /dev/mmcblk1: does not exist

With a MicroSD card in the slot, the device names are:

  • /dev/mmcblk0: MicroSD card

  • /dev/mmcblk1: Internal eMMC

Because the eMMC changes device name, distros installed on it will require a bit of configuration before they'll boot with a card in the slot. It isn't too difficult when you know what to change, but before then it can be quite frustrating.

A quick note before I start: The instructions here will leave you with a distro that will boot when there's a MicroSD card inserted, but be unable to boot without one - ie, the exact opposite of your current situation. For me, this is good enough, but if you need to be able to boot regardless of the card being inserted, you'll need to do some additional work. I'll cover this at the end of this post.

The following instructions assume, for obvious reasons, that you're booting the BBB without a MicroSD card inserted.

  1. Firstly, you'll need to edit the uEnv.txt file on the eMMC's first partition. You probably already know of the uEnv.txt file on the MicroSD card, but the eMMC has one too. As such, you'll need to modify it before it'll boot.

First, you'll need to find out if the first partition is already mounted, and if so, where. Use the mount command to see where /dev/mmcblk0p1 is mounted. It might look something like this in the output of mount:

/dev/mmcblk0p1 on /boot/uboot type vfat (rw)

If it doesn't appear, it's possible that the distro is using a udev rule to rename the device (in which case you should look for that device name, if you know it), or it may just not be mounted.

2. If it isn't already mounted, let's mount it at /boot/uboot. You'll need to be root to do this. (Future steps will assume it's mounted at this location; substitute the actual location if it's different)

mkdir -p /boot/uboot
mount /dev/mmcblk0p1 /boot/uboot

3. Now, edit the /boot/uboot/uEnv.txt file. Chances are your file has a line reading "mmcroot=/dev/mmcblk0p2 ro". Change this to "mmcroot=/dev/mmcblk1p2 ro", and save the file.

4. You'll need to adjust the /etc/fstab file to point to the correct devices, or your system won't be able to boot. Replace all instances of "/dev/mmcblk0" with "/dev/mmcblk1" (including substrings - so "/dev/mmcblk0p2" should become "/dev/mmcblk1p2"), and save the file.

5. You should now be able to boot your distro with a MicroSD card inserted. You can now wipe your MicroSD card and partition/mount it as you please.


As I said above, the above steps give you a distro which will boot with a card inserted, but will fail to boot without one. In order to allow it to boot regardless of whether there's a card inserted, we need to do some additional work. Unfortunately, I haven't quite figured it all out yet and I'm hoping Reddit will be able to fill in the gaps. Here's what I have so far, assuming you've already gone through the above steps and you're now booting with a MicroSD card in the slot:

  1. You'll need to edit the eMMC's uEnv.txt file again. Refer to steps 1 and 2 of the previous list, except replace "mmcblk0p1" with "mmcblk1p1" (since the eMMC will have changed names on us...)

  2. This time, copy the "mmcroot=" line you modified earlier into your clipboard (as we'll be using it again later), and then delete it or comment it out by putting a "#" character in front. Save the file.

  3. You'll need to include a small uEnv.txt file on the MicroSD card to point to the eMMC. Insert the MicroSD card into a card reader attached to your computer and create a uEnv.txt file on the FAT partition (Windows users will see only this partition). Add to the file the line you copied earlier. Save the file.

This works because without an mmcroot= line in the eMMC file, it will try to use the MicroSD card by default, and only use the eMMC if there's no card inserted. Having the correct mmcroot= line on the MicroSD card will cause it to boot from the eMMC regardless.

4. Once again, you'll need to edit the /etc/fstab file on the BBB, but it's a bit more complex this time. Since the device names change when there's a card in the slot at boot, the easiest way to do this is to refer to the devices by UUID. Run this command on the BBB:

ls -l /dev/disk/by-uuid

The directory listing returned will consist of symlinks with names consisting of the UUID of the device it points to, like this:

total 0
lrwxrwxrwx 1 root root 15 Sep 9 21:10 0d2ebe7a-54f0-47c6-ae62-0b3d4a4834e3 -> ../../mmcblk0p2
lrwxrwxrwx 1 root root 15 Sep 9 21:10 3909c4c8-11d0-44da-a1e4-a3a853b88250 -> ../../mmcblk1p2
lrwxrwxrwx 1 root root 15 Sep 9 21:10 679C-13D1 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 15 Sep 9 21:10 71A0-87FA -> ../../mmcblk1p1

In this case, my /dev/mmcblk1p2 device (the second partition on my eMMC) has a UUID of "3909c4c8-11d0-44da-a1e4-a3a853b88250". We can use this UUID in the /etc/fstab file to refer to this device simply by using "UUID=" and then the UUID in question instead of the device name. In my case, I replaced this line:

/dev/mmcblk1p2 / ext4 noatime,errors=remount-ro 0 1

with this line:

UUID=3909c4c8-11d0-44da-a1e4-a3a853b88250 / ext4 noatime,errors=remount-ro 0 1

Repeat for /dev/mmcblk1p1.

Unfortunately, this is as far as I've got. Having completed these steps, your system will still boot with a MicroSD card inserted (as long as it has the uEnv.txt file we made in step 3), so this won't screw you over. In my experience, however, it still fails to boot without a card inserted. Does anybody know why?

In any case, I hope this helps people!


r/BeagleBone • • May 10 '16

BeagleBone on a chip!

Thumbnail
hackaday.com
19 Upvotes

r/BeagleBone • • Sep 16 '20

simpPRU | Statically typed and compiled language for PRU, it has a syntax similar to python, makes PRU programming easy for beginners

Thumbnail
github.com
18 Upvotes

r/BeagleBone • • Jun 16 '20

BeagleBone Blue powered pneumatic walking, driving, wall climbing, ceiling hanging & tool using robot

Thumbnail
youtu.be
18 Upvotes

r/BeagleBone • • Apr 28 '14

Using the Beaglebone PRU to achieve realtime at low cost

Thumbnail
embeddedrelated.com
18 Upvotes

r/BeagleBone • • Aug 18 '16

The BeagleBone's I/O pins: inside the software stack that makes them work

Thumbnail
righto.com
17 Upvotes

r/BeagleBone • • Oct 19 '16

New Weatherproof Case

Thumbnail
youtube.com
16 Upvotes