From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Estevam Date: Sat, 23 Mar 2019 11:09:25 -0300 Subject: [U-Boot] Fixing dfu_alt_info field after DM conversion Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Lukasz, Myself and Joris have been working on DM conversion of pico-mx7 and the the latest patches are available at: https://github.com/jorisoffouga/u-boot/commits/pico-imx7d/convert-dm Things are working well so far, except eMMC flashing via DFU. The following error is seen we flash u-boot-dtb.img: => dfu 0 mmc 0 Request would exceed designated area! #Deferred dfu_flush() failed!=> Joris found a way to fix this problem by doing: #define CONFIG_DFU_ENV_SETTINGS \ "dfu_alt_info=" \ "spl raw 0x2 0x400;" \ - "u-boot raw 0x8a 0x400;" \ + "u-boot raw 0x8a 0x1000;" \ "/boot/zImage ext4 0 1;" \ "/boot/imx7d-pico-hobbit.dtb ext4 0 1;" \ "/boot/imx7d-pico-pi.dtb ext4 0 1;" \ Is this an acceptable fix? What does the last field in dfu_alt_info mean? Thanks, Fabio Estevam