Deng Tyler 於 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 >