[Skiboot] external/gard: Alternate mtd or FDT entries?
Stewart Smith
stewart at linux.vnet.ibm.com
Tue Aug 18 09:49:10 AEST 2015
Patrick Williams <patrick at stwcx.xyz> writes:
> Anyone have ideas?
>
> Cyril, copying you specifically because you seem to have touched 'gard'
> subdirectory most.
Cyril is out with a not-able-to-move-his-left-arm after some skiing
adventure, so I'll attempt to have a crack at it...
> On Thu, Aug 13, 2015 at 02:09:26PM -0500, Patrick Williams wrote:
>> I see the 'gard' tool by default will search the FDT entry
>> "/proc/device-tree/chosen/ibm,system-flash" for the location of the MTD
>> block device for writing. I believe that will point us to the 'current'
>> side.
>>
>> If we were booted from the golden side of PNOR, is there any way for us
>> to write / clear the non-golden side? The '-f' option seems to be
>> exclusively for files and not MTD.
I think specifying -f should do it, but we'd need a device to poke at
for the non-golden side, which I *think* we just expose it all as one
mtd device now?
More information about the Skiboot
mailing list