Beagle bone black, difficulty getting started

98 views
Skip to first unread message

Paul Cotton

unread,
Jan 18, 2021, 10:57:54 AM1/18/21
to BeagleBoard
I have a second hand BBB and it seems to be setup with bespoke image.  I can boot it from the SD card I made on the BB website, but am not able to get the image copied over to the BBB.  I have looked on the net and tried a few things (they did not work) that I really don't understand and am looking for someone to advise me in a little more of an explanatory way please?

What I have achieved.  Made an SD card with a BBB image.  Inserted card, booted with the button held down and released.  Logged in as debian using putty with SSH.

What I have not achieved.  Tried to boot without an SD card and can not see BBB using arp -a in command line.

jonnymo

unread,
Jan 18, 2021, 11:10:20 AM1/18/21
to Beagle Board
Do you know the version of BeagleBone Black you have?
Ref:

If you use a Flasher image it should write to the on board eMMC but you would need to know which BBB you have.

Also, you can write to the eMMC from a standard image by editing the  /boot/uEnv.tx file.

Cheers,

Jon

--
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/3c93a60e-2644-42bf-89ec-61722ead6e47n%40googlegroups.com.

Dennis Lee Bieber

unread,
Jan 18, 2021, 5:02:30 PM1/18/21
to Beagleboard
On Mon, 18 Jan 2021 07:57:25 -0800 (PST), in
gmane.comp.hardware.beagleboard.user Paul Cotton
<germanbandita-Re5J...@public.gmane.org> wrote:

>I have a second hand BBB and it seems to be setup with bespoke image. I

If it is old enough to be a 2GB eMMC you may find it a problem. That
series shipped with Angstrom as the OS, which hasn't been used in ages.

