Cannot get BBB to flash new OS image

65 views
Skip to first unread message

johncarp...@gmail.com

unread,
Oct 30, 2017, 7:20:23 AM10/30/17
to BeagleBoard
Sorry if this is answered somewhere, I looked around and couldn't find anything on it in this forum.

Someone gave me a BBB to play with, it has Debian 7.x on it, I would like to upgrade it to the latest OS image.

I went to this page (http://beagleboard.org/getting-started#step2) and am following the instructions.

I downloaded an image onto my macbook from this page - https://beagleboard.org/latest-images. I chose Debian 9.2 2017-10-10 4GB SD IoT .

I used Etcher to burn the image onto a microSD card.

I inserted the card into the slot on the BBB, held down the User Boot button, inserted the power cord, waited until the four LEDs went off, then let go of the button.

No joy. I was only booting from the microSD card, not flashing the image into the eMMC.

I tried to follow the directions to convert the image to a "flasher". The file that I am supposed to modify (/boot/uEnv.txt) was not in the specified directory. However, I did find it in the /boot/uboot folder. However when I edited it, the line that was I was supposed to uncomment was not there. The script that the non-existent line was supposed to run (cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh) also is nowhere to be found.

The system boots just fine from the microSD card, so i think the image on there is ok.

So... what do I try next?

Chad Baker

unread,
Oct 30, 2017, 9:10:11 AM10/30/17
to beagl...@googlegroups.com
Hold the boot button, the button closest to the sd card, down while applying power until all four USER leds are on. The button is small, so be careful.
The uEnv.txt file should be on the sd card not your BBB. You can boot your BBB without the sd card, inster the sd card, mount the sd card, edit the /boot/uEnv.txt on the sd card. unmount the sd card. power down the BBB. Insert power while holding the boot button down, wait until all 4 USER leds are on (only several seconds). If you have a debug cable, see SRM section 5.12, you can see what is going on.
Chad
--
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/fa6acfe1-c8c6-4afa-bb96-7e521f72a3cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

geert.s...@gmail.com

unread,
Nov 1, 2017, 7:15:19 AM11/1/17
to BeagleBoard

I’m trying to upgrade my old BBB-A5B to the latest Debian as well. I’m not planning to use emmc.

At the moment I’m always required to press “s2-user boot” button during power up (physical plugin in the cable during the process) in order to boot from microSD with the latest versions. If I use the old image “bone-debian-8.3-lxqt-4gb-armhf-2016-01-24-4gb.img”, the SD boots correctly without the need to use the s2 button every time there is a power interruption or shutdown command (reboot works).

Starting without SD card also works fine (Angstrom).

With the current Debian 9.1 on SD 3 leds light up (0-3) and stay on without blinking (more than 6h tested). Same with Debian 8.7, 9.2.

 

Johncarp,

Can you help me by confirming that you got the same issue booting from SD – Debian 9.1 or 9.2 without pressing “s2 - user boot” button when you plug the power cable in. Perhaps it’s a malfunction in my BBB almost 2 years up and running.



Op maandag 30 oktober 2017 12:20:23 UTC+1 schreef johncarp...@gmail.com:

Robert Nelson

unread,
Nov 1, 2017, 9:42:46 AM11/1/17
to Beagle Board, geert.s...@gmail.com
On Wed, Nov 1, 2017 at 1:51 AM, <geert.s...@gmail.com> wrote:
> I’m trying to upgrade my old BBB-A5B to the latest Debian as well. I’m not
> planning to use emmc.
>
> At the moment I’m always required to press “s2-user boot” button during
> power up (physical plugin in the cable during the process) in order to boot
> from microSD with the latest versions. If I use the old image
> “bone-debian-8.3-lxqt-4gb-armhf-2016-01-24-4gb.img”, the SD boots correctly
> without the need to use the s2 button every time there is a power
> interruption or shutdown command (reboot works).
>
> Starting without SD card also works fine (Angstrom).
>
> With the current Debian 9.1 on SD 3 leds light up (0-3) and stay on without
> blinking (more than 6h tested). Same with Debian 8.7, 9.2.

So erase the eMMC, it's getting in the way of the microSD booting..

Regards,


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

William Hermans

unread,
Nov 1, 2017, 1:31:32 PM11/1/17
to beagl...@googlegroups.com
Long story short.

When the eMMC has the first, and second stage bootloader installed on it. The board will always load these from the eMMC, and then load the rest from the sdcard when one is inserted.

The result is that one can be put into a non working state, because there would be a MLO / uboot / kernel conflict.

There are two ways to solve this, Robert already mentioned one. The other would be to press, and continue to hold the boot button on the board so that it loads MLO, and uboot form teh sdcard instead. I've heard mention of some people having difficulties with this, and instead short the boot button. BUt I've not done that personally.

In the end, it would probably be easier to do as Robert suggests above.

geert.s...@gmail.com

unread,
Nov 1, 2017, 4:18:46 PM11/1/17
to BeagleBoard
Thanks Robert & William,

I also prefer erasing eMMC before soldering a switch to replace user boot button.

Thanks for clarifying that eMMC is always the first and SD never overrides eMMC as I wrongfully assumed.



Op woensdag 1 november 2017 18:31:32 UTC+1 schreef William Hermans:

Robert Nelson

unread,
Nov 1, 2017, 4:24:27 PM11/1/17
to Beagle Board
On Wed, Nov 1, 2017 at 3:15 PM, <geert.s...@gmail.com> wrote:
> Thanks Robert & William,
>
> I also prefer erasing eMMC before soldering a switch to replace user boot
> button.

No reason to even solder, worse case you stick a wire bettween two
pins on the expansion header (the push button is routed to a pin on
the expansion header)..
Reply all
Reply to author
Forward
0 new messages