diff options
Diffstat (limited to 'board/phycore_mcf54xx/env/bin')
-rw-r--r-- | board/phycore_mcf54xx/env/bin/_update | 36 | ||||
-rw-r--r-- | board/phycore_mcf54xx/env/bin/boot | 38 | ||||
-rw-r--r-- | board/phycore_mcf54xx/env/bin/init | 20 | ||||
-rw-r--r-- | board/phycore_mcf54xx/env/bin/pcidmaloop | 14 | ||||
-rw-r--r-- | board/phycore_mcf54xx/env/bin/pciloop | 13 | ||||
-rw-r--r-- | board/phycore_mcf54xx/env/bin/update_kernel | 8 | ||||
-rw-r--r-- | board/phycore_mcf54xx/env/bin/update_root | 8 |
7 files changed, 0 insertions, 137 deletions
diff --git a/board/phycore_mcf54xx/env/bin/_update b/board/phycore_mcf54xx/env/bin/_update deleted file mode 100644 index 014bce3512..0000000000 --- a/board/phycore_mcf54xx/env/bin/_update +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh - -if [ -z "$part" -o -z "$image" ]; then - echo "define \$part and \$image" - exit 1 -fi - -if [ ! -e "$part" ]; then - echo "Partition $part does not exist" - exit 1 -fi - -if [ $# = 1 ]; then - image=$1 -fi - -if [ x$ip = xdhcp ]; then - dhcp -fi - -ping $eth0.serverip -if [ $? -ne 0 ] ; then - echo "update aborted" - exit 1 -fi - -unprotect $part - -echo -echo "erasing partition $part" -erase $part - -echo -echo "flashing $image to $part" -echo -tftp $image $part diff --git a/board/phycore_mcf54xx/env/bin/boot b/board/phycore_mcf54xx/env/bin/boot deleted file mode 100644 index c9fcbac620..0000000000 --- a/board/phycore_mcf54xx/env/bin/boot +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh - -. /env/config - -if [ x$1 = xflash ]; then - root=flash - kernel=flash -fi - -if [ x$1 = xnet ]; then - root=net - kernel=net -fi - -if [ x$ip = xdhcp ]; then - bootargs="$bootargs ip=dhcp" -else - bootargs="$bootargs ip=$eth0.ipaddr:$eth0.serverip:$eth0.gateway:$eth0.netmask:::" -fi - -if [ x$root = xflash ]; then - bootargs="$bootargs root=$rootpart rootfstype=jffs2" -else - bootargs="$bootargs root=/dev/nfs nfsroot=$eth0.serverip:$nfsroot" -fi - -bootargs="$bootargs mtdparts=physmap-flash.0:$mtdparts" - -if [ $kernel = net ]; then - if [ x$ip = xdhcp ]; then - dhcp - fi - tftp $uimage uImage || exit 1 - bootm uImage -else - bootm /dev/nor0.kernel -fi - diff --git a/board/phycore_mcf54xx/env/bin/init b/board/phycore_mcf54xx/env/bin/init deleted file mode 100644 index 48e2139f7d..0000000000 --- a/board/phycore_mcf54xx/env/bin/init +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -PATH=/env/bin -export PATH - -. /env/config -addpart /dev/nor0 $mtdparts - -echo -echo -n "Hit any key to stop autoboot: " -timeout -a $autoboot_timeout -if [ $? != 0 ]; then - echo - echo "type update_kernel [<imagename>] to update kernel into flash" - echo "type udate_root [<imagename>] to update rootfs into flash" - echo - exit -fi - -boot
\ No newline at end of file diff --git a/board/phycore_mcf54xx/env/bin/pcidmaloop b/board/phycore_mcf54xx/env/bin/pcidmaloop deleted file mode 100644 index 24e76cbed7..0000000000 --- a/board/phycore_mcf54xx/env/bin/pcidmaloop +++ /dev/null @@ -1,14 +0,0 @@ -pci stat -pci stat -c -while true; do - pci readm 32 0xA1000000 32 -s - pci readm 32 0xA2000000 256 -s - pci dmatx 2000 a2000100 128 -s - pci writem 32 0xa2000100 0x12345678 4 -s - pci readm 32 0xA3000000 256 -s - pci dmatx 2000 a3000040 128 -s - pci writem 32 0xa3000100 0x12345678 4 -s - pci readm 32 0xA4000000 16 -s - pci dmatx 2000 a4000080 4 -s - pci writem 32 0xa4000080 0x12345678 4 -s -done diff --git a/board/phycore_mcf54xx/env/bin/pciloop b/board/phycore_mcf54xx/env/bin/pciloop deleted file mode 100644 index 4a804f9f31..0000000000 --- a/board/phycore_mcf54xx/env/bin/pciloop +++ /dev/null @@ -1,13 +0,0 @@ -pci stat -pci stat -c -while true; do - pci readm 32 0xA1000000 32 -s - pci readm 32 0xA2000000 256 -s - pci writem 32 0xa2000100 0x12345678 4 -s - pci readm 32 0xA3000000 256 -s - pci writem 32 0xa3000100 0x12345678 4 -s - pci readm 32 0xA4000000 16 -s - pci writem 32 0xa4000080 0x12345678 4 -s - -# pci dmatx 2000 a3000040 128 -s -done diff --git a/board/phycore_mcf54xx/env/bin/update_kernel b/board/phycore_mcf54xx/env/bin/update_kernel deleted file mode 100644 index 1ad95fc5d6..0000000000 --- a/board/phycore_mcf54xx/env/bin/update_kernel +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -. /env/config - -image=$uimage -part=/dev/nor0.kernel - -. /env/bin/_update $1 diff --git a/board/phycore_mcf54xx/env/bin/update_root b/board/phycore_mcf54xx/env/bin/update_root deleted file mode 100644 index b757a5b922..0000000000 --- a/board/phycore_mcf54xx/env/bin/update_root +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -. /env/config - -image=$jffs2 -part=/dev/nor0.root - -. /env/bin/_update $1 |