Wiznet W5300E01-ARM User Manual page 48

Table of Contents

Advertisement

8. Bootloader
In the W5300E01-ARM, the bootloader that u-boot is modified, is included. The usage of u-boot is almost
same as exisiting one.
For the detail of each command, refer to http://www.denx.de/wiki/DULG/Manual. You can also see the
information of each command through 'help [command]'
Below is the description of frequently used commands.
printenv
setenv <name> <value>
tftpboot <address> <bootfilename>
bootm <address>
nand erase [clean] [off size]
nand read <addr> <off> <size>
nand write <addr> <off> <size>
It shows environment variables currently set.
It configures <name> environment variables as <value>. Some
important variables should be configured in accordace with system.
ipaddr : It shows IP address of the target board during current
bootloader operates. Defalut value is '192.168.1.3'.
serverip : It is the IP address of Host PC. The default value is
'192.168.1.2'.
gatewayip : It is the Gateway IP address. The default value is
'192.168.1.1'.
netmask : It is the Network mask value. The default value is
'255.255.255.0'.
bootcmd : It is the environment variables automatically
executed when booting at the bootloader.
Download the <bootfilename> image file of Host PC of which IP
address is set as 'serverip' into <address> of the target board.
At this time, tftp server should be installed in the Host PC. For the
configuration method of tftp server, refer to '5.3.1. tftp server
configuration'. If download is not normally processed, check
environment variable 'ipaddr' and 'serverip'.
Boot with application image saved in <address>.
Erase Nand Flast as much as [size] at the [off] address. Be careful
that all value of NAND Flash can be removed if 'nand erase clean' is
used.
Read the data of <off> address of NAND Flash as much as <size> to
<addr> address.
Write the data of <addr> of RAM as much as <size> into <off> of
NAND Flash. It is used when writing new bootloader, kernel and
Ramdisk into NAND Flash.
Table 8-1 : Bootloader Commands
© Copyright 2008 WIZnet Co., Inc. All rights reserved.
40

Advertisement

Table of Contents
loading

Table of Contents