Flashing Image using 'pflash' Tool
mine260309 at gmail.com
Fri Nov 9 14:51:56 AEDT 2018
On Thu, Nov 8, 2018 at 6:05 PM AKASH G J <akashgj91 at gmail.com> wrote:
> I tried to flash kernel image fitImage.bin to the flash memory address 0x20100000 using the following command.
> root at zaius:/var# pflash -a 0x20100000 -f -p fitImage.bin
> It exited with following error.
> About to program "fitImage.bin" at 0x20100000..0x20371e20 !
> Programming & Verifying...
> [ ] 0%Flash write error 3 for chunk at 0x20100000
> Please someone help to resolve the problem.
1. pflash defaults to operate on the PNOR chip. If you want to flash the BMC
chip, you need "-b" argument.
2.To program a flash area, you need to erase before writing, so you need "-e"
Putting together, you command should look like:
pflash -b -e -a 0x20100000 -f -p fitImage.bin
More information about the openbmc