Specifications

NAND erase: device 0 offset 0x400000, size 0x10000
Erasing at 0x400000 -- 100% complete.
OK
=>
5.9.9.2.3. nand write - write to NAND device
Let's create a testpattern in memory and write that to the previously erased NAND area:
=> mw 0x42000000 0x55aa55aa 0x4000
=> nand write 0x42000000 0x00400000 0x10000
NAND write: device 0 offset 0x400000, size 0x10000
65536 bytes written: OK
=>
5.9.9.2.4. nand read - read from NAND device
As everything worked ok, we ensure everything was fine by transferring the data to a different location in
RAM and check this against the original written content:
=> nand read 0x43000000 0x00400000 0x10000
NAND read: device 0 offset 0x400000, size 0x10000
65536 bytes read: OK
=> md 0x43000000
43000000: 55aa55aa 55aa55aa 55aa55aa 55aa55aa .U.U.U.U.U.U.U.U
43000010: 55aa55aa 55aa55aa 55aa55aa 55aa55aa .U.U.U.U.U.U.U.U
=> cmp 0x42000000 0x43000000 0x4000
Total of 16384 word(s) were the same
=>
5.9.10. Miscellaneous Commands
5.9.10.1. date - get/set/reset date & time
=> help date
date - get/set/reset date & time
Usage:
date [MMDDhhmm[[CC]YY][.ss]]
date reset
- without arguments: print date & time
- with numeric argument: set the system date & time
- with 'reset' argument: reset the RTC
=>
The date command is used to display the current time in a standard format, or to set the system date. On
some systems it can also be used to reset (initialize) the system clock:
=> date reset
Reset RTC...
Date: 1970-01-01 (Thursday) Time: 0:00:00
=> date 100216462012
Date: 2012-10-02 (Tuesday) Time: 16:46:00
=> date
Date: 2012-10-02 (Tuesday) Time: 16:46:00
=>
5.9.10. Miscellaneous Commands 77