Hi Tim,

i.MX95 BOOTROM is on M33 so that cannot call boot ROM API.

The difference between imx8mm BOOTROM and imx8mp/mn BOOTROMv2 is that BOOTROMv2
can call ROM API to load and imx8mm BOOTROM has no such function. No need to 
add USB
support to imx8mp and imx8mn SPL.

When you add USB support to i.MX95 SPL, have you increased the size of i.MX95 
SPL? i.MX95 SDP
uses USB3 which driver is in drivers/usb/dwc3/. Configure USB to gadget. The 
USB phy driver uses
drivers/phy/phy-imx8mq-usb.c. i.MX95 has tca mux so that it is needed to add 
code in the USB phy
driver.

Best Regards,
Alice Guo

> -----邮件原件-----
> 发件人: Tim Harvey <thar...@gateworks.com>
> 发送时间: 2025年7月2日 3:50
> 收件人: Alice Guo (OSS) <alice....@oss.nxp.com>
> 抄送: u-boot <u-boot@lists.denx.de>; Fabio Estevam <feste...@gmail.com>
> 主题: Re: imx95 SDP support?
> 
> On Tue, Jul 1, 2025 at 6:07 AM Alice Guo (OSS) <alice....@oss.nxp.com> wrote:
> >
> > Hi Tim,
> >
> > i.MX95 needs to enable USB gadget in SPL to load the U-Boot proper. It 
> > cannot
> use boot ROM API.
> >
> 
> Hi Alice,
> 
> This is unfortunate - is the ROM API not going to be usable for the
> imx95 or is support code simply not written yet? I don't really understand the
> difference for example between the imx8mm BOOTROM and the imx8mp/mn
> BOOTROMv2 where BOOTROMv2 can use the for SDP which greatly reduces the
> SPL footprint.
> 
> Have you been able to configure U-Boot SPL for imx95 SDP? I am
> overflowing .sram codespace when I try to add 'either' support for the
> USB2.0 controller or the USB3.0 controller.
> 
> Best Regards,
> 
> Tim
> 
> 
> > Best Regards,
> > Alice Guo
> >
> > > -----邮件原件-----
> > > 发件人: Tim Harvey <thar...@gateworks.com>
> > > 发送时间: 2025年7月1日 8:07
> > > 收件人: u-boot <u-boot@lists.denx.de>; Alice Guo (OSS)
> > > <alice....@oss.nxp.com>; Fabio Estevam <feste...@gmail.com>
> > > 主题: imx95 SDP support?
> > >
> > > Hi Alice,
> > >
> > > I'm wondering if you have any notes regarding U-Boot SPL SDP support
> > > for the imx95?
> > >
> > > The SPL boots over SDP just fine but I'm interested in getting to
> > > the next step where the SPL provides SDP support to load U-Boot propper.
> > > I'm not clear if the imx95 uses a similar bootrom to as the imx8 and
> > > imx93 or if this is done over scmi.
> > >
> > > Best Regards,
> > >
> > > Tim

Reply via email to