diff --git a/bootloader/u-boot_2015_04/include/configs/mx6s_prime_oven.h b/bootloader/u-boot_2015_04/include/configs/mx6s_prime_oven.h index 9f30978..c962833 100755 --- a/bootloader/u-boot_2015_04/include/configs/mx6s_prime_oven.h +++ b/bootloader/u-boot_2015_04/include/configs/mx6s_prime_oven.h @@ -241,7 +241,8 @@ "fi; " \ "bootm 0x12000000 - 0x11F00000; \0" \ "bootload_fw=mmc dev 0; mmc erase 0 2; mmc dev 1; mmc read 0x11F00000 2C00 100; mmc read 0x12000000 3000 3800; mmc read 0x1E000000 7000 20000; bootm 0x12000000 0x1E000000 0x11F00000; \0" \ - "fw=env default -a; saveenv; setenv mmcdev 1; setenv bootargs_ram ${bootargs_ram} fusing=1; run bootcmd_fw; \0" \ + "fw=env default -a; saveenv; setenv mmcdev 1; setenv bootargs_ram ${bootargs_ram}; setenv autoexec /root/.falinux/mk-emmc-fusing.sh; run bootcmd_fw; \0" \ + "jig=env default -a; saveenv; setenv bootargs_mmc ${bootargs_mmc}; setenv autoexec /root/.falinux/prime_jig/prime_jig.sh; run bootcmd; \0" \ "bootcmd_fw=run bootargs_ram bootload_fw \0" \ "bootcmd=run bootargs_mmc bootload\0" diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/init.d/S83fusing b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/init.d/S83fusing deleted file mode 100755 index 666e3aa..0000000 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/init.d/S83fusing +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/sh - -CMDLINE=$(cat /proc/cmdline) -TOOL_PATH="/root/.falinux" -JIG_PATH="/root/.falinux/prime_jig/prime_jig.sh" - -start() { - echo "## Start Boot Img eMMC Fusing ##" - - # Start Boot Img eMMC Fusing Mode - FUSING=$(cmd_parsing fusing $CMDLINE) - if [ "$FUSING" != "" ]; then - # Run Fusing - ${TOOL_PATH}/mk-emmc-fusing.sh - else - # Check First Boot - if [ ! -f "${TOOL_PATH}/.complete" ]; then - echo "Run JIG Script" - ${JIG_PATH} - touch ${TOOL_PATH}/.complete - sync - fi - fi -} - -stop() { - echo "OK" -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart|reload) - restart - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? -