The Debian IoT image requires a 4GB eMMC to install. There IS a Debian
Console image that may fit in 2GB -- but as the name implies, it is a very
minimal feature set (LXQT images have X-Window desktops, IoT have lots of
stuff except the desktop; I'd hope Console has networking at least <G>).

https://rcn-ee.net/rootfs/bb.org/testing/2021-01-18/

>
>What I have achieved. Made an SD card with a BBB image. Inserted card,
>booted with the button held down and released. Logged in as debian using
>putty with SSH.
>

Note that if you successfully flash a recent Debian image to the eMMC,
you shouldn't need the boot select switch. The board will load u-boot from
eMMC, u-boot will detect an inserted SD card and load device trees and
kernel image from the SD card, and make the SD card the primary file
system.


--
Dennis L Bieber

Paul Cotton

unread,
Jan 19, 2021, 6:41:17 AM1/19/21
to BeagleBoard
I am sure it has 4G eMMC as it says so on the chip.  

I does not boot without the SD inserted.  It does boot form the SD card.  I do not seem to be able to edit the SD card.

When I try to edit the SD card I find that it does not have anything on it?

If it is booting from the eMMC does it need an SD card to be inserted?  Could it be that the SD is not containing anything but is somehow helping it boot?

It definitely only boots with the SD card in and the boot switch depressed.  It does not boot if the switch is not depressed.

Paul Cotton

unread,
Jan 19, 2021, 6:41:17 AM1/19/21
to BeagleBoard
can one edit the SD when plugged in a PC somehow?

On Monday, 18 January 2021 at 22:02:30 UTC Dennis Bieber wrote:

german...@gmail.com

unread,
Jan 19, 2021, 6:41:23 AM1/19/21
to beagl...@googlegroups.com

Thx for reply.  I think it is a Rev C.  it is a AM3358BZCZ100 processor and it says 4G on the EMMC chip.

 

I believe that the image on the beaglebone website is not a flasher.

 

I Login as debian (password = temppwd) and type sudo nano /boot/uEnv.txt and get a blank black screen with a grey line at the top as per pic.  There is nothing there to edit.

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/jpeFMaWCYj8/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/CAG99bkpXoSXMZcqHQHTXG30FvcmSQsowjvwCC7-LroAM-QiEng%40mail.gmail.com.

20210118_175542.jpg

Robert Nelson

unread,
Jan 19, 2021, 10:08:25 AM1/19/21
to Beagle Board, german...@gmail.com
On Tue, Jan 19, 2021 at 5:41 AM <german...@gmail.com> wrote:
>
> Thx for reply. I think it is a Rev C. it is a AM3358BZCZ100 processor and it says 4G on the EMMC chip.
>
>
>
> I believe that the image on the beaglebone website is not a flasher.
>
>
>
> I Login as debian (password = temppwd) and type sudo nano /boot/uEnv.txt and get a blank black screen with a grey line at the top as per pic. There is nothing there to edit.

From your screen shot, you opened "/boot/uEnv#.txt"... Which is
mis-spelled, open: /boot/uEnv.txt

Regards,

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

Dennis Lee Bieber

unread,
Jan 19, 2021, 11:56:59 AM1/19/21
to Beagleboard
On Tue, 19 Jan 2021 00:44:54 -0800 (PST), in
gmane.comp.hardware.beagleboard.user Paul Cotton
<germanbandita-Re5J...@public.gmane.org> wrote:

>can one edit the SD when plugged in a PC somehow?
>

If you mount the SD card on a LINUX file system... (which is what
happens when you successfully boot a Beagle with the card!)

Windows has no idea what an ext4 file system is, and considers the card
to be unformatted.


--
Dennis L Bieber

Paul Cotton

unread,
Jan 19, 2021, 12:17:04 PM1/19/21
to BeagleBoard
Thank you for the replies.  Much appreciated.  I have corrected my error and this is the screen.  I do not see any eMMC Flasher command to change here?  is it the eMMC cape disable I need to edit?  Sorry an a true amateur!  What next?
Screenshot 2021-01-19 171417.png

jonnymo

unread,
Jan 19, 2021, 12:31:09 PM1/19/21
to Beagle Board
It should be at the bottom/end of the file.

Jon

On Tue, Jan 19, 2021 at 9:16 AM Paul Cotton <german...@gmail.com> wrote:
Thank you for the replies.  Much appreciated.  I have corrected my error and this is the screen.  I do not see any eMMC Flasher command to change here?  is it the eMMC cape disable I need to edit?  Sorry an a true amateur!  What next?
Screenshot 2021-01-19 171417.png

--
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.

Robert Nelson

unread,
Jan 19, 2021, 12:31:14 PM1/19/21
to Beagle Board
On Tue, Jan 19, 2021 at 11:17 AM Paul Cotton <german...@gmail.com> wrote:
>
> Thank you for the replies. Much appreciated. I have corrected my error and this is the screen. I do not see any eMMC Flasher command to change here? is it the eMMC cape disable I need to edit? Sorry an a true amateur! What next?

It's at the bottom, last line..

jonnymo

unread,
Jan 19, 2021, 12:34:58 PM1/19/21
to Beagle Board
Note, if you go this route, you will still need to mount the uSD card and uncomment the flasher line.  You could use a VirtualBox Linux image on Windows 10 with a uSD to USB reader, or if you have a SD card reader on the PC, and assign the USB device to the VM. You should be able to edit the file from there.

The other option is to just reflash the uSD card.

Just don't let Windows format the uSD card.

Jon 

Paul Cotton

unread,
Jan 19, 2021, 12:42:23 PM1/19/21
to BeagleBoard
Amazing.  Thanks all.  I think I did it.  Lots f exciting light displays on the BBB and putty went wild with all sorts going on.

Vinicius Juvinski

unread,
Jan 19, 2021, 12:57:04 PM1/19/21
to beagl...@googlegroups.com
The flasher is more bellow:

In a line like:

##enable x15: eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3-no-eeprom.sh

Dennis Lee Bieber

unread,
Jan 20, 2021, 11:31:29 AM1/20/21
to Beagleboard
On Tue, 19 Jan 2021 09:16:50 -0800 (PST), in
gmane.comp.hardware.beagleboard.user Paul Cotton
<germanbandita-Re5J...@public.gmane.org> wrote:

>Thank you for the replies. Much appreciated. I have corrected my error
>and this is the screen. I do not see any eMMC Flasher command to change
>here? is it the eMMC cape disable I need to edit? Sorry an a true
>amateur! What next?
>[image: Screenshot 2021-01-19 171417.png]

ONE: WHY did you use a screen image capture... It is a text console,
just select and paste the text!

TWO: your image only seems to show the top of the file. uEnv.txt is
much longer than your screen. The line to convert to a flasher is at the
very end of the file.

-=-=-
debian@beaglebone:~$ cat /boot/uEnv.txt
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

uname_r=4.19.94-ti-r48
#uuid=
#dtb=

###U-Boot Overlays###
###Documentation:
http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays
###Master Enable
enable_uboot_overlays=1
###
###Overide capes with eeprom
#uboot_overlay_addr0=/lib/firmware/<file0>.dtbo
#uboot_overlay_addr1=/lib/firmware/<file1>.dtbo
#uboot_overlay_addr2=/lib/firmware/<file2>.dtbo
#uboot_overlay_addr3=/lib/firmware/<file3>.dtbo
###
###Additional custom capes
#uboot_overlay_addr4=/lib/firmware/<file4>.dtbo
#uboot_overlay_addr5=/lib/firmware/<file5>.dtbo
#uboot_overlay_addr6=/lib/firmware/<file6>.dtbo
#uboot_overlay_addr7=/lib/firmware/<file7>.dtbo
###
###Custom Cape
#dtb_overlay=/lib/firmware/<file8>.dtbo
###
###Disable auto loading of virtual capes (emmc/video/wireless/adc)
#disable_uboot_overlay_emmc=1
#disable_uboot_overlay_video=1
#disable_uboot_overlay_audio=1
#disable_uboot_overlay_wireless=1
#disable_uboot_overlay_adc=1
###
###PRUSS OPTIONS
###pru_rproc (4.14.x-ti kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo
###pru_rproc (4.19.x-ti kernel)
uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-19-TI-00A0.dtbo
###pru_uio (4.14.x-ti, 4.19.x-ti & mainline/bone kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo
###
###Cape Universal Enable
enable_uboot_cape_universal=1
###
###Debug: disable uboot autoload of Cape
#disable_uboot_overlay_addr0=1
#disable_uboot_overlay_addr1=1
#disable_uboot_overlay_addr2=1
#disable_uboot_overlay_addr3=1
###
###U-Boot fdt tweaks... (60000 = 384KB)
#uboot_fdt_buffer=0x60000
###U-Boot Overlays###

cmdline=coherent_pool=1M net.ifnames=0 lpj=1990656
rng_core.default_quality=100 quiet

#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M net.ifnames=0 lpj=1990656
rng_core.default_quality=100 quiet video=HDMI-A-1:1024x768@60e

##enable Generic eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

debian@beaglebone:~$
-=-=-=-


--
Dennis L Bieber

Raymond Willis

unread,
Jan 20, 2021, 12:19:49 PM1/20/21
to Dennis Lee Bieber, Beagleboard
When it reprograms the emmc, your user LEDs will begin flashing in a cylon/night rider pattern. Wait until that stops. Then temove your card and comment out that last line in uEnv.txt file.

Also,
I have seen issues editing a uEnv.txt in Windows. When you save the file, it converts the files format and UBOOT will not read it. Your boot up will freeze.
And in ubuntu, uEnv.txt may show up as read only in the text editor. Open a terminal in the boot directory and use $sudo vim uEnv.txt or $sudo nano uEnv.txt to edit the file.

Regards,
Raymond Willis Jr.

--
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+unsub...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/7gmg0gtk0h14h5i36pinujrdvdvvbngogc%404ax.com.

Paul Cotton

unread,
Jan 20, 2021, 12:35:23 PM1/20/21
to beagl...@googlegroups.com
Thank you for this.

from Paul

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/jpeFMaWCYj8/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/433793954.2411540.1611163164385%40mail.yahoo.com.

Raymond Willis

unread,
Jan 20, 2021, 12:38:22 PM1/20/21
to jonnymo, Beagle Board
Use your down arrow. To scroll to the bottom of the file. Nano does not display every line of the file.

Regards,
Raymond Willis Jr.

Paul Cotton

unread,
Jan 20, 2021, 1:12:40 PM1/20/21
to beagl...@googlegroups.com
Thank you.

from Paul

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/jpeFMaWCYj8/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/1937446161.2416408.1611164281772%40mail.yahoo.com.
Reply all
Reply to author
Forward
0 new messages