diff options
| author | Wolfgang Denk <wd@pollux.(none)> | 2005-11-20 21:40:11 +0100 | 
|---|---|---|
| committer | Wolfgang Denk <wd@pollux.(none)> | 2005-11-20 21:40:11 +0100 | 
| commit | fe126d8b34d2e7c3c2dc1d4e61086018e016768c (patch) | |
| tree | cf98c7ecc453853f3d8ec4093b5db2587931905b | |
| parent | 5a164c8ca909f170354ea66835b8145c930b2807 (diff) | |
| download | olio-uboot-2014.01-fe126d8b34d2e7c3c2dc1d4e61086018e016768c.tar.xz olio-uboot-2014.01-fe126d8b34d2e7c3c2dc1d4e61086018e016768c.zip | |
Change all '$(...)' variable references into '${...}'
which makes the environment compatible with the hush shell.
WARNING: Support for the old '$(...)' syntax will be
discontinued in a later version.
116 files changed, 615 insertions, 610 deletions
| @@ -2,6 +2,11 @@  Changes for U-Boot 1.1.4:  ====================================================================== +* Change all '$(...)' variable references into '${...}' +  which makes the environment compatible with the hush shell. +  WARNING: Support for the old '$(...)' syntax will be +  discontinued in a later version. +  * Minor changes to init flags in TQM834x PCI.  * Fix Bamboo DDR SDRAM initialization (problem with onboard SDRAM) @@ -1377,7 +1377,7 @@ The following options need to be configured:  		remaining RAM in a form that can be passed as boot  		argument to Linux, for instance like that: -			setenv bootargs ... mem=\$(mem) +			setenv bootargs ... mem=\${mem}  			saveenv  		This way you can tell Linux not to use this memory, @@ -2546,10 +2546,10 @@ Old, simple command line parser:  - supports environment variables (through setenv / saveenv commands)  - several commands on one line, separated by ';' -- variable substitution using "... $(name) ..." syntax +- variable substitution using "... ${name} ..." syntax  - special characters ('$', ';') can be escaped by prefixing with '\',    for example: -	setenv bootcmd bootm \$(address) +	setenv bootcmd bootm \${address}  - You can also escape text by enclosing in single apostrophes, for example:  	setenv addip 'setenv bootargs $bootargs ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname::off' diff --git a/board/LEOX/elpt860/README.LEOX b/board/LEOX/elpt860/README.LEOX index 23bc30287..9052b097b 100644 --- a/board/LEOX/elpt860/README.LEOX +++ b/board/LEOX/elpt860/README.LEOX @@ -124,9 +124,9 @@ nfsserverip=192.168.0.1  preboot=echo;echo Type "run nfsboot" to mount root filesystem over NFS;echo  gatewayip=192.168.0.1  ramargs=setenv bootargs root=/dev/ram rw -rootargs=setenv rootpath /tftp/$(ipaddr) -nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(nfsserverip):$(rootpath) -addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(nfsserverip):$(gatewayip):$(netmask):$(hostname):eth0: +rootargs=setenv rootpath /tftp/${ipaddr} +nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${nfsserverip}:${rootpath} +addip=setenv bootargs ${bootargs} ip=${ipaddr}:${nfsserverip}:${gatewayip}:${netmask}:${hostname}:eth0:  ramboot=tftp 400000 /home/leox/pMulti;run ramargs;bootm  nfsboot=tftp 400000 /home/leox/uImage;run rootargs;run nfsargs;run addip;bootm  bootcmd=run ramboot diff --git a/board/RPXlite_dw/README b/board/RPXlite_dw/README index e88f9aa55..28bcb318e 100644 --- a/board/RPXlite_dw/README +++ b/board/RPXlite_dw/README @@ -94,8 +94,8 @@ like[include/configs/RPXlite.h] :  #define CONFIG_BOOTCOMMAND                                                      \  	"bootp; "                                                               \ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) "     \ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; "   \ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} "     \ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; "   \  	"bootm"  This is enough for kernel NFS test. But as debug process goes on, you would expect diff --git a/board/esd/hh405/hh405.c b/board/esd/hh405/hh405.c index 5c0d070a7..3158803f0 100644 --- a/board/esd/hh405/hh405.c +++ b/board/esd/hh405/hh405.c @@ -263,7 +263,7 @@ unsigned char logo_bmp_1024[] =  au_image_t au_image[] = {  	{"hh405/preinst.img", 0, -1, AU_SCRIPT},  	{"hh405/u-boot.img", 0xfff80000, 0x00080000, AU_FIRMWARE}, -	{"hh405/pImage_$(bd_type)", 0x00000000, 0x00100000, AU_NAND}, +	{"hh405/pImage_${bd_type}", 0x00000000, 0x00100000, AU_NAND},  	{"hh405/pImage.initrd", 0x00100000, 0x00200000, AU_NAND},  	{"hh405/yaffsmt2.img", 0x00300000, 0x01c00000, AU_NAND},  	{"hh405/postinst.img", 0, 0, AU_SCRIPT}, diff --git a/board/esd/plu405/plu405.c b/board/esd/plu405/plu405.c index 16f2360dc..5b9d0631f 100644 --- a/board/esd/plu405/plu405.c +++ b/board/esd/plu405/plu405.c @@ -54,7 +54,7 @@ const unsigned char fpgadata[] =  au_image_t au_image[] = {  	{"plu405/preinst.img", 0, -1, AU_SCRIPT},  	{"plu405/u-boot.img", 0xfffc0000, 0x00040000, AU_FIRMWARE}, -	{"plu405/pImage_$(bd_type)", 0x00000000, 0x00100000, AU_NAND}, +	{"plu405/pImage_${bd_type}", 0x00000000, 0x00100000, AU_NAND},  	{"plu405/pImage.initrd", 0x00100000, 0x00200000, AU_NAND},  	{"plu405/yaffsmt2.img", 0x00300000, 0x01c00000, AU_NAND},  	{"plu405/postinst.img", 0, 0, AU_SCRIPT}, diff --git a/board/fads/fads.h b/board/fads/fads.h index aff1b7efe..1127c7ff7 100644 --- a/board/fads/fads.h +++ b/board/fads/fads.h @@ -58,8 +58,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND							\      "dhcp;"									\ -    "setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) "		\ -    "ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;"	\ +    "setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} "		\ +    "ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;"	\      "bootm"  #undef	CONFIG_WATCHDOG			/* watchdog disabled		*/ diff --git a/board/hymod/global_env b/board/hymod/global_env index 43cab1d1c..f61d0807d 100644 --- a/board/hymod/global_env +++ b/board/hymod/global_env @@ -135,26 +135,26 @@ newboot=run fetchboot eraseboot copyboot cmpboot  fetchlinux=tftp 100000 /hymod/linux.bin  eraselinux=erase 1:2-4 -copylinux=cp.b 100000 40080000 $(filesize) -cmplinux=cmp.b 100000 40080000 $(filesize) +copylinux=cp.b 100000 40080000 ${filesize} +cmplinux=cmp.b 100000 40080000 ${filesize}  newlinux=run fetchlinux eraselinux copylinux cmplinux  fetchaltlinux=tftp 100000 /hymod/altlinux.bin  erasealtlinux=erase 1:5-7 -copyaltlinux=cp.b 100000 40140000 $(filesize) -cmpaltlinux=cmp.b 100000 40140000 $(filesize) +copyaltlinux=cp.b 100000 40140000 ${filesize} +cmpaltlinux=cmp.b 100000 40140000 ${filesize}  newaltlinux=run fetchaltlinux erasealtlinux copyaltlinux cmpaltlinux  fetchroot=tftp 100000 /hymod/root.bin  eraseroot=erase 1:8-47 -copyroot=cp.b 100000 40200000 $(filesize) -cmproot=cmp.b 100000 40200000 $(filesize) +copyroot=cp.b 100000 40200000 ${filesize} +cmproot=cmp.b 100000 40200000 ${filesize}  newroot=run fetchroot eraseroot copyroot cmproot  fetchard=tftp 100000 /hymod/apprd.bin  eraseard=erase 1:48-63 -copyard=cp.b 100000 40c00000 $(filesize) -cmpard=cmp.b 100000 40c00000 $(filesize) +copyard=cp.b 100000 40c00000 ${filesize} +cmpard=cmp.b 100000 40c00000 ${filesize}  newapprd=run fetchard eraseard copyard cmpard  # pass above map to linux mtd driver diff --git a/board/lwmon/README.keybd b/board/lwmon/README.keybd index 788c86445..54f0aeb81 100644 --- a/board/lwmon/README.keybd +++ b/board/lwmon/README.keybd @@ -100,10 +100,10 @@ In U-Boot werden folgende Environment-Variablen gesetzt und abgespei-  chert:  (1)	=> setenv magic_keys 01234#X -(2)	=> setenv key_cmd# setenv addfb setenv bootargs \\$(bootargs) console=tty0 console=ttyS1,\\$(baudrate) -(3)	=> setenv nfsargs setenv bootargs root=/dev/nfs rw nfsroot=\$(serverip):\$(rootpath) -(4)	=> setenv addip setenv bootargs \$(bootargs) ip=\$(ipaddr):\$(serverip):\$(gatewayip):\$(netmask):\$(hostname)::off panic=1 -(5)	=> setenv addfb setenv bootargs \$(bootargs) console=ttyS1,\$(baudrate) +(2)	=> setenv key_cmd# setenv addfb setenv bootargs \\${bootargs} console=tty0 console=ttyS1,\\${baudrate} +(3)	=> setenv nfsargs setenv bootargs root=/dev/nfs rw nfsroot=\${serverip}:\${rootpath} +(4)	=> setenv addip setenv bootargs \${bootargs} ip=\${ipaddr}:\${serverip}:\${gatewayip}:\${netmask}:\${hostname}::off panic=1 +(5)	=> setenv addfb setenv bootargs \${bootargs} console=ttyS1,\${baudrate}  (6)	=> setenv bootcmd bootp\;run nfsargs\;run addip\;run addfb\;bootm  Hierbei wird die Linux Commandline (in der Variablen  "bootargs")  im diff --git a/board/mousse/README b/board/mousse/README index 61aacce5d..d5dda7a8e 100644 --- a/board/mousse/README +++ b/board/mousse/README @@ -132,7 +132,7 @@ pins 1-2 and follow the procedure below to FLASH a bootrom  tftp 100000 u-boot.bin  protect off FFF00000 FFF7FFFF  erase FFF00000 FFF7FFFF -cp.b 100000 FFF00000 \$(filesize)\ +cp.b 100000 FFF00000 \${filesize}\  Here is an example: @@ -169,7 +169,7 @@ into the onboard FLASH region (AMD29LV160DB 2MB FLASH):  tftp 100000 u-boot.bin  protect off FFF80000 FFFFFFFF  erase FFF80000 FFFFFFFF -cp.b 100000 FFF80000 \$(filesize)\ +cp.b 100000 FFF80000 \${filesize}\  C. FLASH KERNEL REGION (960KB) @@ -183,7 +183,7 @@ The following commands will FLASH a kernel image to 0xffe10000  tftp 100000 vmlinux.img  protect off FFE10000 FFEFFFFF  erase FFE10000 FFEFFFFF -cp.b 100000 FFE10000 \$(filesize)\ +cp.b 100000 FFE10000 \${filesize}\  reset  Here is an example: diff --git a/board/siemens/common/README b/board/siemens/common/README index d78190384..7f1c8cd62 100644 --- a/board/siemens/common/README +++ b/board/siemens/common/README @@ -19,7 +19,7 @@ Die MTD-Partitionierung kann nun mittels "bootargs" ueber-  geben werden:    => printenv addmtd -  addmtd=setenv bootargs $(bootargs) +  addmtd=setenv bootargs ${bootargs}      mtdparts=0:256k(U-Boot)ro,768k(Kernel),-(Rest)\;1:-(myJFFS2)  Die Portierung auf SMC ist natuerlich noch nicht getestet. diff --git a/doc/README.Sandpoint8240 b/doc/README.Sandpoint8240 index b506c01ce..a41b69ace 100644 --- a/doc/README.Sandpoint8240 +++ b/doc/README.Sandpoint8240 @@ -253,7 +253,7 @@ bootfile=telemetry  hostname=sp1  ethaddr=00:03:47:97:E4:6B  load=tftp 100000 u-boot.bin -update=protect off all;era FFF00000 FFF3FFFF;cp.b 100000 FFF00000 $(filesize);saveenv +update=protect off all;era FFF00000 FFF3FFFF;cp.b 100000 FFF00000 ${filesize};saveenv  filesize=1f304  gatewayip=145.17.228.1  netmask=255.255.255.0 @@ -308,7 +308,7 @@ Protected 1 sectors  You can put these commands into some environment variables;  => setenv load tftp 100000 u-boot.bin -=> setenv update protect off all\;era FFF00000 FFF3FFFF\;cp.b 100000 FFF00000 \$(filesize)\;saveenv +=> setenv update protect off all\;era FFF00000 FFF3FFFF\;cp.b 100000 FFF00000 \${filesize}\;saveenv  => saveenv  Then you just have to type "run load" then "run update" diff --git a/doc/README.dk1s10 b/doc/README.dk1s10 index bb8375a6b..622bef537 100644 --- a/doc/README.dk1s10 +++ b/doc/README.dk1s10 @@ -118,11 +118,11 @@ see the following:     at the Altera Standard 32 to SRAM: -	==> cp.b 800000 40000 $(filesize) +	==> cp.b 800000 40000 ${filesize}     at the Microtronix LDK 2.0 to SDRAM: -	==> cp.b 1010000 8000000 $(filesize) +	==> cp.b 1010000 8000000 ${filesize}  U-Boot will now automatically start when the board is powered on or  reset using the Standard-32 configuration. To start U-Boot with the diff --git a/include/configs/AMX860.h b/include/configs/AMX860.h index c23fcc7a0..14d56bfd9 100644 --- a/include/configs/AMX860.h +++ b/include/configs/AMX860.h @@ -55,8 +55,8 @@  #define CONFIG_BOOTCOMMAND							\  	"bootp;"								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) "	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;"	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} "	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;"	\  	"bootm"				/* autoboot command */  #undef CONFIG_BOOTARGS diff --git a/include/configs/APC405.h b/include/configs/APC405.h index 3ac567b4d..3df99a008 100644 --- a/include/configs/APC405.h +++ b/include/configs/APC405.h @@ -49,12 +49,12 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_RAMBOOTCOMMAND							\ -	"setenv bootargs root=/dev/ram rw nfsroot=$(serverip):$(rootpath) "	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;"	\ +	"setenv bootargs root=/dev/ram rw nfsroot=${serverip}:${rootpath} "	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;"	\  	"bootm ffc00000 ffca0000"  #define CONFIG_NFSBOOTCOMMAND							\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) "	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;"	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} "	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;"	\  	"bootm ffc00000"  #define CONFIG_BOOTCOMMAND CONFIG_RAMBOOTCOMMAND diff --git a/include/configs/BAB7xx.h b/include/configs/BAB7xx.h index 81c8d59e8..46bdfa2ee 100644 --- a/include/configs/BAB7xx.h +++ b/include/configs/BAB7xx.h @@ -59,8 +59,8 @@  #define CONFIG_BOOTCOMMAND                                  \      "bootp 1000000; "                                       \      "setenv bootargs root=ramfs console=ttyS00,9600 "       \ -    "ip=$(ipaddr):$(serverip):$(rootpath):$(gatewayip):"    \ -    "$(netmask):$(hostname):eth0:none; "                    \ +    "ip=${ipaddr}:${serverip}:${rootpath}:${gatewayip}:"    \ +    "${netmask}:${hostname}:eth0:none; "                    \      "bootm"  #define CONFIG_LOADS_ECHO       0       /* echo off for serial download */ diff --git a/include/configs/CCM.h b/include/configs/CCM.h index 9401db17d..e8994ffef 100644 --- a/include/configs/CCM.h +++ b/include/configs/CCM.h @@ -59,8 +59,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND      "setenv bootargs " \ -				"mem=$(mem) " \ -				"root=/dev/ram rw ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off " \ +				"mem=${mem} " \ +				"root=/dev/ram rw ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off " \  				"wt_8xx=timeout:3600; " \  				"bootm" diff --git a/include/configs/CPU86.h b/include/configs/CPU86.h index 09185b1db..16a9ea5dd 100644 --- a/include/configs/CPU86.h +++ b/include/configs/CPU86.h @@ -118,8 +118,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND							\  	"bootp; " 								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " 	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " 	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " 	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " 	\  	"bootm"  /*----------------------------------------------------------------------- diff --git a/include/configs/CPU87.h b/include/configs/CPU87.h index c50870fed..a23d7e50b 100644 --- a/include/configs/CPU87.h +++ b/include/configs/CPU87.h @@ -122,8 +122,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND							\  	"bootp; "								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) "	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; "	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} "	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; "	\  	"bootm"  /*----------------------------------------------------------------------- diff --git a/include/configs/DB64360.h b/include/configs/DB64360.h index e2b4b1da6..bd7aff12c 100644 --- a/include/configs/DB64360.h +++ b/include/configs/DB64360.h @@ -174,8 +174,8 @@ if we use PCI it has its own MAC addr */  /* ronen - autoboot using tftp */  #if (CONFIG_BOOTDELAY >= 0)  #define CONFIG_BOOTCOMMAND	"tftpboot 0x400000 uImage;\ - setenv bootargs $(bootargs) $(bootargs_root) nfsroot=$(serverip):$(rootpath) \ - ip=$(ipaddr):$(serverip)$(bootargs_end);  bootm 0x400000; " + setenv bootargs ${bootargs} ${bootargs_root} nfsroot=${serverip}:${rootpath} \ + ip=${ipaddr}:${serverip}${bootargs_end};  bootm 0x400000; "  #define CONFIG_BOOTARGS "console=ttyS0,115200" @@ -190,8 +190,8 @@ cp.b 100000 FFF00000 0x40000;protect on 1:0-7;\0" \        "bootargs_root=root=/dev/nfs rw\0" \        "bootargs_end=:::DB64360:eth0:none \0"\        "ethprime=mv_enet0\0"\ -      "standalone=fsload 0x400000 uImage;setenv bootargs $(bootargs) root=/dev/mtdblock/0 rw \ -ip=$(ipaddr):$(serverip)$(bootargs_end); bootm 0x400000;\0" +      "standalone=fsload 0x400000 uImage;setenv bootargs ${bootargs} root=/dev/mtdblock/0 rw \ +ip=${ipaddr}:${serverip}${bootargs_end}; bootm 0x400000;\0"  /* --------------------------------------------------------------------------------------------------------------- */  /* New bootcommands for Marvell DB64360 c 2002 Ingo Assmus */ diff --git a/include/configs/DB64460.h b/include/configs/DB64460.h index 5f541bb9a..4b72e9b9e 100644 --- a/include/configs/DB64460.h +++ b/include/configs/DB64460.h @@ -112,8 +112,8 @@  /* ronen - autoboot using tftp */  #if (CONFIG_BOOTDELAY >= 0)  #define CONFIG_BOOTCOMMAND	"tftpboot 0x400000 uImage;\ - setenv bootargs $(bootargs) $(bootargs_root) nfsroot=$(serverip):$(rootpath) \ - ip=$(ipaddr):$(serverip)$(bootargs_end);  bootm 0x400000; " + setenv bootargs ${bootargs} ${bootargs_root} nfsroot=${serverip}:${rootpath} \ + ip=${ipaddr}:${serverip}${bootargs_end};  bootm 0x400000; "  #define CONFIG_BOOTARGS "console=ttyS0,115200" @@ -128,8 +128,8 @@ cp.b 100000 FFF00000 0x40000;protect on 1:0-7;\0" \        "bootargs_root=root=/dev/nfs rw\0" \        "bootargs_end=:::DB64460:eth0:none \0"\        "ethprime=mv_enet0\0"\ -      "standalone=fsload 0x400000 uImage;setenv bootargs $(bootargs) root=/dev/mtdblock/0 rw \ -ip=$(ipaddr):$(serverip)$(bootargs_end); bootm 0x400000;\0" +      "standalone=fsload 0x400000 uImage;setenv bootargs ${bootargs} root=/dev/mtdblock/0 rw \ +ip=${ipaddr}:${serverip}${bootargs_end}; bootm 0x400000;\0"  /* --------------------------------------------------------------------------------------------------------------- */  /* New bootcommands for Marvell DB64460 c 2002 Ingo Assmus */ diff --git a/include/configs/ELPPC.h b/include/configs/ELPPC.h index e51d05804..2c99b4b16 100644 --- a/include/configs/ELPPC.h +++ b/include/configs/ELPPC.h @@ -59,8 +59,8 @@  #define CONFIG_BOOTCOMMAND                                  \      "bootp 1000000; "                                       \      "setenv bootargs root=ramfs console=ttyS00,9600 "       \ -    "ip=$(ipaddr):$(serverip):$(rootpath):$(gatewayip):"    \ -    "$(netmask):$(hostname):eth0:none; "                    \ +    "ip=${ipaddr}:${serverip}:${rootpath}:${gatewayip}:"    \ +    "${netmask}:${hostname}:eth0:none; "                    \      "bootm"  #define CONFIG_LOADS_ECHO       0       /* echo off for serial download */ diff --git a/include/configs/ELPT860.h b/include/configs/ELPT860.h index 5bfdc9be1..e73bcec44 100644 --- a/include/configs/ELPT860.h +++ b/include/configs/ELPT860.h @@ -68,12 +68,12 @@  #define CONFIG_EXTRA_ENV_SETTINGS					\      "ramargs=setenv bootargs root=/dev/ram rw\0"			\ -    "rootargs=setenv rootpath /tftp/$(ipaddr)\0"			\ +    "rootargs=setenv rootpath /tftp/${ipaddr}\0"			\      "nfsargs=setenv bootargs root=/dev/nfs rw "				\ -	"nfsroot=$(serverip):$(rootpath)\0"				\ -    "addip=setenv bootargs $(bootargs) "				\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"		\ -	":$(hostname):eth0:off panic=1\0"				\ +	"nfsroot=${serverip}:${rootpath}\0"				\ +    "addip=setenv bootargs ${bootargs} "				\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"		\ +	":${hostname}:eth0:off panic=1\0"				\      "ramboot=tftp 400000 /home/paugaml/pMulti;"				\  	"run ramargs;bootm\0"						\      "nfsboot=tftp 400000 /home/paugaml/uImage;"				\ diff --git a/include/configs/ETX094.h b/include/configs/ETX094.h index 137b1a71b..d55eb7d19 100644 --- a/include/configs/ETX094.h +++ b/include/configs/ETX094.h @@ -66,12 +66,12 @@  	"setenv bootargs root=/dev/ram rw ramdisk_size=4690 "			\  	"U-Boot_version=U-Boot-1.0.x-Date "					\  	"panic=1 "								\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; "	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; "	\  	"bootm"  #define CONFIG_NFSBOOTCOMMAND							\  	"bootp; "								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(nfsip):$(rootpath) "	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; "	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${nfsip}:${rootpath} "	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; "	\  	"bootm"  #define CONFIG_BOOTCOMMAND CONFIG_RAMBOOTCOMMAND diff --git a/include/configs/FADS823.h b/include/configs/FADS823.h index 726ab371e..1b562d606 100644 --- a/include/configs/FADS823.h +++ b/include/configs/FADS823.h @@ -96,8 +96,8 @@  #define CONFIG_BOOTCOMMAND							\  "bootp ;" 									\  "setenv bootargs console=tty0 console=ttyS0 " 					\ -"root=/dev/nfs nfsroot=$(serverip):$(rootpath) " 				\ -"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off ;" 	\ +"root=/dev/nfs nfsroot=${serverip}:${rootpath} " 				\ +"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:eth0:off ;" 	\  "bootm"  #else  #define CONFIG_BOOTDELAY	0	/* autoboot disabled		*/ diff --git a/include/configs/G2000.h b/include/configs/G2000.h index d9a7fb0fb..db42fd06f 100644 --- a/include/configs/G2000.h +++ b/include/configs/G2000.h @@ -54,19 +54,19 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off\0"				\ -	"addmisc=setenv bootargs $(bootargs) "				\ -		"console=ttyS0,$(baudrate) "				\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off\0"				\ +	"addmisc=setenv bootargs ${bootargs} "				\ +		"console=ttyS0,${baudrate} "				\  		"panic=1\0"						\  	"flash_nfs=run nfsargs addip addmisc;"				\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip addmisc;"				\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);"				\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};"				\  		"run nfsargs addip addmisc;bootm\0"			\  	"rootpath=/opt/eldk/ppc_4xx\0"					\  	"bootfile=/tftpboot/g2000/pImage\0"				\ diff --git a/include/configs/GEN860T.h b/include/configs/GEN860T.h index 0702c2cf6..de8f7ae71 100644 --- a/include/configs/GEN860T.h +++ b/include/configs/GEN860T.h @@ -92,8 +92,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND	\  	"bootp;" \ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " \ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " \ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " \ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " \  	"bootm"  /* diff --git a/include/configs/GENIETV.h b/include/configs/GENIETV.h index ef2cb3a85..8c01d97fa 100644 --- a/include/configs/GENIETV.h +++ b/include/configs/GENIETV.h @@ -96,8 +96,8 @@  #define CONFIG_BOOTCOMMAND							\  "bootp; tftp; "									\  "setenv bootargs console=tty0 console=ttyS0 " 					\ -"root=/dev/nfs nfsroot=$(serverip):$(rootpath) " 				\ -"ip=$(ipaddr):$(serverip):$(gatewayip):$(subnetmask):$(hostname):eth0:off ;" 	\ +"root=/dev/nfs nfsroot=${serverip}:${rootpath} " 				\ +"ip=${ipaddr}:${serverip}:${gatewayip}:${subnetmask}:${hostname}:eth0:off ;" 	\  "bootm "  #else  #define CONFIG_BOOTDELAY	0	/* autoboot disabled		*/ diff --git a/include/configs/HMI10.h b/include/configs/HMI10.h index 6645b8bab..7cce87692 100644 --- a/include/configs/HMI10.h +++ b/include/configs/HMI10.h @@ -67,16 +67,16 @@  #define CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_8xx\0"					\  	"bootfile=/tftpboot/HMI10/uImage\0"				\  	"kernel_addr=40040000\0"					\ diff --git a/include/configs/IAD210.h b/include/configs/IAD210.h index 32d59a4d7..35d84aedf 100644 --- a/include/configs/IAD210.h +++ b/include/configs/IAD210.h @@ -71,8 +71,8 @@  #undef	CONFIG_BOOTARGS  /* #define CONFIG_BOOTCOMMAND							\   	"bootp;" 								\ - 	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " 	\ - 	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;" 	\ + 	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " 	\ + 	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;" 	\   	"bootm"  */ diff --git a/include/configs/ICU862.h b/include/configs/ICU862.h index 73ff0a356..cd1793589 100644 --- a/include/configs/ICU862.h +++ b/include/configs/ICU862.h @@ -73,8 +73,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND							\  	"bootp;" 								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " 	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;" 	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " 	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;" 	\  	"bootm"  #undef	CONFIG_WATCHDOG			/* watchdog disabled		*/ diff --git a/include/configs/IDS8247.h b/include/configs/IDS8247.h index 729b04869..aaa44c539 100644 --- a/include/configs/IDS8247.h +++ b/include/configs/IDS8247.h @@ -50,17 +50,17 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw "			\  	"console=ttyS0,115200\0"					\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_82xx\0"					\  	"bootfile=/tftpboot/IDS8247/uImage\0"				\  	"kernel_addr=ff800000\0"					\ diff --git a/include/configs/IP860.h b/include/configs/IP860.h index aa2243f3a..0e20e5676 100644 --- a/include/configs/IP860.h +++ b/include/configs/IP860.h @@ -42,13 +42,13 @@  #define CONFIG_BOOTDELAY	5	/* autoboot after 5 seconds	*/  #define CONFIG_PREBOOT	"echo;echo Type \"run flash_nfs\" to mount root filesystem over NFS;echo" \ -"\0load=tftp \"/tftpboot/u-boot.bin\"\0update=protect off 1:0;era 1:0;cp.b 100000 10000000 $(filesize)\0" +"\0load=tftp \"/tftpboot/u-boot.bin\"\0update=protect off 1:0;era 1:0;cp.b 100000 10000000 ${filesize}\0"  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND							\  	"bootp; "								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) "	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; "	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} "	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; "	\  	"bootm"  #define CONFIG_LOADS_ECHO	1	/* echo on for serial download	*/ diff --git a/include/configs/IceCube.h b/include/configs/IceCube.h index 9d4e7b230..afba5c625 100644 --- a/include/configs/IceCube.h +++ b/include/configs/IceCube.h @@ -140,16 +140,16 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_82xx\0"					\  	"bootfile=/tftpboot/MPC5200/uImage\0"				\  	"" diff --git a/include/configs/KUP4K.h b/include/configs/KUP4K.h index 4d39b352a..9b950fc5d 100644 --- a/include/configs/KUP4K.h +++ b/include/configs/KUP4K.h @@ -61,16 +61,16 @@   "run addhw; diskboot 200000 2:1; bootm 200000\0"				\  "nfs_boot=dhcp; run nfsargs addip addhw; bootm 200000\0"			\  "panic_boot=echo No Bootdevice !!! reset\0"					\ -"nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath)\0"	\ +"nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}\0"	\  "ramargs=setenv bootargs root=/dev/ram rw\0"					\ -"addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip)"	\ - ":$(netmask):$(hostname):$(netdev):off\0"					\ -"addhw=setenv bootargs $(bootargs) hw=$(hw) key1=$(key1) panic=1\0"		\ +"addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}"	\ + ":${netmask}:${hostname}:${netdev}:off\0"					\ +"addhw=setenv bootargs ${bootargs} hw=${hw} key1=${key1} panic=1\0"		\  "netdev=eth0\0"									\  "contrast=55\0"									\  "silent=1\0"									\  "load=tftp 200000 bootloader-4k.bitmap;tftp 100000 bootloader-4k.bin\0"		\ -"update=protect off 1:0-7;era 1:0-7;cp.b 100000 40000000 $(filesize);"		\ +"update=protect off 1:0-7;era 1:0-7;cp.b 100000 40000000 ${filesize};"		\   "cp.b 200000 40050000 14000\0"  #define CONFIG_BOOTCOMMAND  \ diff --git a/include/configs/KUP4X.h b/include/configs/KUP4X.h index 9a42cb17d..cd38b0f2c 100644 --- a/include/configs/KUP4X.h +++ b/include/configs/KUP4X.h @@ -72,15 +72,15 @@   usb stop; bootm 200000\0"      \  "nfs_boot=dhcp;run nfsargs addip addhw;bootm 200000\0"				\  "panic_boot=echo No Bootdevice !!! reset\0"					\ -"nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath)\0"	\ +"nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}\0"	\  "ramargs=setenv bootargs root=/dev/ram rw\0"					\ -"addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip)"	\ - ":$(netmask):$(hostname):$(netdev):off\0"					\ -"addhw=setenv bootargs $(bootargs) hw=$(hw) key1=$(key1) panic=1\0"		\ +"addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}"	\ + ":${netmask}:${hostname}:${netdev}:off\0"					\ +"addhw=setenv bootargs ${bootargs} hw=${hw} key1=${key1} panic=1\0"		\  "netdev=eth0\0"									\  "silent=1\0"									\  "load=tftp 200000 bootloader-4x.bitmap;tftp 100000 bootloader-4x.bin\0"		\ -"update=protect off 1:0-5;era 1:0-5;cp.b 100000 40000000 $(filesize);"		\ +"update=protect off 1:0-5;era 1:0-5;cp.b 100000 40000000 ${filesize};"		\   "cp.b 200000 40040000 14000\0"  #define CONFIG_BOOTCOMMAND  \ diff --git a/include/configs/MHPC.h b/include/configs/MHPC.h index cd21c2dbb..53684ca6b 100644 --- a/include/configs/MHPC.h +++ b/include/configs/MHPC.h @@ -58,8 +58,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND	\  	"bootp;"								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) "	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;"	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} "	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;"	\  	"bootm"  #define CONFIG_LOADS_ECHO	1	/* echo on for serial download	*/ diff --git a/include/configs/MPC8266ADS.h b/include/configs/MPC8266ADS.h index 4ebbf35c9..4953b7053 100644 --- a/include/configs/MPC8266ADS.h +++ b/include/configs/MPC8266ADS.h @@ -188,7 +188,7 @@  	"echo;" \  	"bootp;" \  	"setenv bootargs root=/dev/ram0 rw " \ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;" \ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;" \  	"bootm"  #endif /* CONFIG_BOOT_ROOT_INITRD */ @@ -197,8 +197,8 @@  	"version;" \  	"echo;" \  	"bootp;" \ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " \ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;" \ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " \ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;" \  	"bootm"  #endif /* CONFIG_BOOT_ROOT_NFS */ diff --git a/include/configs/MVBLUE.h b/include/configs/MVBLUE.h index 32f9e91c3..88eefa190 100644 --- a/include/configs/MVBLUE.h +++ b/include/configs/MVBLUE.h @@ -111,9 +111,9 @@      "flashboot=setenv bootargs root=/dev/mtdblock5 ro rootfstype=jffs2;run addcons;bootm ffc00000\0"	\      "safeboot=setenv bootargs root=/dev/mtdblock2 rw rootfstype=cramfs;run addcons;bootm ffc00000\0"	\      "hdboot=setenv bootargs root=/dev/hda1;run addcons;bootm ffc00000\0"	\ -	"nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) "	\ -			"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off\0"	\ -	"addcons=setenv bootargs $(bootargs) console=ttyS$(console_nr),$(baudrate)N8\0" \ +	"nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} "	\ +			"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off\0"	\ +	"addcons=setenv bootargs ${bootargs} console=ttyS${console_nr},${baudrate}N8\0" \      "mv_version=" MV_VERSION "\0"	\  	"bootretry=30\0" diff --git a/include/configs/MVS1.h b/include/configs/MVS1.h index 49bdc45a4..599591826 100644 --- a/include/configs/MVS1.h +++ b/include/configs/MVS1.h @@ -50,8 +50,8 @@  #define	CONFIG_BOOTARGS		"root=/dev/mtdblock2 rw"  #define CONFIG_BOOTCOMMAND						\      "bootp; "                               				\ -    "setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " \ -    "ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; "   \ +    "setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " \ +    "ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; "   \      "bootm"  #define CONFIG_LOADS_ECHO	1	/* echo on for serial download	*/ diff --git a/include/configs/NC650.h b/include/configs/NC650.h index cd04c1ad5..371ea17ed 100644 --- a/include/configs/NC650.h +++ b/include/configs/NC650.h @@ -71,8 +71,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND							\  	"bootp;" 								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " 	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;" 	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " 	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;" 	\  	"bootm"  #undef	CONFIG_WATCHDOG			/* watchdog disabled		*/ diff --git a/include/configs/NSCU.h b/include/configs/NSCU.h index db86cf382..d99442009 100644 --- a/include/configs/NSCU.h +++ b/include/configs/NSCU.h @@ -56,16 +56,16 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_8xx\0"					\  	"bootfile=/tftpboot/NSCU/uImage\0"				\  	"kernel_addr=40080000\0"					\ diff --git a/include/configs/P3G4.h b/include/configs/P3G4.h index 7d6bbf51d..a933e1b18 100644 --- a/include/configs/P3G4.h +++ b/include/configs/P3G4.h @@ -90,17 +90,17 @@  	"netdev=eth0\0"							\  	"hostname=p3g4\0"						\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ -	"addtty=setenv bootargs $(bootargs) console=ttyS0,$(baudrate)\0"\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\ +	"addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}\0"\  	"flash_nfs=run nfsargs addip addtty;"				\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip addtty;"				\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip addtty;"     \ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \  	        "bootm\0"						\  	"rootpath=/opt/eldk/ppc_74xx\0"					\  	"bootfile=/tftpboot/p3g4/uImage\0"				\ @@ -108,7 +108,7 @@  	"ramdisk_addr=ff010000\0"					\  	"load=tftp 100000 /tftpboot/p3g4/u-boot.bin\0"			\  	"update=protect off fff00000 fff3ffff;era fff00000 fff3ffff;"	\ -		"cp.b 100000 fff00000 $(filesize);"			\ +		"cp.b 100000 fff00000 ${filesize};"			\  		"setenv filesize;saveenv\0"				\  	"upd=run load;run update\0"					\  	"" diff --git a/include/configs/PM520.h b/include/configs/PM520.h index 118998934..9f1dec82b 100644 --- a/include/configs/PM520.h +++ b/include/configs/PM520.h @@ -138,16 +138,16 @@  	"netdev=eth0\0"							\  	"hostname=pm520\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk30/ppc_82xx\0"					\  	"bootfile=/tftpboot/PM520/uImage\0"				\  	"" diff --git a/include/configs/PM826.h b/include/configs/PM826.h index 9ca1e5229..6e5e3bbe1 100644 --- a/include/configs/PM826.h +++ b/include/configs/PM826.h @@ -48,8 +48,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND							\  	"bootp; " 								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " 	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " 	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " 	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " 	\  	"bootm"  /* enable I2C and select the hardware/software driver */ diff --git a/include/configs/PM828.h b/include/configs/PM828.h index 7d98df5ca..982a1f814 100644 --- a/include/configs/PM828.h +++ b/include/configs/PM828.h @@ -48,8 +48,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND							\  	"bootp;"								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) "	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;"	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} "	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;"	\  	"bootm"  /* enable I2C and select the hardware/software driver */ diff --git a/include/configs/PN62.h b/include/configs/PN62.h index 5f748a036..a717659bb 100644 --- a/include/configs/PN62.h +++ b/include/configs/PN62.h @@ -68,8 +68,8 @@  #define CONFIG_BOOTCOMMAND \  			"setenv verify y;" \         			"setenv bootargs console=ttyS0,19200 mem=31M quiet " \ -			"root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " \ -			"ip=$(ipaddr):$(serverip)::$(netmask):pn62:eth0:off;" \ +			"root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " \ +			"ip=${ipaddr}:${serverip}::${netmask}:pn62:eth0:off;" \  			"loadp 100000; bootm"  			/* "tftpboot 100000 uImage; bootm" */  #else @@ -78,7 +78,7 @@  			"setenv verify n;" \         			"setenv bootargs console=ttyS0,19200 mem=31M quiet " \  			"root=/dev/ram rw " \ -			"ip=$(ipaddr):$(serverip)::$(netmask):pn62:eth0:off;" \ +			"ip=${ipaddr}:${serverip}::${netmask}:pn62:eth0:off;" \  			"loadp 200000; bootm"  #endif diff --git a/include/configs/QS860T.h b/include/configs/QS860T.h index 37c5cf430..32faa6160 100644 --- a/include/configs/QS860T.h +++ b/include/configs/QS860T.h @@ -79,8 +79,8 @@  #undef CONFIG_BOOTARGS  /* TODO compare against CADM860 */  #define CONFIG_BOOTCOMMAND	"bootp; " \ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " \ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " \ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " \ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " \  	"bootm"  #define CONFIG_LOADS_ECHO	1	/* echo on for serial download */ diff --git a/include/configs/R360MPI.h b/include/configs/R360MPI.h index d7b093b3c..82228c012 100644 --- a/include/configs/R360MPI.h +++ b/include/configs/R360MPI.h @@ -63,8 +63,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND							\  	"bootp; " 								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " 	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " 	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " 	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " 	\  	"bootm"  #undef	CONFIG_SCC1_ENET diff --git a/include/configs/RBC823.h b/include/configs/RBC823.h index dbc3c8633..242c837a3 100644 --- a/include/configs/RBC823.h +++ b/include/configs/RBC823.h @@ -66,8 +66,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND							\  	"bootp; " 								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " 	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " 	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " 	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " 	\  	"bootm"  #define CONFIG_LOADS_ECHO	1	/* echo on for serial download	*/ diff --git a/include/configs/RPXClassic.h b/include/configs/RPXClassic.h index 7294561b0..591382cd2 100644 --- a/include/configs/RPXClassic.h +++ b/include/configs/RPXClassic.h @@ -79,8 +79,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND							\  	"tftpboot; " 								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " 	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " 	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " 	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " 	\  	"bootm"  #define CONFIG_LOADS_ECHO	1	/* echo on for serial download	*/ diff --git a/include/configs/RPXlite.h b/include/configs/RPXlite.h index 04293f3e9..6b6503109 100644 --- a/include/configs/RPXlite.h +++ b/include/configs/RPXlite.h @@ -58,8 +58,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND							\  	"bootp; " 								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " 	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " 	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " 	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " 	\  	"bootm"  #define CONFIG_LOADS_ECHO	1	/* echo on for serial download	*/ diff --git a/include/configs/RPXlite_DW.h b/include/configs/RPXlite_DW.h index ea01bc475..8cd7df1ec 100644 --- a/include/configs/RPXlite_DW.h +++ b/include/configs/RPXlite_DW.h @@ -83,25 +83,25 @@  #define CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs console=tty0 console=ttyS0,9600 "	\ -		"root=/dev/nfs rw nfsroot=$(serverip):$(rootpath)\0"	\ +		"root=/dev/nfs rw nfsroot=${serverip}:${rootpath}\0"	\  	"ramargs=setenv bootargs console=tty0 root=/dev/ram rw\0"	\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"gatewayip=172.16.115.254\0"					\  	"netmask=255.255.255.0\0"					\  	"kernel_addr=ff040000\0"					\  	"ramdisk_addr=ff200000\0"					\ -	"ku=era $(kernel_addr) ff1fffff;cp.b 100000 $(kernel_addr) "	\ -		"$(filesize);md $(kernel_addr);"			\ +	"ku=era ${kernel_addr} ff1fffff;cp.b 100000 ${kernel_addr} "	\ +		"${filesize};md ${kernel_addr};"			\  		"echo kernel updating finished\0"			\  	"uu=protect off 1:0-4;era 1:0-4;cp.b 100000 ff000000 "		\ -		"$(filesize);md ff000000;"				\ +		"${filesize};md ff000000;"				\  		"echo u-boot updating finished\0"			\  	"eu=protect off 1:6;era 1:6;reset\0"				\  	"lcd=setenv stdout lcd;setenv stdin lcd\0"			\ diff --git a/include/configs/RRvision.h b/include/configs/RRvision.h index 7f2c8a474..3885bcdb1 100644 --- a/include/configs/RRvision.h +++ b/include/configs/RRvision.h @@ -65,22 +65,22 @@  	"netdev=eth0\0"							\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ -	"addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip)"	\ -		":$(gatewayip):$(netmask):$(hostname):$(netdev):off\0"	\ -	"addtty=setenv bootargs $(bootargs) console=ttyS0,$(baudrate)\0"\ +		"nfsroot=${serverip}:${rootpath}\0"			\ +	"addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}"	\ +		":${gatewayip}:${netmask}:${hostname}:${netdev}:off\0"	\ +	"addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}\0"\  	"load=tftp 100000 /tftpboot/u-boot.bin\0"			\  	"update=protect off 1:0-8;era 1:0-8;"				\ -		"cp.b 100000 40000000 $(filesize);"			\ +		"cp.b 100000 40000000 ${filesize};"			\  		"setenv filesize;saveenv\0"				\  	"kernel_addr=40040000\0"					\  	"ramdisk_addr=40100000\0"					\  	"kernel_img=/tftpboot/uImage\0"					\ -	"kernel_load=tftp 200000 $(kernel_img)\0"			\ +	"kernel_load=tftp 200000 ${kernel_img}\0"			\  	"net_nfs=run kernel_load nfsargs addip addtty;bootm\0"		\ -	"flash_nfs=run nfsargs addip addtty;bootm $(kernel_addr)\0"	\ +	"flash_nfs=run nfsargs addip addtty;bootm ${kernel_addr}\0"	\  	"flash_self=run ramargs addip addtty;"				\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0" +		"bootm ${kernel_addr} ${ramdisk_addr}\0"  #define CONFIG_LOADS_ECHO	1	/* echo on for serial download	*/ diff --git a/include/configs/SCM.h b/include/configs/SCM.h index 91914e80d..e263db65a 100644 --- a/include/configs/SCM.h +++ b/include/configs/SCM.h @@ -68,8 +68,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND							\  	"bootp; " 								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " 	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " 	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " 	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " 	\  	"bootm"  /* enable I2C and select the hardware/software driver */ diff --git a/include/configs/SM850.h b/include/configs/SM850.h index c23b3860a..497762912 100644 --- a/include/configs/SM850.h +++ b/include/configs/SM850.h @@ -55,8 +55,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND							\  	"bootp; " 								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " 	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " 	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " 	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " 	\  	"bootm"  #define CONFIG_LOADS_ECHO	1	/* echo on for serial download	*/ diff --git a/include/configs/Sandpoint8240.h b/include/configs/Sandpoint8240.h index 7c4feee3f..f4339ecd9 100644 --- a/include/configs/Sandpoint8240.h +++ b/include/configs/Sandpoint8240.h @@ -61,16 +61,16 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ -	"net_self=tftp $(kernel_addr) $(bootfile);"			\ -		"tftp $(ramdisk_addr) $(ramdisk);"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\ +	"net_self=tftp ${kernel_addr} ${bootfile};"			\ +		"tftp ${ramdisk_addr} ${ramdisk};"			\  		"run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp $(kernel_addr) $(bootfile);"			\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp ${kernel_addr} ${bootfile};"			\  		"run nfsargs addip;bootm\0"				\  	"rootpath=/opt/eldk/ppc_82xx\0"					\  	"bootfile=/tftpboot/SP8240/uImage\0"				\ diff --git a/include/configs/TOP5200.h b/include/configs/TOP5200.h index e46f5e407..f41dbd0cc 100644 --- a/include/configs/TOP5200.h +++ b/include/configs/TOP5200.h @@ -167,16 +167,16 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_82xx\0"					\  	"bootfile=/tftpboot/MPC5200/uImage\0"				\  	"" diff --git a/include/configs/TOP860.h b/include/configs/TOP860.h index 99a7b08e4..2344b9681 100644 --- a/include/configs/TOP860.h +++ b/include/configs/TOP860.h @@ -404,8 +404,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND	\  	"bootp;" \ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " \ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " \ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " \ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " \  	"bootm"  /* diff --git a/include/configs/TQM5200.h b/include/configs/TQM5200.h index 1236ce35a..e23fd7786 100644 --- a/include/configs/TQM5200.h +++ b/include/configs/TQM5200.h @@ -208,21 +208,21 @@  	"rootpath=/opt/eldk/ppc_6xx\0"					\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr}\0"				\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"bootfile=/tftpboot/tqm5200/uImage\0"				\ -	"load=tftp 200000 $(u-boot)\0"					\ +	"load=tftp 200000 ${u-boot}\0"					\  	"u-boot=/tftpboot/tqm5200/u-boot.bin"	CONFIG_U_BOOT_SUFFIX	\  	"update=protect off FC000000 FC05FFFF;"				\  		"erase FC000000 FC05FFFF;"				\ -		"cp.b 200000 FC000000 $(filesize);"			\ +		"cp.b 200000 FC000000 ${filesize};"			\  		"protect on FC000000 FC05FFFF\0"			\  	"" diff --git a/include/configs/TQM823L.h b/include/configs/TQM823L.h index d12aabecf..b1c70f88c 100644 --- a/include/configs/TQM823L.h +++ b/include/configs/TQM823L.h @@ -58,16 +58,16 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_8xx\0"					\  	"bootfile=/tftpboot/TQM823L/uImage\0"				\  	"kernel_addr=40040000\0"					\ diff --git a/include/configs/TQM823M.h b/include/configs/TQM823M.h index a838a95b5..9f958f547 100644 --- a/include/configs/TQM823M.h +++ b/include/configs/TQM823M.h @@ -58,16 +58,16 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_8xx\0"					\  	"bootfile=/tftpboot/TQM823M/uImage\0"				\  	"kernel_addr=40080000\0"					\ diff --git a/include/configs/TQM8260.h b/include/configs/TQM8260.h index e6266b58d..49c387263 100644 --- a/include/configs/TQM8260.h +++ b/include/configs/TQM8260.h @@ -73,16 +73,16 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_82xx\0"					\  	"bootfile=/tftpboot/TQM8260/uImage\0"				\  	"kernel_addr=40040000\0"					\ diff --git a/include/configs/TQM834x.h b/include/configs/TQM834x.h index d434eb759..c25a7775b 100644 --- a/include/configs/TQM834x.h +++ b/include/configs/TQM834x.h @@ -472,17 +472,17 @@ extern int tqm834x_num_flash_banks;  	"netdev=eth0\0"							\  	"hostname=tqm83xx\0"						\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ -	"addtty=setenv bootargs $(bootargs) console=ttyS0,$(baudrate)\0"\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\ +	"addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}\0"\  	"flash_nfs=run nfsargs addip addtty;"				\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip addtty;"				\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip addtty;"     \ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \  		"bootm\0"						\  	"rootpath=/opt/eldk/ppc_6xx\0"					\  	"bootfile=/tftpboot/tqm83xx/uImage\0"				\ diff --git a/include/configs/TQM850L.h b/include/configs/TQM850L.h index 83eb40f74..16b2ce3f0 100644 --- a/include/configs/TQM850L.h +++ b/include/configs/TQM850L.h @@ -54,16 +54,16 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_8xx\0"					\  	"bootfile=/tftpboot/TQM850L/uImage\0"				\  	"kernel_addr=40040000\0"					\ diff --git a/include/configs/TQM850M.h b/include/configs/TQM850M.h index f20d246d3..bbc69608b 100644 --- a/include/configs/TQM850M.h +++ b/include/configs/TQM850M.h @@ -52,16 +52,16 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_8xx\0"					\  	"bootfile=/tftpboot/TQM850M/uImage\0"				\  	"kernel_addr=40080000\0"					\ diff --git a/include/configs/TQM855L.h b/include/configs/TQM855L.h index 24071ff1d..198db1954 100644 --- a/include/configs/TQM855L.h +++ b/include/configs/TQM855L.h @@ -57,16 +57,16 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_8xx\0"					\  	"bootfile=/tftpboot/TQM855L/uImage\0"				\  	"kernel_addr=40040000\0"					\ diff --git a/include/configs/TQM855M.h b/include/configs/TQM855M.h index 95a41e8af..e25a7a204 100644 --- a/include/configs/TQM855M.h +++ b/include/configs/TQM855M.h @@ -57,16 +57,16 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_8xx\0"					\  	"bootfile=/tftpboot/TQM855M/uImage\0"				\  	"kernel_addr=40080000\0"					\ diff --git a/include/configs/TQM860L.h b/include/configs/TQM860L.h index 655427ec7..4a1a4325d 100644 --- a/include/configs/TQM860L.h +++ b/include/configs/TQM860L.h @@ -57,16 +57,16 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_8xx\0"					\  	"bootfile=/tftpboot/TQM860L/uImage\0"				\  	"kernel_addr=40040000\0"					\ diff --git a/include/configs/TQM860M.h b/include/configs/TQM860M.h index f67cbd2de..4b754ba9c 100644 --- a/include/configs/TQM860M.h +++ b/include/configs/TQM860M.h @@ -57,16 +57,16 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_8xx\0"					\  	"bootfile=/tftpboot/TQM860M/uImage\0"				\  	"kernel_addr=40080000\0"					\ diff --git a/include/configs/TQM862L.h b/include/configs/TQM862L.h index 2586518bb..1dc9f74d5 100644 --- a/include/configs/TQM862L.h +++ b/include/configs/TQM862L.h @@ -60,16 +60,16 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_8xx\0"					\  	"bootfile=/tftpboot/TQM862L/uImage\0"				\  	"kernel_addr=40040000\0"					\ diff --git a/include/configs/TQM862M.h b/include/configs/TQM862M.h index 8c154995f..3df060c61 100644 --- a/include/configs/TQM862M.h +++ b/include/configs/TQM862M.h @@ -60,16 +60,16 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_8xx\0"					\  	"bootfile=/tftpboot/TQM862M/uImage\0"				\  	"kernel_addr=40080000\0"					\ diff --git a/include/configs/TQM866M.h b/include/configs/TQM866M.h index ea51e89e3..8f9c2c9cb 100644 --- a/include/configs/TQM866M.h +++ b/include/configs/TQM866M.h @@ -69,16 +69,16 @@  #define CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_8xx\0"					\  	"bootfile=/tftpboot/TQM866M/uImage\0"				\  	"kernel_addr=40080000\0"					\ diff --git a/include/configs/Total5200.h b/include/configs/Total5200.h index ab02dd128..817570323 100644 --- a/include/configs/Total5200.h +++ b/include/configs/Total5200.h @@ -163,16 +163,16 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_82xx\0"					\  	"bootfile=/tftpboot/MPC5200/uImage\0"				\  	"" diff --git a/include/configs/VoVPN-GW.h b/include/configs/VoVPN-GW.h index d7f874974..92bade518 100644 --- a/include/configs/VoVPN-GW.h +++ b/include/configs/VoVPN-GW.h @@ -165,18 +165,18 @@  #undef  CONFIG_BOOTARGS  #define	CONFIG_EXTRA_ENV_SETTINGS	\  "clean_nv=erase fff20000 ffffffff\0" \ -"update_boss=tftp 100000 PPC/logic157.bin; protect off fff00000 ffffffff; erase fff00000 ffffffff; cp.b 100000 fff00000 $(filesize); tftp 100000 PPC/bootmon157.bin; cp.b 100000 fff20000 $(filesize)\0" \ -"update_lx=tftp 100000 $(kernel); erase $(kernel_addr) ffefffff; cp.b 100000 $(kernel_addr) $(filesize)\0" \ -"update_fs=tftp 100000 $(fs).$(fstype); erase ff840000 ffdfffff; cp.b 100000 ff840000 $(filesize)\0" \ -"update_ub=tftp 100000 $(uboot); protect off fff00000 fff1ffff; erase fff00000 fff1ffff; cp.b 100000 fff00000 $(filesize); protect off ff820000 ff83ffff; erase ff820000 ff83ffff\0" \ -"flashargs=setenv bootargs root=$(rootdev) rw rootfstype=$(fstype)\0" \ -"nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath)\0" \ -"addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off\0" \ -"addmisc=setenv bootargs $(bootargs) console=$(console),$(baudrate) ethaddr=$(ethaddr) panic=1\0" \ -"net_nfs=tftpboot 400000 $(kernel); run nfsargs addip addmisc; bootm\0" \ -"net_self=tftpboot 400000 $(kernel); run flashargs addmisc; bootm\0" \ -"flash_self=run flashargs addmisc; bootm $(kernel_addr)\0" \ -"flash_nfs=run nfsargs addip addmisc; bootm $(kernel_addr)\0" \ +"update_boss=tftp 100000 PPC/logic157.bin; protect off fff00000 ffffffff; erase fff00000 ffffffff; cp.b 100000 fff00000 ${filesize}; tftp 100000 PPC/bootmon157.bin; cp.b 100000 fff20000 ${filesize}\0" \ +"update_lx=tftp 100000 ${kernel}; erase ${kernel_addr} ffefffff; cp.b 100000 ${kernel_addr} ${filesize}\0" \ +"update_fs=tftp 100000 ${fs}.${fstype}; erase ff840000 ffdfffff; cp.b 100000 ff840000 ${filesize}\0" \ +"update_ub=tftp 100000 ${uboot}; protect off fff00000 fff1ffff; erase fff00000 fff1ffff; cp.b 100000 fff00000 ${filesize}; protect off ff820000 ff83ffff; erase ff820000 ff83ffff\0" \ +"flashargs=setenv bootargs root=${rootdev} rw rootfstype=${fstype}\0" \ +"nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}\0" \ +"addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off\0" \ +"addmisc=setenv bootargs ${bootargs} console=${console},${baudrate} ethaddr=${ethaddr} panic=1\0" \ +"net_nfs=tftpboot 400000 ${kernel}; run nfsargs addip addmisc; bootm\0" \ +"net_self=tftpboot 400000 ${kernel}; run flashargs addmisc; bootm\0" \ +"flash_self=run flashargs addmisc; bootm ${kernel_addr}\0" \ +"flash_nfs=run nfsargs addip addmisc; bootm ${kernel_addr}\0" \  "fstype=cramfs\0" \  "rootpath=/root_fs\0" \  "uboot=PPC/u-boot.bin\0" \ diff --git a/include/configs/aev.h b/include/configs/aev.h index ca6e52b28..aa6bc91b2 100644 --- a/include/configs/aev.h +++ b/include/configs/aev.h @@ -142,22 +142,22 @@  	"rootpath=/opt/eldk/ppc_6xx\0"					\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath) "			\ -		"console=ttyS0,$(baudrate)\0"				\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +		"nfsroot=${serverip}:${rootpath} "			\ +		"console=ttyS0,${baudrate}\0"				\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr}\0"				\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"bootfile=/tftpboot/tqm5200/uImage\0"				\ -	"load=tftp 200000 $(u-boot)\0"					\ +	"load=tftp 200000 ${u-boot}\0"					\  	"u-boot=/tftpboot/tqm5200/u-boot.bin\0"				\  	"update=protect off FC000000 FC05FFFF;"				\  		"erase FC000000 FC05FFFF;"				\ -		"cp.b 200000 FC000000 $(filesize);"			\ +		"cp.b 200000 FC000000 ${filesize};"			\  		"protect on FC000000 FC05FFFF\0"			\  	"" diff --git a/include/configs/atc.h b/include/configs/atc.h index 881a4caee..bf6c1709d 100644 --- a/include/configs/atc.h +++ b/include/configs/atc.h @@ -113,8 +113,8 @@  #define CONFIG_BOOTCOMMAND						\  	"bootp;"							\  	"setenv bootargs root=/dev/nfs rw "				\ -	"nfsroot=$(serverip):$(rootpath) " 				\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;"\ +	"nfsroot=${serverip}:${rootpath} " 				\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;"\  	"bootm"  /*----------------------------------------------------------------------- diff --git a/include/configs/bamboo.h b/include/configs/bamboo.h index e681f6c93..ab8a1e78f 100644 --- a/include/configs/bamboo.h +++ b/include/configs/bamboo.h @@ -239,17 +239,17 @@  	"netdev=eth0\0"							\  	"hostname=bamboo\0"						\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ -	"addtty=setenv bootargs $(bootargs) console=ttyS0,$(baudrate)\0"\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\ +	"addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}\0"\  	"flash_nfs=run nfsargs addip addtty;"				\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip addtty;"				\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip addtty;"     \ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \  	        "bootm\0"						\  	"rootpath=/opt/eldk/ppc_4xx\0"					\  	"bootfile=/tftpboot/bamboo/uImage\0"				\ diff --git a/include/configs/bubinga.h b/include/configs/bubinga.h index 2f99ef044..4a79835d6 100644 --- a/include/configs/bubinga.h +++ b/include/configs/bubinga.h @@ -90,17 +90,17 @@  	"netdev=eth0\0"							\  	"hostname=bubinga\0"						\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ -	"addtty=setenv bootargs $(bootargs) console=ttyS0,$(baudrate)\0"\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\ +	"addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}\0"\  	"flash_nfs=run nfsargs addip addtty;"				\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip addtty;"				\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip addtty;"     \ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \  	        "bootm\0"						\  	"rootpath=/opt/eldk/ppc_4xx\0"					\  	"bootfile=/tftpboot/bubinga/uImage\0"				\ diff --git a/include/configs/c2mon.h b/include/configs/c2mon.h index c1499f425..ae75539c3 100644 --- a/include/configs/c2mon.h +++ b/include/configs/c2mon.h @@ -55,8 +55,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND							\  	"bootp; " 								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " 	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " 	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " 	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " 	\  	"bootm"  #define CONFIG_LOADS_ECHO	1	/* echo on for serial download	*/ diff --git a/include/configs/canmb.h b/include/configs/canmb.h index 9b91d5881..2c160a448 100644 --- a/include/configs/canmb.h +++ b/include/configs/canmb.h @@ -92,16 +92,16 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_6xx\0"					\  	"bootfile=/tftpboot/canmb/uImage\0"				\  	"" diff --git a/include/configs/cmc_pu2.h b/include/configs/cmc_pu2.h index 9ed538b11..46280f7e3 100644 --- a/include/configs/cmc_pu2.h +++ b/include/configs/cmc_pu2.h @@ -216,30 +216,30 @@ struct bd_info_ext {  #define CONFIG_VERSION_VARIABLE	1       /* include version env variable */  #define	CONFIG_EXTRA_ENV_SETTINGS	\ -	"net_nfs=tftp $(loadaddr) $(bootfile);run nfsargs addip addcons " \ +	"net_nfs=tftp ${loadaddr} ${bootfile};run nfsargs addip addcons " \  		"addmtd;bootm\0" \  	"nfsargs=setenv bootargs root=/dev/nfs rw " \ -		"nfsroot=$(serverip):$(rootpath)\0" \ -	"net_cramfs=tftp $(loadaddr) $(bootfile); run flashargs addip " \ +		"nfsroot=${serverip}:${rootpath}\0" \ +	"net_cramfs=tftp ${loadaddr} ${bootfile}; run flashargs addip " \  		"addcons addmtd; bootm\0" \  	"flash_cramfs=run flashargs addip addcons addmtd; bootm 10030000\0" \  	"flashargs=setenv bootargs root=/dev/mtdblock3 ro\0" \ -	"addip=setenv bootargs $(bootargs) ethaddr=$(ethaddr) " \ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):" \ -		"$(hostname)::off\0" \ -	"addcons=setenv bootargs $(bootargs) console=ttyS0,$(baudrate)\0" \ -	"addmtd=setenv bootargs $(bootargs) mtdparts=cmc_pu2:128k(uboot)ro," \ +	"addip=setenv bootargs ${bootargs} ethaddr=${ethaddr} " \ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:" \ +		"${hostname}::off\0" \ +	"addcons=setenv bootargs ${bootargs} console=ttyS0,${baudrate}\0" \ +	"addmtd=setenv bootargs ${bootargs} mtdparts=cmc_pu2:128k(uboot)ro," \  		"64k(environment),768k(linux),4096k(root),-\0" \ -	"load=tftp $(loadaddr) $(loadfile)\0" \ +	"load=tftp ${loadaddr} ${loadfile}\0" \  	"update=protect off 10000000 1001ffff;erase 10000000 1001ffff; " \ -		"cp.b $(loadaddr) 10000000 $(filesize);" \ +		"cp.b ${loadaddr} 10000000 ${filesize};" \  		"protect on 10000000 1001ffff\0" \ -	"updatel=era 10030000 100effff;tftp $(loadaddr) $(bootfile); " \ -		"cp.b $(loadaddr) 10030000 $(filesize)\0" \ -	"updatec=era 100f0000 104effff;tftp $(loadaddr) $(cramfsimage); " \ -		"cp.b $(loadaddr) 100f0000 $(filesize)\0" \ -	"updatej=era 104f0000 107fffff;tftp $(loadaddr) $(jffsimage); " \ -		"cp.b $(loadaddr) 104f0000 $(filesize)\0" \ +	"updatel=era 10030000 100effff;tftp ${loadaddr} ${bootfile}; " \ +		"cp.b ${loadaddr} 10030000 ${filesize}\0" \ +	"updatec=era 100f0000 104effff;tftp ${loadaddr} ${cramfsimage}; " \ +		"cp.b ${loadaddr} 100f0000 ${filesize}\0" \ +	"updatej=era 104f0000 107fffff;tftp ${loadaddr} ${jffsimage}; " \ +		"cp.b ${loadaddr} 104f0000 ${filesize}\0" \  	"cramfsimage=cramfs_cmc-pu2.img\0" \  	"jffsimage=jffs2_cmc-pu2.img\0" \  	"loadfile=u-boot_cmc-pu2.bin\0" \ diff --git a/include/configs/cpci5200.h b/include/configs/cpci5200.h index 711e34813..f9586fbcb 100644 --- a/include/configs/cpci5200.h +++ b/include/configs/cpci5200.h @@ -154,9 +154,9 @@  	"netdev=eth0\0" \  	"flash_vxworks0=run ata_vxworks_args;setenv loadaddr ff000000;bootvx\0" \  	"flash_vxworks1=run ata_vxworks_args;setenv loadaddr ff200000:bootvx\0" \ -	"net_vxworks=phypower 1;sleep 2;tftp $(loadaddr) $(image);run vxworks_args;bootvx\0" \ -	"vxworks_args=setenv bootargs fec(0,0)$(host):$(image) h=$(serverip) e=$(ipaddr) g=$(gatewayip) u=$(user) $(pass) tn=$(target) s=$(script)\0" \ -	"ata_vxworks_args=setenv bootargs /ata0/vxWorks h=$(serverip) e=$(ipaddr) g=$(gatewayip) u=$(user) $(pass) tn=$(target) s=$(script) o=fec0 \0" \ +	"net_vxworks=phypower 1;sleep 2;tftp ${loadaddr} ${image};run vxworks_args;bootvx\0" \ +	"vxworks_args=setenv bootargs fec(0,0)${host}:${image} h=${serverip} e=${ipaddr} g=${gatewayip} u=${user} ${pass} tn=${target} s=${script}\0" \ +	"ata_vxworks_args=setenv bootargs /ata0/vxWorks h=${serverip} e=${ipaddr} g=${gatewayip} u=${user} ${pass} tn=${target} s=${script} o=fec0 \0" \  	"loadaddr=01000000\0" \  	"serverip=192.168.2.99\0" \  	"gatewayip=10.0.0.79\0" \ diff --git a/include/configs/csb272.h b/include/configs/csb272.h index b4453b10f..27d64c1e4 100644 --- a/include/configs/csb272.h +++ b/include/configs/csb272.h @@ -58,7 +58,7 @@  #define CONFIG_BOOTCOMMAND \  	"setenv bootargs console=ttyS0,38400 debug " \  	"root=/dev/ram rw ramdisk_size=4096 " \ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " \ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " \  	"bootm fe000000 fe100000"  #endif @@ -67,8 +67,8 @@  #define CONFIG_BOOTCOMMAND \  	"bootp; " \  	"setenv bootargs console=ttyS0,38400 debug " \ -	"root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " \ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " \ +	"root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " \ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " \  	"bootm"  #endif diff --git a/include/configs/csb472.h b/include/configs/csb472.h index a00cafbe2..09d52ded9 100644 --- a/include/configs/csb472.h +++ b/include/configs/csb472.h @@ -58,7 +58,7 @@  #define CONFIG_BOOTCOMMAND \  	"setenv bootargs console=ttyS0,38400 debug " \  	"root=/dev/ram rw ramdisk_size=4096 " \ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " \ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " \  	"bootm ff800000 ff900000"  #endif @@ -67,8 +67,8 @@  #define CONFIG_BOOTCOMMAND \  	"bootp; " \  	"setenv bootargs console=ttyS0,38400 debug " \ -	"root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " \ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " \ +	"root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " \ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " \  	"bootm"  #endif diff --git a/include/configs/dbau1x00.h b/include/configs/dbau1x00.h index 984115ae5..0a10e3c75 100644 --- a/include/configs/dbau1x00.h +++ b/include/configs/dbau1x00.h @@ -65,11 +65,11 @@  #undef	CONFIG_BOOTARGS  #define	CONFIG_EXTRA_ENV_SETTINGS					\ -	"addmisc=setenv bootargs $(bootargs) "				\ -		"console=ttyS0,$(baudrate) "				\ +	"addmisc=setenv bootargs ${bootargs} "				\ +		"console=ttyS0,${baudrate} "				\  		"panic=1\0"						\  	"bootfile=/tftpboot/vmlinux.srec\0"				\ -	"load=tftp 80500000 $(u-boot)\0"				\ +	"load=tftp 80500000 ${u-boot}\0"				\  	""  #ifdef CONFIG_DBAU1550 diff --git a/include/configs/debris.h b/include/configs/debris.h index b483f407d..8ff963f55 100644 --- a/include/configs/debris.h +++ b/include/configs/debris.h @@ -45,9 +45,9 @@  #define CONFIG_BOOTCOMMAND \  	"tftp 800000 pImage; " \  	"setenv bootargs console=ttyS0,9600 init=/linuxrc " \ -	"root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " \ -	"ip=$(ipaddr):$(serverip):$(gatewayip):" \ -	"$(netmask):$(hostname):eth0:none " \ +	"root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " \ +	"ip=${ipaddr}:${serverip}:${gatewayip}:" \ +	"${netmask}:${hostname}:eth0:none " \  	"mtdparts=phys:12m(root),-(kernel); " \  	"bootm 800000" diff --git a/include/configs/ebony.h b/include/configs/ebony.h index 8eb4697df..a26af6952 100644 --- a/include/configs/ebony.h +++ b/include/configs/ebony.h @@ -155,17 +155,17 @@  	"netdev=eth0\0"							\  	"hostname=ebony\0"						\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ -	"addtty=setenv bootargs $(bootargs) console=ttyS0,$(baudrate)\0"\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\ +	"addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}\0"\  	"flash_nfs=run nfsargs addip addtty;"				\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip addtty;"				\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip addtty;"     \ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \  	        "bootm\0"						\  	"rootpath=/opt/eldk/ppc_4xx\0"					\  	"bootfile=/tftpboot/ebony/uImage\0"				\ diff --git a/include/configs/hermes.h b/include/configs/hermes.h index 1486377ca..91117bab7 100644 --- a/include/configs/hermes.h +++ b/include/configs/hermes.h @@ -55,8 +55,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND							\  	"bootp; " 								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " 	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " 	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " 	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " 	\  	"bootm"  #define CONFIG_LOADS_ECHO	1	/* echo on for serial download	*/ diff --git a/include/configs/hmi1001.h b/include/configs/hmi1001.h index a69a304a1..cfaf15322 100644 --- a/include/configs/hmi1001.h +++ b/include/configs/hmi1001.h @@ -92,14 +92,14 @@  #define CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr}\0"				\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_82xx\0"					\  	"" diff --git a/include/configs/incaip.h b/include/configs/incaip.h index 0f548a52a..1c6216be8 100644 --- a/include/configs/incaip.h +++ b/include/configs/incaip.h @@ -55,29 +55,29 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off\0"				\ -	"addmisc=setenv bootargs $(bootargs) "				\ -		"console=ttyS0,$(baudrate) "				\ -		"ethaddr=$(ethaddr) "					\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off\0"				\ +	"addmisc=setenv bootargs ${bootargs} "				\ +		"console=ttyS0,${baudrate} "				\ +		"ethaddr=${ethaddr} "					\  		"panic=1\0"						\  	"flash_nfs=run nfsargs addip addmisc;"				\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip addmisc;"				\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 80500000 $(bootfile);"				\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 80500000 ${bootfile};"				\  		"run nfsargs addip addmisc;bootm\0"			\  	"rootpath=/opt/eldk/mips_4KC\0"					\  	"bootfile=/tftpboot/INCA/uImage\0"				\  	"kernel_addr=B0040000\0"					\  	"ramdisk_addr=B0100000\0"					\  	"u-boot=/tftpboot/INCA/u-boot.bin\0"				\ -	"load=tftp 80500000 $(u-boot)\0"				\ +	"load=tftp 80500000 ${u-boot}\0"				\  	"update=protect off 1:0-2;era 1:0-2;"				\ -		"cp.b 80500000 B0000000 $(filesize)\0"			\ +		"cp.b 80500000 B0000000 ${filesize}\0"			\  	""  #define CONFIG_BOOTCOMMAND	"run flash_self" diff --git a/include/configs/inka4x0.h b/include/configs/inka4x0.h index 489901ce7..c0cc4f1fb 100644 --- a/include/configs/inka4x0.h +++ b/include/configs/inka4x0.h @@ -112,14 +112,14 @@  #define CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr}\0"				\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_82xx\0"					\  	"" diff --git a/include/configs/o2dnt.h b/include/configs/o2dnt.h index 04d7d8a28..325f65477 100644 --- a/include/configs/o2dnt.h +++ b/include/configs/o2dnt.h @@ -117,16 +117,16 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"rootpath=/opt/eldk/ppc_82xx\0"					\  	"bootfile=/tftpboot/MPC5200/uImage\0"				\  	"" diff --git a/include/configs/ocotea.h b/include/configs/ocotea.h index 49dd4878c..a13d6a870 100644 --- a/include/configs/ocotea.h +++ b/include/configs/ocotea.h @@ -170,17 +170,17 @@  	"netdev=eth0\0"							\  	"hostname=ocotea\0"						\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ -	"addtty=setenv bootargs $(bootargs) console=ttyS0,$(baudrate)\0"\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\ +	"addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}\0"\  	"flash_nfs=run nfsargs addip addtty;"				\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip addtty;"				\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip addtty;"     \ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \  	        "bootm\0"						\  	"rootpath=/opt/eldk/ppc_4xx\0"					\  	"bootfile=/tftpboot/ocotea/uImage\0"				\ diff --git a/include/configs/pb1x00.h b/include/configs/pb1x00.h index f7de99b46..ed1893f57 100644 --- a/include/configs/pb1x00.h +++ b/include/configs/pb1x00.h @@ -59,14 +59,14 @@  #undef	CONFIG_BOOTARGS  #define	CONFIG_EXTRA_ENV_SETTINGS					\ -	"addmisc=setenv bootargs $(bootargs) "				\ -		"console=ttyS0,$(baudrate) "				\ +	"addmisc=setenv bootargs ${bootargs} "				\ +		"console=ttyS0,${baudrate} "				\  		"panic=1\0"						\  	"bootfile=/vmlinux.img\0"				\ -	"load=tftp 80500000 $(u-boot)\0"				\ +	"load=tftp 80500000 ${u-boot}\0"				\  	""  /* Boot from NFS root */ -#define CONFIG_BOOTCOMMAND	"bootp; setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; bootm" +#define CONFIG_BOOTCOMMAND	"bootp; setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm"  /*   * Miscellaneous configurable options diff --git a/include/configs/pcu_e.h b/include/configs/pcu_e.h index e261e5367..73aa3a882 100644 --- a/include/configs/pcu_e.h +++ b/include/configs/pcu_e.h @@ -56,8 +56,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND							\  	"bootp;"								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) "	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;"	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} "	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;"	\  	"bootm"  #define CONFIG_LOADS_ECHO	1	/* echo on for serial download	*/ diff --git a/include/configs/pf5200.h b/include/configs/pf5200.h index 385e6d718..fefdb3cca 100644 --- a/include/configs/pf5200.h +++ b/include/configs/pf5200.h @@ -151,9 +151,9 @@  	"netdev=eth0\0" \  	"flash_vxworks0=run ata_vxworks_args;setenv loadaddr ff000000;bootvx\0" \  	"flash_vxworks1=run ata_vxworks_args;setenv loadaddr ff200000:bootvx\0" \ -	"net_vxworks=phypower 1;sleep 2;tftp $(loadaddr) $(image);run vxworks_args;bootvx\0" \ -	"vxworks_args=setenv bootargs fec(0,0)$(host):$(image) h=$(serverip) e=$(ipaddr) g=$(gatewayip) u=$(user) $(pass) tn=$(target) s=$(script)\0" \ -	"ata_vxworks_args=setenv bootargs /ata0/vxWorks h=$(serverip) e=$(ipaddr) g=$(gatewayip) u=$(user) $(pass) tn=$(target) s=$(script) o=fec0 \0" \ +	"net_vxworks=phypower 1;sleep 2;tftp ${loadaddr} ${image};run vxworks_args;bootvx\0" \ +	"vxworks_args=setenv bootargs fec(0,0)${host}:${image} h=${serverip} e=${ipaddr} g=${gatewayip} u=${user} ${pass} tn=${target} s=${script}\0" \ +	"ata_vxworks_args=setenv bootargs /ata0/vxWorks h=${serverip} e=${ipaddr} g=${gatewayip} u=${user} ${pass} tn=${target} s=${script} o=fec0 \0" \  	"loadaddr=01000000\0" \  	"serverip=192.168.2.99\0" \  	"gatewayip=10.0.0.79\0" \ diff --git a/include/configs/ppmc8260.h b/include/configs/ppmc8260.h index 60b0b3713..757922210 100644 --- a/include/configs/ppmc8260.h +++ b/include/configs/ppmc8260.h @@ -247,7 +247,7 @@  	"echo;" \  	"bootp;" \  	"setenv bootargs root=/dev/ram0 rw " \ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;" \ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;" \  	"bootm"  #endif /* CONFIG_BOOT_ROOT_INITRD */ @@ -256,8 +256,8 @@  	"version;" \  	"echo;" \  	"bootp;" \ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " \ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;" \ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " \ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;" \  	"bootm"  #endif /* CONFIG_BOOT_ROOT_NFS */ diff --git a/include/configs/purple.h b/include/configs/purple.h index 7ffd3fd36..2ecb7fb2b 100644 --- a/include/configs/purple.h +++ b/include/configs/purple.h @@ -55,29 +55,29 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off\0"				\ -	"addmisc=setenv bootargs $(bootargs) "				\ -		"console=ttyS0,$(baudrate) "				\ -		"ethaddr=$(ethaddr) "					\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off\0"				\ +	"addmisc=setenv bootargs ${bootargs} "				\ +		"console=ttyS0,${baudrate} "				\ +		"ethaddr=${ethaddr} "					\  		"panic=1\0"						\  	"flash_nfs=run nfsargs addip addmisc;"				\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip addmisc;"				\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 80500000 $(bootfile);"				\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 80500000 ${bootfile};"				\  		"run nfsargs addip addmisc;bootm\0"			\  	"rootpath=/opt/eldk/mips_5KC\0"					\  	"bootfile=/tftpboot/purple/uImage\0"				\  	"kernel_addr=B0040000\0"					\  	"ramdisk_addr=B0100000\0"					\  	"u-boot=/tftpboot/purple/u-boot.bin\0"				\ -	"load=tftp 80500000 $(u-boot)\0"				\ +	"load=tftp 80500000 ${u-boot}\0"				\  	"update=protect off 1:0-4;era 1:0-4;"				\ -		"cp.b 80500000 B0000000 $(filesize)\0"			\ +		"cp.b 80500000 B0000000 ${filesize}\0"			\  	""  #define CONFIG_BOOTCOMMAND	"run flash_self" diff --git a/include/configs/quantum.h b/include/configs/quantum.h index a38ec6232..21ec5acad 100644 --- a/include/configs/quantum.h +++ b/include/configs/quantum.h @@ -65,9 +65,9 @@  #define CONFIG_EXTRA_ENV_SETTINGS \      "serial#=12345\0"		\ -	"nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath)\0"	\ +	"nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}\0"	\  	"ramargs=setenv bootargs root=/dev/ram rw\0" \ -    "addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off\0" +    "addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off\0"  /*   * Select the more full-featured memory test (Barr embedded systems) diff --git a/include/configs/rmu.h b/include/configs/rmu.h index b67c41877..b319cf497 100644 --- a/include/configs/rmu.h +++ b/include/configs/rmu.h @@ -52,8 +52,8 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_BOOTCOMMAND							\  	"bootp; " 								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " 	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " 	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " 	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " 	\  	"bootm"  #define CONFIG_LOADS_ECHO	1	/* echo on for serial download	*/ diff --git a/include/configs/sacsng.h b/include/configs/sacsng.h index 031eba597..4e0cfdb4c 100644 --- a/include/configs/sacsng.h +++ b/include/configs/sacsng.h @@ -329,7 +329,7 @@      "tftpboot 0x140000 /bdi2000/u-boot.bin; " \      "protect off 60000000 6003FFFF; " \      "erase 60000000 6003FFFF; " \ -    "cp.b 140000 60000000 $(filesize); " \ +    "cp.b 140000 60000000 ${filesize}; " \      "protect on 60000000 6003FFFF\0" \  "copyenv="\      "protect off 60040000 6004FFFF; " \ @@ -355,7 +355,7 @@      "echo\\;" \      "bootp\\;" \      "setenv bootargs root=/dev/ram0 rw quiet " \ -    "ip=\\$(ipaddr):\\$(serverip):\\$(gatewayip):\\$(netmask):\\$(hostname)::off\\;" \ +    "ip=\\${ipaddr}:\\${serverip}:\\${gatewayip}:\\${netmask}:\\${hostname}::off\\;" \      "run boot-hook\\;" \      "bootm\0" \  "root-on-initrd-debug="\ @@ -364,7 +364,7 @@      "echo\\;" \      "bootp\\;" \      "setenv bootargs root=/dev/ram0 rw debug " \ -    "ip=\\$(ipaddr):\\$(serverip):\\$(gatewayip):\\$(netmask):\\$(hostname)::off\\;" \ +    "ip=\\${ipaddr}:\\${serverip}:\\${gatewayip}:\\${netmask}:\\${hostname}::off\\;" \      "run debug-hook\\;" \      "run boot-hook\\;" \      "bootm\0" \ @@ -374,8 +374,8 @@      "echo\\;" \      "bootp\\;" \      "setenv bootargs root=/dev/nfs rw quiet " \ -    "nfsroot=\\$(serverip):\\$(rootpath) " \ -    "ip=\\$(ipaddr):\\$(serverip):\\$(gatewayip):\\$(netmask):\\$(hostname)::off\\;" \ +    "nfsroot=\\${serverip}:\\${rootpath} " \ +    "ip=\\${ipaddr}:\\${serverip}:\\${gatewayip}:\\${netmask}:\\${hostname}::off\\;" \      "run boot-hook\\;" \      "bootm\0" \  "root-on-nfs-debug="\ @@ -384,8 +384,8 @@      "echo\\;" \      "bootp\\;" \      "setenv bootargs root=/dev/nfs rw debug " \ -    "nfsroot=\\$(serverip):\\$(rootpath) " \ -    "ip=\\$(ipaddr):\\$(serverip):\\$(gatewayip):\\$(netmask):\\$(hostname)::off\\;" \ +    "nfsroot=\\${serverip}:\\${rootpath} " \ +    "ip=\\${ipaddr}:\\${serverip}:\\${gatewayip}:\\${netmask}:\\${hostname}::off\\;" \      "run debug-hook\\;" \      "run boot-hook\\;" \      "bootm\0" \ @@ -393,17 +393,17 @@      "setenv checkhostname;" \      "setenv ethaddr 00:09:70:00:00:01;" \      "bootp;" \ -    "setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) debug " \ -    "ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;" \ +    "setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} debug " \ +    "ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;" \      "run debug-hook;" \      "run boot-hook;" \      "bootm\0" \  "debug-hook="\ -    "echo ipaddr    $(ipaddr);" \ -    "echo serverip  $(serverip);" \ -    "echo gatewayip $(gatewayip);" \ -    "echo netmask   $(netmask);" \ -    "echo hostname  $(hostname)\0" \ +    "echo ipaddr    ${ipaddr};" \ +    "echo serverip  ${serverip};" \ +    "echo gatewayip ${gatewayip};" \ +    "echo netmask   ${netmask};" \ +    "echo hostname  ${hostname}\0" \  "ana=run adc ; run dac\0" \  "adc=run adc-12 ; run adc-34\0" \  "adc-12=echo ### ADC-12 ; imd.b e 81 e\0" \ @@ -452,7 +452,7 @@  	"echo;" \  	"bootp;" \  	"setenv bootargs root=/dev/ram0 rw quiet " \ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;" \ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;" \  	"run boot-hook;" \  	"bootm"  #endif /* CONFIG_BOOT_ROOT_INITRD */ @@ -462,8 +462,8 @@  	"version;" \  	"echo;" \  	"bootp;" \ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) quiet " \ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;" \ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} quiet " \ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;" \  	"run boot-hook;" \  	"bootm"  #endif /* CONFIG_BOOT_ROOT_NFS */ diff --git a/include/configs/sbc405.h b/include/configs/sbc405.h index 725b4937b..beff28ab3 100644 --- a/include/configs/sbc405.h +++ b/include/configs/sbc405.h @@ -46,16 +46,16 @@  #define CONFIG_PREBOOT	"echo;echo Welcome to U-Boot for the sbc405;echo;echo Type \"? or help\" to get on-line help;echo"  #define CONFIG_RAMBOOT								\ -	"setenv bootargs root=/dev/ram rw nfsroot=$(serverip):$(rootpath) "	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;"	\ +	"setenv bootargs root=/dev/ram rw nfsroot=${serverip}:${rootpath} "	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;"	\  	"bootm ffc00000 ffca0000"  #define CONFIG_NFSBOOT								\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) "	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;"	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} "	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;"	\  	"bootm ffc00000"  #undef CONFIG_BOOTARGS -#define CONFIG_BOOTCOMMAND      "version;echo;tftpboot $(loadaddr) $(loadfile);bootvx"      /* autoboot command     */ +#define CONFIG_BOOTCOMMAND      "version;echo;tftpboot ${loadaddr} ${loadfile};bootvx"      /* autoboot command     */  #define CONFIG_MII		1	/* MII PHY management		*/ @@ -70,17 +70,17 @@  	"env_endaddr=FF03FFFF\0" \  	"loadfile=vxWorks.st\0" \  	"loadaddr=0x01000000\0" \ -	"net_load=tftpboot $(loadaddr) $(loadfile)\0" \ +	"net_load=tftpboot ${loadaddr} ${loadfile}\0" \  	"uboot_startaddr=FFFC0000\0" \  	"uboot_endaddr=FFFFFFFF\0" \ -	"update=tftp $(loadaddr) u-boot.bin;" \ -		"protect off $(uboot_startaddr) $(uboot_endaddr);" \ -		"era $(uboot_startaddr) $(uboot_endaddr);" \ -		"cp.b $(loadaddr) $(uboot_startaddr) $(filesize);" \ -		"protect on $(uboot_startaddr) $(uboot_endaddr)\0" \ -	"zapenv=protect off $(env_startaddr) $(env_endaddr);" \ -		"era $(env_startaddr) $(env_endaddr);" \ -		"protect on $(env_startaddr) $(env_endaddr)\0" +	"update=tftp ${loadaddr} u-boot.bin;" \ +		"protect off ${uboot_startaddr} ${uboot_endaddr};" \ +		"era ${uboot_startaddr} ${uboot_endaddr};" \ +		"cp.b ${loadaddr} ${uboot_startaddr} ${filesize};" \ +		"protect on ${uboot_startaddr} ${uboot_endaddr}\0" \ +	"zapenv=protect off ${env_startaddr} ${env_endaddr};" \ +		"era ${env_startaddr} ${env_endaddr};" \ +		"protect on ${env_startaddr} ${env_endaddr}\0"  #define CONFIG_BOOTDELAY	5	/* autoboot after 5 seconds	*/ diff --git a/include/configs/sbc8260.h b/include/configs/sbc8260.h index 45e4494ec..180ce057d 100644 --- a/include/configs/sbc8260.h +++ b/include/configs/sbc8260.h @@ -336,19 +336,19 @@   *   * => printenv bootcmd   * bootcmd=version;echo;bootp;setenv bootargs root=/dev/nfs rw - * nfsroot=$(serverip):$(rootpath) - * ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;run boot-hook;bootm + * nfsroot=${serverip}:${rootpath} + * ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;run boot-hook;bootm   *   * => run root-on-initrd   * => printenv bootcmd   * bootcmd=version;echo;bootp;setenv bootargs root=/dev/ram0 rw - * ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;run boot-hook;bootm + * ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;run boot-hook;bootm   *   * => run root-on-nfs   * => printenv bootcmd   * bootcmd=version;echo;bootp;setenv bootargs root=/dev/nfs rw - * nfsroot=$(serverip):$(rootpath) - * ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;run boot-hook;bootm + * nfsroot=${serverip}:${rootpath} + * ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;run boot-hook;bootm   *   */  #define CONFIG_EXTRA_ENV_SETTINGS \ @@ -359,7 +359,7 @@  		"tftpboot 0x140000 /bdi2000/u-boot.bin;" \  		"protect off 1:0;" \  		"erase 1:0;" \ -		"cp.b 140000 40000000 $(filesize);" \ +		"cp.b 140000 40000000 ${filesize};" \  		"protect on 1:0\0" \  	"zapenv="\  		"protect off 1:1;" \ @@ -371,7 +371,7 @@  		"echo;" \  		"bootp;" \  		"setenv bootargs root=/dev/ram0 rw " \ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;" \ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;" \  		"run boot-hook;" \  		"bootm\0" \  	"root-on-nfs="\ @@ -380,8 +380,8 @@  		"echo;" \  		"bootp;" \  		"setenv bootargs root=/dev/nfs rw " \ -		"nfsroot=$(serverip):$(rootpath) " \ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;" \ +		"nfsroot=${serverip}:${rootpath} " \ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;" \  		"run boot-hook;" \  		"bootm\0" \  	"boot-hook=echo\0" @@ -398,7 +398,7 @@  	"echo;" \  	"bootp;" \  	"setenv bootargs root=/dev/ram0 rw " \ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;" \ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;" \  	"bootm"  #endif /* CONFIG_BOOT_ROOT_INITRD */ @@ -407,8 +407,8 @@  	"version;" \  	"echo;" \  	"bootp;" \ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " \ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;" \ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " \ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;" \  	"bootm"  #endif /* CONFIG_BOOT_ROOT_NFS */ diff --git a/include/configs/spieval.h b/include/configs/spieval.h index 0dab9b0f5..96cb6e4c7 100644 --- a/include/configs/spieval.h +++ b/include/configs/spieval.h @@ -206,21 +206,21 @@  	"rootpath=/opt/eldk/ppc_6xx\0"					\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\  	"flash_self=run ramargs addip;"					\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\  	"flash_nfs=run nfsargs addip;"					\ -		"bootm $(kernel_addr)\0"				\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0"	\ +		"bootm ${kernel_addr}\0"				\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\  	"bootfile=/tftpboot/tqm5200/uImage\0"				\ -	"load=tftp 200000 $(u-boot)\0"					\ +	"load=tftp 200000 ${u-boot}\0"					\  	"u-boot=/tftpboot/tqm5200/u-boot.bin"	CONFIG_U_BOOT_SUFFIX	\  	"update=protect off FC000000 FC05FFFF;"				\  		"erase FC000000 FC05FFFF;"				\ -		"cp.b 200000 FC000000 $(filesize);"			\ +		"cp.b 200000 FC000000 ${filesize};"			\  		"protect on FC000000 FC05FFFF\0"			\  	"" diff --git a/include/configs/svm_sc8xx.h b/include/configs/svm_sc8xx.h index 9589050a6..7118f3f74 100644 --- a/include/configs/svm_sc8xx.h +++ b/include/configs/svm_sc8xx.h @@ -93,24 +93,24 @@  #undef	CONFIG_BOOTARGS  #define CONFIG_EXTRA_ENV_SETTINGS                                       \  	"nfsargs=setenv bootargs root=/dev/nfs rw "                     \ -	 "nfsroot=$(serverip):$(rootpath)\0"                     \ +	 "nfsroot=${serverip}:${rootpath}\0"                     \  	"ramargs=setenv bootargs root=/dev/ram rw\0"                    \ -	"addip=setenv bootargs $(bootargs) "                            \ -	       "ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"      \ -		":$(hostname):$(netdev):off panic=1\0"                  \ +	"addip=setenv bootargs ${bootargs} "                            \ +	       "ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"      \ +		":${hostname}:${netdev}:off panic=1\0"                  \  		"flash_nfs=run nfsargs addip;"                                  \ -	     "bootm $(kernel_addr)\0"                                \ +	     "bootm ${kernel_addr}\0"                                \  	"flash_self=run ramargs addip;"                                 \ -	       "bootm $(kernel_addr) $(ramdisk_addr)\0"                \ -	"net_nfs=tftp 0x210000 $(bootfile);run nfsargs addip;bootm\0"     \ +	       "bootm ${kernel_addr} ${ramdisk_addr}\0"                \ +	"net_nfs=tftp 0x210000 ${bootfile};run nfsargs addip;bootm\0"     \  	"rootpath=/opt/sinovee/ppc8xx-linux-2.0/target\0"                                  \  	"bootfile=pImage-sc855t\0"                           \  	"kernel_addr=48000000\0"                                        \  	"ramdisk_addr=48100000\0"                                       \  	""  #define CONFIG_BOOTCOMMAND							\ -	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " 	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " 	\ +	"setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " 	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " 	\  	"tftpboot 0x210000 pImage-sc855t;bootm 0x210000"  #define CONFIG_LOADS_ECHO	1	/* echo on for serial download	*/ diff --git a/include/configs/tb0229.h b/include/configs/tb0229.h index 5a20473dd..dac1eb736 100644 --- a/include/configs/tb0229.h +++ b/include/configs/tb0229.h @@ -55,14 +55,14 @@  	"netboot=dhcp;tftp;run netargs; bootm\0"			\  	"nfsargs=setenv bootargs root=/dev/nfs ip=dhcp\0"		\  	"localargs=setenv bootargs root=1F02 ip=dhcp\0"			\ -	"addmisc=setenv bootargs $(bootargs) "				\ -		"console=ttyS0,$(baudrate) "				\ +	"addmisc=setenv bootargs ${bootargs} "				\ +		"console=ttyS0,${baudrate} "				\  		"read-only=readonly\0"					\  	"netargs=run nfsargs addmisc\0"					\  	"flash_nfs=run nfsargs addmisc;"				\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_local=run localargs addmisc;"				\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"netboot_initrd=dhcp;tftp;tftp 80600000 initrd;"		\  		"setenv bootargs root=/dev/ram ramdisk_size=8192 ip=dhcp;"\  		"run addmisc;"						\ @@ -73,15 +73,15 @@  	"ramdisk_addr=B0100000\0"					\  	"u-boot=u-boot.bin\0"						\  	"bootfile=uImage\0"						\ -	"load=dhcp;tftp 80400000 $(u-boot)\0"				\ -	"load_kernel=dhcp;tftp 80400000 $(bootfile)\0"			\ +	"load=dhcp;tftp 80400000 ${u-boot}\0"				\ +	"load_kernel=dhcp;tftp 80400000 ${bootfile}\0"			\  	"update_uboot=run load;"					\  		"protect off BFC00000 BFC3FFFF;"			\  		"erase BFC00000 BFC3FFFF;"				\ -		"cp.b 80400000 BFC00000 $(filesize)\0"			\ +		"cp.b 80400000 BFC00000 ${filesize}\0"			\  	"update_kernel=run load_kernel;"				\  		"erase BFC60000 BFD5FFFF;"				\ -		"cp.b 80400000 BFC60000 $(filesize)\0"			\ +		"cp.b 80400000 BFC60000 ${filesize}\0"			\  	"initenv=erase bfc40000 bfc5ffff\0"				\  	""  /*#define CONFIG_BOOTCOMMAND	"run flash_local" */ diff --git a/include/configs/trab.h b/include/configs/trab.h index 7fd3e466e..85ee756e0 100644 --- a/include/configs/trab.h +++ b/include/configs/trab.h @@ -222,22 +222,22 @@  #else /* !CFG_HUSH_PARSER */  #define	CONFIG_EXTRA_ENV_SETTINGS	\  	"nfs_args=setenv bootargs root=/dev/nfs rw " \ -		"nfsroot=$(serverip):$(rootpath)\0" \ +		"nfsroot=${serverip}:${rootpath}\0" \  	"rootpath=/opt/eldk/arm_920TDI\0" \  	"ram_args=setenv bootargs root=/dev/ram rw\0" \ -	"add_net=setenv bootargs $(bootargs) ethaddr=$(ethaddr) " \ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off\0" \ -	"add_misc=setenv bootargs $(bootargs) console=ttyS0 panic=1\0" \ +	"add_net=setenv bootargs ${bootargs} ethaddr=${ethaddr} " \ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off\0" \ +	"add_misc=setenv bootargs ${bootargs} console=ttyS0 panic=1\0" \  	"u-boot=/tftpboot/TRAB/u-boot.bin\0" \ -	"load=tftp C100000 $(u-boot)\0" \ +	"load=tftp C100000 ${u-boot}\0" \  	"update=protect off 0 5FFFF;era 0 5FFFF;" \ -		"cp.b C100000 0 $(filesize)\0" \ +		"cp.b C100000 0 ${filesize}\0" \  	"loadfile=/tftpboot/TRAB/uImage\0" \  	"loadaddr=c400000\0" \ -	"net_load=tftpboot $(loadaddr) $(loadfile)\0" \ +	"net_load=tftpboot ${loadaddr} ${loadfile}\0" \  	"net_nfs=run net_load nfs_args add_net add_misc;bootm\0" \  	"kernel_addr=000C0000\0" \ -	"flash_nfs=run nfs_args add_net add_misc;bootm $(kernel_addr)\0" \ +	"flash_nfs=run nfs_args add_net add_misc;bootm ${kernel_addr}\0" \  	"mdm_init1=ATZ\0" \  	"mdm_init2=ATS0=1\0" \  	"mdm_flow_control=rts/cts\0" @@ -269,23 +269,23 @@  #else /* !CFG_HUSH_PARSER */  #define	CONFIG_EXTRA_ENV_SETTINGS	\  	"nfs_args=setenv bootargs root=/dev/nfs rw " \ -		"nfsroot=$(serverip):$(rootpath)\0" \ +		"nfsroot=${serverip}:${rootpath}\0" \  	"rootpath=/opt/eldk/arm_920TDI\0" \  	"ram_args=setenv bootargs root=/dev/ram rw\0" \ -	"add_net=setenv bootargs $(bootargs) ethaddr=$(ethaddr) " \ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off\0" \ -	"add_misc=setenv bootargs $(bootargs) console=ttyS0 panic=1\0" \ +	"add_net=setenv bootargs ${bootargs} ethaddr=${ethaddr} " \ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off\0" \ +	"add_misc=setenv bootargs ${bootargs} console=ttyS0 panic=1\0" \  	"u-boot=/tftpboot/TRAB/u-boot.bin\0" \ -	"load=tftp C100000 $(u-boot)\0" \ +	"load=tftp C100000 ${u-boot}\0" \  	"update=protect off 0 3FFFF;era 0 3FFFF;" \ -		"cp.b C100000 0 $(filesize);" \ +		"cp.b C100000 0 ${filesize};" \  		"setenv filesize;saveenv\0" \  	"loadfile=/tftpboot/TRAB/uImage\0" \  	"loadaddr=C400000\0" \ -	"net_load=tftpboot $(loadaddr) $(loadfile)\0" \ +	"net_load=tftpboot ${loadaddr} ${loadfile}\0" \  	"net_nfs=run net_load nfs_args add_net add_misc;bootm\0" \  	"kernel_addr=000C0000\0" \ -	"flash_nfs=run nfs_args add_net add_misc;bootm $(kernel_addr)\0" \ +	"flash_nfs=run nfs_args add_net add_misc;bootm ${kernel_addr}\0" \  	"mdm_init1=ATZ\0" \  	"mdm_init2=ATS0=1\0" \  	"mdm_flow_control=rts/cts\0" diff --git a/include/configs/uc100.h b/include/configs/uc100.h index 187df71dd..c4e629ade 100644 --- a/include/configs/uc100.h +++ b/include/configs/uc100.h @@ -68,17 +68,17 @@  #define	CONFIG_EXTRA_ENV_SETTINGS					\  	"netdev=eth0\0"							\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ -	"addtty=setenv bootargs $(bootargs) console=ttyS0,$(baudrate)\0"\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\ +	"addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}\0"\  	"flash_nfs=run nfsargs addip addtty;"				\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip addtty;"				\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip addtty;"     \ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \  	        "bootm\0"						\  	"rootpath=/opt/eldk/ppc_8xx\0"					\  	"bootfile=/tftpboot/uc100/uImage\0"				\ @@ -86,7 +86,7 @@  	"ramdisk_addr=40100000\0"					\  	"load=tftp 100000 /tftpboot/uc100/u-boot.bin\0"			\  	"update=protect off 40700000 4073ffff;era 40700000 4073ffff;"	\ -		"cp.b 100000 40700000 $(filesize);"			\ +		"cp.b 100000 40700000 ${filesize};"			\  		"setenv filesize;saveenv\0"				\  	""  #define CONFIG_BOOTCOMMAND	"run flash_self" diff --git a/include/configs/utx8245.h b/include/configs/utx8245.h index 4c4c279fa..d312b6559 100644 --- a/include/configs/utx8245.h +++ b/include/configs/utx8245.h @@ -70,19 +70,19 @@  	"ramdisk_addr=FF800000\0" \  	"u-boot_startaddr=FFB00000\0" \  	"u-boot_endaddr=FFB2FFFF\0" \ -	"nfsargs=setenv bootargs console=ttyS0,$(baudrate) root=/dev/nfs rw \ -nfsroot=$(nfsrootip):$(rootpath) ip=dhcp\0" \ -	"ramargs=setenv bootargs console=ttyS0,$(baudrate) root=/dev/ram0\0" \ -	"smargs=setenv bootargs console=ttyS0,$(baudrate) root=/dev/mtdblock1 ro\0" \ -	"fwargs=setenv bootargs console=ttyS0,$(baudrate) root=/dev/sda2 ro\0" \ -	"nfsboot=run nfsargs;bootm $(kernel_addr)\0" \ -	"ramboot=run ramargs;bootm $(kernel_addr) $(ramdisk_addr)\0" \ -	"smboot=run smargs;bootm $(kernel_addr) $(ramdisk_addr)\0" \ -	"fwboot=run fwargs;bootm $(kernel_addr) $(ramdisk_addr)\0" \ -	"update_u-boot=tftp $(loadaddr) /bdi2000/u-boot.bin;protect off \ -$(u-boot_startaddr) $(u-boot_endaddr);era $(u-boot_startaddr) \ -$(u-boot_endaddr);cp.b $(loadaddr) $(u-boot_startaddr) $(filesize);\ -protect on $(u-boot_startaddr) $(u-boot_endaddr)" +	"nfsargs=setenv bootargs console=ttyS0,${baudrate} root=/dev/nfs rw \ +nfsroot=${nfsrootip}:${rootpath} ip=dhcp\0" \ +	"ramargs=setenv bootargs console=ttyS0,${baudrate} root=/dev/ram0\0" \ +	"smargs=setenv bootargs console=ttyS0,${baudrate} root=/dev/mtdblock1 ro\0" \ +	"fwargs=setenv bootargs console=ttyS0,${baudrate} root=/dev/sda2 ro\0" \ +	"nfsboot=run nfsargs;bootm ${kernel_addr}\0" \ +	"ramboot=run ramargs;bootm ${kernel_addr} ${ramdisk_addr}\0" \ +	"smboot=run smargs;bootm ${kernel_addr} ${ramdisk_addr}\0" \ +	"fwboot=run fwargs;bootm ${kernel_addr} ${ramdisk_addr}\0" \ +	"update_u-boot=tftp ${loadaddr} /bdi2000/u-boot.bin;protect off \ +${u-boot_startaddr} ${u-boot_endaddr};era ${u-boot_startaddr} \ +${u-boot_endaddr};cp.b ${loadaddr} ${u-boot_startaddr} ${filesize};\ +protect on ${u-boot_startaddr} ${u-boot_endaddr}"  #define CONFIG_ENV_OVERWRITE diff --git a/include/configs/v37.h b/include/configs/v37.h index b3c62556d..a2e99b59e 100644 --- a/include/configs/v37.h +++ b/include/configs/v37.h @@ -65,8 +65,8 @@  #define CONFIG_BOOTCOMMAND							\  	"tftpboot; " 								\  	"setenv bootargs console=tty0 "                                   \ -	"root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) "		 	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " 	\ +	"root=/dev/nfs rw nfsroot=${serverip}:${rootpath} "		 	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " 	\  	"bootm"  #define CONFIG_LOADS_ECHO	1	/* echo on for serial download	*/ diff --git a/include/configs/voiceblue.h b/include/configs/voiceblue.h index 72b0a4c8e..c5ee78ff4 100644 --- a/include/configs/voiceblue.h +++ b/include/configs/voiceblue.h @@ -163,10 +163,10 @@  #define CFG_AUTOLOAD		"n"	/* no autoload */  #define CONFIG_PREBOOT		"run setup"  #define	CONFIG_EXTRA_ENV_SETTINGS				\ -	"setup=setenv bootargs console=ttyS0,$(baudrate) "	\ +	"setup=setenv bootargs console=ttyS0,${baudrate} "	\  		"root=/dev/nfs ip=dhcp\0"			\  	"update=erase c000000 c03ffff; "			\ -		"cp.b 10400000 c000000 $(filesize)\0" +		"cp.b 10400000 c000000 ${filesize}\0"  #else  #define CONFIG_BOOTDELAY	3  #undef  CONFIG_BOOTARGS		/* boot command will set bootargs */ diff --git a/include/configs/walnut.h b/include/configs/walnut.h index 6dbce5788..1171ee5ae 100644 --- a/include/configs/walnut.h +++ b/include/configs/walnut.h @@ -52,17 +52,17 @@  	"netdev=eth0\0"							\  	"hostname=walnut\0"						\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ -	"addtty=setenv bootargs $(bootargs) console=ttyS0,$(baudrate)\0"\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\ +	"addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}\0"\  	"flash_nfs=run nfsargs addip addtty;"				\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip addtty;"				\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip addtty;"	\ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"	\  		"bootm\0"						\  	"rootpath=/opt/eldk/ppc_4xx\0"					\  	"bootfile=/tftpboot/walnut/uImage\0"				\ diff --git a/include/configs/yellowstone.h b/include/configs/yellowstone.h index 092959e33..d3e9671bc 100644 --- a/include/configs/yellowstone.h +++ b/include/configs/yellowstone.h @@ -159,17 +159,17 @@  	"netdev=eth0\0"							\  	"hostname=yellowstone\0"					\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ -	"addtty=setenv bootargs $(bootargs) console=ttyS0,$(baudrate)\0"\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\ +	"addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}\0"\  	"flash_nfs=run nfsargs addip addtty;"				\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip addtty;"				\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip addtty;"     \ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \  	        "bootm\0"						\  	"rootpath=/opt/eldk/ppc_4xx\0"					\  	"bootfile=/tftpboot/yellowstone/uImage\0"			\ diff --git a/include/configs/yosemite.h b/include/configs/yosemite.h index d2bba98d0..a67b83486 100644 --- a/include/configs/yosemite.h +++ b/include/configs/yosemite.h @@ -159,17 +159,17 @@  	"netdev=eth0\0"							\  	"hostname=yosemite\0"						\  	"nfsargs=setenv bootargs root=/dev/nfs rw "			\ -		"nfsroot=$(serverip):$(rootpath)\0"			\ +		"nfsroot=${serverip}:${rootpath}\0"			\  	"ramargs=setenv bootargs root=/dev/ram rw\0"			\ -	"addip=setenv bootargs $(bootargs) "				\ -		"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)"	\ -		":$(hostname):$(netdev):off panic=1\0"			\ -	"addtty=setenv bootargs $(bootargs) console=ttyS0,$(baudrate)\0"\ +	"addip=setenv bootargs ${bootargs} "				\ +		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\ +		":${hostname}:${netdev}:off panic=1\0"			\ +	"addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}\0"\  	"flash_nfs=run nfsargs addip addtty;"				\ -		"bootm $(kernel_addr)\0"				\ +		"bootm ${kernel_addr}\0"				\  	"flash_self=run ramargs addip addtty;"				\ -		"bootm $(kernel_addr) $(ramdisk_addr)\0"		\ -	"net_nfs=tftp 200000 $(bootfile);run nfsargs addip addtty;"     \ +		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\ +	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \  	        "bootm\0"						\  	"rootpath=/opt/eldk/ppc_4xx\0"					\  	"bootfile=/tftpboot/yosemite/uImage\0"				\ diff --git a/tools/env/fw_env.h b/tools/env/fw_env.h index cc2ff0957..13c45a278 100644 --- a/tools/env/fw_env.h +++ b/tools/env/fw_env.h @@ -43,8 +43,8 @@  #define CONFIG_BOOTDELAY	5	/* autoboot after 5 seconds	*/  #define CONFIG_BOOTCOMMAND							\  	"bootp; " 								\ -	"setenv bootargs root=/dev/nfs nfsroot=$(serverip):$(rootpath) " 	\ -	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " 	\ +	"setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} " 	\ +	"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " 	\  	"bootm"  extern		void  fw_printenv(int argc, char *argv[]); |