This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: ' | |
DrFarm 2017 | |
This script will boot an Edison board with the Root Filesystem on an external | |
storage medium (SD CARD, mounted at '/dev/mmcblk1p1'). | |
' | |
echo 'Intel Edison SD Boot' | |
fw_setenv mmc-bootargs 'setenv bootargs root=${myrootfs} rootdelay=3 rootfstype=ext4 ${bootargs_console} ${bootargs_debug} systemd.unit=${bootargs_target}.target hardware_id=${hardware_id} g_multi.iSerialNumber=${serial#} g_multi.dev_addr=${usb0addr}' | |
fw_setenv myrootfs_sdcard '/dev/mmcblk1p1' | |
UUID=$(fw_printenv uuid_rootfs | cut -c '13-999') |