mirror of
https://github.com/u-boot/u-boot.git
synced 2025-01-13 14:23:24 +08:00
igep003x: Add netboot support
netboot allows to boot an external image using TFTP and NFS protocols Signed-off-by: Pau Pajuelo <ppajuelo@iseebcn.com> Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Tested-by: Pau Pajuelo <ppajuel@gmail.com>
This commit is contained in:
parent
09533e5de7
commit
2e0c6f38f3
@ -79,6 +79,16 @@
|
||||
"run nandargs; " \
|
||||
"run nandload; " \
|
||||
"bootz ${loadaddr} - ${fdtaddr} \0" \
|
||||
"netload=tftpboot ${loadaddr} ${bootfile}; " \
|
||||
"tftpboot ${fdtaddr} ${fdtfile} \0" \
|
||||
"netargs=setenv bootargs console=${console} " \
|
||||
"${optargs} " \
|
||||
"root=/dev/nfs " \
|
||||
"ip=${ipaddr} nfsroot=${serverip}:${rootnfs},v3,tcp \0" \
|
||||
"netboot=echo Booting from net ...; " \
|
||||
"run netargs; " \
|
||||
"run netload; " \
|
||||
"bootz ${loadaddr} - ${fdtaddr} \0" \
|
||||
"findfdt="\
|
||||
"if test ${board_name} = igep0033; then " \
|
||||
"setenv fdtfile am335x-igep-base0033.dtb; fi; " \
|
||||
@ -93,7 +103,8 @@
|
||||
#define CONFIG_BOOTCOMMAND \
|
||||
"run findfdt;" \
|
||||
"run mmcboot;" \
|
||||
"run nandboot;"
|
||||
"run nandboot;" \
|
||||
"run netboot;"
|
||||
|
||||
/* NS16550 Configuration */
|
||||
#define CONFIG_SYS_NS16550_COM1 0x44e09000 /* UART0 */
|
||||
|
Loading…
Reference in New Issue
Block a user