Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to Flash eMMC from SD Card BeagleBone Black

I am working on BeagleBone Black and Debian running on it. I want to flash latest Debian image on my board. To do so I have downloaded a latest Debian image from link:BeagleBone Image and prepared an SD card using WinDisk image writer.

As per tutorial I have inserted an SD card into the BeagleBone Black, pressed boot button and applied power. SD card image has booted. According to the tutorial flashing eMMC takes about 30-40 minutes, so I waited for about 2 hours (just to be sure). Then I removed an SD card from my board and power it on. It booted my previous image (eMMC was not Flashed by SD card image). For flashing eMMC I am following the link: Flashing beagleBone Balck eMMC.

I am unable to understand where I am getting wrong and how to resolve it.

like image 486
Saad Rafey Avatar asked Jul 30 '15 13:07

Saad Rafey


1 Answers

Did you remember to remove the "#" at the beginning of the line cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh ? To make this edit, which will cause the SD card to automatically flash any bbb you turn on with the SD card in it, you just need to follow these steps.
1. Connect your bbb to a power source (USB or DC work equally well)
2. Power off the bbb by pressing the power button.
3. Insert your SD card.
4. Power the bbb on.
5. Log in to SSH (I like putty for this) with port 22 and IP 192.168.7.2
6. execute: cd .. sudo nano boot/uEnv.txt
7.navigate to the line #cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh at the bottom of the txt file.
8. Delete the "#" at the beginning of the line.
9. control+x then "y" then "Enter key" to save your change and exit the txt file.
10. Reboot the BBB and the SD card should automatically flash to your BBB which will be indicated by the LED's following this pattern for (in my experience) about 10 minutes. LED pattern: 1-2-3-4-3-2-1-2-3-4-3-2-1-2-3-4-3-2-1... etc..

Hope this helps :)

like image 72
Christopher Henselman Avatar answered Oct 21 '22 12:10

Christopher Henselman