pflash(8)
πΈ NAME πΈ
pflash β manual page for Open-Power Flash tool. that's the name, bestie, and it's iconic π
β¨ SYNOPSIS β¨
pflash [options] commands...
π DESCRIPTION π
okay so you're reading pflash(8) from the System Manager's Manual, and this is the Open-Power Flash tool. pflash is literally a tool to access the flash modules on such systems and update the OpenPower firmware. main character firmware energy, no cap β¨
π Options π
-a address,--address=addressβ Specify the start address for erasing, reading or flashing.-s size,--size=sizeβ Specify the size in bytes for erasing, reading or flashing.-P part_name,--partition=part_nameβ Specify the partition whose content is to be erased, programmed or read. This is an alternative to-aand-s; if both-Pand-sare specified, the smallest of the two will be used.-f,--forceβ Don't ask for confirmation before erasing or flashing. yolo mode, but make it dangerous π-d,--dummyβ Don't write to flash. just pretend, bestie π-m,--mtdβ Avoid accessing the flash directly if the BMC supports it. This will access the flash through the kernel MTD layer and not the flash directly.-b,--bmcβ Target BMC flash instead of host flash.
Note: This carries a high chance of bricking your BMC if you don't know what you're doing. Consider --mtd to be safe(r).
-F filename,--flash-file filenameβ Target filename instead of actual flash.-S,--sideβ Side of the flash on which to operate,0(default) or1.-T,--tocβlibffsTOC on which to operate, defaults to0. leading0xis required for interpretation of a hex value.
π Commands: π
-4,--enable-4Bβ Switch the flash and controller to 4-bytes address mode (no confirmation needed). slay.-3,--disable-4Bβ Switch the flash and controller to 3-bytes address mode (no confirmation needed). periodt.-r file,--read=fileβ Read flash content from address into file, use-sto specify the size to read (or it will use the source file size if used in conjunction with-pand-sis not specified). When using-rtogether with-eor-p, the read will be performed first.-E,--erase-allβ Erase entire flash chip (Not supported on all chips/controllers).-e,--eraseβ Erase the specified region. If size or address are not specified, but--programis used, then the file size will be used (rounded to an erase block) and the address defaults to0.-p file,--program=fileβ Will program the file to flash. If the address is not specified, it will use0. If the size is not specified it will use the file size. Otherwise it will limit to the specified size (whatever is smaller). If used in conjunction with any erase command, the erase will take place first.-t,--tuneβ Just tune the flash controller & access size (Implicit for all other operations).-c --clearβ Used to ECC clear a partition of the flash. Must be used in conjunction with-P. Will erase the partition and then set all the ECC bits as they should be.-i,--infoβ Display some information about the flash.-h,--helpβ This message.
that's the whole vibe, bestie. this was pflash(8), dated September 2016 β mwah π β¨
π¦ where this page comes from
- debian bookworm: opal-utils 7.0+dfsg-1+b1 Β· Apache-2.0 OR GPL-2.0-or-later
- debian trixie: opal-utils 7.0+dfsg-1+b1 Β· Apache-2.0 OR GPL-2.0-or-later
- ubuntu jammy: opal-utils 7.0+dfsg-1build1 Β· Apache-2.0 OR GPL-2.0-or-later
- ubuntu noble: opal-utils 7.0+dfsg-1build2 Β· Apache-2.0 OR GPL-2.0-or-later
- ubuntu questing: opal-utils 7.0+dfsg-1build2
- ubuntu resolute: opal-utils 7.0+dfsg-1build3 Β· Apache-2.0 OR GPL-2.0-or-later
- ubuntu stonking: opal-utils 7.0+dfsg-1build3 Β· Apache-2.0 OR GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms