mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-08 11:36:21 -04:00
Updated config headers to add default FDT-based booting
This commit is contained in:
parent
09f3e09e9e
commit
8272dc2f58
@ -517,8 +517,10 @@
|
|||||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||||
"netdev=eth0\0" \
|
"netdev=eth0\0" \
|
||||||
"consoledev=ttyS0\0" \
|
"consoledev=ttyS0\0" \
|
||||||
"ramdiskaddr=400000\0" \
|
"ramdiskaddr=600000\0" \
|
||||||
"ramdiskfile=your.ramdisk.u-boot\0"
|
"ramdiskfile=your.ramdisk.u-boot\0" \
|
||||||
|
"fdtaddr=400000\0" \
|
||||||
|
"fdtfile=your.fdt.dtb\0"
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define CONFIG_NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
@ -526,13 +528,15 @@
|
|||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $loadaddr $bootfile;" \
|
"tftp $loadaddr $bootfile;" \
|
||||||
"bootm $loadaddr"
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define CONFIG_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;" \
|
||||||
"tftp $loadaddr $bootfile;" \
|
"tftp $loadaddr $bootfile;" \
|
||||||
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
"bootm $loadaddr $ramdiskaddr"
|
"bootm $loadaddr $ramdiskaddr"
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND CONFIG_NFSBOOTCOMMAND
|
#define CONFIG_BOOTCOMMAND CONFIG_NFSBOOTCOMMAND
|
||||||
|
@ -489,8 +489,10 @@ extern unsigned long get_clock_freq(void);
|
|||||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||||
"netdev=eth0\0" \
|
"netdev=eth0\0" \
|
||||||
"consoledev=ttyS1\0" \
|
"consoledev=ttyS1\0" \
|
||||||
"ramdiskaddr=400000\0" \
|
"ramdiskaddr=600000\0" \
|
||||||
"ramdiskfile=your.ramdisk.u-boot\0"
|
"ramdiskfile=your.ramdisk.u-boot\0" \
|
||||||
|
"fdtaddr=400000\0" \
|
||||||
|
"fdtfile=your.fdt.dtb\0"
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define CONFIG_NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
@ -498,7 +500,8 @@ extern unsigned long get_clock_freq(void);
|
|||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $loadaddr $bootfile;" \
|
"tftp $loadaddr $bootfile;" \
|
||||||
"bootm $loadaddr"
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define CONFIG_RAMBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
|
@ -389,13 +389,11 @@ extern unsigned long get_clock_freq(void);
|
|||||||
#define TSEC2_PHY_ADDR 1
|
#define TSEC2_PHY_ADDR 1
|
||||||
#define TSEC3_PHY_ADDR 2
|
#define TSEC3_PHY_ADDR 2
|
||||||
#define TSEC4_PHY_ADDR 3
|
#define TSEC4_PHY_ADDR 3
|
||||||
#define FEC_PHY_ADDR 3
|
|
||||||
|
|
||||||
#define TSEC1_PHYIDX 0
|
#define TSEC1_PHYIDX 0
|
||||||
#define TSEC2_PHYIDX 0
|
#define TSEC2_PHYIDX 0
|
||||||
#define TSEC3_PHYIDX 0
|
#define TSEC3_PHYIDX 0
|
||||||
#define TSEC4_PHYIDX 0
|
#define TSEC4_PHYIDX 0
|
||||||
#define FEC_PHYIDX 0
|
|
||||||
|
|
||||||
/* Options are: eTSEC[0-3] */
|
/* Options are: eTSEC[0-3] */
|
||||||
#define CONFIG_ETHPRIME "eTSEC0"
|
#define CONFIG_ETHPRIME "eTSEC0"
|
||||||
@ -507,8 +505,11 @@ extern unsigned long get_clock_freq(void);
|
|||||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||||
"netdev=eth0\0" \
|
"netdev=eth0\0" \
|
||||||
"consoledev=ttyS1\0" \
|
"consoledev=ttyS1\0" \
|
||||||
"ramdiskaddr=400000\0" \
|
"ramdiskaddr=600000\0" \
|
||||||
"ramdiskfile=your.ramdisk.u-boot\0"
|
"ramdiskfile=your.ramdisk.u-boot\0" \
|
||||||
|
"fdtaddr=400000\0" \
|
||||||
|
"fdtfile=your.fdt.dtb\0"
|
||||||
|
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define CONFIG_NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
@ -516,7 +517,9 @@ extern unsigned long get_clock_freq(void);
|
|||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $loadaddr $bootfile;" \
|
"tftp $loadaddr $bootfile;" \
|
||||||
"bootm $loadaddr"
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define CONFIG_RAMBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
|
@ -489,8 +489,10 @@ extern unsigned long get_clock_freq(void);
|
|||||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||||
"netdev=eth0\0" \
|
"netdev=eth0\0" \
|
||||||
"consoledev=ttyS1\0" \
|
"consoledev=ttyS1\0" \
|
||||||
"ramdiskaddr=400000\0" \
|
"ramdiskaddr=600000\0" \
|
||||||
"ramdiskfile=your.ramdisk.u-boot\0"
|
"ramdiskfile=your.ramdisk.u-boot\0" \
|
||||||
|
"fdtaddr=400000\0" \
|
||||||
|
"fdtfile=your.fdt.dtb\0"
|
||||||
|
|
||||||
#define CONFIG_NFSBOOTCOMMAND \
|
#define CONFIG_NFSBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/nfs rw " \
|
"setenv bootargs root=/dev/nfs rw " \
|
||||||
@ -498,7 +500,8 @@ extern unsigned long get_clock_freq(void);
|
|||||||
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
"tftp $loadaddr $bootfile;" \
|
"tftp $loadaddr $bootfile;" \
|
||||||
"bootm $loadaddr"
|
"tftp $fdtaddr $fdtfile;" \
|
||||||
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define CONFIG_RAMBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user