diff --git a/device_scripts/am335x_evm.sh b/device_scripts/am335x_evm.sh index f88a7785280428e0619da3f0dcf9718e7f1a1214..801a421f3cd12aa4f163b711cca399560f04d1b0 100755 --- a/device_scripts/am335x_evm.sh +++ b/device_scripts/am335x_evm.sh @@ -60,11 +60,9 @@ if [ -e /sys/class/drm/card0/card0-HDMI-A-1/edid ] ; then fi fi -if [ ! -f /opt/scripts/beaglebone-black-eMMC-flasher.sh ] ; then - if [ -f /boot/uboot/flash-eMMC.txt ] ; then - if [ -f /boot/uboot/tools/scripts/beaglebone-black-copy-microSD-to-eMMC.sh ] ; then - /bin/bash /boot/uboot/tools/scripts/beaglebone-black-copy-microSD-to-eMMC.sh >/boot/uboot/debug/flash-eMMC.log 2>&1 - fi +if [ -f /boot/uboot/flash-eMMC.txt ] ; then + if [ -f /opt/scripts/beaglebone-black-eMMC-flasher.sh ] ; then + /bin/bash /opt/scripts/beaglebone-black-eMMC-flasher.sh >/boot/uboot/debug/flash-eMMC.log 2>&1 fi fi diff --git a/init_scripts/generic-debian.sh b/init_scripts/generic-debian.sh index 7ffed72dc60cf3639610600240a9a62dce13d795..d821dc3cdcf1401fd89050f5ac9a348b75d70f3c 100644 --- a/init_scripts/generic-debian.sh +++ b/init_scripts/generic-debian.sh @@ -52,13 +52,6 @@ start|reload|force-reload|restart) /bin/sh /opt/scripts/${board}.sh >/dev/null 2>&1 & fi fi - - if [ -f /boot/uboot/flash-eMMC.txt ] ; then - if [ -f /opt/scripts/beaglebone-black-eMMC-flasher.sh ] ; then - mkdir -p /boot/uboot/debug/ - /bin/bash /opt/scripts/beaglebone-black-eMMC-flasher.sh >/boot/uboot/debug/flash-eMMC.log 2>&1 - fi - fi ;; stop) exit 0 diff --git a/init_scripts/generic-ubuntu.conf b/init_scripts/generic-ubuntu.conf index 4e6c9fd2586da6310420e6a2117e952b89a3e020..308c8405631501f4598cb705a6b12a3f4e18c493 100644 --- a/init_scripts/generic-ubuntu.conf +++ b/init_scripts/generic-ubuntu.conf @@ -42,11 +42,4 @@ if [ -f /boot/uboot/SOC.sh ] && [ -f /boot/uboot/run_boot-scripts ] ; then /bin/sh /opt/scripts/${board}.sh >/dev/null 2>&1 & fi fi - -if [ -f /boot/uboot/flash-eMMC.txt ] ; then - if [ -f /opt/scripts/beaglebone-black-eMMC-flasher.sh ] ; then - mkdir -p /boot/uboot/debug/ - /bin/bash /opt/scripts/beaglebone-black-eMMC-flasher.sh >/boot/uboot/debug/flash-eMMC.log 2>&1 - fi -fi end script