GESBC-3130 User’s Manual
Version 1.0
Page 14 of 18
20-Jun-11
GESBC-3130 # printenv
bootcmd=run nand_boot
bootdelay=3
baudrate=115200
bootfile=uImage
loadaddr=0x31000000
rd_addr=0x32000000
usbtty=cdc_acm
ramargs=setenv bootargs console=ttyS0,115200n8 root=/dev/ram0 rw
ip=dhcp loglevel=7
nfsargs=setenv bootargs console=ttyS0,115200n8 root=/dev/nfs rw
nfsroot=${serverip}:${rootpath} ip=dhcp loglevel=7
rootpath=/tftpboot/arm
bootfile=uImage
usb_boot= usb start; fatload usb 0 $(loadaddr) $(bootfile); run
nandargs; bootm $(loadaddr)
uart_boot= loady; run nfsargs; bootm $(loadaddr)
uartram_boot= loady; loady $(rd_addr); run ramargs; bootm $(loadaddr)
$(rd_addr)
ethaddr=00:08:9e:d1:bd:6a
ethact=dm9000
nandargs=setenv bootargs console=ttyS0,115200n8 root=/dev/mtdblock2
rw rootfstype=jffs2 mtdparts=lpc313x_nand:1M(boot),3M(kernel),-(fs)
filesize=20423C
fileaddr=31000000
ipaddr=192.168.1.200
serverip=192.168.1.199
nand_boot=nand read $(loadaddr) 0x100000 0x300000;run nandargs; bootm
$(loadaddr)
Environment size: 916/131068 bytes
The
bootcmd
setting of the U-boot reads the Linux kernel from NAND FLASH at address
0x100000 to SDRAM at address 0x31000000 and start executing the kernel code at the same
memory address. The NAND FLASH from 0x400000 and up is used for Linux root file system.
The U-boot passes the MTD device partition setting to the Linux kernel via the
bootargs
environment variable.
Loading Linux Kernel and root File System
The U-boot boot-loader provides many ways to load Linux kernel and file system into FLASH
memory. The loading by Ethernet network is shown here. User can consult U-boot manual for
other methods of loading data.
After power on the GESBC-3130 board, stop the U-boot auto-execution by press any key. The
following message should be shown on the terminal console on the host PC connected to the
GESBC-3130 board.