
Arcom Embedded Linux Technical Manual RedBoot
The following table explains the parameters you can specify when using fconfig:
Parameter Action
-i
Initialize the Flash configuration block to default values.
-l
List the settings in the Flash configuration block.
-n
When listing the current settings, use nicknames rather
than full names.
nickname
Only act on the named configuration item.
value
Value to set to.
The most interesting configuration options are those that allow the use of BOOTP or a
static network configuration to configure the on-board Ethernet and run a script at boot.
Refer to the Quickstart Manual for your board for more information about a suitable
script to use.
Aliases
RedBoot can store aliases (simple macros) with the fconfig configuration parameters.
Aliases are defined with the alias command:
RedBoot> alias zimage /boot/vmlinuz
RedBoot> alias cmdline "\"console=ttyS0,115200n8 root=/dev/mtdblock1 ro\""
Note the use of quotes to include spaces and backslashes to include quotes.
This syntax is necessary because of the way RedBoot expands the alias when
processing the boot script.
Configuring an IP address
You can use fconfig to configure RedBoot with an IP address using either
BOOTP/DHCP, or a static address. In addition, you can use the ip_address command
to specify an IP address from the command line.
When entering the ip_address command, you can specify the following parameters:
ip_address [-b] [-l <local IP address>[/<mask_length>]] [-h <server address>]
These parameters are explained in the following table:
Parameter Action
-b
Obtains an IP address via BOOTP.
-l <local IP
address>[/<mask length>]
Sets the local IP address to the address entered. You
can also enter the network mask length.
- h <server address>
Specifies the default server address used by the load
command.
© 2006 Arcom Issue G 56
Comentários a estes Manuais