(updated @ 17:48 Pacific - added a missed step)
FIXED! These are the three main steps to fix a non-booting system that needs to be re-flashed (you will lose lose any files previously placed on the file system):
- Stop the autoboot process on the Edison and get the the "boot >" prompt
- Once you're at the "boot >" prompt, type "run do_flash". You should see the following output:
Saving Environment to MMC...
Writing to redundant MMC(0)... done
GADGET DRIVER: usb_dnl_dfu
- Once you see the "GADGET DRIVER: usb_dnl_dfu" message, the Edison board is in the correct state to accept flashing again. In the directory where the Yocto image files were uncompressed, run the following command (with su privileges!!): sudo ./flashall.sh
Using U-Boot target: edison-blank
Now waiting for dfu device 8087:0a99
Please plug and reboot the board
Flashing IFWI
Download [=========================] 100% 4194304 bytes
Download [=========================] 100% 4194304 bytes
Flashing U-Boot
Download [=========================] 100% 245760 bytes
Flashing U-Boot Environment
Download [=========================] 100% 65536 bytes
Flashing U-Boot Environment Backup
Download [=========================] 100% 65536 bytes
Flashing boot partition (kernel)
Download [=========================] 100% 5799936 bytes
Flashing rootfs, (it can take up to 5 minutes... Please be patient)
Download [=========================] 100% 536870912 bytes
Rebooting
U-boot & Kernel System Flash Success...
Your board needs to reboot twice to complete the flashing procedure, please do not unplug it for 2 minutes.
What you'll see in your serial connection terminal (which should be connected the way you initially connected to your Edison device):
[ OK ] Started Getty on tty1.
Starting Serial Getty on ttyMFD2...
[ OK ] Started Serial Getty on ttyMFD2.
[ OK ] Reached target Login Prompts.
[ OK ] Started Network Name Resolution.
[ OK ] Started Login Service.
Poky (Yocto Project Reference Distro) 1.6 edison ttyMFD2
edison login: root
[ 686.080697] systemd-fsck[231]: /dev/mmcblk0p10: clean, 12/152608 files, 26867/610299 blocks
root@edison:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 463.9M 303.3M 124.8M 71% /
devtmpfs 480.2M 0 480.2M 0% /dev
tmpfs 480.5M 0 480.5M 0% /dev/shm
tmpfs 480.5M 480.0K 480.1M 0% /run
tmpfs 480.5M 0 480.5M 0% /sys/fs/cgroup
tmpfs 480.5M 480.0K 480.1M 0% /etc/machine-id
[ 693.572894] systemd-fsck[246]: dosfsck 2.11, 12 Mar 2005, FAT32, LFN
[ 693.575483] systemd-fsck[246]: /dev/mmcblk0p7: 5 files, 2591/2819 clusters
systemd-1 5.5M 5.1M 456.0K 92% /boot
tmpfs 480.5M 4.0K 480.5M 0% /tmp
systemd-1 2.2G 3.5M 2.2G 0% /home
tmpfs 480.5M 0 480.5M 0% /var/volatile
/dev/mmcblk0p5 1003.0K 21.0K 911.0K 2% /factory
/dev/mmcblk0p10 2.2G 3.5M 2.2G 0% /home
/dev/mmcblk0p7 5.5M 5.1M 456.0K 92% /boot
Done, and back to square one!
Jeff D.