Dave,
 
I originally suspected it may have been the kermit transfer that was causing the problem so I did run a sum over the file on my host machine, the copy @ a2000000 and @ 40000.
 
I didn't zip and unzip the file on the host, should I?
 
## Total Size = 0x0031a9d0 = 3254736 Bytes
> ## Start Addr = 0xA2000000
> GUM> crc a2000000 0031a9d0
> CRC32 for a2000000 ... a231a9cf ==> 0c521b80
> GUM> protect off all
> Un-Protect Flash Bank # 1

> ................................................................................................................................

> done

> GUM> protect on 1:0-1

> Protect Flash Sectors 0-1 in Bank # 1

> .. done

> GUM> erase all

> Erase Flash Bank # 1 - Warning: 2 protected sectors will not be erased!

> ..............................................................................................................................

> done

> GUM> cp.b a2000000 40000 0031a9d0

> Copy to Flash... done

> GUM> crc 40000 31a9d0

> CRC32 for 00040000 ... 0035a9cf ==> 0c521b80



 
On 9/7/06, Dave Hylands <dhylands@gmail.com> wrote:
Hi Rob,

> I have also tried protect off all, protect on 1:1-0, erase all.
> tried {$filename} as well as the hex value.
> Thanks,
> Rob
>
> Here is the listing from r1078...
>
> mv root_fs_arm.r1078 rootfs.arm_nofpu.jffs2

OK. I did the following from my gumstix:

cd /mnt/mmc
wget http://easynews.dl.sourceforge.net/sourceforge/gumstix/root_fs_arm.r1078

rebooted into u-boot

GUM> mmcinit
MMC found. Card desciption is:
Manufacturer ID = 490000
HW/FW Revision = 1 9
Product Name =  460XFI
Serial Number = 3e0cea
Month = 8
Year = 2003

GUM> fatload mmc 1 a2000000 root_fs_arm.r1078
reading root_fs_arm.r1078

3254736 bytes read
GUM> echo $filesize
31A9D0

So the filesize matches. I then did:

GUM> crc32 a2000000 $filesize
CRC32 for a2000000 ... a231a9cf ==> 0c521b80

GUM> protect on 1:0-1 && erase all && cp.b a2000000 40000 $filesize
Protect Flash Sectors 0-1 in Bank # 1
.. done
Erase Flash Bank # 1 - Warning: 2 protected sectors will not be erased!
..............................................................................................................................
done
Copy to Flash... done
GUM> reset

and it booted up fine.

You can check the crc32 of the rootfs on your host by using:

zip root_fs_arm.r1078.zip root_fs_arm.r1078

and then

unzip -l -v root_fs_arm.r1078.zip

Archive:  root_fs_arm.r1078.zip
Length   Method    Size  Ratio   Date   Time   CRC-32    Name
--------  ------  ------- -----   ----   ----   ------    ----
3254736  Defl:N  3017781   7%  08-10-06 16:08  0c521b80  root_fs_arm.r1078
--------          -------  ---                            -------
3254736          3017781   7%                            1 file

This shows the 32-bit CRC as being 0x0c521b80, which agrees with the
crc32 command done from uboot.

So I'd like you to verify the crc32 of the rootfs file on your host
machine, and also on the gumstix once you've done the loadb command.

I'm currently using u-boot-1.1.4, but I don't think that's related to
the problem.

--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users