如何使用Debian 8.2图像闪烁BeagleBone Black eMMC?

Cod*_*ith 7 debian beagleboneblack

这个网站说...

要将这些图像转换为eMMC闪存图像,请编辑microSD卡上Linux分区上的/boot/uEnv.txt文件,并使用'cmdline = init =/opt/scripts/tools/eMMC /删除行上的'#' init-eMMC-flasher-v3.sh".启用此功能将导致启动microSD卡以刷新eMMC.

uEnv.txt文件中不存在此类行.我也没有init-eMMC-flasher-v3.sh在启动分区的任何地方看到该文件,尽管它可能位于隐藏分区上(至少隐藏在Windows中).

我试过拿着S2(这似乎是一个较旧的(可能是?)闪烁方法)没有成功.

Cod*_*ith 5

结果证明解决方案非常简单,尽管完全没有解释。

只需启动 Debian 8.2,使用 debian/temppwd 登录

导航到 /opt/scripts/tools/eMMC/

cd /opt/scripts/tools/eMMC/
Run Code Online (Sandbox Code Playgroud)

并手动运行文件...

sudo ./init-eMMC-flasher-v3.sh
Run Code Online (Sandbox Code Playgroud)

等待该过程完成,关闭设备电源,取出 SD 卡,然后重新打开设备电源。它现在将从 eMMC 启动。


Pau*_*zzi 4

说明中提到的行是 的最后一行uEnv.txt。我刚刚下载了一个新副本bone-debian-8.2-tester-2gb-armhf-2015-11-12-2gb.img.xz/boot/uEnv.txt在取消注释 eMMC flasher 命令后,它看起来像这样:

#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

uname_r=4.1.12-ti-r29
#uuid=
#dtb=

##BeagleBone Black/Green dtb's 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
Run Code Online (Sandbox Code Playgroud)

最后一行就是您要查找的行。如果由于某种原因不存在,只需添加它并保存文件。然后,当从 SD 启动时,LED 将显示“来回”模式,表明 eMMC 闪存正在进行中。