mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
ppc: Rework some hard-coded BOOTCOMMANDS
There are an assortment of hard-coded CONFIG_BOOTCOMMAND options in some board headers. Rework these so that they do not add to the CONFIG namespace. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
5afdcca019
commit
7ae1b0804d
23 changed files with 76 additions and 76 deletions
|
@ -342,7 +342,7 @@
|
||||||
"fdtfile=mpc834x_mds.dtb\0" \
|
"fdtfile=mpc834x_mds.dtb\0" \
|
||||||
""
|
""
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
"nfsroot=$serverip:$rootpath " \
|
"nfsroot=$serverip:$rootpath " \
|
||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:" \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:" \
|
||||||
|
@ -352,7 +352,7 @@
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define RAMBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $ramdiskaddr $ramdiskfile;" \
|
"tftp $ramdiskaddr $ramdiskfile;" \
|
||||||
|
|
|
@ -399,7 +399,7 @@
|
||||||
"fdtfile=mpc834x_mds.dtb\0" \
|
"fdtfile=mpc834x_mds.dtb\0" \
|
||||||
""
|
""
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
"nfsroot=$serverip:$rootpath " \
|
"nfsroot=$serverip:$rootpath " \
|
||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:" \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:" \
|
||||||
|
@ -409,7 +409,7 @@
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define RAMBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $ramdiskaddr $ramdiskfile;" \
|
"tftp $ramdiskaddr $ramdiskfile;" \
|
||||||
|
|
|
@ -387,7 +387,7 @@
|
||||||
"$netdev:off " \
|
"$netdev:off " \
|
||||||
"root=$rootdev rw console=$console,$baudrate $othbootargs\0"
|
"root=$rootdev rw console=$console,$baudrate $othbootargs\0"
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv rootdev /dev/nfs;" \
|
"setenv rootdev /dev/nfs;" \
|
||||||
"run setbootargs;" \
|
"run setbootargs;" \
|
||||||
"run setipargs;" \
|
"run setipargs;" \
|
||||||
|
@ -395,7 +395,7 @@
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define RAMBOOTCOMMAND \
|
||||||
"setenv rootdev /dev/ram;" \
|
"setenv rootdev /dev/ram;" \
|
||||||
"run setbootargs;" \
|
"run setbootargs;" \
|
||||||
"tftp $ramdiskaddr $ramdiskfile;" \
|
"tftp $ramdiskaddr $ramdiskfile;" \
|
||||||
|
|
|
@ -327,7 +327,7 @@
|
||||||
"fdtaddr=400000\0" \
|
"fdtaddr=400000\0" \
|
||||||
"fdtfile=your.fdt.dtb\0"
|
"fdtfile=your.fdt.dtb\0"
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
"nfsroot=$serverip:$rootpath " \
|
"nfsroot=$serverip:$rootpath " \
|
||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
||||||
|
@ -336,7 +336,7 @@
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define RAMBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $ramdiskaddr $ramdiskfile;" \
|
"tftp $ramdiskaddr $ramdiskfile;" \
|
||||||
|
@ -344,6 +344,6 @@
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND CONFIG_NFSBOOTCOMMAND
|
#define CONFIG_BOOTCOMMAND NFSBOOTCOMMAND
|
||||||
|
|
||||||
#endif /* __CONFIG_H */
|
#endif /* __CONFIG_H */
|
||||||
|
|
|
@ -468,7 +468,7 @@ extern unsigned long get_clock_freq(void);
|
||||||
"fdtaddr=1e00000\0" \
|
"fdtaddr=1e00000\0" \
|
||||||
"fdtfile=mpc8548cds.dtb\0"
|
"fdtfile=mpc8548cds.dtb\0"
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
"nfsroot=$serverip:$rootpath " \
|
"nfsroot=$serverip:$rootpath " \
|
||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
||||||
|
@ -477,7 +477,7 @@ extern unsigned long get_clock_freq(void);
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define RAMBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $ramdiskaddr $ramdiskfile;" \
|
"tftp $ramdiskaddr $ramdiskfile;" \
|
||||||
|
@ -485,6 +485,6 @@ extern unsigned long get_clock_freq(void);
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND CONFIG_NFSBOOTCOMMAND
|
#define CONFIG_BOOTCOMMAND NFSBOOTCOMMAND
|
||||||
|
|
||||||
#endif /* __CONFIG_H */
|
#endif /* __CONFIG_H */
|
||||||
|
|
|
@ -316,7 +316,7 @@
|
||||||
"fdtaddr=400000\0" \
|
"fdtaddr=400000\0" \
|
||||||
"fdtfile=mpc8560ads.dtb\0"
|
"fdtfile=mpc8560ads.dtb\0"
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
"nfsroot=$serverip:$rootpath " \
|
"nfsroot=$serverip:$rootpath " \
|
||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
||||||
|
@ -325,7 +325,7 @@
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define RAMBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $ramdiskaddr $ramdiskfile;" \
|
"tftp $ramdiskaddr $ramdiskfile;" \
|
||||||
|
@ -333,6 +333,6 @@
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND CONFIG_NFSBOOTCOMMAND
|
#define CONFIG_BOOTCOMMAND NFSBOOTCOMMAND
|
||||||
|
|
||||||
#endif /* __CONFIG_H */
|
#endif /* __CONFIG_H */
|
||||||
|
|
|
@ -696,7 +696,7 @@ extern unsigned long get_sdram_size(void);
|
||||||
"i2c mw 19 1 4; i2c mw 19 3 f3; reset\0"
|
"i2c mw 19 1 4; i2c mw 19 3 f3; reset\0"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define RAMBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs; " \
|
"console=$consoledev,$baudrate $othbootargs; " \
|
||||||
"tftp $ramdiskaddr $ramdiskfile;" \
|
"tftp $ramdiskaddr $ramdiskfile;" \
|
||||||
|
@ -704,7 +704,7 @@ extern unsigned long get_sdram_size(void);
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND CONFIG_RAMBOOTCOMMAND
|
#define CONFIG_BOOTCOMMAND RAMBOOTCOMMAND
|
||||||
|
|
||||||
#include <asm/fsl_secure_boot.h>
|
#include <asm/fsl_secure_boot.h>
|
||||||
|
|
||||||
|
|
|
@ -509,14 +509,14 @@ unsigned long get_board_sys_clk(unsigned long dummy);
|
||||||
"fdtfile=p2041rdb/p2041rdb.dtb\0" \
|
"fdtfile=p2041rdb/p2041rdb.dtb\0" \
|
||||||
"bdev=sda3\0"
|
"bdev=sda3\0"
|
||||||
|
|
||||||
#define CONFIG_HDBOOT \
|
#define HDBOOT \
|
||||||
"setenv bootargs root=/dev/$bdev rw " \
|
"setenv bootargs root=/dev/$bdev rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $loadaddr $bootfile;" \
|
"tftp $loadaddr $bootfile;" \
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
"nfsroot=$serverip:$rootpath " \
|
"nfsroot=$serverip:$rootpath " \
|
||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
||||||
|
@ -525,7 +525,7 @@ unsigned long get_board_sys_clk(unsigned long dummy);
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define RAMBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $ramdiskaddr $ramdiskfile;" \
|
"tftp $ramdiskaddr $ramdiskfile;" \
|
||||||
|
@ -533,7 +533,7 @@ unsigned long get_board_sys_clk(unsigned long dummy);
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND CONFIG_HDBOOT
|
#define CONFIG_BOOTCOMMAND HDBOOT
|
||||||
|
|
||||||
#include <asm/fsl_secure_boot.h>
|
#include <asm/fsl_secure_boot.h>
|
||||||
|
|
||||||
|
|
|
@ -650,7 +650,7 @@ unsigned long get_board_ddr_clk(void);
|
||||||
"fdtaddr=1e00000\0" \
|
"fdtaddr=1e00000\0" \
|
||||||
"bdev=sda3\0"
|
"bdev=sda3\0"
|
||||||
|
|
||||||
#define CONFIG_LINUX \
|
#define LINUXBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"setenv ramdiskaddr 0x02000000;" \
|
"setenv ramdiskaddr 0x02000000;" \
|
||||||
|
@ -658,7 +658,7 @@ unsigned long get_board_ddr_clk(void);
|
||||||
"setenv loadaddr 0x1000000;" \
|
"setenv loadaddr 0x1000000;" \
|
||||||
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
"nfsroot=$serverip:$rootpath " \
|
"nfsroot=$serverip:$rootpath " \
|
||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
||||||
|
@ -667,7 +667,7 @@ unsigned long get_board_ddr_clk(void);
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND CONFIG_LINUX
|
#define CONFIG_BOOTCOMMAND LINUXBOOTCOMMAND
|
||||||
|
|
||||||
#include <asm/fsl_secure_boot.h>
|
#include <asm/fsl_secure_boot.h>
|
||||||
|
|
||||||
|
|
|
@ -727,7 +727,7 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
|
||||||
"fdtfile=" __stringify(FDTFILE) "\0" \
|
"fdtfile=" __stringify(FDTFILE) "\0" \
|
||||||
"bdev=sda3\0"
|
"bdev=sda3\0"
|
||||||
|
|
||||||
#define CONFIG_LINUX \
|
#define LINUXBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"setenv ramdiskaddr 0x02000000;" \
|
"setenv ramdiskaddr 0x02000000;" \
|
||||||
|
@ -735,14 +735,14 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
|
||||||
"setenv loadaddr 0x1000000;" \
|
"setenv loadaddr 0x1000000;" \
|
||||||
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_HDBOOT \
|
#define HDBOOT \
|
||||||
"setenv bootargs root=/dev/$bdev rw " \
|
"setenv bootargs root=/dev/$bdev rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $loadaddr $bootfile;" \
|
"tftp $loadaddr $bootfile;" \
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
"nfsroot=$serverip:$rootpath " \
|
"nfsroot=$serverip:$rootpath " \
|
||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
||||||
|
@ -751,7 +751,7 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define RAMBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $ramdiskaddr $ramdiskfile;" \
|
"tftp $ramdiskaddr $ramdiskfile;" \
|
||||||
|
@ -759,7 +759,7 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND CONFIG_LINUX
|
#define CONFIG_BOOTCOMMAND LINUXBOOTCOMMAND
|
||||||
|
|
||||||
#include <asm/fsl_secure_boot.h>
|
#include <asm/fsl_secure_boot.h>
|
||||||
|
|
||||||
|
|
|
@ -644,7 +644,7 @@ unsigned long get_board_ddr_clk(void);
|
||||||
* For emulation this causes u-boot to jump to the start of the
|
* For emulation this causes u-boot to jump to the start of the
|
||||||
* proof point app code automatically
|
* proof point app code automatically
|
||||||
*/
|
*/
|
||||||
#define CONFIG_PROOF_POINTS \
|
#define PROOF_POINTS \
|
||||||
"setenv bootargs root=/dev/$bdev rw " \
|
"setenv bootargs root=/dev/$bdev rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"cpu 1 release 0x29000000 - - -;" \
|
"cpu 1 release 0x29000000 - - -;" \
|
||||||
|
@ -656,11 +656,11 @@ unsigned long get_board_ddr_clk(void);
|
||||||
"cpu 7 release 0x29000000 - - -;" \
|
"cpu 7 release 0x29000000 - - -;" \
|
||||||
"go 0x29000000"
|
"go 0x29000000"
|
||||||
|
|
||||||
#define CONFIG_HVBOOT \
|
#define HVBOOT \
|
||||||
"setenv bootargs config-addr=0x60000000; " \
|
"setenv bootargs config-addr=0x60000000; " \
|
||||||
"bootm 0x01000000 - 0x00f00000"
|
"bootm 0x01000000 - 0x00f00000"
|
||||||
|
|
||||||
#define CONFIG_ALU \
|
#define ALU \
|
||||||
"setenv bootargs root=/dev/$bdev rw " \
|
"setenv bootargs root=/dev/$bdev rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"cpu 1 release 0x01000000 - - -;" \
|
"cpu 1 release 0x01000000 - - -;" \
|
||||||
|
@ -672,7 +672,7 @@ unsigned long get_board_ddr_clk(void);
|
||||||
"cpu 7 release 0x01000000 - - -;" \
|
"cpu 7 release 0x01000000 - - -;" \
|
||||||
"go 0x01000000"
|
"go 0x01000000"
|
||||||
|
|
||||||
#define CONFIG_LINUX \
|
#define LINUXBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"setenv ramdiskaddr 0x02000000;" \
|
"setenv ramdiskaddr 0x02000000;" \
|
||||||
|
@ -680,14 +680,14 @@ unsigned long get_board_ddr_clk(void);
|
||||||
"setenv loadaddr 0x1000000;" \
|
"setenv loadaddr 0x1000000;" \
|
||||||
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_HDBOOT \
|
#define HDBOOT \
|
||||||
"setenv bootargs root=/dev/$bdev rw " \
|
"setenv bootargs root=/dev/$bdev rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $loadaddr $bootfile;" \
|
"tftp $loadaddr $bootfile;" \
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
"nfsroot=$serverip:$rootpath " \
|
"nfsroot=$serverip:$rootpath " \
|
||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
||||||
|
@ -696,7 +696,7 @@ unsigned long get_board_ddr_clk(void);
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define RAMBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $ramdiskaddr $ramdiskfile;" \
|
"tftp $ramdiskaddr $ramdiskfile;" \
|
||||||
|
@ -704,7 +704,7 @@ unsigned long get_board_ddr_clk(void);
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND CONFIG_LINUX
|
#define CONFIG_BOOTCOMMAND LINUXBOOTCOMMAND
|
||||||
|
|
||||||
#include <asm/fsl_secure_boot.h>
|
#include <asm/fsl_secure_boot.h>
|
||||||
|
|
||||||
|
|
|
@ -593,7 +593,7 @@ unsigned long get_board_ddr_clk(void);
|
||||||
* For emulation this causes u-boot to jump to the start of the
|
* For emulation this causes u-boot to jump to the start of the
|
||||||
* proof point app code automatically
|
* proof point app code automatically
|
||||||
*/
|
*/
|
||||||
#define CONFIG_PROOF_POINTS \
|
#define PROOF_POINTS \
|
||||||
"setenv bootargs root=/dev/$bdev rw " \
|
"setenv bootargs root=/dev/$bdev rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"cpu 1 release 0x29000000 - - -;" \
|
"cpu 1 release 0x29000000 - - -;" \
|
||||||
|
@ -605,11 +605,11 @@ unsigned long get_board_ddr_clk(void);
|
||||||
"cpu 7 release 0x29000000 - - -;" \
|
"cpu 7 release 0x29000000 - - -;" \
|
||||||
"go 0x29000000"
|
"go 0x29000000"
|
||||||
|
|
||||||
#define CONFIG_HVBOOT \
|
#define HVBOOT \
|
||||||
"setenv bootargs config-addr=0x60000000; " \
|
"setenv bootargs config-addr=0x60000000; " \
|
||||||
"bootm 0x01000000 - 0x00f00000"
|
"bootm 0x01000000 - 0x00f00000"
|
||||||
|
|
||||||
#define CONFIG_ALU \
|
#define ALU \
|
||||||
"setenv bootargs root=/dev/$bdev rw " \
|
"setenv bootargs root=/dev/$bdev rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"cpu 1 release 0x01000000 - - -;" \
|
"cpu 1 release 0x01000000 - - -;" \
|
||||||
|
@ -621,7 +621,7 @@ unsigned long get_board_ddr_clk(void);
|
||||||
"cpu 7 release 0x01000000 - - -;" \
|
"cpu 7 release 0x01000000 - - -;" \
|
||||||
"go 0x01000000"
|
"go 0x01000000"
|
||||||
|
|
||||||
#define CONFIG_LINUX \
|
#define LINUXBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"setenv ramdiskaddr 0x02000000;" \
|
"setenv ramdiskaddr 0x02000000;" \
|
||||||
|
@ -629,14 +629,14 @@ unsigned long get_board_ddr_clk(void);
|
||||||
"setenv loadaddr 0x1000000;" \
|
"setenv loadaddr 0x1000000;" \
|
||||||
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_HDBOOT \
|
#define HDBOOT \
|
||||||
"setenv bootargs root=/dev/$bdev rw " \
|
"setenv bootargs root=/dev/$bdev rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $loadaddr $bootfile;" \
|
"tftp $loadaddr $bootfile;" \
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
"nfsroot=$serverip:$rootpath " \
|
"nfsroot=$serverip:$rootpath " \
|
||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
||||||
|
@ -645,7 +645,7 @@ unsigned long get_board_ddr_clk(void);
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define RAMBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $ramdiskaddr $ramdiskfile;" \
|
"tftp $ramdiskaddr $ramdiskfile;" \
|
||||||
|
@ -653,7 +653,7 @@ unsigned long get_board_ddr_clk(void);
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND CONFIG_LINUX
|
#define CONFIG_BOOTCOMMAND LINUXBOOTCOMMAND
|
||||||
|
|
||||||
#include <asm/fsl_secure_boot.h>
|
#include <asm/fsl_secure_boot.h>
|
||||||
|
|
||||||
|
|
|
@ -237,7 +237,7 @@
|
||||||
/* default location for tftp and bootm */
|
/* default location for tftp and bootm */
|
||||||
#define CONFIG_LOADADDR 1000000
|
#define CONFIG_LOADADDR 1000000
|
||||||
|
|
||||||
#define CONFIG_HVBOOT \
|
#define HVBOOT \
|
||||||
"setenv bootargs config-addr=0x60000000; " \
|
"setenv bootargs config-addr=0x60000000; " \
|
||||||
"bootm 0x01000000 - 0x00f00000"
|
"bootm 0x01000000 - 0x00f00000"
|
||||||
|
|
||||||
|
@ -586,11 +586,11 @@ unsigned long get_board_ddr_clk(void);
|
||||||
"fdtfile=t4240rdb/t4240rdb.dtb\0" \
|
"fdtfile=t4240rdb/t4240rdb.dtb\0" \
|
||||||
"bdev=sda3\0"
|
"bdev=sda3\0"
|
||||||
|
|
||||||
#define CONFIG_HVBOOT \
|
#define HVBOOT \
|
||||||
"setenv bootargs config-addr=0x60000000; " \
|
"setenv bootargs config-addr=0x60000000; " \
|
||||||
"bootm 0x01000000 - 0x00f00000"
|
"bootm 0x01000000 - 0x00f00000"
|
||||||
|
|
||||||
#define CONFIG_LINUX \
|
#define LINUXBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"setenv ramdiskaddr 0x02000000;" \
|
"setenv ramdiskaddr 0x02000000;" \
|
||||||
|
@ -598,14 +598,14 @@ unsigned long get_board_ddr_clk(void);
|
||||||
"setenv loadaddr 0x1000000;" \
|
"setenv loadaddr 0x1000000;" \
|
||||||
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_HDBOOT \
|
#define HDBOOT \
|
||||||
"setenv bootargs root=/dev/$bdev rw " \
|
"setenv bootargs root=/dev/$bdev rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $loadaddr $bootfile;" \
|
"tftp $loadaddr $bootfile;" \
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
"nfsroot=$serverip:$rootpath " \
|
"nfsroot=$serverip:$rootpath " \
|
||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
||||||
|
@ -614,7 +614,7 @@ unsigned long get_board_ddr_clk(void);
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define RAMBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $ramdiskaddr $ramdiskfile;" \
|
"tftp $ramdiskaddr $ramdiskfile;" \
|
||||||
|
@ -622,7 +622,7 @@ unsigned long get_board_ddr_clk(void);
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND CONFIG_LINUX
|
#define CONFIG_BOOTCOMMAND LINUXBOOTCOMMAND
|
||||||
|
|
||||||
#include <asm/fsl_secure_boot.h>
|
#include <asm/fsl_secure_boot.h>
|
||||||
|
|
||||||
|
|
|
@ -134,7 +134,7 @@
|
||||||
" gpio clear ${gpio1}; gpio set ${gpio2};" \
|
" gpio clear ${gpio1}; gpio set ${gpio2};" \
|
||||||
" fi; sleep 0.12; done\0"
|
" fi; sleep 0.12; done\0"
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
"nfsroot=${serverip}:${rootpath} " \
|
"nfsroot=${serverip}:${rootpath} " \
|
||||||
"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off " \
|
"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off " \
|
||||||
|
@ -142,7 +142,7 @@
|
||||||
"tftpboot ${bootfile_addr} ${bootfile}; " \
|
"tftpboot ${bootfile_addr} ${bootfile}; " \
|
||||||
"bootm ${bootfile_addr}"
|
"bootm ${bootfile_addr}"
|
||||||
|
|
||||||
#define CONFIG_MMCBOOTCOMMAND \
|
#define MMCBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/mmcblk0p3 rw rootwait " \
|
"setenv bootargs root=/dev/mmcblk0p3 rw rootwait " \
|
||||||
"console=${consoledev},${baudrate} ${othbootargs}; " \
|
"console=${consoledev},${baudrate} ${othbootargs}; " \
|
||||||
"ext2load mmc 0:2 ${bootfile_addr} ${bootfile}; " \
|
"ext2load mmc 0:2 ${bootfile_addr} ${bootfile}; " \
|
||||||
|
|
|
@ -523,14 +523,14 @@
|
||||||
"fdtfile=p4080ds/p4080ds.dtb\0" \
|
"fdtfile=p4080ds/p4080ds.dtb\0" \
|
||||||
"bdev=sda3\0"
|
"bdev=sda3\0"
|
||||||
|
|
||||||
#define CONFIG_HDBOOT \
|
#define HDBOOT \
|
||||||
"setenv bootargs root=/dev/$bdev rw " \
|
"setenv bootargs root=/dev/$bdev rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $loadaddr $bootfile;" \
|
"tftp $loadaddr $bootfile;" \
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
"nfsroot=$serverip:$rootpath " \
|
"nfsroot=$serverip:$rootpath " \
|
||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
||||||
|
@ -539,7 +539,7 @@
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define RAMBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $ramdiskaddr $ramdiskfile;" \
|
"tftp $ramdiskaddr $ramdiskfile;" \
|
||||||
|
@ -547,7 +547,7 @@
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND CONFIG_HDBOOT
|
#define CONFIG_BOOTCOMMAND HDBOOT
|
||||||
|
|
||||||
#include <asm/fsl_secure_boot.h>
|
#include <asm/fsl_secure_boot.h>
|
||||||
|
|
||||||
|
|
|
@ -105,7 +105,7 @@
|
||||||
__stringify(CONFIG_SYS_MONITOR_BASE) " ${filesize}\0" \
|
__stringify(CONFIG_SYS_MONITOR_BASE) " ${filesize}\0" \
|
||||||
"upd=run load update\0" \
|
"upd=run load update\0" \
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
"nfsroot=$serverip:$rootpath " \
|
"nfsroot=$serverip:$rootpath " \
|
||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
||||||
|
@ -114,13 +114,13 @@
|
||||||
"tftp ${fdt_addr} $fdtfile;" \
|
"tftp ${fdt_addr} $fdtfile;" \
|
||||||
"bootm ${kernel_addr} - ${fdt_addr}"
|
"bootm ${kernel_addr} - ${fdt_addr}"
|
||||||
|
|
||||||
#define CONFIG_MMCBOOTCOMMAND \
|
#define MMCBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/mmcblk0p3 rw rootwait " \
|
"setenv bootargs root=/dev/mmcblk0p3 rw rootwait " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"ext2load mmc 0:2 ${kernel_addr} $bootfile;" \
|
"ext2load mmc 0:2 ${kernel_addr} $bootfile;" \
|
||||||
"ext2load mmc 0:2 ${fdt_addr} $fdtfile;" \
|
"ext2load mmc 0:2 ${fdt_addr} $fdtfile;" \
|
||||||
"bootm ${kernel_addr} - ${fdt_addr}"
|
"bootm ${kernel_addr} - ${fdt_addr}"
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND CONFIG_MMCBOOTCOMMAND
|
#define CONFIG_BOOTCOMMAND MMCBOOTCOMMAND
|
||||||
|
|
||||||
#endif /* __CONFIG_H */
|
#endif /* __CONFIG_H */
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
"nfs ${loadaddr} /srv/nfs/fitImage; " \
|
"nfs ${loadaddr} /srv/nfs/fitImage; " \
|
||||||
"bootm ${loadaddr}\0" \
|
"bootm ${loadaddr}\0" \
|
||||||
|
|
||||||
#define CONFIG_NETWORKBOOTCOMMAND \
|
#define NETWORKBOOTCOMMAND \
|
||||||
"run networkboot; " \
|
"run networkboot; " \
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
@ -108,14 +108,14 @@
|
||||||
"run doboot; " \
|
"run doboot; " \
|
||||||
"run failbootcmd\0" \
|
"run failbootcmd\0" \
|
||||||
|
|
||||||
#define CONFIG_MMCBOOTCOMMAND \
|
#define MMCBOOTCOMMAND \
|
||||||
"run doquiet; " \
|
"run doquiet; " \
|
||||||
"run tryboot; " \
|
"run tryboot; " \
|
||||||
|
|
||||||
#ifdef CONFIG_CMD_NFS
|
#ifdef CONFIG_CMD_NFS
|
||||||
#define CONFIG_BOOTCOMMAND CONFIG_NETWORKBOOTCOMMAND
|
#define CONFIG_BOOTCOMMAND NETWORKBOOTCOMMAND
|
||||||
#else
|
#else
|
||||||
#define CONFIG_BOOTCOMMAND CONFIG_MMCBOOTCOMMAND
|
#define CONFIG_BOOTCOMMAND MMCBOOTCOMMAND
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -279,7 +279,7 @@
|
||||||
"mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \
|
"mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \
|
||||||
"\0"
|
"\0"
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv rootdev /dev/nfs;" \
|
"setenv rootdev /dev/nfs;" \
|
||||||
"run setipargs;run addmtd;" \
|
"run setipargs;run addmtd;" \
|
||||||
"tftp ${loadaddr} ${bootfile};" \
|
"tftp ${loadaddr} ${bootfile};" \
|
||||||
|
|
|
@ -102,11 +102,11 @@
|
||||||
"video-mode=" \
|
"video-mode=" \
|
||||||
"lcd:800x480-24@60,monitor=lcd\0" \
|
"lcd:800x480-24@60,monitor=lcd\0" \
|
||||||
|
|
||||||
#define CONFIG_MMCBOOTCOMMAND \
|
#define MMCBOOTCOMMAND \
|
||||||
"run doquiet; " \
|
"run doquiet; " \
|
||||||
"run tryboot; " \
|
"run tryboot; " \
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND CONFIG_MMCBOOTCOMMAND
|
#define CONFIG_BOOTCOMMAND MMCBOOTCOMMAND
|
||||||
|
|
||||||
#define CONFIG_ARP_TIMEOUT 200UL
|
#define CONFIG_ARP_TIMEOUT 200UL
|
||||||
|
|
||||||
|
|
|
@ -675,7 +675,7 @@ __stringify(__SD_RST_CMD)"\0" \
|
||||||
__stringify(__NAND_RST_CMD)"\0" \
|
__stringify(__NAND_RST_CMD)"\0" \
|
||||||
__stringify(__PCIE_RST_CMD)"\0"
|
__stringify(__PCIE_RST_CMD)"\0"
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
"nfsroot=$serverip:$rootpath " \
|
"nfsroot=$serverip:$rootpath " \
|
||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
||||||
|
@ -684,7 +684,7 @@ __stringify(__PCIE_RST_CMD)"\0"
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_HDBOOT \
|
#define HDBOOT \
|
||||||
"setenv bootargs root=/dev/$bdev rw rootdelay=30 " \
|
"setenv bootargs root=/dev/$bdev rw rootdelay=30 " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"usb start;" \
|
"usb start;" \
|
||||||
|
@ -717,7 +717,7 @@ __stringify(__PCIE_RST_CMD)"\0"
|
||||||
"console=$consoledev,$baudrate rootfstype=jffs2 $othbootargs;" \
|
"console=$consoledev,$baudrate rootfstype=jffs2 $othbootargs;" \
|
||||||
"bootm $norbootaddr - $norfdtaddr"
|
"bootm $norbootaddr - $norfdtaddr"
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define RAMBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs " \
|
"console=$consoledev,$baudrate $othbootargs " \
|
||||||
"ramdisk_size=$ramdisk_size;" \
|
"ramdisk_size=$ramdisk_size;" \
|
||||||
|
@ -726,6 +726,6 @@ __stringify(__PCIE_RST_CMD)"\0"
|
||||||
"tftp $fdtaddr $fdtfile;" \
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
"bootm $loadaddr $ramdiskaddr $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND CONFIG_HDBOOT
|
#define CONFIG_BOOTCOMMAND HDBOOT
|
||||||
|
|
||||||
#endif /* __CONFIG_H */
|
#endif /* __CONFIG_H */
|
||||||
|
|
|
@ -101,7 +101,7 @@
|
||||||
|
|
||||||
/* BOOTP and DHCP options */
|
/* BOOTP and DHCP options */
|
||||||
#define CONFIG_BOOTP_BOOTFILESIZE
|
#define CONFIG_BOOTP_BOOTFILESIZE
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv autoload yes; setenv autoboot yes; " \
|
"setenv autoload yes; setenv autoboot yes; " \
|
||||||
"setenv bootargs ${basicargs} ${mtdparts} " \
|
"setenv bootargs ${basicargs} ${mtdparts} " \
|
||||||
"root=/dev/nfs ip=dhcp nfsroot=${serverip}:/srv/nfs/rootfs; " \
|
"root=/dev/nfs ip=dhcp nfsroot=${serverip}:/srv/nfs/rootfs; " \
|
||||||
|
|
|
@ -84,7 +84,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CONFIG_ROOTPATH "/nfs/root/path"
|
#define CONFIG_ROOTPATH "/nfs/root/path"
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv bootargs $bootargs root=/dev/nfs rw " \
|
"setenv bootargs $bootargs root=/dev/nfs rw " \
|
||||||
"nfsroot=$serverip:$rootpath " \
|
"nfsroot=$serverip:$rootpath " \
|
||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off;" \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off;" \
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
"ramdiskfile=initramfs.gz\0"
|
"ramdiskfile=initramfs.gz\0"
|
||||||
|
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define RAMBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
"tftpboot $ramdisk_addr_r $ramdiskfile;" \
|
"tftpboot $ramdisk_addr_r $ramdiskfile;" \
|
||||||
"zboot $kernel_addr_r 0 $ramdisk_addr_r $filesize"
|
"zboot $kernel_addr_r 0 $ramdisk_addr_r $filesize"
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
"nfsroot=$serverip:$rootpath " \
|
"nfsroot=$serverip:$rootpath " \
|
||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
||||||
|
|
Loading…
Reference in a new issue