GESBC-3130S
User’s
Manual
Version 1.0
Page 15 of 19
4-Mar-13
GESBC-3130S # 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 MMC/SD card is shown here. User can consult U-boot manual for other
methods of loading data.
After power on the GESBC-3130S board, stop the U-boot auto-execution by press any key. The
SD/MMC card must initialized before can be used. The SD/MMC card must have a FAT as its
first partition. The data files can be stored in the FAT partition. The following command
sequence shows the steps to load Linux kernel image and store it in the SDRAM,
Содержание GESBC-3130S
Страница 1: ...Glomation Embedded Single Board Computer GESBC 3130S User s Manual...
Страница 5: ...GESBC 3130S User s Manual Version 1 0 Page 5 of 19 4 Mar 13 Figure 1 GESBC 3130S Single Board Computer...
Страница 8: ...GESBC 3130S User s Manual Version 1 0 Page 8 of 19 4 Mar 13 Please see...
Страница 13: ...GESBC 3130S User s Manual Version 1 0 Page 13 of 19 4 Mar 13...