diff options
Diffstat (limited to 'multitech/contrib/uboot-setenv-mtocgd3')
-rw-r--r-- | multitech/contrib/uboot-setenv-mtocgd3 | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/multitech/contrib/uboot-setenv-mtocgd3 b/multitech/contrib/uboot-setenv-mtocgd3 index da24d5e..e3022b3 100644 --- a/multitech/contrib/uboot-setenv-mtocgd3 +++ b/multitech/contrib/uboot-setenv-mtocgd3 @@ -6,6 +6,7 @@ send setenv serverip 192.168.2.2 send setenv ipaddr 192.168.2.1 send setenv netmask 255.255.255.0 send setenv loadaddr 0x22000000 +send setenv tftpaddr 0x20000000 send setenv stdin serial send setenv stdout serial send setenv stderr serial @@ -43,14 +44,14 @@ send setenv erase_kernel \'nand erase.part kernel\' send setenv erase_config \'nand erase.part config\' send setenv erase_oem \'nand erase.part oem\' send setenv erase_rootfs \'nand erase.part rootfs\' -send setenv tftp_bootstrap \'tftp ${loadaddr} ${bootstrap_file}; run erase_bootstrap; nand write.jffs2 ${fileaddr} bootstrap ${filesize}\' -send setenv tftp_uboot \'tftp ${loadaddr} ${uboot_file}; run erase_uboot; nand write.jffs2 ${fileaddr} u-boot ${filesize}\' -send setenv tftp_uboot_env1 \'tftp ${loadaddr} ${uboot_env1_file}; run erase_uboot_env1; nand write.jffs2 ${fileaddr} u-boot-env1 ${filesize}\' -send setenv tftp_uboot_env2 \'tftp ${loadaddr} ${uboot_env2_file}; run erase_uboot_env2; nand write.jffs2 ${fileaddr} u-boot-env2 ${filesize}\' -send setenv tftp_kernel \'tftp ${loadaddr} ${kernel_file}; run erase_kernel; nand write.jffs2 ${fileaddr} kernel ${filesize}\' -send setenv tftp_config \'tftp ${loadaddr} ${config_file}; run erase_config; nand write.jffs2 ${fileaddr} config ${filesize}\' -send setenv tftp_oem \'tftp ${loadaddr} ${oem_file}; run erase_oem; nand write.jffs2 ${fileaddr} oem ${filesize}\' -send setenv tftp_rootfs \'tftp ${loadaddr} ${rootfs_file}; run erase_rootfs; nand write.jffs2 ${fileaddr} rootfs ${filesize}\' +send setenv tftp_bootstrap \'tftp ${tftpaddr} ${bootstrap_file}; run erase_bootstrap; nand write.jffs2 ${fileaddr} bootstrap ${filesize}\' +send setenv tftp_uboot \'tftp ${tftpaddr} ${uboot_file}; run erase_uboot; nand write.jffs2 ${fileaddr} u-boot ${filesize}\' +send setenv tftp_uboot_env1 \'tftp ${tftpaddr} ${uboot_env1_file}; run erase_uboot_env1; nand write.jffs2 ${fileaddr} u-boot-env1 ${filesize}\' +send setenv tftp_uboot_env2 \'tftp ${tftpaddr} ${uboot_env2_file}; run erase_uboot_env2; nand write.jffs2 ${fileaddr} u-boot-env2 ${filesize}\' +send setenv tftp_kernel \'tftp ${tftpaddr} ${kernel_file}; run erase_kernel; nand write.jffs2 ${fileaddr} kernel ${filesize}\' +send setenv tftp_config \'tftp ${tftpaddr} ${config_file}; run erase_config; nand write.jffs2 ${fileaddr} config ${filesize}\' +send setenv tftp_oem \'tftp ${tftpaddr} ${oem_file}; run erase_oem; nand write.jffs2 ${fileaddr} oem ${filesize}\' +send setenv tftp_rootfs \'tftp ${tftpaddr} ${rootfs_file}; run erase_rootfs; nand write.jffs2 ${fileaddr} rootfs ${filesize}\' send setenv krb \'run tftp_kernel; run tftp_rootfs; boot\' send setenv rb \'run tftp_rootfs; boot\' print saving... |