CFI(4)
πΈ NAME πΈ
okay so, bestie, this is cfi(4) from the Kernel Interfaces Manual, and it's giving iconic flash-driver energy. Meet cfi, cfid β driver for Common Flash Interface (CFI) NOR flash. no cap. π
β¨
β¨ SYNOPSIS β¨
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>;
};
π¦ DESCRIPTION π¦
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. literally a little management-interface + disk-interface duo, lowkey iconic. π¦
Special support for features of the Intel StrataFlash line is 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. highkey pay attention to that second name β it is not subtle, bestie, and the write-once read-only switch support is exactly the thing it unlocks. ππ₯
π SEE ALSO π
go peek at led(4) β that's the reference, iykyk. π
π HISTORY π
The cfi device driver first appeared in FreeBSD 8.0. periodt. π
π 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. obsessed with this whole origin story, fr fr. π§
okay bye bestie β this render is from Debian, dated January 20, 2016, with manual tag CFI(4). vibe check passed, slay. π β¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2015-2016 SRI International
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms