[U-Boot] Spansion S29GL128S support for environmental variables

Ashish Phogat engineerphogat at gmail.com
Mon Feb 25 18:52:50 CET 2013


Hi Jagan,
here are my Configuration file:

#undef CONFIG_MONITOR_IS_IN_RAM
/* define if monitor is started from a pre-loader */

/* Configuration for environment
 * Environment is embedded in u-boot in the second sector of the flash
 */
#ifdef CONFIG_MONITOR_IS_IN_RAM           /*ttt*/
#define CONFIG_ENV_OFFSET   0x10000    /* 0x4000 */
#define CONFIG_ENV_SECT_SIZE    0x10000    /* 0x2000 */
#define CONFIG_ENV_IS_IN_FLASH  1
#define CONFIG_ENV_IS_EMBEDDED  1
#else
#define CONFIG_ENV_ADDR     0x51840000 /* 0x51804000 */
#define CONFIG_ENV_SECT_SIZE    0x40000    /* 0x2000 */
#define CONFIG_ENV_IS_IN_FLASH  1
#endif

/*-----------------------------------------------------------------------
 * Definitions for initial stack pointer and data area (in DPRAM)
 */
#define CONFIG_SYS_INIT_RAM_ADDR    0x40000000
#define CONFIG_SYS_INIT_RAM_END 0x1000
/* End of used area in internal SRAM    */
#define CONFIG_SYS_GBL_DATA_SIZE    64
/* size in bytes reserved for initial data */
#define CONFIG_SYS_GBL_DATA_OFFSET  (CONFIG_SYS_INIT_RAM_END -
CONFIG_SYS_GBL_DATA_SIZE)
#define CONFIG_SYS_INIT_SP_OFFSET   CONFIG_SYS_GBL_DATA_OFFSET

/*-----------------------------------------------------------------------
 * Start addresses for the final memory configuration
 * (Set up by the startup code)
 * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0
 */
#define CONFIG_SYS_SDRAM_BASE       0x00000000
#define CONFIG_SYS_SDRAM_SIZE       32  /* SDRAM size in MB */
#define CONFIG_SYS_FLASH_BASE       0x51800000

#ifdef  CONFIG_MONITOR_IS_IN_RAM
#define CONFIG_SYS_MONITOR_BASE 0x20000
#else
#define CONFIG_SYS_MONITOR_BASE (CONFIG_SYS_FLASH_BASE + 0x400)
#endif

#define CONFIG_SYS_MONITOR_LEN      0x20000
#define CONFIG_SYS_MALLOC_LEN       (256 << 10)
#define CONFIG_SYS_BOOTPARAMS_LEN   64*1024



#define CONFIG_SYS_BOOTMAPSZ        (CONFIG_SYS_SDRAM_BASE + (
CONFIG_SYS_SDRAM_SIZE << 20))

/*
 * FLASH organization
 */
#define CONFIG_SYS_FLASH_CFI
#ifdef CONFIG_SYS_FLASH_CFI
#   define CONFIG_FLASH_CFI_DRIVER  1
#   define CONFIG_SYS_FLASH_SIZE        0x2000000
/* Max size that the board might have */
#   define CONFIG_SYS_FLASH_CFI_WIDTH   FLASH_CFI_16BIT
#   define CONFIG_SYS_MAX_FLASH_BANKS   4   /* max number of memory banks */
#   define CONFIG_SYS_MAX_FLASH_SECT    128
/* max number of sectors on one chip */
#   define CONFIG_SYS_FLASH_PROTECTION
/* "Real" (hardware) sectors protection */
#endif



/*-----------------------------------------------------------------------
 * Memory bank definitions
 */
#define CONFIG_SYS_BR0_PRELIM       0x50000001
#define CONFIG_SYS_OR0_PRELIM       0xFE000614
#define CONFIG_SYS_BR1_PRELIM       0x30000201
#define CONFIG_SYS_OR1_PRELIM       0xFFFFF614
#define CONFIG_SYS_BR2_PRELIM       0x30002201
#define CONFIG_SYS_OR2_PRELIM       0xFFFFF67C
#define CONFIG_SYS_BR3_PRELIM       0x30001101
#define CONFIG_SYS_OR3_PRELIM       0xFFFFF63C
#define CONFIG_SYS_BR4_PRELIM       0x30003201
#define CONFIG_SYS_OR4_PRELIM       0xFFFFF614
#define CONFIG_SYS_BR5_PRELIM       0
#define CONFIG_SYS_OR5_PRELIM       0
#define CONFIG_SYS_BR6_PRELIM       0
#define CONFIG_SYS_OR6_PRELIM       0
#define CONFIG_SYS_BR7_PRELIM       0x00000701
#define CONFIG_SYS_OR7_PRELIM       0xFE00007C


I am using "saveenv" command after setting my IPaddress and load address.

Here are my uboot logs on Target Board and when I do "saveenv":


-Boot 2009.03 (Jan 23 2013 - 10:36:18)

