Hi Shyam, On 31.05.19 11:10, Shyam Saini wrote: > Hi Schrempf, > > As of now imx usb loader does not process FIT images. > Have you added some patch or support on imx usb loader side ?
No, I'm using imx_usb_loader only to load the FIT image to DRAM in SPL via SDP. The SPL is then processing the FIT image and loading U-Boot proper from the image. Regards, Frieder > > Thanks and regards, > Shyam > > On Mon, May 27, 2019 at 12:10 PM Schrempf Frieder > <frieder.schre...@kontron.de> wrote: >> >> Hi Fabio, >> >> On 23.05.19 19:45, Fabio Estevam wrote: >>> Hi Schrempf, >>> >>> On Thu, May 23, 2019 at 2:26 PM Schrempf Frieder >>> <frieder.schre...@kontron.de> wrote: >>> >>>> As luck would have it, I needed to load a FIT via SDP today, so I came >>>> up with a quick patch (see below). There are probably better ways to do >>>> this, but it works. >>> >>> Thanks for your patch! >>> >>> I would like to give it a try, but it does not apply against U-Boot >>> mainline. >>> >>> I manually applied it, but failed to build: >>> >>> cmd/usb_gadget_sdp.c: In function ‘do_sdp’: >>> cmd/usb_gadget_sdp.c:35:2: error: too few arguments to function ‘sdp_handle’ >>> sdp_handle(controller_index); >> >> Sorry, I just picked the patch from my messy working tree and it's based >> on 2019.04 and some other changes. >> >>> Could you please rebase it against U-Boot mainline and post it like a >>> formal patch? >> >> I need to do some rebasing and cleanup, but I'm definitely planning to >> send this as a patch for upstream. >> >> Thanks, >> Frieder >> _______________________________________________ >> U-Boot mailing list >> U-Boot@lists.denx.de >> https://lists.denx.de/listinfo/u-boot _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot