Skip to content

RFC Convert Pico-Pi i.MX7D to DM

Lukasz Majewski u-boot 1 version New

Get series with b4
b4 am 20190215125021.4a4f6340@jawa

Versions newest first

  1. v1 RFC Latest0 of 9 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 9 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

Hi Fabio,

Quoted 20 lines

Hi Lukasz,

Quoted 15 lines · Joris Offouga

Hi Lukasz,

Quoted 2 lines

Please check if malloc pool size (in Kconfig) is large enough to handle DFU requests.

The dfu request is smaller than the size of malloc pool size

Quoted 3 lines

Otherwise, please #define DEBUG in ./drivers/dfu.c and dfu_mmc.c and share output.

This is a log when dfu failed :

blk_find_device: if_type=6, devnum=0: usdhc at 30b40000.blk, 6, 2
blk_find_device: if_type=6, devnum=0: usdhc at 30b50000.blk, 6, 1
blk_find_device: if_type=6, devnum=0: usdhc at 30b60000.blk, 6, 0 Request would exceed designated area!

Please carefully check the eMMC partition size (as defined in dfu_alt_info) and the size of sent data.

This error happens when one wants to write bigger file than the reported space on the partition.

Please look at drivers/dfu/dfu_mmc.c Line: 44

Quoted 6 lines
Quoted 5 lines

dfu_write_buffer_drain: Write error!
#Deferred dfu_flush() failed!reset_config:
unbind function 'dfu'/9ef6e678
g_dnl_unbind: calling usb_gadget_disconnect for controller 'ci_udc'

Quoted 6 lines

Do you have any idea on this issue, please?

This DFU bug is one of the items that is blocking the DM conversion of this board.

Thanks

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190215/0019c5f8/attachment.sig>