On Thu, 25 Oct 2018 17:22:48 +0200 Nico Huber <[email protected]> wrote: > Sorry, it seems this one got lost in moderation, forwarding... >
JFYI I got both this one and what appears to be the original message. > -------- Forwarded Message -------- > Subject: Intel QS77 chipet on MBA 2012 > Date: Wed, 24 Oct 2018 23:18:40 +0200 > From: Laura MartÃn <[email protected]> > To: [email protected] > > Hi all, > > I'm trying to fix a corrupted EFI on a Macbook Air 13'' of 2012. I messed > up with efibootmgr and that's the result... It's not a locked EFI, in the > laptop Gentoo is installed, so I can access to the OS, although I can't > boot from USB. > > So, I modified an EFI-dump for my laptop (I checked out it's not locked as > well), I made a dump of the current EFI and replaced the serial number and > other parameters. The size is OK, I checked out with hexdump. > > The stanza to made the write is: > > *# flashrom -p internal:pci=8086:1e56.0 -c "MX25L6406E/MX25L6408E" -V -w > /home/m00n/nueva.rom* > [...] > Writes have been disabled for safety reasons. You can enforce write > support with the ich_spi_force programmer option, but you will most likely > harm your hardware! If you force flashrom you will get no support if > something breaks. On a few mainboards it is possible to enable write > access by setting a jumper (see its documentation or the board itself). This message from flashrom suggest to use the ich_spi_force option, and the man page states that it can be used by adding this to the command line: -p internal:ich_spi_force=yes Flashrom also says: > Unhandled programmer parameters: pci=8086:1e56.0 I guess the "internal" programmer auto-discovers the PCI device, so maybe that part can be removed from the -p option. Your command line becomes: # flashrom -p internal:ich_spi_force=yes -c "MX25L6406E/MX25L6408E" -V -w /home/m00n/nueva.rom Note that flashrom also says that it takes no responsibility for any damage; so, before proceeding, I'd check if flashing externally is possible/easy, just in case something goes wrong with "-p internal". Ciao, Antonio -- Antonio Ospite https://ao2.it https://twitter.com/ao2it A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? _______________________________________________ flashrom mailing list [email protected] https://mail.coreboot.org/mailman/listinfo/flashrom
