All of lore.kernel.org
 help / color / mirror / Atom feed
From: Deng Tyler <tyler.sabdon@gmail.com>
To: OpenBMC Maillist <openbmc@lists.ozlabs.org>
Subject: Re: Flash bmc fail due to partition incorrect
Date: Wed, 29 May 2019 18:24:57 +0800	[thread overview]
Message-ID: <CAO9PYRLkgxrpes9QvzaN30TNu4-hcL5apFLhgdoBbzqiHynbRw@mail.gmail.com> (raw)
In-Reply-To: <CAO9PYRLdxqjbMHgsMoEY7m0ygwchLQk=7GOQr_itjqor=AMqfA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1476 bytes --]

Deng Tyler <tyler.sabdon@gmail.com> 於 2019年5月29日 週三 下午6:07寫道:

> Hi all:
>     I encounter bmc firmware update fail issue and message is "Verify
> error: update: --no-flash --ignore-mount --no-save-files --no-restore-files
> --no-clean-saved-files\nERROR: Unable to find mtd partition for
> image-bmc.\n".
>
> I check my flash partition and found that I lost "bmc" partition as below:
> cat /proc/mtd
> dev:    size   erasesize  name
> mtd0: 00060000 00001000 "u-boot"
> mtd1: 00020000 00001000 "u-boot-env"
> mtd2: 00440000 00001000 "kernel"
> mtd3: 01740000 00001000 "rofs"
> mtd4: 00400000 00001000 "rwfs"
>
ls -l /dev/mtd
lrwxrwxrwx    1 root     root             7 May 23 11:56 kernel -> ../mtd2
lrwxrwxrwx    1 root     root             7 May 23 11:56 rofs -> ../mtd3
lrwxrwxrwx    1 root     root             7 May 23 11:56 rwfs -> ../mtd4
lrwxrwxrwx    1 root     root             7 May 23 11:56 u-boot -> ../mtd0
lrwxrwxrwx    1 root     root             7 May 23 11:56 u-boot-env ->
../mtd1

>
> I tried to add bmc partition in dts
> &bootspi {
>         status = "okay";
>         flash@0 {
>                 status = "okay";
>                 m25p,fast-read;
>                 label = "bmc";
>                 spi-max-frequency = <50000000>;
> #include "openbmc-flash-layout.dtsi"
>         };
> };
>
> but there still is no "bmc" partition. Could someone give any suggestion?
> thanks.
>
> Tyler
>

[-- Attachment #2: Type: text/html, Size: 2320 bytes --]

  reply	other threads:[~2019-05-29 10:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-29 10:07 Flash bmc fail due to partition incorrect Deng Tyler
2019-05-29 10:24 ` Deng Tyler [this message]
2019-05-29 17:25 ` Milton Miller II

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAO9PYRLkgxrpes9QvzaN30TNu4-hcL5apFLhgdoBbzqiHynbRw@mail.gmail.com \
    --to=tyler.sabdon@gmail.com \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.