buildroot 构建后,无法烧写到emmc


00:20:39 : Warning: Connection to device 0x500 is lost
00:20:39 : Disconnected from device.
00:20:47 : USB speed : High Speed (480MBit/s)
00:20:47 : Manuf. ID : STMicroelectronics
00:20:47 : Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
00:20:47 : SN : 002200273431510232323638
00:20:47 : FW version : 0x0110
00:20:47 : Device ID : 0x0500
00:20:50 : Read TSV File: E:\Buildroot_2020\Flashlayout\Buildroot_Emmc_rootfs.tsv
00:20:50 : Number of partitions: 7
00:20:57 : Start Embedded Flashing service
00:20:57 : Memory Programming …
00:20:57 : Opening and parsing file: tf-a-stm32mp157c-100ask-512d-v1-serialboot.stm32
00:20:57 : File : tf-a-stm32mp157c-100ask-512d-v1-serialboot.stm32
00:20:57 : Size : 241984 Bytes
00:20:57 : Partition ID : 0x01
00:20:57 : Download in Progress:
00:20:57 : File download complete
00:20:57 : Time elapsed during download operation: 00:00:00.511
00:20:57 : RUNNING Program …
00:20:57 : PartID: :0x01
00:20:57 : Start operation done successfully at partition 0x01
00:20:57 : Flashlayout Programming …
00:20:57 : Running Flashlayout Partition …
00:20:57 : Flashlayout partition started successfully
00:20:57 : Memory Programming …
00:20:57 : Opening and parsing file: u-boot.stm32
00:20:57 : File : u-boot.stm32
00:20:57 : Size : 869937 Bytes
00:20:57 : Partition ID : 0x03
00:20:57 : Download in Progress:
00:20:59 : File download complete
00:20:59 : Time elapsed during download operation: 00:00:01.042
00:20:59 : RUNNING Program …
00:20:59 : PartID: :0x03
00:20:59 : reconnecting the device …
00:21:02 : USB speed : High Speed (480MBit/s)
00:21:02 : Manuf. ID : STMicroelectronics
00:21:02 : Product ID : USB download gadget@Device ID /0x500, @Revision ID /0x2001, @Name /STM32MP157AAC Rev.Z,
00:21:02 : SN : 002200273431510232323638
00:21:02 : FW version : 0x0110
00:21:02 : Device ID : 0x0500
00:21:02 : Start operation done successfully at partition 0x03
00:21:02 : Error: Message from Embedded Flash Loader : ssbl (0x6): Bad address for partition 1 (ssbl) = 0x80000 <> 0x4400 expected
00:21:02 : Received PhaseID == 0xFF, system is going to reboot

emmc模式烧写,一直报错

是这样操作的吗。

是的,ssbl之前的部分, 根据log已经烧写了,到ssbl这一步失败的。最开始怀疑是自己编出的image问题,最后直接下载 百度网盘里面的buildroot整个文件,还是出错

你选择的是只烧写rootfs 的配置文件,是需要烧写这个吗。我这里试试看烧写这个。

您好,请问您那边是正常的吗? 按理说往emmc里面download数据,按照这个设定的offset,应该就OK了。也试过其它方式烧写,也是到这个位置ssbl失败。
00:20:59 : RUNNING Program …
00:20:59 : PartID: :0x03
00:20:59 : reconnecting the device …
00:21:02 : USB speed : High Speed (480MBit/s)

log中有段设备重连, 是不是表示烧录数据emmc位置不对,开发板emmc硬件reset,然后才有这个重连的log?

我这导入配置文件按默认的烧写是正常的。

用rootfs.tsv 这个还是不行;好在 systemall.tsv这个配置文件能用。谢了