Assuming you load the kernel to ram with tftp (and that "AppKernel" is
an mtdparts partition in NAND), then you could do:
nand erase.part AppKernel
tftp $load_addr uImage
crc32 $load_addr $filesize
nand write.i $load_addr AppKernel $filesize
nand read.i $load_addr AppKernel $filesize
crc32 $load_addr $filesize
To verify the CRCs match between what you load off tftp and what you
read back from NAND.
Everything works fine now.
I now use "nand write.i" and "nand read.i" instead of "nand write" and
"nand.read".
Does STLinux have a support contact?
This list is for mainline U-Boot. Have you checked whether these chips
are supported in current mainline U-Boot?
It was just a misunderstanding of u-boot commands.
Thank you guys for your help.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot