[PATCH 4/4] ARM: dts: imx8m: imx8mm-mx8menlo: Enable SPL SDP support

Sean Anderson sean.anderson at seco.com
Mon Sep 26 19:50:39 CEST 2022


On 9/26/22 1:28 PM, Adam Ford wrote:
> On Mon, Sep 26, 2022 at 12:12 PM Fabio Estevam <festevam at gmail.com> wrote:
>>
>> Hi Adam,
>>
>> On Mon, Sep 26, 2022 at 2:07 PM Adam Ford <aford173 at gmail.com> wrote:
>>
>> > Tim,
>> >
>> > I have it building successfully now, and it loads over USB. I had to
>> > disable BD718x7 PMIC children binding which required a small change to
>> > the PMIC driver [1].  I then removed HS400, HS200 and UHS support in
>> > SPL.  Once I did all that, the code size fit into SPL space.
>> >
>> > [1] - https://patchwork.ozlabs.org/project/uboot/patch/20220817112403.68144-2-aford173@gmail.com/
>> >
>> > I'll try to push my patch today or tomorrow.  I was doing some other
>> > clean-up, but I might just push that as a small series in itself.
>>
>> Ok, great.
>>
>> Does "ums 0 mmc 0" work for you if you run it, stop it via CTRL+C and rerun it?
>>
> 
> I didn't try UMS.  I was going to investigate Fastboot, but I'll give
> it try this week.

IMO UMS is the most convenient for development. It does require access
to the console to hit ctrl-c, whereas you can control booting/rebooting
with fastboot (making it nicer for production or for in-field repair).

I have found that both fastboot and UMS are far nice to use than SDP.

--Sean

>> On an imx8mm_evk, I get USB errors after the CTRL+C and ums fails to
>> mount after that.
> 
> Do you need to do a USB reset or anything?
> 
> adam
> 


More information about the U-Boot mailing list