Hi,
 
I think, You canīt erase all flash
 
GUM> protect on 1:0-1
GUM> erase all
GUM> cp.b a2000000 40000 ${filesize}
Can be possible?
 
Regards,
Sir Graham.
 
----- Original Message -----
From: "euniceliu" <whu.qianliu@gmail.com>
To: <gumstix-users@lists.sourceforge.net>
Sent: Friday, September 19, 2008 4:43 AM
Subject: [Gumstix-users] autoboot fail

>
> I've followed the steps replaced the file system image as
>
http://www.gumstix.net/Software/view/Getting-started/Replacing-the-file-system-image/111.html.
> Then when I it autoboots, it can't work normally. After showing the
> following information, it don't give me prompt to log in but only stay there
> with no action.
>
> U-Boot 1.2.0 (Dec 21 2007 - 13:37:16) -
PXA270@600 MHz - 1578M
>
> *** Welcome to Gumstix ***
>
> DRAM:  128 MB
> Flash: 32 MB
> Using default environment
>
> Hit any key to stop autoboot:  0
> Instruction Cache is ON
> Copying kernel to 0xa2000000 from 0x01f00000 (length 0x00100000)...done
> ## Booting image at a2000000 ...
>   Image Name:   Angstrom/2.6.21/gumstix-custom-v
>   Image Type:   ARM Linux Kernel Image (uncompressed)
>   Data Size:    1027128 Bytes = 1003.1 kB
>   Load Address: a0008000
>   Entry Point:  a0008000
> OK
>
> Starting kernel ...
>
> Linux version 2.6.21 (
qian@qian-laptop) (gcc version 4.1.2) #1 Mon Sep 15
> 17:14:30 EDT 2008
> CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE), cr=0000397f
> Machine: The Gumstix Platform
> Memory policy: ECC disabled, Data cache writeback
> Run Mode clock: 208.00MHz (*16)
> Turbo Mode clock: 624.00MHz (*3.0, active)
> Memory clock: 104.00MHz (/2)
> System bus clock: 104.00MHz
> CPU0: D VIVT undefined 5 cache
> CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
> CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
> Built 1 zonelists.  Total pages: 32512
> Kernel command line: console=ttyS0,115200n8 root=1f01 rootfstype=jffs2
> reboot=cold,hard
> PID hash table entries: 512 (order: 9, 2048 bytes)
> Console: colour dummy device 80x30
> Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
> Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
> Memory: 128MB = 128MB total
> Memory: 127744KB available (1796K code, 197K data, 144K init)
> Mount-cache hash table entries: 512
> CPU: Testing write buffer coherency: ok
> NET: Registered protocol family 16
> NET: Registered protocol family 2
> Time: pxa_timer clocksource has been installed.
> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> TCP established hash table entries: 4096 (order: 3, 32768 bytes)
> TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
> TCP: Hash tables configured (established 4096 bind 4096)
> TCP reno registered
> JFFS2 version 2.2. (NAND) (SUMMARY)  (C) 2001-2006 Red Hat, Inc.
> io scheduler noop registered
> io scheduler cfq registered (default)
> Console: switching to colour frame buffer device 80x24
> pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 22) is a FFUART
> pxa2xx-uart.1: ttyS1 at MMIO 0x40200000 (irq = 21) is a BTUART
> pxa2xx-uart.2: ttyS2 at MMIO 0x40700000 (irq = 20) is a STUART
> Probing Gumstix Flash ROM at physical address 0x00000000 (16-bit bankwidth)
> Gumstix Flash ROM: Found 1 x16 devices at 0x0 in 16-bit bank
> Intel/Sharp Extended Query Table at 0x010A
> Intel/Sharp Extended Query Table at 0x010A
> Intel/Sharp Extended Query Table at 0x010A
> Intel/Sharp Extended Query Table at 0x010A
> Intel/Sharp Extended Query Table at 0x010A
> Using buffer write method
> cfi_cmdset_0001: Erase suspend on write enabled
> Using static partitions on Gumstix Flash ROM
> Creating 3 MTD partitions on "Gumstix Flash ROM":
> 0x00000000-0x00040000 : "Bootloader"
> 0x00040000-0x01f00000 : "RootFS"
> 0x01f00000-0x02000000 : "Kernel"
> TCP cubic registered
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> XScale iWMMXt coprocessor detected.
> VFS: Mounted root (jffs2 filesystem).
> Freeing init memory: 144K
>
>
> Is it because that my image has been corrupted? Please give me a hint. Thank
> you very much!
> --
> View this message in context:
http://www.nabble.com/autoboot-fail-tp19565366p19565366.html
> Sent from the Gumstix mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
>
http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gumstix-users mailing list
>
gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 270.6.21/1678 - Release Date: 18/09/2008 09:01 a.m.
>
>