User`s manual
Getting Started With Linux on the LPC3250 OEM Board Page 10
Copyright 2009 © Embedded Artists AB Rev A
*** Warning - bad CRC or NAND, using default environment
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
uboot>
3. There is no need to worry about the warning message. It just means that the u-boot
environment hasn’t been saved to persistent storage (NAND flash).
4. Enter
print
in the u-boot console to see the u-boot environment. Only a portion of the
variables are displayed below.
uboot> print
bootargs=
bootcmd=run mtdboot
...
ethaddr=00:1a:f1:00:00:00
ipaddr=192.168.5.234
serverip=192.168.5.88
rootpath=/home/user/ltib/rootfs
...
5. In order to test the network functionality in Linux you need to change the
ipaddr
variable to
an IP address that is valid on your network. In this example we assume that 192.168.0.100 is
valid on your network (change it to an address that really is valid on your network).
uboot> setenv ipaddr 192.168.0.100
6. Now save your changes done to the environment. This will also remove the warning message
from step 2.
uboot> saveenv
7. Continue to the next section where you will load the root file system and Linux kernel.
2.6 Load the Root File System and Linux Kernel
In this section you will load the root file system (
rootfs.jffs2
) from the USB memory stick and
store it in NAND flash. You will then also load the Linux kernel (
uImage
) from the USB memory stick
and boot the kernel.
Note: If you have problems loading the images from the USB memory stick go to section
4.5.1 for a possible solution.
1. The default u-boot environment has been prepared with a variable named
update_fs
which will load the root file system and store it in NAND flash. The content of the
update_fs
variable is explained in section 4.3.5, for now just run the command.
uboot> run update_fs
...