summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/freescale-mx28-evk/env
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-04-15 06:05:39 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-04-18 12:03:58 +0200
commita2d2e8868fe3c963ebac634b695ae18bb4b411ca (patch)
treeb39bdcd51c772a846c886dc0702d9c86d9d3516a /arch/arm/boards/freescale-mx28-evk/env
parent903d93919310c6d515f217c81a5b33cdec791116 (diff)
downloadbarebox-a2d2e8868fe3c963ebac634b695ae18bb4b411ca.tar.gz
barebox-a2d2e8868fe3c963ebac634b695ae18bb4b411ca.tar.xz
config: switch machine to hostname
So we can use it for dhcp request too. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/freescale-mx28-evk/env')
-rw-r--r--arch/arm/boards/freescale-mx28-evk/env/config12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/boards/freescale-mx28-evk/env/config b/arch/arm/boards/freescale-mx28-evk/env/config
index 509563388e..3951c5bd06 100644
--- a/arch/arm/boards/freescale-mx28-evk/env/config
+++ b/arch/arm/boards/freescale-mx28-evk/env/config
@@ -1,6 +1,6 @@
#!/bin/sh
-machine=mx28-evk
+hostname=mx28-evk
#user=
# use 'dhcp' to do dhcp in barebox and in kernel
@@ -24,21 +24,21 @@ rootfs_loc=net
rootfs_type=ext2
# where is the rootfs in case of 'rootfs_loc=disk' (linux name)
rootfs_part_linux_dev=mmcblk0p4
-rootfsimage=rootfs-${machine}.$rootfs_type
+rootfsimage=rootfs-${hostname}.$rootfs_type
# where is the kernel image in case of 'kernel_loc=disk'
kernel_part=disk0.2
-kernelimage=zImage-$machine
-bareboximage=barebox-${machine}.bin
-bareboxenvimage=barebox-${machine}.bin
+kernelimage=zImage-$hostname
+bareboximage=barebox-${hostname}.bin
+bareboxenvimage=barebox-${hostname}.bin
if [ -n $user ]; then
bareboximage="$user"-"$bareboximage"
bareboxenvimage="$user"-"$bareboxenvimage"
kernelimage="$user"-"$kernelimage"
rootfsimage="$user"-"$rootfsimage"
- nfsroot="/home/$user/nfsroot/$machine"
+ nfsroot="/home/$user/nfsroot/$hostname"
else
nfsroot="/path/to/nfs/root"
fi