background image

 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...

Страница 2: ...ations 9 Chapter 3 GESBC 3130S Function Blocks 10 LPC 3130 10 SDRAM 10 FLASH 10 USB 11 RS 232 Port 11 I2C Bus SPI Bus PWM output 11 USB Port 11 A D Converter 11 GPIO 12 Real Time Clock RTC 12 Power Re...

Страница 3: ...st of Tables Table 1 Boot Mode Configuration 9 Table 2 UART Port CON3 Connector on GESBC 3130S 11 Table 3 CON2 I2C bus SPI bus PWM output 11 Table 4 CON9 A D input 12 Table 5 CON1 GPIO 12 Table 7 CON1...

Страница 4: ...ARM926EJ S based processors The NXP LPC3130 combines an 180 MHz ARM926EJ S CPU core high speed USB 2 0 On The Go OTG up to 192 KB SRAM NAND flash controller flexible external bus interface four channe...

Страница 5: ...GESBC 3130S User s Manual Version 1 0 Page 5 of 19 4 Mar 13 Figure 1 GESBC 3130S Single Board Computer...

Страница 6: ...or For more information regarding the LPC 3130 processor please see the LPC 3130 datasheet SDRAM The GESBC 3130S is shipped with 32MBytes of SDRAM FLASH The GESBC 3130S is shipped with 128MB NAND FLAS...

Страница 7: ...2 Make sure all of the jumpers are in the factory default position The unit is shipped in a factory default configuration If the user is uncertain that the GESBC 3130S has the jumpers in the factory d...

Страница 8: ...GESBC 3130S User s Manual Version 1 0 Page 8 of 19 4 Mar 13 Please see...

Страница 9: ...ESBC 3130S has multiple boot mode It can boot from SD MMC card USB port UART or on board NAND FLASH Jumpers are used to configure the GESBC 3130S to boot in different modes The following table lists a...

Страница 10: ...Cache 16 Kbyte Data Cache MMU 100 MHz System Bus 16 bit SDRAM Interface 8 16 bit SRAM FLASH ROM Interface Fast UART High Speed USB OTG Port with on chip Physical 4 channel 10 bit ADC SPI Port 2 I2C Po...

Страница 11: ...tor on GESBC 3130S The signal designation is listed in the following table Table 2 UART Port CON3 Connector on GESBC 3130S Pin Number Signal Name 1 TX 2 RX 3 Ground I2C Bus SPI Bus PWM output The GESB...

Страница 12: ...1 3 3V 2 3 3V 3 GPIO 3 4 GPIO 4 5 GPIO 11 6 I2STX_DATA1 7 GPIO 13 8 GPIO 14 9 GPIO 15 10 GPIO 16 11 GPIO 17 12 GPIO 18 13 GPIO 19 14 GPIO 20 15 I2SRX_DATA1 16 I2SRX_BCK1 17 I2SRX_WS1 18 I2STX_BCK1 19...

Страница 13: ...GESBC 3130S User s Manual Version 1 0 Page 13 of 19 4 Mar 13...

Страница 14: ...bad block table 0x00020000 0x40000 U boot 0x00060000 0x40000 U boot primary environment storage range 0x000A0000 0x40000 U boot secondary environment storage range 0x00100000 0x300000 Linux kernel 0x0...

Страница 15: ...99 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 0x10...

Страница 16: ...x30000000 0x100000 0x200000 The following commands can be used to load root file system into the FLASH memory nand erase 0x400000 0x7c00000 fatload mmc 0 0x30000000 rootfs img nand write jffs2 0x30000...

Страница 17: ...nux operating system is required to run the development tools This guide assumes user had basic Linux or Unix application development knowledge Host Computer Requirement The host PC should run Redhead...

Страница 18: ...are lpc313x bsp linux Patch the kernel source with the following command patch p1 patch file directory path patch_file_name Configure Linux Kernel The GESBC 3130S can use the default configuration fil...

Страница 19: ...er 6 Troubleshooting This chapter provides Troubleshooting information Search the entries in the Problem column in order to find the item that best describes your situation Then perform the corrective...

Отзывы: