* Flash bmc fail due to partition incorrect
@ 2019-05-29 10:07 Deng Tyler
2019-05-29 10:24 ` Deng Tyler
2019-05-29 17:25 ` Milton Miller II
0 siblings, 2 replies; 3+ messages in thread
From: Deng Tyler @ 2019-05-29 10:07 UTC (permalink / raw)
To: OpenBMC Maillist
[-- Attachment #1: Type: text/plain, Size: 686 bytes --]
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:
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: 997 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Flash bmc fail due to partition incorrect
2019-05-29 10:07 Flash bmc fail due to partition incorrect Deng Tyler
@ 2019-05-29 10:24 ` Deng Tyler
2019-05-29 17:25 ` Milton Miller II
1 sibling, 0 replies; 3+ messages in thread
From: Deng Tyler @ 2019-05-29 10:24 UTC (permalink / raw)
To: OpenBMC Maillist
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re: Flash bmc fail due to partition incorrect
2019-05-29 10:07 Flash bmc fail due to partition incorrect Deng Tyler
2019-05-29 10:24 ` Deng Tyler
@ 2019-05-29 17:25 ` Milton Miller II
1 sibling, 0 replies; 3+ messages in thread
From: Milton Miller II @ 2019-05-29 17:25 UTC (permalink / raw)
To: Deng Tyler; +Cc: OpenBMC Maillist
[-- Attachment #1: Type: text/html, Size: 3634 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-05-29 17:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-29 10:07 Flash bmc fail due to partition incorrect Deng Tyler
2019-05-29 10:24 ` Deng Tyler
2019-05-29 17:25 ` Milton Miller II
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.