CPU:   Freescale MCF5272 (Mask:1)
Board: Wabtec FastBrake Bootloader CF
DRAM:  initdram() - ...
SDRAM controller: 0x6413 0xB515
localVar: 0x40000F70, globalVar: 0x51820708
32 MB
mem_malloc_start: 0x5181AEE0
mem_malloc_end: 0x5181AEE4
CONFIG_SYS_SDRAM_BASE + gd->ram_size = 0x2000000
Top of RAM usable for U-Boot at: 02000000
Reserving 128k for U-Boot at: 01fdf000
Reserving 512k for malloc() at: 01f5f000
Reserving 64 Bytes for Board Info at: 01f5efc0
Reserving 48 Bytes for Global Data at: 01f5ef90
Reserving 64k for boot parameters at: 01f4ef90
Stack Pointer at: 01f4ef78
Start relocate of code from 51800400 to 01fdf000
addr_sp=01f4ef78, id=01f5ef90, addr=01fdf000Now running in RAM - U-Boot at:
01fd
f000
FLASH: flash detect cfi
fwc addr 51800000 cmd f0 f0f0 16bit x 8 bit
fwc addr 51800000 cmd ff ffff 16bit x 8 bit
fwc addr 518000aa cmd 98 9898 16bit x 8 bit
is= cmd 51(Q) addr 51800020 is= 5180 5151
fwc addr 51800aaa cmd 98 9898 16bit x 8 bit
is= cmd 51(Q) addr 51800020 is= 5180 5151
fwc addr 51800000 cmd f0 00f0 16bit x 16 bit
fwc addr 51800000 cmd ff 00ff 16bit x 16 bit
fwc addr 518000aa cmd 98 0098 16bit x 16 bit
is= cmd 51(Q) addr 51800020 is= 5180 0051
fwc addr 51800aaa cmd 98 0098 16bit x 16 bit
is= cmd 51(Q) addr 51800020 is= 5180 0051
fwc addr 51800000 cmd f0 f0f0f0f0 32bit x 8 bit
fwc addr 51800000 cmd ff ffffffff 32bit x 8 bit
fwc addr 51800154 cmd 98 98989898 32bit x 8 bit
is= cmd 51(Q) addr 51800040 is= 00510051 51515151
fwc addr 51801554 cmd 98 98989898 32bit x 8 bit
is= cmd 51(Q) addr 51800040 is= 00510051 51515151
fwc addr 51800000 cmd f0 00f000f0 32bit x 16 bit
fwc addr 51800000 cmd ff 00ff00ff 32bit x 16 bit
fwc addr 51800154 cmd 98 00980098 32bit x 16 bit
is= cmd 51(Q) addr 51800040 is= 00510051 00510051
is= cmd 52(R) addr 51800044 is= 00520052 00520052
is= cmd 59(Y) addr 51800048 is= 00590059 00590059
device interface is 2
found port 4 chip 2 port 32 bits chip 16 bits
00 : 51 52 59 02 00 40 00 00 00 00 00 27 36 00 00 06  QRY.. at .....'6...
10 : 06 09 13 03 05 03 02 18 02 00 06 00 01 7f 00 00  ................
20 : 02 00 00 00 00 00 00 00 00 00 00 00 00 01 f4 ef  ................
fwc addr 51800000 cmd f0 00f000f0 32bit x 16 bit
fwc addr 51801554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51800aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51801554 cmd 90 00900090 32bit x 16 bit
fwc addr 51800000 cmd f0 00f000f0 32bit x 16 bit
fwc addr 51800154 cmd 98 00980098 32bit x 16 bit
manufacturer is 2
manufacturer id is 0x1
device id is 0x227e
device id2 is 0x0
cfi version is 0x3133
size_ratio 2 port 32 bits chip 16 bits
found 1 erase regions
erase region 0: 0x0200007f
erase_region_count = 128 erase_region_size = 131072
fwc addr 51800000 cmd f0 00f000f0 32bit x 16 bit
flash detect cfi
fwc addr 00000000 cmd f0 f0f0 16bit x 8 bit
fwc addr 00000000 cmd ff ffff 16bit x 8 bit
fwc addr 000000aa cmd 98 9898 16bit x 8 bit
is= cmd 51(Q) addr 00000020 is= 01fd 5151
fwc addr 00000aaa cmd 98 9898 16bit x 8 bit
is= cmd 51(Q) addr 00000020 is= 01fd 5151
fwc addr 00000000 cmd f0 00f0 16bit x 16 bit
fwc addr 00000000 cmd ff 00ff 16bit x 16 bit
fwc addr 000000aa cmd 98 0098 16bit x 16 bit
is= cmd 51(Q) addr 00000020 is= 01fd 0051
fwc addr 00000aaa cmd 98 0098 16bit x 16 bit
is= cmd 51(Q) addr 00000020 is= 01fd 0051
fwc addr 00000000 cmd f0 f0f0f0f0 32bit x 8 bit
fwc addr 00000000 cmd ff ffffffff 32bit x 8 bit
fwc addr 00000154 cmd 98 98989898 32bit x 8 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 51515151
fwc addr 00001554 cmd 98 98989898 32bit x 8 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 51515151
fwc addr 00000000 cmd f0 00f000f0 32bit x 16 bit
fwc addr 00000000 cmd ff 00ff00ff 32bit x 16 bit
fwc addr 00000154 cmd 98 00980098 32bit x 16 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00510051
fwc addr 00001554 cmd 98 00980098 32bit x 16 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00510051
fwc addr 00000000 cmd f0 000000f0 32bit x 32 bit
fwc addr 00000000 cmd ff 000000ff 32bit x 32 bit
fwc addr 00000154 cmd 98 00000098 32bit x 32 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00000051
fwc addr 00001554 cmd 98 00000098 32bit x 32 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00000051
fwrite addr 00000000 cmd f0 fffffffffffffffffffff0 64 bit x 8 bit
fwrite addr 00000000 cmd ff ffffffffffffffffffffff 64 bit x 8 bit
fwrite addr 000002a8 cmd 98 ffffffffffffffffffff98 64 bit x 8 bit
is= cmd 51(Q) addr 00000080 is=
01ffffff01ffffffffffQQQQQQQQQQQQQQQQôîàþlšÿé´ 51
51515151515151
fwrite addr 00002aa8 cmd 98 ffffffffffffffffffff98 64 bit x 8 bit
is= cmd 51(Q) addr 00000080 is=
01ffffff01ffffffffffQQQQQQQQQQQQQQQQôîàþlšÿé´ 51
51515151515151
fwrite addr 00000000 cmd f0 00ff00ff00ff00fffffff0 64 bit x 16 bit
fwrite addr 00000000 cmd ff 00ff00ff00ff00ffffffff 64 bit x 16 bit
fwrite addr 000002a8 cmd 98 00ff00ff00ff00ffffff98 64 bit x 16 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0051005100510051
fwrite addr 00002aa8 cmd 98 00ff00ff00ff00ffffff98 64 bit x 16 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0051005100510051
fwrite addr 00000000 cmd f0 000000ff000000fffffff0 64 bit x 32 bit
fwrite addr 00000000 cmd ff 000000ff000000ffffffff 64 bit x 32 bit
fwrite addr 000002a8 cmd 98 000000ff000000ffffff98 64 bit x 32 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000005100000051
fwrite addr 00002aa8 cmd 98 000000ff000000ffffff98 64 bit x 32 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000005100000051
fwrite addr 00000000 cmd f0 00000000000000fffffff0 64 bit x 64 bit
fwrite addr 00000000 cmd ff 00000000000000ffffffff 64 bit x 64 bit
fwrite addr 000002a8 cmd 98 00000000000000ffffff98 64 bit x 64 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000000000000051
fwrite addr 00002aa8 cmd 98 00000000000000ffffff98 64 bit x 64 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000000000000051
not found
## Unknown FLASH on Bank 2 - Size = 0x00000000 = 0 MB
flash detect cfi
fwc addr 00000000 cmd f0 f0f0 16bit x 8 bit
fwc addr 00000000 cmd ff ffff 16bit x 8 bit
fwc addr 000000aa cmd 98 9898 16bit x 8 bit
is= cmd 51(Q) addr 00000020 is= 01fd 5151
fwc addr 00000aaa cmd 98 9898 16bit x 8 bit
is= cmd 51(Q) addr 00000020 is= 01fd 5151
fwc addr 00000000 cmd f0 00f0 16bit x 16 bit
fwc addr 00000000 cmd ff 00ff 16bit x 16 bit
fwc addr 000000aa cmd 98 0098 16bit x 16 bit
is= cmd 51(Q) addr 00000020 is= 01fd 0051
fwc addr 00000aaa cmd 98 0098 16bit x 16 bit
is= cmd 51(Q) addr 00000020 is= 01fd 0051
fwc addr 00000000 cmd f0 f0f0f0f0 32bit x 8 bit
fwc addr 00000000 cmd ff ffffffff 32bit x 8 bit
fwc addr 00000154 cmd 98 98989898 32bit x 8 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 51515151
fwc addr 00001554 cmd 98 98989898 32bit x 8 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 51515151
fwc addr 00000000 cmd f0 00f000f0 32bit x 16 bit
fwc addr 00000000 cmd ff 00ff00ff 32bit x 16 bit
fwc addr 00000154 cmd 98 00980098 32bit x 16 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00510051
fwc addr 00001554 cmd 98 00980098 32bit x 16 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00510051
fwc addr 00000000 cmd f0 000000f0 32bit x 32 bit
fwc addr 00000000 cmd ff 000000ff 32bit x 32 bit
fwc addr 00000154 cmd 98 00000098 32bit x 32 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00000051
fwc addr 00001554 cmd 98 00000098 32bit x 32 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00000051
fwrite addr 00000000 cmd f0 fffffffffffffffffffff0 64 bit x 8 bit
fwrite addr 00000000 cmd ff ffffffffffffffffffffff 64 bit x 8 bit
fwrite addr 000002a8 cmd 98 ffffffffffffffffffff98 64 bit x 8 bit
is= cmd 51(Q) addr 00000080 is=
01ffffff01ffffffffffQQQQQQQQQQQQQQQQôîàþlšÿìn 51
51515151515151
fwrite addr 00002aa8 cmd 98 ffffffffffffffffffff98 64 bit x 8 bit
is= cmd 51(Q) addr 00000080 is=
01ffffff01ffffffffffQQQQQQQQQQQQQQQQôîàþlšÿìn 51
51515151515151
fwrite addr 00000000 cmd f0 00ff00ff00ff00fffffff0 64 bit x 16 bit
fwrite addr 00000000 cmd ff 00ff00ff00ff00ffffffff 64 bit x 16 bit
fwrite addr 000002a8 cmd 98 00ff00ff00ff00ffffff98 64 bit x 16 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0051005100510051
fwrite addr 00002aa8 cmd 98 00ff00ff00ff00ffffff98 64 bit x 16 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0051005100510051
fwrite addr 00000000 cmd f0 000000ff000000fffffff0 64 bit x 32 bit
fwrite addr 00000000 cmd ff 000000ff000000ffffffff 64 bit x 32 bit
fwrite addr 000002a8 cmd 98 000000ff000000ffffff98 64 bit x 32 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000005100000051
fwrite addr 00002aa8 cmd 98 000000ff000000ffffff98 64 bit x 32 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000005100000051
fwrite addr 00000000 cmd f0 00000000000000fffffff0 64 bit x 64 bit
fwrite addr 00000000 cmd ff 00000000000000ffffffff 64 bit x 64 bit
fwrite addr 000002a8 cmd 98 00000000000000ffffff98 64 bit x 64 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000000000000051
fwrite addr 00002aa8 cmd 98 00000000000000ffffff98 64 bit x 64 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000000000000051
not found
## Unknown FLASH on Bank 3 - Size = 0x00000000 = 0 MB
flash detect cfi
fwc addr 00000000 cmd f0 f0f0 16bit x 8 bit
fwc addr 00000000 cmd ff ffff 16bit x 8 bit
fwc addr 000000aa cmd 98 9898 16bit x 8 bit
is= cmd 51(Q) addr 00000020 is= 01fd 5151
fwc addr 00000aaa cmd 98 9898 16bit x 8 bit
is= cmd 51(Q) addr 00000020 is= 01fd 5151
fwc addr 00000000 cmd f0 00f0 16bit x 16 bit
fwc addr 00000000 cmd ff 00ff 16bit x 16 bit
fwc addr 000000aa cmd 98 0098 16bit x 16 bit
is= cmd 51(Q) addr 00000020 is= 01fd 0051
fwc addr 00000aaa cmd 98 0098 16bit x 16 bit
is= cmd 51(Q) addr 00000020 is= 01fd 0051
fwc addr 00000000 cmd f0 f0f0f0f0 32bit x 8 bit
fwc addr 00000000 cmd ff ffffffff 32bit x 8 bit
fwc addr 00000154 cmd 98 98989898 32bit x 8 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 51515151
fwc addr 00001554 cmd 98 98989898 32bit x 8 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 51515151
fwc addr 00000000 cmd f0 00f000f0 32bit x 16 bit
fwc addr 00000000 cmd ff 00ff00ff 32bit x 16 bit
fwc addr 00000154 cmd 98 00980098 32bit x 16 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00510051
fwc addr 00001554 cmd 98 00980098 32bit x 16 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00510051
fwc addr 00000000 cmd f0 000000f0 32bit x 32 bit
fwc addr 00000000 cmd ff 000000ff 32bit x 32 bit
fwc addr 00000154 cmd 98 00000098 32bit x 32 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00000051
fwc addr 00001554 cmd 98 00000098 32bit x 32 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00000051
fwrite addr 00000000 cmd f0 fffffffffffffffffffff0 64 bit x 8 bit
fwrite addr 00000000 cmd ff ffffffffffffffffffffff 64 bit x 8 bit
fwrite addr 000002a8 cmd 98 ffffffffffffffffffff98 64 bit x 8 bit
is= cmd 51(Q) addr 00000080 is=
01ffffff01ffffffffffQQQQQQQQQQQQQQQQôîàþlšÿï( 51
51515151515151
fwrite addr 00002aa8 cmd 98 ffffffffffffffffffff98 64 bit x 8 bit
is= cmd 51(Q) addr 00000080 is=
01ffffff01ffffffffffQQQQQQQQQQQQQQQQôîàþlšÿï( 51
51515151515151
fwrite addr 00000000 cmd f0 00ff00ff00ff00fffffff0 64 bit x 16 bit
fwrite addr 00000000 cmd ff 00ff00ff00ff00ffffffff 64 bit x 16 bit
fwrite addr 000002a8 cmd 98 00ff00ff00ff00ffffff98 64 bit x 16 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0051005100510051
fwrite addr 00002aa8 cmd 98 00ff00ff00ff00ffffff98 64 bit x 16 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0051005100510051
fwrite addr 00000000 cmd f0 000000ff000000fffffff0 64 bit x 32 bit
fwrite addr 00000000 cmd ff 000000ff000000ffffffff 64 bit x 32 bit
fwrite addr 000002a8 cmd 98 000000ff000000ffffff98 64 bit x 32 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000005100000051
fwrite addr 00002aa8 cmd 98 000000ff000000ffffff98 64 bit x 32 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000005100000051
fwrite addr 00000000 cmd f0 00000000000000fffffff0 64 bit x 64 bit
fwrite addr 00000000 cmd ff 00000000000000ffffffff 64 bit x 64 bit
fwrite addr 000002a8 cmd 98 00000000000000ffffff98 64 bit x 64 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000000000000051
fwrite addr 00002aa8 cmd 98 00000000000000ffffff98 64 bit x 64 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000000000000051
not found
## Unknown FLASH on Bank 4 - Size = 0x00000000 = 0 MB
flash_protect ON: from 0x51800400 to 0x51819DFF
flash_is_busy: 0
protect on 0
flash_protect ON: from 0x51840000 to 0x5187FFFF
flash_is_busy: 0
protect on 1
32 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
U-Boot relocated to 01fdf000
Net:   FEC0
### main_loop entered: bootdelay=5

### main_loop: bootcmd="<UNDEFINED>"
-> ls
Unknown command 'ls' - try 'help'
-> ?
?       - alias for 'help'
autoscr - run script from memory
base    - print or set address offset
bdinfo  - print Board Info structure
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
bootvx  - Boot vxWorks from an ELF image
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
echo    - echo args to console
erase   - erase FLASH memory
flinfo  - print FLASH memory information
go      - start application at address 'addr'
help    - print online help
iminfo  - print header information for application image
imls    - list all images found in flash
imxtract- extract a part of a multi-image
itest   - return true/false on integer compare
loop    - infinite loop on address range
md      - memory display
mii     - MII utility commands
mm      - memory modify (auto-incrementing)
mtest   - simple RAM test
mw      - memory write (fill)
nfs     - boot image via network using NFS protocol
nm      - memory modify (constant address)
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv  - set environment variables
sleep   - delay execution for some time
tftpboot- boot image via network using TFTP protocol
version - print monitor version
-> printenv
bootdelay=5
baudrate=19200
ethaddr=00:e0:0c:bc:e5:60
ipaddr=10.0.1.205
serverip=10.0.1.1
gatewayip=10.0.1.1
netmask=255.255.255.0
hostname=M5272C3
netdev=eth0
loadaddr=10000
u-boot=u-boot.bin
load=tftp ${loadaddr) ${u-boot}
upd=run load; run prog
prog=prot off ffe00000 ffe3ffff;era ffe00000 ffe3ffff;cp.b ${loadaddr}
ffe00000
${filesize};save
stdin=serial
stdout=serial
stderr=serial
ethact=FEC0

*Environment size: 397/262140 bytes
-> setenv ipaddr 192.168.0.5
-> setenv serverip 192.168.0.11
-> setenv loadaddr 20000
-> saveenv*
Saving Environment to Flash...
Protect off 51840000 ... 5187FFFF
Un-Protecting sectors 1..1 in bank 1
flash_is_busy: 0
. done
Un-Protected 1 sectors
Erasing Flash...Erase Flash from 0x51840000 to 0x5187ffff in Bank # 1
fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51841554 cmd 80 00800080 32bit x 16 bit
fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51840000 cmd 30 00300030 32bit x 16 bit
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 0
. done
Erased 1 sectors
Writing to Flash... fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51841554 cmd a0 00a000a0 32bit x 16 bit
flash_is_busy: 0
fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51841554 cmd a0 00a000a0 32bit x 16 bit
flash_is_busy: 0
fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51841554 cmd a0 00a000a0 32bit x 16 bit
flash_is_busy: 0
fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51841554 cmd a0 00a000a0 32bit x 16 bit
flash_is_busy: 0
fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51841554 cmd a0 00a000a0 32bit x 16 bit
flash_is_busy: 0
fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51841554 cmd a0 00a000a0 32bit x 16 bit
flash_is_busy: 0
fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51841554 cmd a0 00a000a0 32bit x 16 bit
flash_is_busy: 1
long addr is at 51840000 info->portwidth = 4
addr[0] = 0xf7
addr[1] = 0xca
addr[2] = 0x73
addr[3] = 0x3a
addr[4] = 0x62
addr[5] = 0x6f
addr[6] = 0x6f
addr[7] = 0x74
addr[8] = 0x64
addr[9] = 0x65
addr[a] = 0x6c
addr[b] = 0x61
addr[c] = 0x79
addr[d] = 0x3d
addr[e] = 0x35
addr[f] = 0x0
Flash write timeout at address 51840000 data 743a0061
fwc addr 51840000 cmd f0 00f000f0 32bit x 16 bit
Timeout writing to Flash
Protecting sectors 1..1 in bank 1
flash_is_busy: 0
. done
Protected 1 sectors
-> U-Boot 2009.03 (Jan 23 2013 - 10:36:18)
Unknown command 'U-Boot' - try 'help'
->
-> CPU:   Freescale MCF5272 (Mask:1)
Unknown command 'CPU:' - try 'help'
-> Board: Wabtec FastBrake M controller: 0x6413 0xB515
Unknown command 'Board:' - try 'help'
-> localVar: 0x40000F70, gl0x5181AEE0
Unknown command 'localVar:' - try 'help'
-> mem_malloc_end: 0x5181AE00000
Unknown command 'mem_malloc_end:' - try 'help'
-> Top of RAM usable for U-000
Unknown command 'Top' - try 'help'
-> Reserving 512k for mallooard Info at: 01f5efc0
Unknown command 'Reserving' - try 'help'
-> Reserving 48 Bytes for G parameters at: 01f4ef90
Unknown command 'Reserving' - try 'help'
-> Stack Pointer at: 01f4eff000
Unknown command 'Stack' - try 'help'
-> addr_sp=01f4ef78, id=01fBoot at: 01fd
Unknown command 'addr_sp=01f4ef78,' - try 'help'
-> f000
Unknown command 'f000' - try 'help'
-> FLASH: flash detectddr 5 518000aa cmd 98 9898 16bit x 8 bit
Unknown command 'FLASH:' - try 'help'
-> is= cmd 51(Q) addr 51800898 16bit x 8 bit
Unknown command 'is=' - try 'help'
-> is= cmd 51(Q) addr 518000 00f0 16bit x 16 bit
Unknown command 'is=' - try 'help'
-> fwc addr 51800000 cmd ffmd 98 0098 16bit x 16 bit
Unknown command 'fwc' - try 'help'
-> is= cmd 51(Q) addr 518008 0098 16bit x 16 bit
Unknown command 'is=' - try 'help'
-> is= cmd 51(Q) addr 51800f0 f0f0f0f0 32bit x 8 bit
Unknown command 'is=' - try 'help'
-> fwc addr 51800000 cmd ff cmd 98 98989898 32bit x 8 bit
Unknown command 'fwc' - try 'help'
-> is= cmd 51(Q) addr 5180054 cmd 98 98989898 32bit x 8 bit
Unknown command 'is=' - try 'help'
-> is= cmd 51(Q) addr 51800000 cmd f0 00f000f0 32bit x 16 bit
Unknown command 'is=' - try 'help'
-> fwc addr 51800000 cmd ff4 cmd 98 00980098 32bit x 16 bit
Unknown command 'fwc' - try 'help'
-> is= cmd 51(Q) addr 51800ddr 51800044 is= 00520052 00520052
Unknown command 'is=' - try 'help'
-> is= cmd 59(Y) addr 51800ce is 2
Unknown command 'is=' - try 'help'
-> found port 4 chip 2 port 40 00 00 00 00 00 27 36 00 00 06  QRY..@
.....'6...
** Too many args (max. 16) **
Unknown command 'found' - try 'help'
-> 10 : 06 09 13 03 05 03 000 00 00 00 00 00 01 f4 ef  ................
** Too many args (max. 16) **
Unknown command '10' - try 'help'
-> fwc addr 51800000 cmd f0it
Unknown command 'fwc' - try 'help'
-> fwc addr 51800aa8 cmd 554 cmd 90 00900090 32bit x 16 bit
Unknown command 'fwc' - try 'help'
-> fwc addr 51800000 cmd f054 cmd 98 00980098 32bit x 16 bit
Unknown command 'fwc' - try 'help'
-> manufacturer is 2
Unknown command 'manufacturer' - try 'help'
-> manuface id2 is 0x0
Unknown command 'manuface' - try 'help'
-> cfi 6 bits
Unknown command 'cfi' - try 'help'
-> found 1 eraseion_count =51800000 cmd f0 00f000f0 32bit x 16 bit
Unknown command 'found' - try 'help'
-> flash detect cfi
Unknown command 'flash' - try 'help'
-> fwc adddr 00000000 cmd f 98 9898 16bit x 8 bit
Unknown command 'fwc' - try 'help'
-> is= cmd 51(Q) addr 000008 9898 16bit x 8 bit
Unknown command 'is=' - try 'help'
-> is= cmd 51(Q) addr 000000 00f0 16bit x 16 bit
Unknown command 'is=' - try 'help'
-> fwc addr 00000000 cmd ffmd 98 0098 16bit x 16 bit
Unknown command 'fwc' - try 'help'
-> is= cmd 51(Q) addr 000008 0098 16bit x 16 bit
Unknown command 'is=' - try 'help'
-> is= cmd 51(Q) addr 000000 f0f0f0f0 32bit x 8 bit
Unknown command 'is=' - try 'help'
-> fwc addr 00000000 cmd ff4 cmd 98 98989898 32bit x 8 bit
Unknown command 'fwc' - try 'help'
-> is= cmd 51(Q) addr 0000054 cmd 98 98989898 32bit x 8 bit
Unknown command 'is=' - try 'help'
-> is= cmd 51(Q) addr 0000000 cmd f0 00f000f0 32bit x 16 bit
Unknown command 'is=' - try 'help'
-> fwc addr 00000000 cmd ff54 cmd 98 00980098 32bit x 16 bit
Unknown command 'fwc' - try 'help'
-> is= cmd 51(Q) addr 0000054 cmd 98 00980098 32bit x 16 bit
Unknown command 'is=' - try 'help'
-> is= cmd 51(Q) addr 0000000000 cmd f0 000000f0 32bit x 32 bit
Unknown command 'is=' - try 'help'
-> fwc addr 00000000 cmd ff4 cmd 98 00000098 32bit x 32 bit
Unknown command 'fwc' - try 'help'
-> is= cmd 51(Q) addr 00000554 cmd 98 00000098 32bit x 32 bit
Unknown command 'is=' - try 'help'
-> is= cmd 51(Q) addr 0000000000 cmd f0 fffffffffffffffffffff0 64 bit x 8
bit
Unknown command 'is=' - try 'help'
-> fwrite addr 00000000 cmd
Unknown command 'fwrite' - try 'help'
-> fwrite addr 000002a8 cmds= cmd 51(Q) addr 00000080 is=
01ffffff01ffffffffffQQ
QQQQQQQQQQQQQQôîàþlšÿé´ 51
Unknown command 'fwrite' - try 'help'
-> 51515151515151
Unknown command '51515151515151' - try 'help'
-> fwrite ad bit x 8 bit
Unknown command 'fwrite' - try 'help'
-> isQQQQQQQQQQQQQQôîàþlšÿéd f0 00ff00ff00ff00fffffff0 64 bit x 16 bit
Unknown command 'isQQQQQQQQQQQQQQôîàþlšÿéd' - try 'help'
-> fwrite addr 00000000 cmd cmd 98 00ff00ff00ff00ffffff98 64 bit x 16 bit
Unknown command 'fwrite' - try 'help'
-> is= cmd 51(Q) addr 00000510051
Unknown command 'is=' - try 'help'
-> fwrite addr 00002aa8 cmdt
Unknown command 'fwrite' - try 'help'
-> is= cmd 51(Q) addr 0000051
Unknown command 'is=' - try 'help'
-> fwrite addr 00000000 cmdt
Unknown command 'fwrite' - try 'help'
-> fwrite addr 00000000 cmdwrite addr 000002a8 cmd 98
000000ff000000ffffff98 64
bit x 32 bit
Unknown command 'fwrite' - try 'help'
-> is= cmd 51(Q) addr 0000051
Unknown command 'is=' - try 'help'
-> fwrite addr 00002aa8 cmdt
Unknown command 'fwrite' - try 'help'
-> is= cmd 51(Q) addr 000001
Unknown command 'is=' - try 'help'
-> fwrite addr 00000000 cmdt
Unknown command 'fwrite' - try 'help'
-> fwrite addr 00000000 cmdfwrite addr 000002a8 cmd 98
00000000000000ffffff98 64
 bit x 64 bit
Unknown command 'fwrite' - try 'help'
-> is= cmd 51(Q) addr 000001
Unknown command 'is=' - try 'help'
-> fwrite addr 00002aa8 cmdt
Unknown command 'fwrite' - try 'help'
-> is= cmd 51(Q) addr 000000000051
Unknown command 'is=' - try 'help'
-> not found
Unknown command 'not' - try 'help'
-> ## Unknown FLAflash detet x 8 bit
Unknown command '##' - try 'help'
-> fwc addr 00000000 cmd ffd 98 9898 16bit x 8 bit
Unknown command 'fwc' - try 'help'
-> is= cmd 51(Q) addr 000008 9898 16bit x 8 bit
Unknown command 'is=' - try 'help'
-> is= cmd 51(Q) addr 00000f0 00f0 16bit x 16 bit
Unknown command 'is=' - try 'help'
-> fwc addr 00000000 cmd ffd 98 0098 16bit x 16 bit
Unknown command 'fwc' - try 'help'
-> is= cmd 51(Q) addr 000008 0098 16bit x 16 bit
Unknown command 'is=' - try 'help'
-> is= cmd 51(Q) addr 00000f0 f0f0f0f0 32bit x 8 bit
Unknown command 'is=' - try 'help'
-> fwc addr 00000000 cmd ff cmd 98 98989898 32bit x 8 bit
Unknown command 'fwc' - try 'help'
-> is= cmd 51(Q) addr 0000054 cmd 98 98989898 32bit x 8 bit
Unknown command 'is=' - try 'help'
-> is= cmd 51(Q) addr 00000 00000000 cmd f0 00f000f0 32bit x 16 bit
Unknown command 'is=' - try 'help'
-> fwc addr 00000000 cmd ff4 cmd 98 00980098 32bit x 16 bit
Unknown command 'fwc' - try 'help'
-> is= cmd 51(Q) addr 00000554 cmd 98 00980098 32bit x 16 bit
Unknown command 'is=' - try 'help'
-> is= cmd 51(Q) addr 0000000 cmd f0 000000f0 32bit x 32 bit
Unknown command 'is=' - try 'help'
-> fwc addr 00000000 cmd ff4 cmd 98 00000098 32bit x 32 bit
Unknown command 'fwc' - try 'help'
-> is= cmd 51(Q) addr 00000554 cmd 98 00000098 32bit x 32 bit
Unknown command 'is=' - try 'help'
-> is= cmd 51(Q) addr 0000000000 cmd f0 fffffffffffffffffffff0 64 bit x 8
bit
Unknown command 'is=' - try 'help'
-> fwrite addr 00000000 cmdt
Unknown command 'fwrite' - try 'help'
-> fwrite addr 000002a8 cmd= cmd 51(Q) addr 00000080 is=
01ffffff01ffffffffffQQQ
QQQQQQQQQQQQQôîàþlšÿìn 51
Unknown command 'fwrite' - try 'help'
-> 51515151515151
Unknown command '51515151515151' - try 'help'
-> fwrite ad bit x 8 bit
Unknown command 'fwrite' - try 'help'
-> isfffQQQQQQQQQQQQQQQQôîà0 cmd f0 00ff00ff00ff00fffffff0 64 bit x 16 bit
Unknown command 'isfffQQQQQQQQQQQQQQQQôîà0' - try 'help'
-> fwrite addr 00000000 cmd cmd 98 00ff00ff00ff00ffffff98 64 bit x 16 bit
Unknown command 'fwrite' - try 'help'
-> is= cmd 51(Q) addr 0000051
Unknown command 'is=' - try 'help'
-> fwrite addr 00002aa8 cmdt
Unknown command 'fwrite' - try 'help'
-> is= cmd 51(Q) addr 000001
Unknown command 'is=' - try 'help'
-> fwrite addr 00000000 cmdit
Unknown command 'fwrite' - try 'help'
-> fwrite addr 00000000 cmdwrite addr 000002a8 cmd 98
000000ff000000ffffff98 64
bit x 32 bit
Unknown command 'fwrite' - try 'help'
-> is= cmd 51(Q) addr 000001
Unknown command 'is=' - try 'help'
-> fwrite addr 00002aa8 cmdit
Unknown command 'fwrite' - try 'help'
-> is= cmd 51(Q) addr 000001
Unknown command 'is=' - try 'help'
-> fwrite addr 00000000 cmdt
Unknown command 'fwrite' - try 'help'
-> fwrite addr 00000000 cmdt
Unknown command 'fwrite' - try 'help'
-> fwrite addr 000002a8 cmdis= cmd 51(Q) addr 00000080 is=
01ffffff01ffffffffff
0000000000000051
Unknown command 'fwrite' - try 'help'
-> fwrite addr 00002aa8 cmds= cmd 51(Q) addr 00000080 is=
01ffffff01ffffffffff 0
000000000000051
Unknown command 'fwrite' - try 'help'
-> not found
Unknown command 'not' - try 'help'
-> ## Unknown FLAsh detect  8 bit
Unknown command '##' - try 'help'
-> fwc addr 00000000 cmd ffd 98 9898 16bit x 8 bit
Unknown command 'fwc' - try 'help'
-> is= cmd 51(Q) addr 000008 9898 16bit x 8 bit
Unknown command 'is=' - try 'help'
-> is= cmd 51(Q) addr 00000f0 00f0 16bit x 16 bit
Unknown command 'is=' - try 'help'
-> fwc addr 00000000 cmd ffd 98 0098 16bit x 16 bit
Unknown command 'fwc' - try 'help'
-> is= cmd 51(Q) addr 0000098 0098 16bit x 16 bit
Unknown command 'is=' - try 'help'
-> is= cmd 51(Q) addr 000000 f0f0f0f0 32bit x 8 bit
Unknown command 'is=' - try 'help'
-> fwc addr 00000000 cmd ff0154 cmd 98 98989898 32bit x 8 bit
Unknown command 'fwc' - try 'help'
-> is= cmd 51(Q) addr 0000054 cmd 98 98989898 32bit x 8 bit
Unknown command 'is=' - try 'help'
-> is= cmd 51(Q) addr 00000000 cmd f0 00f000f0 32bit x 16 bit
Unknown command 'is=' - try 'help'
-> fwc addr 00000000 cmd ff4 cmd 98 00980098 32bit x 16 bit
Unknown command 'fwc' - try 'help'
-> is= cmd 51(Q) addr 0000054 cmd 98 00980098 32bit x 16 bit
Unknown command 'is=' - try 'help'
-> is= cmd 51(Q) addr 00000000 cmd f0 000000f0 32bit x 32 bit
Unknown command 'is=' - try 'help'
-> fwc addr 00000000 cmd ff4 cmd 98 00000098 32bit x 32 bit
Unknown command 'fwc' - try 'help'
-> is= cmd 51(Q) addr 00000554 cmd 98 00000098 32bit x 32 bit
Unknown command 'is=' - try 'help'
-> is= cmd 51(Q) addr 0000000000 cmd f0 fffffffffffffffffffff0 64 bit x 8
bit
Unknown command 'is=' - try 'help'
-> fwrite addr 00000000 cmd bit
Unknown command 'fwrite' - try 'help'
-> fwrite addr 000002a8 cmd= cmd 51(Q) addr 00000080 is=
01ffffff01ffffffffffQQQ
QQQQQQQQQQQQQôîàþlšÿï( 51
Unknown command 'fwrite' - try 'help'
-> 51515151515151
Unknown command '51515151515151' - try 'help'
-> fwrite ad4 bit x 8 bit
Unknown command 'fwrite' - try 'help'
-> iQQQQQQQQQQQQQQQôîàþlšÿï f0 00ff00ff00ff00fffffff0 64 bit x 16 bit
Unknown command 'iQQQQQQQQQQQQQQQôîàþlšÿï' - try 'help'
-> fwrite addr 00000000 cmda8 cmd 98 00ff00ff00ff00ffffff98 64 bit x 16 bit
Unknown command 'fwrite' - try 'help'
-> is= cmd 51(Q) addr 000001
Unknown command 'is=' - try 'help'
-> fwrite addr 00002aa8 cmdt
Unknown command 'fwrite' - try 'help'
-> is= cmd 51(Q) addr 0000051
Unknown command 'is=' - try 'help'
-> fwrite addr 00000000 cmdt
Unknown command 'fwrite' - try 'help'
-> fwrite addr 00000000 cmdwrite addr 000002a8 cmd 98
000000ff000000ffffff98 64
bit x 32 bit
Unknown command 'fwrite' - try 'help'
-> is= cmd 51(Q) addr 00000000051
Unknown command 'is=' - try 'help'
-> fwrite addr 00002aa8 cmdt
Unknown command 'fwrite' - try 'help'
-> is= cmd 51(Q) addr 000001
Unknown command 'is=' - try 'help'
-> fwrite addr 00000000 cmdit
Unknown command 'fwrite' - try 'help'
-> fwrite addr 00000000 cmdwrite addr 000002a8 cmd 98
00000000000000ffffff98 64
bit x 64 bit
Unknown command 'fwrite' - try 'help'
-> is= cmd 51(Q) addr 000001
Unknown command 'is=' - try 'help'
-> fwrite addr 00002aa8 cmdit
Unknown command 'fwrite' - try 'help'
-> is= cmd 51(Q) addr 000001
Unknown command 'is=' - try 'help'
-> not found
Unknown command 'not' - try 'help'
-> ## Unknown FLAlash_proteh_is_busy: 0
Unknown command '##' - try 'help'
-> protect on 0
Usage:
protect - enable or disable FLASH write protection

-> flash_proteash_is_busy: nt
Unknown command 'flash_proteash_is_busy:' - try 'help'
->
-> In:    serial
Unknown command 'In:' - try 'help'
-> Out:   se#n_loop enteredNDEFINED>"
Unknown command 'Out:' - try 'help'
-> -> ls
Unknown command '->' - try 'help'
-> Unknown command 'l'help'  - print or set address offset
Unknown command 'Unknown' - try 'help'
-> bdinfo  - print Board Inn 'bootcmd'
Usage:
bdinfo - print Board Info structure

-> bootd   - boot default, e in memory
Usage:
bootd - boot default, i.e., run 'bootcmd'

-> bootm   - boot applicatig BOOTP/TFTP protocol
Usage:
bootm - boot application image from memory

-> bootvx  - Boot vxWorks fonsole devices and information
Usage:
bootvx - Boot vxWorks from an ELF image

-> cp      - memory copy
-> crsole
Unknown command 'crsole' - try 'help'
-> erase   - erase Fmemory
Usage:
erase - erase FLASH memory

->      - start applicationelp
Unknown command '-' - try 'help'
-> iminfo  - print header i   - list all images found in flash

## Checking Image at 00000000 ...
Unknown image format!

## Checking Image at 00000000 ...
Unknown image format!

## Checking Image at 00000000 ...
Unknown image format!

## Checking Image at 00000000 ...
Unknown image format!

## Checking Image at 00000000 ...
Unknown image format!

## Checking Image at 00000000 ...
Unknown image format!

## Checking Image at 0000000a ...
Unknown image format!

## Checking Image at 00000000 ...
Unknown image format!

## Checking Image at 0000000f ...
Unknown image format!

## Checking Image at 00000000 ...
Unknown image format!

## Checking Image at 0000000f ...
Unknown image format!
-> imxtract- extract a partironment variables to persistent storage
Unknown command 'imxtract-' - try 'help'
-> setenv  - set environmentime
-> tftpboot- boot image via{loadaddr} ffe00000
Unknown command 'tftpboot-' - try 'help'
-> ${filesize};save
Saving Environment to Flash...
Protect off 51840000 ... 5187FFFF
Un-Protecting sectors 1..1 in bank 1
flash_is_busy: 0
. done
Un-Protected 1 sectors
Erasing Flash...Erase Flash from 0x51840000 to 0x5187ffff in Bank # 1
fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51841554 cmd 80 00800080 32bit x 16 bit
fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51840000 cmd 30 00300030 32bit x 16 bit
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 0
. done
Erased 1 sectors
Writing to Flash... fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51841554 cmd a0 00a000a0 32bit x 16 bit
flash_is_busy: 1
long addr is at 51840000 info->portwidth = 4
addr[0] = 0x3e
addr[1] = 0x77
addr[2] = 0x25
addr[3] = 0x4a
addr[4] = 0xff
addr[5] = 0xff
addr[6] = 0xff
addr[7] = 0xff
addr[8] = 0xff
addr[9] = 0xff
addr[a] = 0xff
addr[b] = 0xff
addr[c] = 0xff
addr[d] = 0xff
addr[e] = 0xff
addr[f] = 0xff
Flash write timeout at address 51840000 data ff4affff
fwc addr 51840000 cmd f0 00f000f0 32bit x 16 bit
Timeout writing to Flash
Protecting sectors 1..1 in bank 1
flash_is_busy: 0
. done
Protected 1 sectors
-> stdin=srr=serial
Unknown command 'stdin=srr=serial' - try 'help'
-> ethact=a000a0 32bit x 16a 32bit x 16 bit
Unknown command 'ethact=a000a0' - try 'help'
-> fwc addr 51840aa8 cmd 550a000a0 32bit x 16 bit
Unknown command 'fwc' - try 'help'
-> flash_is_busy: 0
Unknown command 'flash_is_busy:' - try 'help'
-> fwc addt
Unknown command 'fwc' - try 'help'
-> fwc addr 51840acmd a0 00c addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
Unknown command 'fwc' - try 'help'
-> fwc addr 51840aa8 cmd 55554 cmd a0 00a000a0 32bit x 16 bit
Unknown command 'fwc' - try 'help'
-> flash_is_busy: 1
Unknown command 'flash_is_busy:' - try 'help'
-> long adr[0] = 0xf7
Unknown command 'long' - try 'help'
-> addr[62
Unknown command 'addr[62' - try 'help'
-> addr[5] = 0x6f
Unknown command 'addr[5]' - try 'help'
-> a64
Unknown command 'a64' - try 'help'
-> addr[c] = 0x79
Unknown command 'addr[c]' - try 'help'
-> addr[writ61
Unknown command 'addr[writ61' - try 'help'
-> fwc addr 518 writing to busy: 0
Unknown command 'fwc' - try 'help'
-> . done
Unknown command '.' - try 'help'
-> Protected 1 secto>

U-Boot 2009.03 (Jan 23 2013 - 10:36:18)

CPU:   Freescale MCF5272 (Mask:1)
Board: Wabtec FastBrake Bootloader CF
DRAM:  initdram() - ...
SDRAM controller: 0x6413 0xB515
localVar: 0x40000F70, globalVar: 0x51820708
32 MB
mem_malloc_start: 0x5181AEE0
mem_malloc_end: 0x5181AEE4
CONFIG_SYS_SDRAM_BASE + gd->ram_size = 0x2000000
Top of RAM usable for U-Boot at: 02000000
Reserving 128k for U-Boot at: 01fdf000
Reserving 512k for malloc() at: 01f5f000
Reserving 64 Bytes for Board Info at: 01f5efc0
Reserving 48 Bytes for Global Data at: 01f5ef90
Reserving 64k for boot parameters at: 01f4ef90
Stack Pointer at: 01f4ef78
Start relocate of code from 51800400 to 01fdf000
addr_sp=01f4ef78, id=01f5ef90, addr=01fdf000Now running in RAM - U-Boot at:
01fd
f000
FLASH: flash detect cfi
fwc addr 51800000 cmd f0 f0f0 16bit x 8 bit
fwc addr 51800000 cmd ff ffff 16bit x 8 bit
fwc addr 518000aa cmd 98 9898 16bit x 8 bit
is= cmd 51(Q) addr 51800020 is= 5180 5151
fwc addr 51800aaa cmd 98 9898 16bit x 8 bit
is= cmd 51(Q) addr 51800020 is= 5180 5151
fwc addr 51800000 cmd f0 00f0 16bit x 16 bit
fwc addr 51800000 cmd ff 00ff 16bit x 16 bit
fwc addr 518000aa cmd 98 0098 16bit x 16 bit
is= cmd 51(Q) addr 51800020 is= 5180 0051
fwc addr 51800aaa cmd 98 0098 16bit x 16 bit
is= cmd 51(Q) addr 51800020 is= 5180 0051
fwc addr 51800000 cmd f0 f0f0f0f0 32bit x 8 bit
fwc addr 51800000 cmd ff ffffffff 32bit x 8 bit
fwc addr 51800154 cmd 98 98989898 32bit x 8 bit
is= cmd 51(Q) addr 51800040 is= 00510051 51515151
fwc addr 51801554 cmd 98 98989898 32bit x 8 bit
is= cmd 51(Q) addr 51800040 is= 00510051 51515151
fwc addr 51800000 cmd f0 00f000f0 32bit x 16 bit
fwc addr 51800000 cmd ff 00ff00ff 32bit x 16 bit
fwc addr 51800154 cmd 98 00980098 32bit x 16 bit
is= cmd 51(Q) addr 51800040 is= 00510051 00510051
is= cmd 52(R) addr 51800044 is= 00520052 00520052
is= cmd 59(Y) addr 51800048 is= 00590059 00590059
device interface is 2
found port 4 chip 2 port 32 bits chip 16 bits
00 : 51 52 59 02 00 40 00 00 00 00 00 27 36 00 00 06  QRY.. at .....'6...
10 : 06 09 13 03 05 03 02 18 02 00 06 00 01 7f 00 00  ................
20 : 02 00 00 00 00 00 00 00 00 00 00 00 00 01 f4 ef  ................
fwc addr 51800000 cmd f0 00f000f0 32bit x 16 bit
fwc addr 51801554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51800aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51801554 cmd 90 00900090 32bit x 16 bit
fwc addr 51800000 cmd f0 00f000f0 32bit x 16 bit
fwc addr 51800154 cmd 98 00980098 32bit x 16 bit
manufacturer is 2
manufacturer id is 0x1
device id is 0x227e
device id2 is 0x0
cfi version is 0x3133
size_ratio 2 port 32 bits chip 16 bits
found 1 erase regions
erase region 0: 0x0200007f
erase_region_count = 128 erase_region_size = 131072
fwc addr 51800000 cmd f0 00f000f0 32bit x 16 bit
flash detect cfi
fwc addr 00000000 cmd f0 f0f0 16bit x 8 bit
fwc addr 00000000 cmd ff ffff 16bit x 8 bit
fwc addr 000000aa cmd 98 9898 16bit x 8 bit
is= cmd 51(Q) addr 00000020 is= 01fd 5151
fwc addr 00000aaa cmd 98 9898 16bit x 8 bit
is= cmd 51(Q) addr 00000020 is= 01fd 5151
fwc addr 00000000 cmd f0 00f0 16bit x 16 bit
fwc addr 00000000 cmd ff 00ff 16bit x 16 bit
fwc addr 000000aa cmd 98 0098 16bit x 16 bit
is= cmd 51(Q) addr 00000020 is= 01fd 0051
fwc addr 00000aaa cmd 98 0098 16bit x 16 bit
is= cmd 51(Q) addr 00000020 is= 01fd 0051
fwc addr 00000000 cmd f0 f0f0f0f0 32bit x 8 bit
fwc addr 00000000 cmd ff ffffffff 32bit x 8 bit
fwc addr 00000154 cmd 98 98989898 32bit x 8 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 51515151
fwc addr 00001554 cmd 98 98989898 32bit x 8 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 51515151
fwc addr 00000000 cmd f0 00f000f0 32bit x 16 bit
fwc addr 00000000 cmd ff 00ff00ff 32bit x 16 bit
fwc addr 00000154 cmd 98 00980098 32bit x 16 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00510051
fwc addr 00001554 cmd 98 00980098 32bit x 16 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00510051
fwc addr 00000000 cmd f0 000000f0 32bit x 32 bit
fwc addr 00000000 cmd ff 000000ff 32bit x 32 bit
fwc addr 00000154 cmd 98 00000098 32bit x 32 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00000051
fwc addr 00001554 cmd 98 00000098 32bit x 32 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00000051
fwrite addr 00000000 cmd f0 fffffffffffffffffffff0 64 bit x 8 bit
fwrite addr 00000000 cmd ff ffffffffffffffffffffff 64 bit x 8 bit
fwrite addr 000002a8 cmd 98 ffffffffffffffffffff98 64 bit x 8 bit
is= cmd 51(Q) addr 00000080 is=
01ffffff01ffffffffffQQQQQQQQQQQQQQQQôîàþlšÿé´ 51
51515151515151
fwrite addr 00002aa8 cmd 98 ffffffffffffffffffff98 64 bit x 8 bit
is= cmd 51(Q) addr 00000080 is=
01ffffff01ffffffffffQQQQQQQQQQQQQQQQôîàþlšÿé´ 51
51515151515151
fwrite addr 00000000 cmd f0 00ff00ff00ff00fffffff0 64 bit x 16 bit
fwrite addr 00000000 cmd ff 00ff00ff00ff00ffffffff 64 bit x 16 bit
fwrite addr 000002a8 cmd 98 00ff00ff00ff00ffffff98 64 bit x 16 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0051005100510051
fwrite addr 00002aa8 cmd 98 00ff00ff00ff00ffffff98 64 bit x 16 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0051005100510051
fwrite addr 00000000 cmd f0 000000ff000000fffffff0 64 bit x 32 bit
fwrite addr 00000000 cmd ff 000000ff000000ffffffff 64 bit x 32 bit
fwrite addr 000002a8 cmd 98 000000ff000000ffffff98 64 bit x 32 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000005100000051
fwrite addr 00002aa8 cmd 98 000000ff000000ffffff98 64 bit x 32 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000005100000051
fwrite addr 00000000 cmd f0 00000000000000fffffff0 64 bit x 64 bit
fwrite addr 00000000 cmd ff 00000000000000ffffffff 64 bit x 64 bit
fwrite addr 000002a8 cmd 98 00000000000000ffffff98 64 bit x 64 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000000000000051
fwrite addr 00002aa8 cmd 98 00000000000000ffffff98 64 bit x 64 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000000000000051
not found
## Unknown FLASH on Bank 2 - Size = 0x00000000 = 0 MB
flash detect cfi
fwc addr 00000000 cmd f0 f0f0 16bit x 8 bit
fwc addr 00000000 cmd ff ffff 16bit x 8 bit
fwc addr 000000aa cmd 98 9898 16bit x 8 bit
is= cmd 51(Q) addr 00000020 is= 01fd 5151
fwc addr 00000aaa cmd 98 9898 16bit x 8 bit
is= cmd 51(Q) addr 00000020 is= 01fd 5151
fwc addr 00000000 cmd f0 00f0 16bit x 16 bit
fwc addr 00000000 cmd ff 00ff 16bit x 16 bit
fwc addr 000000aa cmd 98 0098 16bit x 16 bit
is= cmd 51(Q) addr 00000020 is= 01fd 0051
fwc addr 00000aaa cmd 98 0098 16bit x 16 bit
is= cmd 51(Q) addr 00000020 is= 01fd 0051
fwc addr 00000000 cmd f0 f0f0f0f0 32bit x 8 bit
fwc addr 00000000 cmd ff ffffffff 32bit x 8 bit
fwc addr 00000154 cmd 98 98989898 32bit x 8 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 51515151
fwc addr 00001554 cmd 98 98989898 32bit x 8 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 51515151
fwc addr 00000000 cmd f0 00f000f0 32bit x 16 bit
fwc addr 00000000 cmd ff 00ff00ff 32bit x 16 bit
fwc addr 00000154 cmd 98 00980098 32bit x 16 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00510051
fwc addr 00001554 cmd 98 00980098 32bit x 16 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00510051
fwc addr 00000000 cmd f0 000000f0 32bit x 32 bit
fwc addr 00000000 cmd ff 000000ff 32bit x 32 bit
fwc addr 00000154 cmd 98 00000098 32bit x 32 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00000051
fwc addr 00001554 cmd 98 00000098 32bit x 32 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00000051
fwrite addr 00000000 cmd f0 fffffffffffffffffffff0 64 bit x 8 bit
fwrite addr 00000000 cmd ff ffffffffffffffffffffff 64 bit x 8 bit
fwrite addr 000002a8 cmd 98 ffffffffffffffffffff98 64 bit x 8 bit
is= cmd 51(Q) addr 00000080 is=
01ffffff01ffffffffffQQQQQQQQQQQQQQQQôîàþlšÿìn 51
51515151515151
fwrite addr 00002aa8 cmd 98 ffffffffffffffffffff98 64 bit x 8 bit
is= cmd 51(Q) addr 00000080 is=
01ffffff01ffffffffffQQQQQQQQQQQQQQQQôîàþlšÿìn 51
51515151515151
fwrite addr 00000000 cmd f0 00ff00ff00ff00fffffff0 64 bit x 16 bit
fwrite addr 00000000 cmd ff 00ff00ff00ff00ffffffff 64 bit x 16 bit
fwrite addr 000002a8 cmd 98 00ff00ff00ff00ffffff98 64 bit x 16 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0051005100510051
fwrite addr 00002aa8 cmd 98 00ff00ff00ff00ffffff98 64 bit x 16 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0051005100510051
fwrite addr 00000000 cmd f0 000000ff000000fffffff0 64 bit x 32 bit
fwrite addr 00000000 cmd ff 000000ff000000ffffffff 64 bit x 32 bit
fwrite addr 000002a8 cmd 98 000000ff000000ffffff98 64 bit x 32 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000005100000051
fwrite addr 00002aa8 cmd 98 000000ff000000ffffff98 64 bit x 32 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000005100000051
fwrite addr 00000000 cmd f0 00000000000000fffffff0 64 bit x 64 bit
fwrite addr 00000000 cmd ff 00000000000000ffffffff 64 bit x 64 bit
fwrite addr 000002a8 cmd 98 00000000000000ffffff98 64 bit x 64 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000000000000051
fwrite addr 00002aa8 cmd 98 00000000000000ffffff98 64 bit x 64 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000000000000051
not found
## Unknown FLASH on Bank 3 - Size = 0x00000000 = 0 MB
flash detect cfi
fwc addr 00000000 cmd f0 f0f0 16bit x 8 bit
fwc addr 00000000 cmd ff ffff 16bit x 8 bit
fwc addr 000000aa cmd 98 9898 16bit x 8 bit
is= cmd 51(Q) addr 00000020 is= 01fd 5151
fwc addr 00000aaa cmd 98 9898 16bit x 8 bit
is= cmd 51(Q) addr 00000020 is= 01fd 5151
fwc addr 00000000 cmd f0 00f0 16bit x 16 bit
fwc addr 00000000 cmd ff 00ff 16bit x 16 bit
fwc addr 000000aa cmd 98 0098 16bit x 16 bit
is= cmd 51(Q) addr 00000020 is= 01fd 0051
fwc addr 00000aaa cmd 98 0098 16bit x 16 bit
is= cmd 51(Q) addr 00000020 is= 01fd 0051
fwc addr 00000000 cmd f0 f0f0f0f0 32bit x 8 bit
fwc addr 00000000 cmd ff ffffffff 32bit x 8 bit
fwc addr 00000154 cmd 98 98989898 32bit x 8 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 51515151
fwc addr 00001554 cmd 98 98989898 32bit x 8 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 51515151
fwc addr 00000000 cmd f0 00f000f0 32bit x 16 bit
fwc addr 00000000 cmd ff 00ff00ff 32bit x 16 bit
fwc addr 00000154 cmd 98 00980098 32bit x 16 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00510051
fwc addr 00001554 cmd 98 00980098 32bit x 16 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00510051
fwc addr 00000000 cmd f0 000000f0 32bit x 32 bit
fwc addr 00000000 cmd ff 000000ff 32bit x 32 bit
fwc addr 00000154 cmd 98 00000098 32bit x 32 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00000051
fwc addr 00001554 cmd 98 00000098 32bit x 32 bit
is= cmd 51(Q) addr 00000040 is= 01fdf0b6 00000051
fwrite addr 00000000 cmd f0 fffffffffffffffffffff0 64 bit x 8 bit
fwrite addr 00000000 cmd ff ffffffffffffffffffffff 64 bit x 8 bit
fwrite addr 000002a8 cmd 98 ffffffffffffffffffff98 64 bit x 8 bit
is= cmd 51(Q) addr 00000080 is=
01ffffff01ffffffffffQQQQQQQQQQQQQQQQôîàþlšÿï( 51
51515151515151
fwrite addr 00002aa8 cmd 98 ffffffffffffffffffff98 64 bit x 8 bit
is= cmd 51(Q) addr 00000080 is=
01ffffff01ffffffffffQQQQQQQQQQQQQQQQôîàþlšÿï( 51
51515151515151
fwrite addr 00000000 cmd f0 00ff00ff00ff00fffffff0 64 bit x 16 bit
fwrite addr 00000000 cmd ff 00ff00ff00ff00ffffffff 64 bit x 16 bit
fwrite addr 000002a8 cmd 98 00ff00ff00ff00ffffff98 64 bit x 16 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0051005100510051
fwrite addr 00002aa8 cmd 98 00ff00ff00ff00ffffff98 64 bit x 16 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0051005100510051
fwrite addr 00000000 cmd f0 000000ff000000fffffff0 64 bit x 32 bit
fwrite addr 00000000 cmd ff 000000ff000000ffffffff 64 bit x 32 bit
fwrite addr 000002a8 cmd 98 000000ff000000ffffff98 64 bit x 32 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000005100000051
fwrite addr 00002aa8 cmd 98 000000ff000000ffffff98 64 bit x 32 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000005100000051
fwrite addr 00000000 cmd f0 00000000000000fffffff0 64 bit x 64 bit
fwrite addr 00000000 cmd ff 00000000000000ffffffff 64 bit x 64 bit
fwrite addr 000002a8 cmd 98 00000000000000ffffff98 64 bit x 64 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000000000000051
fwrite addr 00002aa8 cmd 98 00000000000000ffffff98 64 bit x 64 bit
is= cmd 51(Q) addr 00000080 is= 01ffffff01ffffffffff 0000000000000051
not found
## Unknown FLASH on Bank 4 - Size = 0x00000000 = 0 MB
flash_protect ON: from 0x51800400 to 0x51819DFF
flash_is_busy: 0
protect on 0
flash_protect ON: from 0x51840000 to 0x5187FFFF
flash_is_busy: 0
protect on 1
32 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
U-Boot relocated to 01fdf000
Net:   FEC0
### main_loop entered: bootdelay=5

### main_loop: bootcmd="<UNDEFINED>"
-> setenv ipaddr 192.168.0.5
-> setenv serverip 192.168.0.11
-> setenv loadaddr 20000
-> saveenv
Saving Environment to Flash...
Protect off 51840000 ... 5187FFFF
Un-Protecting sectors 1..1 in bank 1
flash_is_busy: 0
. done
Un-Protected 1 sectors
Erasing Flash...Erase Flash from 0x51840000 to 0x5187ffff in Bank # 1
fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51841554 cmd 80 00800080 32bit x 16 bit
fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51840000 cmd 30 00300030 32bit x 16 bit
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 1
flash_is_busy: 0
. done
Erased 1 sectors
Writing to Flash... fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51841554 cmd a0 00a000a0 32bit x 16 bit
flash_is_busy: 0
fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51841554 cmd a0 00a000a0 32bit x 16 bit
flash_is_busy: 0
fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51841554 cmd a0 00a000a0 32bit x 16 bit
flash_is_busy: 0
fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51841554 cmd a0 00a000a0 32bit x 16 bit
flash_is_busy: 0
fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51841554 cmd a0 00a000a0 32bit x 16 bit
flash_is_busy: 0
fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51841554 cmd a0 00a000a0 32bit x 16 bit
flash_is_busy: 0
fwc addr 51841554 cmd aa 00aa00aa 32bit x 16 bit
fwc addr 51840aa8 cmd 55 00550055 32bit x 16 bit
fwc addr 51841554 cmd a0 00a000a0 32bit x 16 bit
flash_is_busy: 1
long addr is at 51840000 info->portwidth = 4
addr[0] = 0xf7
addr[1] = 0xca
addr[2] = 0x73
addr[3] = 0x3a
addr[4] = 0x62
addr[5] = 0x6f
addr[6] = 0x6f
addr[7] = 0x74
addr[8] = 0x64
addr[9] = 0x65
addr[a] = 0x6c
addr[b] = 0x61
addr[c] = 0x79
addr[d] = 0x3d
addr[e] = 0x35
addr[f] = 0x0
Flash write timeout at address 51840000 data 743a0061
fwc addr 51840000 cmd f0 00f000f0 32bit x 16 bit
Timeout writing to Flash
Protecting sectors 1..1 in bank 1
flash_is_busy: 0
. done
Protected 1 sectors
->

Please help me out with this as I am still struggling.



---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
On Thu, Feb 21, 2013 at 3:53 AM, Jagan Teki <jagannadh.teki at gmail.com>wrote:

> Hi,
>
> On Thu, Feb 21, 2013 at 12:09 AM, Ashish Phogat
> <engineerphogat at gmail.com> wrote:
> > Hi Everyone,
> >
> > I am working on uboot porting for Coldfire board M5272C3. I have 2
> Spansion
> > S29GL128S flash. I am able to run the uboot in target board (M5272C3). My
> > problem is:
> >
> > a. I try to store my environment variable to flash and verify through BDM
> > port that variable is written correctly . But once I reset by power
> cycling
> > the board, it takes all the default environmental variables.
> >
> > I am confused is it that Spansion S26GL128S is not supported properly
> b/c I
> > am not able to retrieve them after power up. Is it the problem with read
> > routine or something I am missing?
>
> I am pretty much sure that the QSPI env is working at the s/w level..
>
> Can you list down the configs items you used..?
> steps you did for storing env?
> If you allot a u-boot env in your flash, are you make sure that the
> env area is not overwritten..?
>
> Thanks,
> Jagan.
>


More information about the U-Boot mailing list