Taskit ARM9 CPU-module with Linux Stamp9261-series Stamp9261 (64F/64R) 542310 Data Sheet
Product codes
542310
Linux Guide
taskit GmbH
initialize a memory range with a value.
This command cannot be used to modify flash memory!
This command cannot be used to modify flash memory!
For example: Writing 0xff ten times to SDRAM address 20 000 000:
U-Boot> md 20000000
20000000: abcdefab cdeff014 e59ff014 e59ff014 ................
20000000: abcdefab cdeff014 e59ff014 e59ff014 ................
20000010: e59ff014 e59ff014 e59ff014 e59ff014 ................
U-Boot> mw.b 20000000 ff 10
U-Boot> mw.b 20000000 ff 10
U-Boot> md 20000000 20
20000000: ffffffff ffffffff ffffffff ffffffff ................
20000000: ffffffff ffffffff ffffffff ffffffff ................
20000010: e59ff014 e59ff014 e59ff014 e59ff014 ................
mtest - simple RAM test
mtest [start [end [pattern]]]
This simple RAM test writes to memory. The test was designed only for RAM memory, and
fails if used for flash or ROM memory. The system will crash if this test is run on the
memory range containing the U-Boot code, stack or heap (internal SRAM or SDRAM from
0x21 f00 000 to 21 ffffff).
fails if used for flash or ROM memory. The system will crash if this test is run on the
memory range containing the U-Boot code, stack or heap (internal SRAM or SDRAM from
0x21 f00 000 to 21 ffffff).
For example: Testing the SDRAM from 20 000 000 to 20 100 000:
U-Boot> mtest 20000000 20100000
Pattern 0000000A Writing... Reading...
nm - memory modify (constant address)
nm [.b, .w, .l] address
The nm command writes different data records to the same address, interactively.
For example:
For example:
U-Boot> nm.b 20000000
20000000: 0a ? aa
20000000: aa ? bb
20000000: aa ? bb
20000000: bb ? q
loop - infinite loop on address range
loop [.b, .w, .l] address count
The loop command reads in the contents of a memory range (from address to address +
count) in an endless loop. It is intended as a special memory test, since it tries to read out
the memory as quickly as possible.
This command does not end; it can be stopped only by a reset!
count) in an endless loop. It is intended as a special memory test, since it tries to read out
the memory as quickly as possible.
This command does not end; it can be stopped only by a reset!
For example:
U-Boot> loop.b 20000000 10
crc32 - checksum calculation
crc32 addr1 count [addr2]
Page 55 of 65
Version 1.26
(2008-04-30)