summaryrefslogtreecommitdiffstats
path: root/target/device/Atmel/u-boot/Config.in
blob: edefb52bb3cd740e4c37f4be8205e1314d112443 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
config BR2_TARGET_U_BOOT
	bool "u-boot"
	default n
	depends on BR2_avr32 || BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_m68k || BR2_mips || BR2_nios2
	help
	  U-Boot, the universal boot loader for multiple platforms and target
	  boards.

	  http://www.denx.de/wiki/UBoot/

config BR2_TARGET_U_BOOT_CONFIG_HEADER_FILE
	string "U-Boot config header file"
	depends on BR2_TARGET_U_BOOT
	help
	  Set this variable to a file containing a U-Boot configuration for the
	  target board. This file will be copied into the U-Boot directory
	  include/configs.

config BR2_TARGET_U_BOOT_CONFIG_BOARD
	string "U-Boot target board configuration"
	depends on BR2_TARGET_U_BOOT
	help
	  Set this variable to the target board you want to configure U-Boot
	  for. This will use the default options for this board in U-Boot and
	  build accordingly.

	  For example "atstk1002_config" for ATSTK1000 with ATSTK1002 top
	  module for the AVR32 starter kit.

config BR2_TARGET_U_BOOT_SERVERIP
	string "Server IP"
	depends on BR2_TARGET_U_BOOT
	default "192.168.0.1"
	help
	  The IP address for the remote server providing TFTP services.

config BR2_TARGET_U_BOOT_IPADDR
	string "Target IP address"
	depends on BR2_TARGET_U_BOOT
	default "192.168.0.42"
	help
	  Target board IP address, only set this if you intend to use a fixed
	  address (i.e. no DHCP). A blanc target IP address will allow the
	  board to use DHCP.

config BR2_TARGET_U_BOOT_GATEWAY
	string "Gateway IP"
	depends on BR2_TARGET_U_BOOT && BR2_TARGET_U_BOOT_IPADDR != ""
	default "192.168.0.1"
	help
	  Set the gateway IP address if you need to connect to a machine
	  outside the netmask for the network.

config BR2_TARGET_U_BOOT_NETMASK
	string "netmask"
	depends on BR2_TARGET_U_BOOT && BR2_TARGET_U_BOOT_IPADDR != ""
	default "255.255.255.0"
	help
	  Network mask for the target board network.

config BR2_TARGET_U_BOOT_ETH0ADDR
	string "Ethernet 0 address"
	depends on BR2_TARGET_U_BOOT
	help
	  Target board MAC address for interface 0. You should have a MAC
	  address range provided by the company who made you MAC hardware.

config BR2_TARGET_U_BOOT_ETH1ADDR
	string "Ethernet 1 address"
	depends on BR2_TARGET_U_BOOT
	help
	  Target board MAC address for interface 1. You should have a MAC
	  address range provided by the company who made you MAC hardware.

config BR2_TARGET_U_BOOT_BOOTARGS
	string "Boot arguments"
	depends on BR2_TARGET_U_BOOT
	default "console=ttyS0 root=/dev/mtdblock1 rootfstype=jffs2"
	help
	  Set the boot arguments in U-Boot to let it boot the way you prefer by
	  default. Typoes here will result in a non-booting target board.

	  Example booting from MMC/SD-card:
	    console=ttyS0 root=/dev/mmcblk0p1

	  Example booting from flash devices (NOR, NAND, DataFlash, etc):
	    console=ttyS0 root=/dev/mtdblock1 rootfstype=jffs2

config BR2_TARGET_U_BOOT_BOOTCMD
	string "Boot command"
	depends on BR2_TARGET_U_BOOT
	default "fsload /boot/$(LINUX26_FORMAT); bootm"
	help
	  Set the boot command in U-Boot which specifies how U-Boot should load
	  your kernel image, or if you want to do other commands automatically
	  when U-Boot starts.

	  Loading a kernel from MMC/SD-card:
	    mmcinit; ext2load mmc 0:1 <RAM address>
	    /boot/$(BR2_PACKAGE_LINUX_FORMAT); bootm

	  Loading a kernel from flash devices (NOR, NAND, DataFlash, etc):
	    fsload <RAM address> /boot/$(BR2_PACKAGE_LINUX_FORMAT); bootm