fastboot# cmp
cmp - memory compare
Usage:
cmp [.b, .w, .l] addr1 addr2 count
fastboot# cp
cp - memory copy
Usage:
cp [.b, .w, .l] source target count
fastboot# crc32
crc32 - checksum calculation
Usage:
crc32 address count [addr]
- compute CRC32 checksum [save at addr]
fastboot# ddr
ddr - ddr training function
Usage:
ddr training - do DDR training and display training result
ddr addrtrain - do DDR address training and display training result
ddr pressure [mode] [codetype] [count] [burstnum] [changebit]
do DDR training stress tests
mode
- 0 write & read
- 1 write
- 2 read
- 3 randrom write & read
codetype
- 0 PRBS9
- 1 PRBS7
- 2 PRBS11
- 3 K28.5
count send len
burstnum burst num
changebit change bit
fastboot# fatinfo
usage: fatinfo <interface> <dev[:part]>
fastboot# fatload
usage: fatload <interface> <dev[:part]> <addr> <filename> [bytes]
fastboot# fatls
usage: fatls <interface> <dev[:part]> [directory]
fastboot# getinfo
getinfo - print hardware information
Usage:
getinfo bootmode - get start memeory type e.g. nand/spi etc
getinfo nand - get nand flash information
getinfo spi - get spi flash information
getinfo version - get system version
getinfo ddrfree - get free ddr baseaddr/size
fastboot# go
go - start application at address 'addr'
Usage:
go addr [arg ...]
- start application at address 'addr'
passing 'arg' as arguments
fastboot# loop
loop - infinite loop on address range
Usage:
loop [.b, .w, .l] address number_of_objects
fastboot# md
md - memory display
Usage:
md [.b, .w, .l] address [# of objects]
fastboot# mii
mii - MII utility commands
Usage:
mii device - list available devices
mii device <devname> - set current device
mii info <addr> - display MII PHY info
mii read <addr> <reg> - read MII PHY <addr> register <reg>
mii write <addr> <reg> <data> - write MII PHY <addr> register <reg>
mii dump <addr> <reg> - pretty-print <addr> <reg> (0-5 only)
Addr and/or reg may be ranges, e.g. 2-7.
fastboot# mm
mm - memory modify (auto-incrementing address)
Usage:
mm [.b, .w, .l] address
mmc read <device num> addr blk# cnt
mmc write <device num> addr blk# cnt
mmc erase <device num> blk# cnt
mmc write.ext4sp <device num> addr blk# cnt
mmc bootread <device num> addr blk# cnt
mmc bootwrite <device num> addr blk# cnt
mmc rescan <device num>
mmc list - lists available devices
mmc bootmoderead <device num> addr size
mmc reg <device num>
mmc write.ext4sp
fastboot# mw
mw - memory write (fill)
Usage:
mw [.b, .w, .l] address value [count]
fastboot# nand
nand - NAND sub-system
Usage:
nand info - show available NAND devices
nand device [dev] - show or set current device
nand read - addr off|partition size
nand write - addr off|partition size
read/write 'size' bytes starting at offset 'off'
to/from memory address 'addr', skipping bad blocks.
nand erase [clean] [off size] - erase 'size' bytes from
offset 'off' (entire device if not specified)
nand bad - show bad blocks
nand dump[.oob] off - dump page
nand scrub - really clean NAND erasing bad blocks (UNSAFE)
nand markbad off [...] - mark bad block(s) at offset (UNSAFE)
nand biterr off - make a bit error at offset (UNSAFE)
fastboot# nm
nm - memory modify (constant address)
Usage:
nm [.b, .w, .l] address
fastboot# unzip
unzip - unzip a memory region
Usage:
unzip srcaddr dstaddr [dstsize]
fastboot# uploadx
uploadx - upload binary file over serial line (xmodem mode)
Usage:
uploadx [ off ] [size] [ baud ]
- upload binary file over serial line with offset 'off', file size 'size' and baudrate 'baud'
fastboot# usb
usb - USB sub-system
Usage:
usb start - start (scan) USB controller
usb reset - reset (rescan) USB controller
usb stop [f] - stop USB [f]=force stop
usb tree - show USB device tree
usb info [dev] - show available USB devices
usb storage - show details of USB storage devices
usb dev [dev] - show or set current USB storage device
usb part [dev] - print partition table of one or all USB storage devices
usb read addr blk# cnt - read `cnt' blocks starting at block `blk#'
to memory address `addr'
usb write addr blk# cnt - write `cnt' blocks starting at block `blk#'
from memory address `addr'
fastboot#