Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

The bootloader U-Boot

1,966 bytes added, 12:24, 20 May 2011
no edit summary
** improve SMSC LAN9221 throughput
** add support for OMAP3 IGEP module (igep0030)
 
= Quality assurance: Test Cases =
 
== Status table ==
 
== Test case definitions ==
 
''' #001 : SDCARD boot '''
 
How to test: Put u-boot to sdcard and check if booting. Result should be like :
 
U-Boot 2011.03-00534-gb39628a-dirty (May 19 2011 - 13:39:01)
 
OMAP3630/3730-GP ES1.0, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
IGEP v2 board + LPDDR/ONENAND
I2C: ready
DRAM: 512 MiB
Muxed OneNAND(DDP) 512MB 1.8V 16-bit (0x58)
OneNAND version = 0x0031
Chip support all block unlock
Chip has 2 plane
block = 2048, wp status = 0x2
Scanning device for bad blocks
OneNAND: 512 MiB
MMC: OMAP SD/MMC: 0
*** Warning - bad CRC, using default environment
 
In: serial
Out: serial
Err: serial
Die ID #2a700000000000000156087c06013022
Net: smc911x-0
Hit any key to stop autoboot: 0
 
''' #002 : ONENAND boot '''
 
How to test: Put u-boot to onenand and check if booting.
 
Script : flash u-boot using u-boot
 
mmc rescan 0
fatload mmc 0 0x80300000 u-boot.bin
onenand erase 0x80000 0x180000
onenand write 0x80300000 0x80000 0x180000
 
''' #003 : Run OS from SDCARD using ext2 filesystem '''
 
How to test:
 
''' #004 : Run OS from ONENAND using UBIFS filesystem '''
 
How to test:
 
''' #005 : Run OS from SDCARD using NFS filesystem '''
 
How to test:
 
Script:
 
setenv distro sandbox
setenv machine igep00x0
setenv project 0
setenv ethaddr ac:de:48:00:00:00
setenv ipaddr 192.168.2.245
setenv netmask 255.255.255.0
setenv gatewayip 192.168.2.1
setenv serverip 192.168.2.114
setenv addip 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::eth0:'
setenv nfs-bootargs 'setenv bootargs ${bootargs-base} root=/dev/nfs nfsroot=${serverip}:/srv/nfs/${distro}/${project}/${machine} ; run addip'
setenv bootargs-base 'console=ttyS2,115200n8 console=tty0 omapfb.mode=dvi:1024x768MR-16@60'
setenv bootcmd 'run nfs-bootargs; nfs 0x80000000 ${serverip}:/srv/nfs/${distro}/${project}/${machine}/boot/uImage; bootm'
run bootcmd
= Annex: default u-boot environment =
0
edits