How is Flash BeagleBone Black eMMC featuring Debian 8.2?

This site says ...

To turn these images into eMMC flasher images, edit the /boot/uEnv.txt file on the Linux partition on the microSD card and delete the '#' in the line using cmdline = init = / opt / scripts / tools / eMMC / init-eMMC- flasher-v3.sh. Enabling this will load the microSD card to blink eMMC.

There is no such line in the uEnv.txt file. I do not see the init-eMMC-flasher-v3.sh file init-eMMC-flasher-v3.sh in the boot partition, although it may be in a hidden partition (at least hidden for Windows).

I tried holding S2 (which seems to be an older (maybe?) Blinking method) without success.

+7
debian beagleboneblack
source share
4 answers

The line indicated in the instructions is the last line of uEnv.txt . I just downloaded a new copy of bone-debian-8.2-tester-2gb-armhf-2015-11-12-2gb.img.xz , and /boot/uEnv.txt looks like as soon as I uncommented the eMMC flasher command:

 #Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0 uname_r=4.1.12-ti-r29 #uuid= #dtb= ##BeagleBone Black/Green dtb for v4.1.x (BeagleBone White just works..) ##BeagleBone Black: HDMI (Audio/Video) disabled: #dtb=am335x-boneblack-emmc-overlay.dtb ##BeagleBone Black: eMMC disabled: #dtb=am335x-boneblack-hdmi-overlay.dtb ##BeagleBone Black: HDMI Audio/eMMC disabled: #dtb=am335x-boneblack-nhdmi-overlay.dtb ##BeagleBone Black: HDMI (Audio/Video)/eMMC disabled: #dtb=am335x-boneblack-overlay.dtb ##BeagleBone Black: wl1835 #dtb=am335x-boneblack-wl1835mod.dtb ##BeagleBone Black: replicape #dtb=am335x-boneblack-replicape.dtb ##BeagleBone Green: eMMC disabled #dtb=am335x-bonegreen-overlay.dtb cmdline=coherent_pool=1M quiet cape_universal=enable #In the event of edid real failures, uncomment this next line: #cmdline=coherent_pool=1M quiet cape_universal=enable video=HDMI-A-1: 1024x768@60e ##Example v3.8.x #cape_disable=capemgr.disable_partno= #cape_enable=capemgr.enable_partno= ##Example v4.1.x #cape_disable=bone_capemgr.disable_partno= #cape_enable=bone_capemgr.enable_partno= ##Disable HDMI/eMMC (v3.8.x) #cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G ##Disable HDMI (v3.8.x) #cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN ##Disable eMMC (v3.8.x) #cape_disable=capemgr.disable_partno=BB-BONE-EMMC-2G ##Audio Cape (needs HDMI Audio disabled) (v3.8.x) #cape_disable=capemgr.disable_partno=BB-BONELT-HDMI #cape_enable=capemgr.enable_partno=BB-BONE-AUDI-02 ##enable Generic eMMC Flasher: ##make sure, these tools are installed: dosfstools rsync cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh 

The last line is the one you are looking for. If this is not the case for some reason, just add it and save the file. Then, when booting from SD, the LEDs will display a β€œback and fourth” pattern indicating that the eMMC is blinking.

+4
source share

The solution turned out to be quite simple, although not fully explained.

Just download Debian 8.2, log in with debian / temppwd

Go to / opt / scripts / tools / eMMC /

 cd /opt/scripts/tools/eMMC/ 

and run the file manually ...

 sudo ./init-eMMC-flasher-v3.sh 

Wait for the process to complete, turn off the device, remove the SD card, and simply turn on the device again. Now it will boot from eMMC.

+4
source share

Both boot / uEnv.txt and /opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh are located in the Linux partition on microSD cards, so you cannot see them from Windows.

If you connected this card to a Linux machine, in addition to the FAT32 BEAGLEBONE section, you will see Linux rootfs . In fact, you can connect it to an already loaded BeagleBone, and it should appear under / media / rootfs .

In your own answer, you found a different approach by loading the SD card yourself to go to your Linux partition. This works, but perhaps more risky, since you are using a flasher from fully multitask Linux instead of allowing it to work as an init process.

+1
source share

For Beagle Bone Wireless Linux beaglebone 4.4.30-ti-r64 it says

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

I can not find dosfstools, but it did not seem necessary to me. I created a uSD file with Linux beaglebone 4.4.54-ti-r93. (I also had to hit uBoot because it had a problem with sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=1 )

Uploaded to uSD then ran /opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh and it updated uBoot and Linux.

0
source share

All Articles