<div>Thanks Sivas :) I was able to recover my system.<br></div><div><br></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><br></div><div class="protonmail_signature_block-proton">~raj<br></div></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div> On Wednesday, September 25, 2019 12:40 PM, Sivas Srr <sivas.srr@in.ibm.com> wrote:<br></div><div> <br></div><blockquote class="protonmail_quote" type="cite"><div dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10pt"><div dir="ltr">Hi Raj,<br></div><div dir="ltr"> <br></div><div dir="ltr">For factory reset,<br></div><div dir="ltr">you can issue following commands at OpenBMC prompt.<br></div><div dir="ltr">/sbin/fw_setenv rwreset true<br></div><div dir="ltr"><div style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:&#xA;"> <br></div><div style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:&#xA;">After the above command, Do BMC reboot. But you should have your serial connection with you.<br></div><div style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:&#xA;">Because you will loose your BMC IP address settings as well.<br></div><div style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:&#xA;"> <br></div><div style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:&#xA;">You can do factory reset from U-boot prompt as well.<br></div><div style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:&#xA;"><div style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:&#xA;">setenv rwreset true<br></div><div style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:&#xA;">saveenv<br></div></div><div style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:&#xA;"> <br></div><div style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:&#xA;">Then let it boot. Once it booted to BMC, you can confirm by checking your BMC ip address etc.<br></div><div style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:&#xA;"> <br></div><div style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:&#xA;">Wtih regards,<br></div><div style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:&#xA;">Sivas<br></div></div><div dir="ltr"> <br></div><blockquote data-history-content-modified="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px"><div>----- Original message -----<br></div><div>From: rgrs <rgrs@protonmail.com><br></div><div>Sent by: "openbmc" <openbmc-bounces+sivas.srr=in.ibm.com@lists.ozlabs.org><br></div><div>To: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org><br></div><div>Cc:<br></div><div>Subject: [EXTERNAL] How can I reset BMC to factory-defaults?<br></div><div>Date: Wed, Sep 25, 2019 12:22 PM<br></div><div> <br></div><div><span style="font-size:16px">Hi Everyone,</span><br></div><div><br></div><div><span style="font-size:16px">I think my flash/filesystem is corrupt, I get new certs generated at every reboot of BMC.</span><br></div><div><span style="font-size:16px">None of the settings are persistent. </span><br></div><div><br></div><div><span style="font-size:16px">Is there a way to restore/recreate the partitions without using SPI programmer?</span><br></div><div><br></div><div><span style="font-size:16px">Thanks,</span><br></div><div><span style="font-size:16px">Raj</span><br></div></blockquote><div dir="ltr"> <br></div></div></blockquote><div><br></div>