Unable to find mtd partition for image-bmc

Henbin Chang henbinchang at gmail.com
Wed May 30 21:09:33 AEST 2018


>
> As the message indicates, the update script fails to find a mtd partition
> for
> "image-bmc".
> What is your devices's mtd parts?
> The expected OpenBMC flash layout is like this:
>
> # ls -l /dev/mtd/
> total 0
> lrwxrwxrwx    1 root     root             7 May 30 06:47 bmc -> ../mtd0
> lrwxrwxrwx    1 root     root             7 May 30 06:47 kernel -> ../mtd3
> lrwxrwxrwx    1 root     root             7 May 30 06:47 pnor -> ../mtd6
> lrwxrwxrwx    1 root     root             7 May 30 06:47 rofs -> ../mtd4
> lrwxrwxrwx    1 root     root             7 May 30 06:47 rwfs -> ../mtd5
> lrwxrwxrwx    1 root     root             7 May 30 06:47 u-boot -> ../mtd1
> lrwxrwxrwx    1 root     root             7 May 30 06:47 u-boot-env ->
> ../mtd2
>
> For "image-bmc" it will update the partition labeled "bmc", which is mtd0.


Thanks for your response.

I found no the below attribute in the &fmc of my device tree.
 label="BMC"

It could work after I added it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20180530/6e54e0ef/attachment.html>


More information about the openbmc mailing list