How can I reset BMC to factory-defaults?

rgrs rgrs at protonmail.com
Wed Sep 25 19:41:00 AEST 2019


Thanks Sivas :) I was able to recover my system.

~raj

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, September 25, 2019 12:40 PM, Sivas Srr <sivas.srr at in.ibm.com> wrote:

> Hi Raj,
>
> For factory reset,
> you can issue following commands at OpenBMC prompt.
> /sbin/fw_setenv rwreset true
>
> After the above command, Do BMC reboot. But you should have your serial connection with you.
> Because you will loose your BMC IP address settings as well.
>
> You can do factory reset from U-boot prompt as well.
> setenv rwreset true
> saveenv
>
> Then let it boot. Once it booted to BMC, you can confirm by checking your BMC ip address etc.
>
> Wtih regards,
> Sivas
>
>> ----- Original message -----
>> From: rgrs <rgrs at protonmail.com>
>> Sent by: "openbmc" <openbmc-bounces+sivas.srr=in.ibm.com at lists.ozlabs.org>
>> To: "openbmc at lists.ozlabs.org" <openbmc at lists.ozlabs.org>
>> Cc:
>> Subject: [EXTERNAL] How can I reset BMC to factory-defaults?
>> Date: Wed, Sep 25, 2019 12:22 PM
>>
>> Hi Everyone,
>>
>> I think my flash/filesystem is corrupt, I get new certs generated at every reboot of BMC.
>> None of the settings are persistent.
>>
>> Is there a way to restore/recreate the partitions without using SPI programmer?
>>
>> Thanks,
>> Raj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190925/9322105f/attachment-0001.htm>


More information about the openbmc mailing list