我正在开发BeagleBone Black和Debian,运行它。我想在我的板上闪现最新的Debian图片。为此,我从链接下载了最新的Debian映像:BeagleBone图像,并使用WinDisk图像编写器编写了SD卡。
作为教程,我已经插入一个SD卡到BeagleBone黑,按下启动按钮和应用电源。SD卡映像已启动。根据教程,闪烁eMMC大约需要30-40分钟,所以我等待了大约2个小时(只是为了确定)。然后我从我的板上取下一张SD卡,然后打开电源。它引导了我以前的映像(eMMC没有被SD卡映像闪烁)。为了闪烁eMMC,我遵循以下链接:闪烁beagleBone Balck eMMC.
我无法理解我的错在哪里,以及如何解决它。
发布于 2016-10-21 15:33:16
您记得删除行cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh开头的"#“吗?要进行此编辑,这将导致SD卡自动闪光任何bbb您打开的SD卡在其中,你只需要遵循以下步骤。
希望这会有所帮助:)
发布于 2015-10-17 11:40:13
有些比格骨骼不会用这种方法闪烁(按下启动/用户按钮,插入5V连接器等),在各种文档(linux.org)中也有描述。
因此,如果此方法也不允许您闪存eMMC,则可以尝试以下操作:
- find out, where the root device is, for example:df /dev/mmcblk1p2 1855016 635552 1123568 37% /
如果您已经从SD卡启动,那么这个(/dev/mmcblk1p2)是SD卡分区,它是操作系统所识别的。
-找到eMMC装置:
查找/dev/disk/by-path/ -ls
,它显示系统上连接的设备和路径,如果有一个与安装eMMC (/)的设备的名称不同的设备,那么这就是我们正在搜索的/dev/disk/by-path/platform-mmc.5 -> ../../mmcblk0设备。
-因此,如果您安装的根设备是: /dev/mmcblk1p2,而SD卡设备是: /dev/mmcblk0 0,那么您必须做的就是将SD卡内容“复制”到eMMC设备:
dd =/dev/mmcblk1 0 of=/dev/mmcblk1 1
简而言之:使用dd-命令将SD卡复制到eMMC。
发布于 2017-08-04 15:25:03
好的伙计们,
所有的答案对我都没有用。但是,有可能是!
这是我的解决办法:
工具
资源
操作步骤
- [Download](https://rcn-ee.com/rootfs/bb.org/testing/2017-07-30/stretch-lxqt/bone-debian-9.1-lxqt-armhf-2017-07-30-4gb.img.xz)
- Unzip with 7Zip to: `bone-debian-9.1-lxqt-armhf-2017-07-30-4gb.img`
- Format SD Card with [HP Format Utility](https://en.softonic.com/download/hp-usb-disk-storage-format-tool/post-download?sl=1#)
- Use [Win 32 Disk Imager](https://downloads.sourceforge.net/project/win32diskimager/Archive/win32diskimager-1.0.0-install.exe?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fwin32diskimager%2F&ts=1501858464&use_mirror=superb-dca2) to write to SD card. This assumes your computer has a SD Card Reader and that your SD Card came with an adapter.
- This is probably the most obscure and undocumented part. And took me many cigarettes, and two days of yelling at my computer to figure out, but anyways.
- Plug in the SD Card.
- Connect the HDMI cable to a monitor.
- Hold down the **S2** Button, the only other button besides **Power** and **Reset** on BBB rev C.
- Plug in the power source
- Push the power button
- Wait for Debian Stretch to boot
- Get to a terminal - **Leave a comment if you're not sure about how to do this and I will document it**. I'm assuming most of y'all know how to do this.
- Basically either open an SSH connection, or plug in a USB Keyboard
- `sudo nano /boot/uEnv.txt`
- Uncomment(i.e. Get rid of the `#`) the last line which reads:#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
-保存档案
在nano中,是Ctrl+X,然后是y
- Power down the BBB
- Unplug everything from the BBB. I mean everything, USB, HDMI, power, USB cables. **EVERYTHING**
- Plug in the newly imaged SD Card
- Hold down the **S2** Button, the only other button besides **Power** and **Reset** on BBB rev C.
- Plug in the Power. Make sure you have a 5V/2A power source, or it might shut down on you! I used my Samsung Galaxy Power Adapter, which happily provided both of those :).
期待什么
后装
sudo mount /dev/mmcblk0p1 /mntsudo nano /mnt/boot/uEnv.txt/boot/uEnv.txt的最后一行,这样它会读到:
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.shsudo umount /mnt注意:如果这些步骤中的任何一个对你不起作用,请留下评论,我会尽力帮助你们。。
对我来说,这是一个非常令人沮丧的过程,所以我会尽力帮助你们。
https://stackoverflow.com/questions/31725206
复制相似问题