Rainbow Electronics QIL-A9260-C11 User Manual
Page 29

mm - memory modify (auto-incrementing)
mm [.b, .w, .l] address
- memory modify, auto increment address
The mm is a method to interactively modify memory contents. It will display the address and
current contents and then prompt for user input. If you enter a legal hexadecimal number, this new
value will be written to the address. Then the next address will be prompted. If you don't enter any
value and just press Enter, then the contents of this address will remain unchanged. The command
stops as soon as you enter any data that is not a hex number.
mtest - simple RAM test
mtest [start [end [pattern]]]
- simple RAM read/write test
The mtest provides a simple memory test.
This tests writes to memory, thus modifying the memory contents. It will fail when applied to ROM
or flash memory. This command may crash the system when the tested memory range includes
areas that are needed for the operation of the U-Boot firmware (like exception vector code, or U-
Boot's internal program code, stack or heap memory areas).
mw - memory write (fill)
mw [.b, .w, .l] address value [count]
- write memory
The mw is a way to initialize (fill) memory with some value. When called without a count
argument, the value will be written only to the specified address. When used with a count, then a
whole memory areas will be initialized with this value:
nand - NAND sub-system
Here is the commands list related to the NAND Flash memory
nand info - show available NAND devices
nand device [dev] - show or set current device
nand read[.jffs2[s]] addr off size
nand write[.jffs2] addr off size - read/write `size' bytes starting
at offset `off' to/from memory address `addr'
nand erase [clean] [off size] - erase `size' bytes from
offset `off' (entire device if not specified)
nand bad - show bad blocks
nand read.oob addr off size - read out-of-band data
nand write.oob addr off size - read out-of-band data
Datasheet GSG-00006-A01
29/34