summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2014-01-17 13:48:52 -0600
committerJesse Gilles <jgilles@multitech.com>2014-01-17 13:48:52 -0600
commite4e981dc01a6077be2100a3045e791d470ae3dc8 (patch)
treeb929e87b0c9aee2fe53e41abc863859a59a5f545
parent382a32756eaace2dd933426f5411cff4e111b70a (diff)
contrib/uboot-setenv-mtocgd: use lower tftp address, remove mtocgd3 file
-rw-r--r--multitech/contrib/uboot-setenv-mtocgd117
-rw-r--r--multitech/contrib/uboot-setenv-mtocgd360
2 files changed, 59 insertions, 118 deletions
diff --git a/multitech/contrib/uboot-setenv-mtocgd b/multitech/contrib/uboot-setenv-mtocgd
index ecfa2dd..e3022b3 100644
--- a/multitech/contrib/uboot-setenv-mtocgd
+++ b/multitech/contrib/uboot-setenv-mtocgd
@@ -1,59 +1,60 @@
-print setting U-Boot variables...
-send setenv bootargs \'mem=128M console=ttyS0,115200 root=/dev/mtdblock8 ro rootfstype=jffs2\'
-send setenv bootcmd \'nboot.jffs2 ${loadaddr} 0 ${kernel_addr}; bootm ${loadaddr}\'
-send setenv bootdelay 1
-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 stdin serial
-send setenv stdout serial
-send setenv stderr serial
+print setting U-Boot variables...
+send setenv bootargs \'mem=128M console=ttyS0,115200 root=/dev/mtdblock8 ro rootfstype=jffs2\'
+send setenv bootcmd \'nboot.jffs2 ${loadaddr} 0 ${kernel_addr}; bootm ${loadaddr}\'
+send setenv bootdelay 1
+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
send setenv ethact macb0
-send setenv mtdids nand0=nand0
-send setenv mtdparts mtdparts=nand0:256k(bootstrap),512k(u-boot),640k(u-boot-env1),640k(u-boot-env2),6M(kernel),8M(config),8M(oem),-(rootfs)
-send setenv bootstrap_file oe_bootstrap_pmecc_padded.bin
-send setenv uboot_file oe_u-boot.bin
-send setenv uboot_env1_file oe_uboot_env1.bin
-send setenv uboot_env2_file oe_uboot_env2.bin
-send setenv kernel_file oe_uImage.bin
-send setenv config_file oe_config.tar.gz
-send setenv oem_file oe_oem.tar.gz
-send setenv rootfs_file oe_rootfs.jffs2
-send setenv bootstrap_addr 0x00000000
-send setenv uboot_addr 0x00040000
-send setenv uboot_env1_addr 0x000C0000
-send setenv uboot_env2_addr 0x00160000
-send setenv kernel_addr 0x00200000
-send setenv config_addr 0x00800000
-send setenv oem_addr 0x01000000
-send setenv rootfs_addr 0x01800000
-send setenv bootstrap_size 0x00040000
-send setenv uboot_size 0x00080000
-send setenv uboot_env1_size 0x000A0000
-send setenv uboot_env2_size 0x000A0000
-send setenv kernel_size 0x00600000
-send setenv config_size 0x00800000
-send setenv oem_size 0x00800000
-send setenv erase_bootstrap \'nand erase.part bootstrap\'
-send setenv erase_uboot \'nand erase.part u-boot\'
-send setenv erase_uboot_env1 \'nand erase.part u-boot-env1\'
-send setenv erase_uboot_env2 \'nand erase.part u-boot-env2\'
-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 krb \'run tftp_kernel; run tftp_rootfs; boot\'
-send setenv rb \'run tftp_rootfs; boot\'
-print saving...
-send saveenv
-send saveenv
-send printenv
+send setenv mtdids nand0=nand0
+send setenv mtdparts mtdparts=nand0:256k(bootstrap),512k(u-boot),640k(u-boot-env1),640k(u-boot-env2),6M(kernel),8M(config),8M(oem),-(rootfs)
+send setenv bootstrap_file oe_bootstrap_pmecc_padded.bin
+send setenv uboot_file oe_u-boot.bin
+send setenv uboot_env1_file oe_uboot_env1.bin
+send setenv uboot_env2_file oe_uboot_env2.bin
+send setenv kernel_file oe_uImage.bin
+send setenv config_file oe_config.tar.gz
+send setenv oem_file oe_oem.tar.gz
+send setenv rootfs_file oe_rootfs.jffs2
+send setenv bootstrap_addr 0x00000000
+send setenv uboot_addr 0x00040000
+send setenv uboot_env1_addr 0x000C0000
+send setenv uboot_env2_addr 0x00160000
+send setenv kernel_addr 0x00200000
+send setenv config_addr 0x00800000
+send setenv oem_addr 0x01000000
+send setenv rootfs_addr 0x01800000
+send setenv bootstrap_size 0x00040000
+send setenv uboot_size 0x00080000
+send setenv uboot_env1_size 0x000A0000
+send setenv uboot_env2_size 0x000A0000
+send setenv kernel_size 0x00600000
+send setenv config_size 0x00800000
+send setenv oem_size 0x00800000
+send setenv erase_bootstrap \'nand erase.part bootstrap\'
+send setenv erase_uboot \'nand erase.part u-boot\'
+send setenv erase_uboot_env1 \'nand erase.part u-boot-env1\'
+send setenv erase_uboot_env2 \'nand erase.part u-boot-env2\'
+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 ${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...
+send saveenv
+send saveenv
+send printenv
diff --git a/multitech/contrib/uboot-setenv-mtocgd3 b/multitech/contrib/uboot-setenv-mtocgd3
deleted file mode 100644
index e3022b3..0000000
--- a/multitech/contrib/uboot-setenv-mtocgd3
+++ /dev/null
@@ -1,60 +0,0 @@
-print setting U-Boot variables...
-send setenv bootargs \'mem=128M console=ttyS0,115200 root=/dev/mtdblock8 ro rootfstype=jffs2\'
-send setenv bootcmd \'nboot.jffs2 ${loadaddr} 0 ${kernel_addr}; bootm ${loadaddr}\'
-send setenv bootdelay 1
-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
-send setenv ethact macb0
-send setenv mtdids nand0=nand0
-send setenv mtdparts mtdparts=nand0:256k(bootstrap),512k(u-boot),640k(u-boot-env1),640k(u-boot-env2),6M(kernel),8M(config),8M(oem),-(rootfs)
-send setenv bootstrap_file oe_bootstrap_pmecc_padded.bin
-send setenv uboot_file oe_u-boot.bin
-send setenv uboot_env1_file oe_uboot_env1.bin
-send setenv uboot_env2_file oe_uboot_env2.bin
-send setenv kernel_file oe_uImage.bin
-send setenv config_file oe_config.tar.gz
-send setenv oem_file oe_oem.tar.gz
-send setenv rootfs_file oe_rootfs.jffs2
-send setenv bootstrap_addr 0x00000000
-send setenv uboot_addr 0x00040000
-send setenv uboot_env1_addr 0x000C0000
-send setenv uboot_env2_addr 0x00160000
-send setenv kernel_addr 0x00200000
-send setenv config_addr 0x00800000
-send setenv oem_addr 0x01000000
-send setenv rootfs_addr 0x01800000
-send setenv bootstrap_size 0x00040000
-send setenv uboot_size 0x00080000
-send setenv uboot_env1_size 0x000A0000
-send setenv uboot_env2_size 0x000A0000
-send setenv kernel_size 0x00600000
-send setenv config_size 0x00800000
-send setenv oem_size 0x00800000
-send setenv erase_bootstrap \'nand erase.part bootstrap\'
-send setenv erase_uboot \'nand erase.part u-boot\'
-send setenv erase_uboot_env1 \'nand erase.part u-boot-env1\'
-send setenv erase_uboot_env2 \'nand erase.part u-boot-env2\'
-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 ${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...
-send saveenv
-send saveenv
-send printenv