summaryrefslogtreecommitdiff
path: root/board/keymile/scripts
diff options
context:
space:
mode:
authorHolger Brunck <holger.brunck@keymile.com>2011-12-14 06:11:50 +0000
committerWolfgang Denk <wd@denx.de>2011-12-20 23:43:45 +0100
commitd26982cbb6c663dff5d5a956068f4ec384cfc2ba (patch)
treeedabce9f532f50b9bd38a6d2bc36b921af17228e /board/keymile/scripts
parent37d0e77777c7805cb57f6a063d1a610c251598b9 (diff)
downloadu-boot-imx-d26982cbb6c663dff5d5a956068f4ec384cfc2ba.zip
u-boot-imx-d26982cbb6c663dff5d5a956068f4ec384cfc2ba.tar.gz
u-boot-imx-d26982cbb6c663dff5d5a956068f4ec384cfc2ba.tar.bz2
km/common: add toolchain variable
Add a variable "toolchain" and configure the rootpath for the nfsargs with this variable. Signed-off-by: Holger Brunck <holger.brunck@keymile.com> cc: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/keymile/scripts')
-rw-r--r--board/keymile/scripts/README2
-rw-r--r--board/keymile/scripts/develop-common.txt3
2 files changed, 3 insertions, 2 deletions
diff --git a/board/keymile/scripts/README b/board/keymile/scripts/README
index 7fbcf74..dd935b2 100644
--- a/board/keymile/scripts/README
+++ b/board/keymile/scripts/README
@@ -7,7 +7,7 @@ default environment must be parsed:
run develop : setup environment to configure for rootfs via nfs
run ramfs : setup environment to configure for rootfs in ram
-Last change: 20.05.2011
+Last change: 24.11.2011
develop-common.txt
============================
diff --git a/board/keymile/scripts/develop-common.txt b/board/keymile/scripts/develop-common.txt
index 93e2967..aa3d659 100644
--- a/board/keymile/scripts/develop-common.txt
+++ b/board/keymile/scripts/develop-common.txt
@@ -2,6 +2,7 @@ altbootcmd=run ${subbootcmds}
bootcmd=run ${subbootcmds}
configure=km_setboardid && saveenv && reset
subbootcmds=tftpfdt tftpkernel nfsargs add_default boot
-nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:/opt/eldk/${arch}
+nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${toolchain}/${arch}
tftpkernel=tftpboot ${load_addr_r} ${hostname}/uImage
+toolchain=/opt/eldk
rootfssize=0