<div dir="auto"><span style="font-family:sans-serif;font-size:12.8px">According to the schematic the power lines are shared. How could I check if the EC is powered when accessing the flashing chip ?</span></div><br><div class="gmail_quote"><div dir="ltr">On Fri, May 25, 2018, 3:02 PM Mike Banon <<a href="mailto:mikebdp2@gmail.com">mikebdp2@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> Directly flashing the SPI chip maybe be dangerous since the EC can interfere unless the SPI chip is desoldered.<br>
<br>
EC will not interfere if the board will be powered off, and you could<br>
directly flash a SPI chip without desoldering by attaching a test clip<br>
to it (which is connected to a flashrom-supported programmer like a<br>
cheap CH341A). Examples of the instruction:<br>
<a href="https://www.flashrom.org/ISP" rel="noreferrer noreferrer" target="_blank">https://www.flashrom.org/ISP</a> ,<br>
<a href="http://dangerousprototypes.com/docs/Flashing_a_BIOS_chip_with_Bus_Pirate" rel="noreferrer noreferrer" target="_blank">http://dangerousprototypes.com/docs/Flashing_a_BIOS_chip_with_Bus_Pirate</a><br>
(for CH341A its the same, just a connection scheme and flashrom<br>
commands are a little bit different)<br>
<br>
On Fri, May 25, 2018 at 9:06 AM, Curi0 <<a href="mailto:zkqri0@gmail.com" target="_blank" rel="noreferrer">zkqri0@gmail.com</a>> wrote:<br>
> Hi,<br>
> I have a laptop with ITE 8518 and I want to try to port coreboot. The SPI<br>
> flash chip is shared between the EC and BIOS and is connected to the ITE<br>
> 8518. Directly flashing the SPI chip maybe be dangerous since the EC can<br>
> interfere unless the SPI chip is desoldered.<br>
><br>
> The ITE 8518 has a mode where the keyboard connector can be used a parallel<br>
> port for flashing<br>
> (<a href="http://www.recomb-omsk.ru/published/SC/html/scripts/doc/94689_datasheet_IT8512E_F_V0.4.1.pdf" rel="noreferrer noreferrer" target="_blank">http://www.recomb-omsk.ru/published/SC/html/scripts/doc/94689_datasheet_IT8512E_F_V0.4.1.pdf</a><br>
> similar chip) but there isn't any information on the software required. This<br>
> video (<a href="https://www.youtube.com/watch?v=GYedPOLiUOo" rel="noreferrer noreferrer" target="_blank">https://www.youtube.com/watch?v=GYedPOLiUOo</a>) shows flashing the BIOS<br>
> using a proprietary programmer software so it should be possible.<br>
><br>
> So is there any way I could reverse engineer the parallel port if I don't<br>
> have access to the ITE flashing software and the programmer in the video<br>
> costs $150 and even if it could be reverse engineered there won't be any way<br>
> to see the raw parallel port commands it sends.Possibly there are some<br>
> documents floating on the internet with the information.<br>
><br>
> Curi0<br>
><br>
> _______________________________________________<br>
> flashrom mailing list<br>
> <a href="mailto:flashrom@flashrom.org" target="_blank" rel="noreferrer">flashrom@flashrom.org</a><br>
> <a href="https://mail.coreboot.org/mailman/listinfo/flashrom" rel="noreferrer noreferrer" target="_blank">https://mail.coreboot.org/mailman/listinfo/flashrom</a><br>
</blockquote></div>