[U-Boot-Users] Flash erasing problem

Takács Áron takacs.aron at infracont.hu
Thu Jan 5 11:04:57 CET 2006


Hi,

first of all I wish you all a happy new year!

I am using a PXA270 based board with u-boot 1.1.2. I'm trying to write an ext2 
filesystem image to flash (I want to mount it read only). First I erase the 
sectors, and I get no error messages. But when I try to copy the image into 
the flash, I get the error message:
Copy to Flash... not erased at 00480000 (ffff0000).
Could anyone please help me in solving this problem? Thanky you very much!

Áron Takács

I have the following outputs of u-boot:

U-Boot 1.1.2 (Jun  7 2005 - 08:34:02)

U-Boot code: A3F80000 -> A3F98C1C  BSS: -> A3F9D354
RAM Configuration:
Bank #0: a0000000  0 kB
Bank #1: 00000000  0 kB
Bank #2: 00000000  0 kB
Bank #3: 00000000  0 kB
Flash: 32 MB
In:    serial
Out:   serial
Err:   serial
CPU speed: 520000kHz
Hit any key to stop autoboot:  0

>flinfo:
Bank # 1: INTEL 28F128J3A
  Size: 32 MB in 128 Sectors
  Sector Start Addresses:
    00000000 (RO) 00040000 (RO) 00080000      000C0000      00100000
    00140000      00180000      001C0000      00200000      00240000
    00280000      002C0000      00300000      00340000      00380000
    003C0000      00400000      00440000      00480000      004C0000
    00500000      00540000      00580000      005C0000      00600000
    00640000      00680000      006C0000      00700000      00740000
    00780000      007C0000      00800000      00840000      00880000
    008C0000      00900000      00940000      00980000      009C0000
    00A00000      00A40000      00A80000      00AC0000      00B00000
    00B40000      00B80000      00BC0000      00C00000      00C40000
    00C80000      00CC0000      00D00000      00D40000      00D80000
    00DC0000      00E00000      00E40000      00E80000      00EC0000
    00F00000      00F40000      00F80000      00FC0000      01000000
    01040000      01080000      010C0000      01100000      01140000
    01180000      011C0000      01200000      01240000      01280000
    012C0000      01300000      01340000      01380000      013C0000
    01400000      01440000      01480000      014C0000      01500000
    01540000      01580000      015C0000      01600000      01640000
    01680000      016C0000      01700000      01740000      01780000
    017C0000      01800000      01840000      01880000      018C0000
    01900000      01940000      01980000      019C0000      01A00000
    01A40000      01A80000      01AC0000      01B00000      01B40000
    01B80000      01BC0000      01C00000      01C40000      01C80000
    01CC0000      01D00000      01D40000      01D80000      01DC0000
    01E00000      01E40000      01E80000      01EC0000      01F00000
    01F40000      01F80000      01FC0000

>erase 00480000 01fbffff

Erasing sector 18 ...  done
Erasing sector 19 ...  done
Erasing sector 20 ...  done
...
Erasing sector 125 ...  done
Erasing sector 126 ...  done
Erased 109 sectors

>tftp a0000000 uImage24

dm9000 i/o: 0x08000000, id: 0x90000a46
MAC: 00:04:ff:ff:01:aa
operating at 100M full duplex mode
TFTP from server 192.168.1.11; our IP address is 192.168.1.20
Filename 'uImage24'.
Load address: 0xa0000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##########################
done
Bytes transferred = 2128628 (207af4 hex)

>cp a0000000 00480000 207af4

Copy to Flash... not erased at 00480000 (ffff0000)
Flash not Erased








More information about the U-Boot mailing list