Hi all,
I would like to see the following feature added to flashrom:
https://github.com/flashrom/flashrom/issues/185
If someone implemented it, would the idea (at least) be accepted?
Is anyone interested in implementing it and claiming the $100 bounty?
Text of the issue, for people too lazy to click:
Some chips require certain bits (and similar features) be set before the hardware write-protect pins can be used. Flashrom doesn't currently support setting these bits, which makes it impossible to e.g hardware write-protect a BIOS chip after flashing Coreboot. I would like to see Flashrom add support for this.
Attached is a patch which was written by someone else (they can identify themselves if they like) to toggle the relevant bits for a particular flash chip, each time flashrom is run, and tell the user what's going on.
Your task, if you want to claim the bounty, is to:
1- Add some UI sugar so that the user can choose to set the appropriate bits (or not), and any other "features" needed to enable hardware write-protect, via the command line
2- Ensure the necessary bits and features can be set for a specified set of chips (see below), so Flashrom supports hardware write protect for at least all of the listed chips, and
3- Get your patch accepted and merged (it may be wise to first check with the maintainers that they are willing to add this feature) using Gerrit or the mailing list as per the official process
If $100 isn't enough to make this attractive, I am open to increasing the bounty. I am also happy to escrow it if need be. Payment will be in Bitcoin.
I have a PC Engines apu2d4 running NetBSD 8 (amd64), and would like to
update coreboot/etc. on it. I searched the list (perhaps not well) and
didn't find any reports of success, although I realize things are
generally expected to work so success might well go unreported.
I am using flashrom 1.1 as built from pkgsrc.
I was able to read the existing bios without issues as:
flashrom --programmer internal -r 20200301-readflash.rom
Before I try to write, I am wondering if anyone has successfully done an
apu2 bios update with flashrom under NetBSD 8 amd64?
(I have a debricking adaptor (spi1a) and will prepare a Linux flashing
image on USB before trying myself, whether I not a get a report of
success.)
Thanks,
Greg
Hello again. Posted this question in irc, but had to disconnect, thats why i ask here. I build Urja Rannikko's atmega644 programmer and used it with flashrom 0.9.9 on windows. If i do not connect a flash chip (only parallel flash chips here to test) to the programmer i get the messages that bus mode parallel and spi are on (lpc and hw off). When i connect a SST39VF040 to the programmer and execute flashrom the parallel mode is changed to off, so only spi is on.
Can i force the programmer / flashrom to check only for flash chips in parallel mode (with a parameter e.g.)?
I did notice, that i had the wrong jumper position set for the flash chip (5V instead of 3,3V). Is it possible that this is the reason why flashrom switches to spi? I'm pretty sure that the flash chip is dead now, but i have two more of this type :).
Hope someone can help.
Hallow,
Thanks for your work (flashrom). In hardware list there is w25q32, but mine is BV. Flashrom can not detect my chip. Is it not supported or i am doing something wrong? I wired like example in tutorial. I have arduino mega2560.
What i can do?
Thanks for help.
With Best Regards
Aurimas
Get BlueMail for Android
Hi,
I have successfully erased and write the chip but it cannot verify it. When
I try to boot it it doesn't even boot, fan spin on for a second and then
off.
I am flashing my t440p.
I hope I have given you enough information.
Thanks,
Nathaniel
Hi, can you please see the error below? Am i safe to reboot?
Previously it said the flash was in an unknown state and to not reboot.
Thanks!
Erasing and writing flash chip... 0x420000-0x427fff: EInvalid OPCODE 0x06,
will not execute.
spi_write_cmd failed during command execution at address 0x420000
ERASE_FAILED
FAILED!
Uh oh. Erase/write failed. Checking if anything changed.
Reading current flash chip contents... 000000-0x7fffff:R done.
Good, writing to the flash chip apparently didn't do anything.
This means we have to add special support for your board, programmer or
flash
chip. Please report this on IRC at chat.freenode.net (channel #flashrom) or
mail flashrom(a)flashrom.org, thanks!
Hi All,
Following Carl-Daniel Hailfinger's work on supporting the VL805 PCIe-USB3 Controller SPI bus at [1],
I pushed a cleaned, tested and fixed version on gerrit.
I had someone successfully testing support on it's own HW, but now it lacks proper review.
I'll be happy to fix the code to have it merged in the flashrom tree.
Best Regards,
Neil
[1] https://www.mail-archive.com/flashrom@flashrom.org/msg14389.html
[2] https://review.coreboot.org/c/flashrom/+/50264
--
Neil Armstrong
Embedded Linux Software Engineer
BayLibre - At the Heart of Embedded Linux
www.baylibre.com