<div dir="ltr">It worked. Thanks for the help.<br></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 13, 2018 at 5:45 PM Oliver <<a href="mailto:oohall@gmail.com">oohall@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Nov 13, 2018 at 10:51 PM AKASH G J <<a href="mailto:akashgj91@gmail.com" target="_blank">akashgj91@gmail.com</a>> wrote:<br>
><br>
> Hi Team,<br>
><br>
> I tried to flash kernel image fitImage.bin to the flash memory address 0x20100000 using the following command.<br>
><br>
> pflash -b -e -a 0x20100000 -f -p fitImage.bin<br>
<br>
-a specifies the offset into the PNOR that you want to read or write<br>
from, not a memory address.<br>
<br>
><br>
> It is showing the following error.<br>
><br>
> WARNING: Erase at 0x20100000 for 0x00271e20 isn't erase block aligned<br>
> About to erase 0x20100000..0x20371e20 !<br>
> Erasing...<br>
> [ ] 0%mtd_erase: IOCTL to kernt<br>
> Failed to blocklevel_smart_erase(): 3<br>
><br>
><br>
><br>
><br>
> Thanks and Regards,<br>
><br>
> Akash<br>
> _______________________________________________<br>
> Skiboot mailing list<br>
> <a href="mailto:Skiboot@lists.ozlabs.org" target="_blank">Skiboot@lists.ozlabs.org</a><br>
> <a href="https://lists.ozlabs.org/listinfo/skiboot" rel="noreferrer" target="_blank">https://lists.ozlabs.org/listinfo/skiboot</a><br>
</blockquote></div>