cfi(4)

cfi4

Driver for common flash interface (cfi) nor flash

Usage

device cfi device cfid options CFI_SUPPORT_STRATAFLASH options CFI_ARMEDANDDANGEROUS

In /boot/device.hints: hint.cfi.0.at="nexus0" hint.cfi.0.maddr=0x74000000 hint.cfi.0.msize=0x4000000

In DTS file: flash@74000000 { compatible = "cfi-flash"; reg = <0x74000000 0x4000000>; };

Overview

The cfi device driver provides a management interface to NOR flash devices supporting the Common Flash Interface (CFI) specification. Its companion device cfid provides a geom(4) disk interface to the device.

Special support for features of the Intel StrataFlash line are available with the CFI_SUPPORT_STRATAFLASH kernel option. Additional support for write-once bits to switch part of Intel StrataFlash devices to read-only can be enabled by the CFI_ARMEDANDDANGEROUS kernel option.

Releases

27 releases since FreeBSD 10.3-RELEASE; the text changed 13 times.

  1. 10.3
  2. 10.4
  3. 11.0
  4. 11.1
  5. 11.2
  6. 11.3
  7. 11.4
  8. 12.0
  9. 12.1
  10. 12.2
  11. 12.3
  12. 12.4
  13. 13.0–13.2
  14. 13.3–16.0

History

The cfi device driver first appeared in FreeBSD 8.0.

Authors

The cfi driver was written by Juniper Networks with StrataFlash support by Sam Leffler. This manual page was written by SRI International and the University of Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237) (“CTSRD”), as part of the DARPA CRASH research programme.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.