13 i2c, Table 7-6, Nand flash command usage – Artesyn COMX-P4080 Installation and Use (August 2014) User Manual
Page 98: Table 7-7, U-boot i2c utilities, Bsp operations

BSP Operations
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
98
NAND Flash supports the following commands:
7.13 I2C
There are a total of four I2C buses in the COMX-P4080, labeled as I2C<1/2/3/4>. For more
information, see
U-Boot provides the following utilities for I2C bus and devices.
Table 7-6 NAND Flash Command Usage
Command
Description
nand info
Shows available NAND devices
nand device [dev]
Shows or sets 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’ (will erase on the entire device if it
is not specified)
nand bad
Shows bad blocks
nand dump[.oob] off
Dumps page
nand scrub
Cleans NAND by erasing bad blocks. Considered unsafe.
nand markbad off [...]
Marks bad block or blocks at offset. Considered unsafe.
nand biterr off
Makes a bit error at offset. Considered unsafe.
Table 7-7 U-Boot I2C Utilities
Utility
Description
i2c crc32 chip address[.0, .1, .2] count
Compute CRC32 checksum
i2c dev [dev]
Shows or sets current I2C bus
i2c loop chip address[.0, .1, .2] [# of objects]
[# of delay(us)]
Loops reading of device
i2c md chip address[.0, .1, .2] [# of objects]
Reads from I2C device