EBC Exercise 22 Recovering

What do you do if you've been working on the kernel or u-boot and now your BeagleBone Black won't boot? Here's what works if you've saved the .orig files as suggested. If you didn't save the files, goto EBC_Exercise_03_Installing_a_Beagle_OS and reflash the whole thing, see you in 45 minutes.

If you did make backups, follow along, this is much faster.

Contents

Getting the SD card image

The first step is to set up an SD that you can boot off. Before, you created an SD card that would copy an image to the on board eMMC. This is different, now you will be booting off the SD card. No need for the 45 minute wait.

Go to the latest images and download the first link (Angstrom Distribution (BeagleBone, BeagleBone Black - 4GB SD) 2013-06-20). Copy it to your SD card like you did for the eMMC image.

Boot off the SD card

Once your SD card is ready,

power off the Bone

put SD card in the reader on the Bone

hold down the S2 button. It's the one near pin 45 of P8

power up the bone, while still holding S2

wait for all the LEDs to light and the release S2.

You are now booting off the SD card. Once booted, login and mount the eMMC partition.

Mounting the FAT partition

If you are recovering from changing u-boot you need to mount the first (FAT) partition.