Message ID | Y1pypjwlPtAIcLaS@MjU3Nj |
---|---|
State | New |
Headers | show |
Series | Re: [review] WP documentation for flashrom users | expand |
I only noticed now that the mailing list got lost from the last two messages. I apologise for that, it was completely unintentional! Re-sending again, and now including the mailing list. Text below. On Wed, Nov 2, 2022 at 12:17 AM Sergii Dmytruk <sergii.dmytruk@3mdeb.com> wrote: > > On Tue, Nov 01, 2022 at 09:32:27AM +1100, Anastasia Klimchuk wrote: > > Sergii, you mentioned in the earlier thread, you can convert the text > > to mediawiki format? That would be great! > > Also, would you be able to update the wiki page by yourself? We can > > create an account for you. > > Then you can preview/correct the text , until the result looks good to you. > > > > As we agreed in the earlier thread, this should go to > > https://www.flashrom.org/Documentation#Using_flashrom section. > > > > Thank you so much for your contributions! > > Yes, I can deal with MediaWiki and handle formatting issues myself if > I'll get an account. > > Just for information, it's trivial to convert to Wiki automatically: > > pandoc -w mediawiki bootblock-protection.md -o bootblock-protection.wiki > > The important thing is to have empty lines before lists in Markdown, > pandoc doesn't recognize lists otherwise. There can be other minor > differences.
Thanks, updated https://www.flashrom.org/Documentation#Using_flashrom with links to new pages: * https://www.flashrom.org/Firmware_updates_vs._SPI_write-protection * https://www.flashrom.org/Example_of_partial_write-protection Also fixed link to man page source there (although it would be better to have it rendered, groff isn't very readable). On Fri, Nov 04, 2022 at 12:22:20PM +1100, Anastasia Klimchuk wrote: > I only noticed now that the mailing list got lost from the last two > messages. I apologise for that, it was completely unintentional! > Re-sending again, and now including the mailing list. Text below. > > On Wed, Nov 2, 2022 at 12:17 AM Sergii Dmytruk <sergii.dmytruk@3mdeb.com> wrote: > > > > On Tue, Nov 01, 2022 at 09:32:27AM +1100, Anastasia Klimchuk wrote: > > > Sergii, you mentioned in the earlier thread, you can convert the text > > > to mediawiki format? That would be great! > > > Also, would you be able to update the wiki page by yourself? We can > > > create an account for you. > > > Then you can preview/correct the text , until the result looks good to you. > > > > > > As we agreed in the earlier thread, this should go to > > > https://www.flashrom.org/Documentation#Using_flashrom section. > > > > > > Thank you so much for your contributions! > > > > Yes, I can deal with MediaWiki and handle formatting issues myself if > > I'll get an account. > > > > Just for information, it's trivial to convert to Wiki automatically: > > > > pandoc -w mediawiki bootblock-protection.md -o bootblock-protection.wiki > > > > The important thing is to have empty lines before lists in Markdown, > > pandoc doesn't recognize lists otherwise. There can be other minor > > differences.
diff --git a/bootblock-protection.md b/bootblock-protection.md index fafb32e..66a6bb2 100644 --- a/bootblock-protection.md +++ b/bootblock-protection.md @@ -11,7 +11,7 @@ motherboard (PCH protection). ## `flashrom` version -At the time of writing (11 October 2022) there hasn't been a `flashrom` release +At the time of writing (26 October 2022) there hasn't been a `flashrom` release that includes WP manipulation facilities. You might have to build one from scratch (assuming you've already installed build dependencies): @@ -217,5 +217,5 @@ changing state of WP pin on your chip! ## Verifying hardware protection -Once you've happy with the configuration and changed state of WP pin, you can -try disabling WP using `flashrom` to make sure that it fails now. +Once you're happy with the configuration and changed state of WP pin, you can +try disabling WP using `flashrom --dp-disable` to make sure that it fails now. diff --git a/heads-and-wp.md b/heads-and-wp.md index 70a80fd..0f5485c 100644 --- a/heads-and-wp.md +++ b/heads-and-wp.md @@ -64,7 +64,8 @@ If you need to pass extra parameters to flash your chip (e.g., programmer or chip name), add them to the above command (order of such parameters shouldn't matter). -Mind that in `flashrom` the code for disabling protection automatically is -different from the code which handles `--wp-disable`. This means that they can -sometimes produce different results, this is why you should be aware of both -code paths that affect WP. +Mind that as of now (26 October 2022) `flashrom` uses different code for +temporarily disabling protection automatically before an operation (the state +is restored afterwards) and for handling `--wp-disable`. This means that effects +on write protection can be different depending on which code changes it, which +is why you should know about existence of both of these code paths.