diff --git a/compile.sh b/compile.sh index 93f07c2..306099e 100755 --- a/compile.sh +++ b/compile.sh @@ -1,6 +1,10 @@ #!/usr/bin/env bash TOOLCHAIN=$(pwd)/../toolchain/bin export PATH=$TOOLCHAIN:$PATH +HOST=192.168.0.99 make distclean make isvp_t20_sfcnor_ddr128M_config -make \ No newline at end of file +make + +ftp-upload -h ${HOST} -u root --password ismart12 -d /system/sdcard/ u-boot-with-spl.bin +ftp-upload -h ${HOST} -u root --password ismart12 -d /system/sdcard/ flash.sh \ No newline at end of file diff --git a/flash.sh b/flash.sh new file mode 100644 index 0000000..e3bc398 --- /dev/null +++ b/flash.sh @@ -0,0 +1,4 @@ +md5sum u-boot-with-spl.bin +flash_eraseall /dev/mtd0 +dd if=u-boot-with-spl.bin of=/dev/mtd0 +dd if=/dev/mtd0 conv=sync,noerror 2> /dev/null | md5sum diff --git a/include/configs/isvp_t20.h b/include/configs/isvp_t20.h index 8420577..e452c3a 100644 --- a/include/configs/isvp_t20.h +++ b/include/configs/isvp_t20.h @@ -254,7 +254,6 @@ #define CONFIG_CMDLINE_EDITING #define CONFIG_AUTO_COMPLETE #define CONFIG_CMD_GPIO -#define CONFIG_CMD_EXT2 /*#define CONFIG_CMD_I2C*/