Hi MFM,
I'm glad you have things up-and-running and didn't commit suicide! ;-)
> I wanna know how to download µClinux into flash memory for the first time.
1. erase the flash There are several ways to do this, the easiest to _understand_ is:
==> protect off all
==> erase 01000000 02ffffff
2. download the image --using tftpboot (e.g. download to linux.img memory location 0100_0000)
==> tftpboot 1000000 linux.img
--using loadb (this uses kermit -- so you must start transfer after the following):
==> loadb 1000000
3. program the flash If you downloaded, say 2e_8348 bytes to address 0100_0000, you can simply
"copy" the bytes to the flash memory ... u-boot is smart enough to know you're
copying to flash. For example, to program flash memory at 0800_0000
==> protect off all
==> cp.b 1000000 8000000 2e8348
> if somebody can tell me where to find details of the u-boot commands.
See Section 5.9:
http://www.denx.de/wiki/view/dulg/uboot (
http://www.denx.de/wiki/view/dulg/uboot)
Regards,
--Scott