cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
schnitz
Visitor
Visitor
379 Views
Registered: ‎10-05-2020

Zynq US+ eMMC FFU

Hi,

From the documentation, it appears the eMMC host controller in the Zynq US+ supports eMMC4.51

Our eMMC chip from Micron supports eMMC5.1. This standard supports the Field Firmware Upgrade (FFU) feature. 

Do both the controller and the chip need to be eMMC5.0+ in order to perform the FFU?

Thanks !

 

1 Reply
schnitz
Visitor
Visitor
182 Views
Registered: ‎10-05-2020

I tried to upgrade the firmware on the eMMC (5.x) on the US+, and I get the same error using mmc-utils or the vendor-supplied tool:

[root@hostname ~]$ emmcparm --ffu /tmp/FFU.bin /dev/mmcblk0
Device file = /dev/mmcblk0
EXT_CSD revision [192] = 1.7 (for MMC v5.0x)
[ 5945.497372] sdhci-arasan ff160000.sdhci: __mmc_blk_ioctl_cmd: cmd error -110

ERROR: failure in Sending Commands: Connection timed out
[ 5945.511218] mmcblk0: p1

[root@hostname ~]$ mmc ffu /tmp/FFU.bin /dev/mmcblk0
[ 5641.864021] sdhci-arasan ff160000.sdhci: __mmc_blk_ioctl_cmd: data error -110
Multi-cmd ioctl: Connection timed out
[ 5641.871717] sdhci-arasan ff160000.sdhci: __mmc_blk_ioctl_cmd: cmd error -110
[root@hostname ~]$
[root@hostname ~]$ [ 5651.994241] mmc0: Timeout waiting for hardware interrupt.
[ 5652.000188] mmcblk0: error -110 sending stop command, original cmd response 0x0, card status 0x400e00
[ 5652.009330] mmcblk0: error -110 transferring data, sector 0, nr 8, cmd response 0x0, card status 0x0
[ 5652.019127] mmc0: cache flush error -110
[ 5652.225380] mmcblk0: p1

 

This leads me to believe this is either:

1. not possible to do, or

2. there is a problem with the sdhci-arasan driver

 

Any confirmation on this ?