Hi Marcus,
Judging by the U-Boot version, you seem to be using SDK v6, right?
Here are the steps to flash the NAND device using SDK v6:
[quote]U-Boot# mmc rescan
U-Boot# nand erase.chip
U-Boot# fatload mmc 0 0x81000000 MLO
U-Boot# cp.b 0x81000000 0x81020000 20000
U-Boot# cp.b 0x81000000 0x81040000 20000
U-Boot# cp.b 0x81000000 0x81060000 20000
U-Boot# fatload mmc 0 0x81080000 u-boot.img
U-Boot# fatload mmc 0 0x81280000 uImage
U-Boot# fatload mmc 0 0x81780000 ubi.img
U-Boot# nand write 0x81000000 0x0 0x2000000
U-Boot# saveenv[/quote]
Best regards,
Miroslav