On 7/10/06, Dipl. -Phys. Paul Kleinfelder
<edv_at_kreiskrankenhaus-gaildorf.de>
wrote:
>
> Hi all,
>
> I have one problem, after repeated
attempt to install Familiar Linux from
>
this starter kit http: //
>
sdgsystems.com/pub/ipaq/hx4700/starterkit/20060615-gpe/ with SDG
> Bootloader 1.2.4.
>
> With flash kernel<http://sdgsystems.com/pub/ipaq/hx4700/starterkit/20060615-gpe/zImage>is all ok but I
> get the error message "*Erase failed"* during the
erase stage
>
> homefs.jffs2<http://sdgsystems.com/pub/ipaq/hx4700/starterkit/20060615-gpe/homefs.jffs2>
> and rootfs-gpe.jffs2<http://sdgsystems.com/pub/ipaq/hx4700/starterkit/20060615-gpe/rootfs-gpe.jffs2>.
> Reset or remove of the battery for long time has
not helped :( attempt to
> reflash
*wince-image from SD stopped at 60% and same error "Erase failed". I
> try it without any success.
>
>
> Any ideas? :-)
>
>Do you have an iPAQ serial cable? If so, you can see what is printed on
the
>serial terminal (115200n8). Also, does it fail right away, or does
the
>progress bar go across at the normal erase rate then just print the
error?
>Finally, did you try a hard reset (lower two buttons
simultaneously, plus
>reset)? Iirc, hard reset unlocks the flash blocks.
Thanks for reply, Yes i have an serial cable and some Term output below....
by kernel erasing and writing is all ok but then :( second stage "GPE" at ~ 80 %
"erase fail"
key = 00000002
@FF
**** SDG Boot Loader for HX4700 ****
Enabling
MMU
Identified Flash: 48F4400L0ZB0 (2x16)
Machine type is iPAQ
hx4700
SDRAM size: 64 MB (0x04000000)
SDG Boot Loader, Rev 1.2.2-hx4700
[BIG_KERNEL] [MONO]
Last link date: Thu May 4 15:51:18 EDT
2006
Contact: [EMAIL PROTECTED]
CPU company:
INTEL
CPU Architecture: XScale
CPU Part: PXA270
ARM Processor
Rev=00050000
(C) 2000-2001 Compaq Computer Corporation, provided with NO
WARRANTY
under the terms of the GNU General Public License.
(C) 2005-2006 SDG Systems,
LLC.
Press Return to start the OS now, any other key for command
line
DEBUG BOOT: not evaluating params
DEBUG BOOT: use `params eval' to
evaluate parameters.
serial_number:
103919A0306M0751
firmware_revision: HDX 2.27
model_number:
SanDisk
SDCFB-512
n_sectors_user_addressable=00000000
bytes_per_sector=00000240
major_version=00000000
minor_version=00000000
flags=0000848A
ACTUAL
bytes_per_sector=00000200
serial_number:
103919A0306M0751
firmware_revision: HDX 2.27
model_number:
SanDisk
SDCFB-512
n_sectors_user_addressable=00000000
bytes_per_sector=00000240
major_version=00000000
minor_version=00000000
flags=0000848A
ACTUAL
bytes_per_sector=00000200
cmd vfat mount: partid=00000000
Formatted
by FF-DSC01d£
vfat_find_file_entry:
fname='reflash.ctl'
dirname=''
basename='REFLASH.CTL'
image 00000000
name hx4700-kernel; image zImage;
md5sum -; target kernel
image 00000001
name hx4700-gpe; image
rootfs-gpe.jffs2; md5sum -; target root
image 00000002
name hx4700-home;
image homefs.jffs2; md5sum -; target home
Total Images: 00000003
Selected Image is hx4700-kernel
vfat_find_file_entry:
fname='zImage'
dirname=''
basename='ZIMAGE'
Done reading. Press Record to flash.
Partition
from: 00100000
size:
00200000
Erasing sector 00100000
Erasing sector 00140000
Erasing sector
00180000
Erasing sector 001C0000
Erasing sector 00200000
Erasing sector
00240000
Erasing sector 00280000
Erasing sector 002C0000
Writing bytes:
0011CF94
Done
Selected Image is hx4700-gpe
vfat_find_file_entry:
fname='rootfs-gpe.jffs2'
dirname=''
basename='ROOTFS-GPE.JFFS2'
Done reading. Press Record to flash.
rootfs-gpe.jffs2 appears to be intact.
Press RECORD to flash or any other
key to restart
Partition from:
00300000
size:
04CC0000
Erasing sector 00300000
Erasing sector 00340000
Erasing sector
00380000
Erasing sector 003C0000
Erasing sector 00400000
Erasing sector
00440000
Erasing sector 00480000
Erasing sector 004C0000
Erasing sector
00500000
Erasing sector 00540000
Erasing sector 00580000
Erasing sector
005C0000
Erasing sector 00600000
Erasing sector 00640000
Erasing
se......
.......
Erasing sector 03D40000
Erasing sector
03D80000
Erasing sector 03DC0000
Erasing sector 03E00000
Erasing sector
03E40000
Erasing sector 03E80000
Erasing sector 03EC0000
Erasing sector
03F00000
Erasing sector 03F40000
Erasing sector 03F80000
Erasing sector
03FC0000
Erasing sector 04000000
eraseSector error
sectorAddress=04000000
flashContents=FFFFFFFF
status=00A00080
timeout=00115D03
eraseFlashRange returned
rc=FFFFFFFF
I really have no idea what can i do better then still trying to Reset or
Hardreset my IPAQ and wait for 30-40 min and then start flashing
again