1
2
3
4
5
6
7
8
9
10
11#ifndef __BUR_CFG_COMMON_H__
12#define __BUR_CFG_COMMON_H__
13
14#define BUR_COMMON_ENV \
15"usbscript=usb start && fatload usb 0 ${scradr} usbscript.img &&" \
16" source ${scradr}\0" \
17"brdefaultip=if test -r ${ipaddr}; then; else" \
18" setenv ipaddr 192.168.60.1; setenv serverip 192.168.60.254;" \
19" setenv gatewayip 192.168.60.254; setenv netmask 255.255.255.0; fi;\0" \
20"netconsole=echo switching to network console ...; " \
21"if dhcp; then; else run brdefaultip; fi; setenv ncip ${serverip}; " \
22"setcurs 1 9; lcdputs myip; setcurs 10 9; lcdputs ${ipaddr};" \
23"setcurs 1 10;lcdputs serverip; setcurs 10 10; lcdputs ${serverip};" \
24"setenv stdout nc;setenv stdin nc;setenv stderr nc\0"
25
26
27#define CONFIG_NET_RETRY_COUNT 10
28
29
30#define CONFIG_BOOTP_MAY_FAIL
31
32
33
34
35#define CONFIG_SYS_MAXARGS 64
36
37
38#define CONFIG_SYS_CBSIZE 512
39
40#endif
41