On Thu, Jul 31, 2025 at 2:32 AM Alice Guo (OSS) <[email protected]> wrote:
>
> > -----邮件原件-----
> > 发件人: Tim Harvey <[email protected]>
> > 发送时间: 2025年7月30日 0:03
> > 收件人: Alice Guo (OSS) <[email protected]>; Peng Fan
> > <[email protected]>; Ye Li <[email protected]>
> > 抄送: Stefano Babic <[email protected]>; Fabio Estevam
> > <[email protected]>; dl-uboot-imx <[email protected]>; Tom Rini
> > <[email protected]>; [email protected]; Alice Guo <[email protected]>;
> > Jacky Bai <[email protected]>
> > 主题: Re: [PATCH v2 0/4] imx: add i.MX95 b0 support
> >
> > On Mon, Jul 28, 2025 at 7:21 PM Alice Guo (OSS) <[email protected]>
> > wrote:
> > >
> > > Hi Tim,
> > >
> >
> > Hi Alice,
> >
> > Please stop top-posting in replies - It forces users to read the mail in a
> > backwards order to properly understand, content gets lost and out of order
> > and
> > threads get broken.
> >
> > > A0 has been dropped.
> >
> > This is unacceptable. Had I known this series was doing this I would have
> > NAK'd
> > it. There was no mention in the commit log that this would drop support for
> > A0.
> > There are many vendors like myself who have A0 silicon evk's that will
> > likely
> > never get upgraded and should not become bricks.
> >
> > We need to at least know how to get back to working boot firmware for A0. I
> > would be fine if there was just a Kconfig to select A0.
> >
> > >
> > > Please use mx95a0-ahab-container.img and the older imx-oei, and then you
> > can check if this change needs to be added.
> >
> > Yes, I tried mx95a0-ahab-container.img but I think you need to be more
> > specific
> > with the 'older imx-oei' - there are obviously patches in the OEI's that
> > also drop
> > support for A0. Regardless, I've gone back to the OEI that I was using
> > previously
> > (lf-6.6.52-2.2.0) and I'm still not booting and reverting commit 9936724aa9b
> > ("imx95_evk: Add i.MX95 B0
> > support") didn't get me booting either. I'm still trying to figure it out.
>
> git clone -b master https://github.com/nxp-imx/imx-oei.git
> cd imx-oei
> make board=mx95lp5 oei=ddr DEBUG=1 r=A0
> DDR_CONFIG=XIMX95LPD5EVK19_6400mbps_train_timing_a1
> make board=mx95lp5 oei=tcm DEBUG=1 r=A0
> DDR_CONFIG=XIMX95LPD5EVK19_6400mbps_train_timing_a1
Hi Alice,
Thanks - its good to know the OEI didn't drop support and also good to
understand something changed with the DDR configs. Note the tcm
doesn't use DDR_CONFIG so that can be dropped.
In order to restore support for IMX95 A0 silicon I also had to revert
all the changes to the imximage.cfg from commit 9936724aa9b
("imx95_evk: Add i.MX95 B0 support"):
diff --git a/arch/arm/mach-imx/imx9/scmi/imximage.cfg
b/arch/arm/mach-imx/imx9/scmi/imximage.cfg
index c2c92174c1c..6af1c4ba628 100644
--- a/arch/arm/mach-imx/imx9/scmi/imximage.cfg
+++ b/arch/arm/mach-imx/imx9/scmi/imximage.cfg
@@ -3,14 +3,13 @@
* Copyright 2025 NXP
*/
-CNTR_VERSION 2
BOOT_FROM SD
SOC_TYPE IMX9
-APPEND mx95b0-ahab-container.img
+APPEND mx95a0-ahab-container.img
CONTAINER
-DUMMY_DDR
IMAGE OEI m33-oei-ddrfw.bin 0x1ffc0000
HOLD 0x10000
+IMAGE OEI oei-m33-tcm.bin 0x1ffc0000
IMAGE M33 m33_image.bin 0x1ffc0000
IMAGE A55 spl/u-boot-spl.bin 0x20480000
DUMMY_V2X 0x8b000000
So to restore A0 support we need the following:
- add a IMX95_A0 Kconfig selectable for IMX95
- use the config in imxiamge.cfg
- update doc/board/nxp/imx95_evk.rst to show differences in building
for the various versions of the imx95_evk that are out there (whatever
they may be)
imx95_19x19 with A0:
make -C imx-oei board=mx95lp5 oei=ddr DEBUG=1 r=A0
DDR_CONFIG=XIMX95LPD5EVK19_6400mbps_train_timing_a1
cp imx-oei/build/mx95lp5/ddr/oei-m33-ddr.bin .
make -C imx-oei board=mx95lp5 oei=tcm DEBUG=1 r=A0
cp imx-oei/build/mx95lp5/tcm/oei-m33-tcm.bin .
Please put this together in a patch that has a fixes tag for commit
9936724aa9b ("imx95_evk: Add i.MX95 B0 support").
Best Regards,
Tim