diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-12-03 13:17:54 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-12-10 12:37:30 +0100 |
commit | 6f85dc5e60a9d0909bf35ff2d234fcf47a78fb35 (patch) | |
tree | f4f1424fbcefe7c5d6fe5808ed98ccc5dafdda0a /board/freescale-mx35-3-stack/env/bin/init | |
parent | b18dbb885d17c5faab9a97d3e4bc440786dfd804 (diff) | |
download | barebox-6f85dc5e60a9d0909bf35ff2d234fcf47a78fb35.tar.gz barebox-6f85dc5e60a9d0909bf35ff2d234fcf47a78fb35.tar.xz |
i.MX35 3stack: update environemnt to support jffs and ubi/ubifs
ubifs is default
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'board/freescale-mx35-3-stack/env/bin/init')
-rw-r--r-- | board/freescale-mx35-3-stack/env/bin/init | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/board/freescale-mx35-3-stack/env/bin/init b/board/freescale-mx35-3-stack/env/bin/init index cdf0f6b8eb..f083ace4fd 100644 --- a/board/freescale-mx35-3-stack/env/bin/init +++ b/board/freescale-mx35-3-stack/env/bin/init @@ -16,12 +16,12 @@ if [ -e /dev/nand0 ]; then source /env/bin/hush_hack fi -#if [ -z $eth0.ethaddr ]; then -# while [ -z $eth0.ethaddr ]; do -# readline "no MAC address set for eth0. please enter the one found on your board: " eth0.ethaddr -# done -# echo -a /env/config "eth0.ethaddr=$eth0.ethaddr" -#fi +if [ -z $eth0.ethaddr ]; then + while [ -z $eth0.ethaddr ]; do + readline "no MAC address set for eth0. please enter the one found on your board: " eth0.ethaddr + done + echo -a /env/config "eth0.ethaddr=$eth0.ethaddr" +fi echo echo -n "Hit any key to stop autoboot: " @@ -29,7 +29,7 @@ timeout -a $autoboot_timeout if [ $? != 0 ]; then echo echo "type update_kernel nand|nor [<imagename>] to update kernel into flash" - echo "type update_root nand|nor [<imagename>] to update rootfs into flash" + echo "type update_rootfs nand|nor [<imagename>] to update rootfs into flash" echo exit fi |