GESBC-9G20i
User’s
Manual
Version 0.2
Page 18 of 21
20-Sep-13
The network address and server address must be set before network transfer can take place. The
following commands will set the SBC IP address and server IP address,
set ipaddr xxx.xxx.xxx.xxx
set serverip xxx.xxx.xxx.xxx
The server IP is the IP address where a TFTP server must be run. To load Linux kernel type in the
following command,
t
0x21000000
uImage
The U-boot will load uImage file from the TFTP server whose IP address is specified by the
serverip
environment variable.
The NAND FLASH sectors must be erased first before new kernel image can be stored. The
following command will erase the NAND FLASH sectors reserved for Linux kernel,
nand erase 0x100000 0x200000
The use the flowing command to store the kernel image from SDRAM to NAND FLASH,
nand write.jffs2 0x21000000 0x100000 0x200000
The following commands can be used to load root file system into the FLASH memory,
nand erase 0x400000 [available_nand_flash_memory_size]
t 0x21000000 rootfs.img
nand write.jffs2 0x21000000 x0400000 $(filesize)
Please be noted that the image is first loaded into the SDRAM and then stored into the FLASH
memory. The image size can not exceed the available SDRAM on the board.
After the kernel and root file system have been updated the board can be simply reboot by recycle
the power.