Flashing the Debian eMMC issues

491 views
Skip to first unread message

Lidia Toscano

unread,
Aug 2, 2016, 1:49:15 PM8/2/16
to BeagleBoard
First, I successfully flashed the Angstrom dMMC image to the BBB but then I issues trying to get the BBB to work using Ethernet.  Someone from support suggested I use Debian instead because Angstrom is not being supported any longer.  I've been trying to flash the Debian eMMC image to the BBB with no success.  The Debian image I downloaded from the BB site does not have the "flasher" embedded in the name and I cannot find it anywhere.  It seems it should be readily available.  I found the following instructions but I am really new to the BBB and to programing so I am getting lost in the how to . . .

How do I do the following?  Where do I find the /boot/uEnv.txt?  What do I use to edit it?

Flashing eMMC

To setup the standalone microSD image to automatically flash the eMMC on powerup. *Note, img files with the words "eMMC-flasher" already had this enabled...*

In /boot/uEnv.txt:

##enable BBB: eMMC Flasher:
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

Change to:

##enable BBB: eMMC Flasher:
cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

and reboot the system, it'll flash the eMMC on the next bootup. (make sure to remove the microSD after flashing is complete)


I am assuming this procedure will boot using the image I already have on the microSD which does not have the "flasher" embedded in.


Your assistance greatly appreciated.

Robert Nelson

unread,
Aug 2, 2016, 1:51:57 PM8/2/16
to Beagle Board, lidia....@gmail.com
sudo nano /boot/uEnv.txt

scroll to bottom, make change, "ctl-x" to save and exit...

Regards,

--
Robert Nelson
https://rcn-ee.com/

William Hermans

unread,
Aug 2, 2016, 3:30:15 PM8/2/16
to beagl...@googlegroups.com
If you look off to the left, there will usually be "flasher" somewhere in the description. Or . . .
william@eee-pc:~$ ls backup/ |grep blank
BBB-blank-debian-8.5-console-armhf-2016-06-19-2gb.img.xz

Blank meaning these images are meant to flash the eeprom as well, For new boards, and cases where someone trashes their eeprom, causing the board to be put into a non bootable state. This image as hinted at initially will flash an eMMC.


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYipFn%2BPEXAC5mCeqXJVoWHdBkh8%3DW9%3D5rD7Y1oKTy%2BrTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Lidia Toscano

unread,
Aug 2, 2016, 3:43:46 PM8/2/16
to BeagleBoard, lidia....@gmail.com
After editing the uEnv.txt file my BBB is still not flashing.  The LEDs come on and stay lit after only a couple of seconds as though it had been flashed.  Any other ideas?

Thanks. 

William Hermans

unread,
Aug 2, 2016, 3:50:05 PM8/2/16
to beagl...@googlegroups.com
Yeah, read my post above.

On Tue, Aug 2, 2016 at 12:43 PM, Lidia Toscano <lidia....@gmail.com> wrote:
After editing the uEnv.txt file my BBB is still not flashing.  The LEDs come on and stay lit after only a couple of seconds as though it had been flashed.  Any other ideas?

Thanks. 

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

William Hermans

unread,
Aug 2, 2016, 3:56:14 PM8/2/16
to beagl...@googlegroups.com
"burn" to sdcard, insert into beaglebone, and it'll start flashing immediately. Takes less than 5 minutes as I recall. But the LEDs will flash in a cylon like pattern. then go solid once it's about to finish. Once completely finished, it'll power down completely.

William Hermans

unread,
Aug 2, 2016, 4:10:18 PM8/2/16
to beagl...@googlegroups.com, lidia....@gmail.com
On Tue, Aug 2, 2016 at 12:43 PM, Lidia Toscano <lidia....@gmail.com> wrote:
After editing the uEnv.txt file my BBB is still not flashing.  The LEDs come on and stay lit after only a couple of seconds as though it had been flashed.  Any other ideas?

Thanks. 

oops right. This could be an older boot loader issue. So, in order to boot from the sdcard, you may need to press, and hold down the boot button. Which is at the opposite end of the board from the ethernet port, and a little to the left, Only button on that side of the board . .

Anyway, heh. Press and hold the button until you see a blink pattern on the LEDs, then you can let go.

Let us know if that solves your issue.

Lidia Toscano

unread,
Aug 2, 2016, 4:16:05 PM8/2/16
to beagl...@googlegroups.com
William,

Thank you for the link.  My BBB is now being flashed! 

= )

Lidia

You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/8uoxXUnudJg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORq%2BYmyRLzcKwO193LsObw9LPcj5c25wXjeWLRV6i4ai3g%40mail.gmail.com.

William Hermans

unread,
Aug 2, 2016, 4:31:11 PM8/2/16
to beagl...@googlegroups.com, lidia....@gmail.com
You're welcome. Do also keep in mind that there are 3 different types of images. Console, IoT, and LXQT.

  • console is just the basic command like with a few things installed.
  • IoT image I'm not 100% sure about but I think it containsd console image + Nodejs + Node-RED
  • While the LXQT image is a full blown desktop image.

I was not sure how to work that into one of my posts earlier without confusing things . . .


ALex

unread,
Aug 4, 2016, 2:34:12 PM8/4/16
to BeagleBoard, lidia....@gmail.com

I have the flasher image on the uSD card from the eLinux link, but when I hold down the boot button to boot, I do not get any indication on the 4 LEDs.  Nothing, even after 1 minute of holding it down.  I confirmed I can read from the uSD card-- on normal boot, I can read from /boot/uboot just fine, editing the uEnv.txt file and all.

I have an element 14 BBB (rev. c).   Is it possible that has anything to do with why I can't boot from uSD card?

Arturo Arenas

unread,
Oct 18, 2017, 9:43:08 AM10/18/17
to BeagleBoard
Can you solve this issue with de Beaglebone Black Industrial?

Regards,

Luther Goh Lu Feng

unread,
Oct 18, 2017, 11:33:50 PM10/18/17
to BeagleBoard
In my experience, instead of relying on the indicator lights, I use a serial console cable to see the progress on a BBB Industrial. I use a console image to flash the eMMC and that works fine. This should translate to the other images produced by Robert Nelson.

--Luther
Reply all
Reply to author
Forward
0 new messages