mbox series

[v5,0/3] Add imx93-var-som support

Message ID 20240104155357.21865-1-othacehe@gnu.org
Headers show
Series Add imx93-var-som support | expand

Message

Mathieu Othacehe Jan. 4, 2024, 3:53 p.m. UTC
From: Mathieu Othacehe <m.othacehe@gmail.com>

Hello,

This v5 fixes imx93_evk compilation by enabling binman support for this board.

Thanks,

Mathieu

v4: https://lists.denx.de/pipermail/u-boot/2024-January/542515.html

Mathieu Othacehe (4):
  spl: binman: Disable u_boot_any symbols for i.MX93 boards
  mach-imx: Add i.MX93 binman support.
  imx9: imx93_evk: Add binman support.
  Add imx93-var-som support

 arch/arm/dts/Makefile                         |    3 +-
 arch/arm/dts/imx93-11x11-evk-u-boot.dtsi      |    2 +
 arch/arm/dts/imx93-u-boot.dtsi                |   88 +
 .../dts/imx93-var-som-symphony-u-boot.dtsi    |  266 +++
 arch/arm/dts/imx93-var-som-symphony.dts       |  305 ++++
 arch/arm/dts/imx93-var-som.dtsi               |  111 ++
 arch/arm/include/asm/arch-imx9/clock.h        |    1 +
 arch/arm/mach-imx/Makefile                    |   22 +-
 arch/arm/mach-imx/imx9/Kconfig                |    8 +
 arch/arm/mach-imx/imx9/container.cfg          |   10 +
 arch/arm/mach-imx/imx9/imximage.cfg           |   10 +
 board/variscite/common/eth.c                  |   58 +
 board/variscite/common/eth.h                  |   12 +
 board/variscite/common/imx9_eeprom.c          |  190 +++
 board/variscite/common/imx9_eeprom.h          |   83 +
 board/variscite/common/mmc.c                  |   47 +
 board/variscite/imx93_var_som/Kconfig         |   12 +
 board/variscite/imx93_var_som/MAINTAINERS     |    7 +
 board/variscite/imx93_var_som/Makefile        |   17 +
 board/variscite/imx93_var_som/imx93_var_som.c |  126 ++
 .../variscite/imx93_var_som/imx93_var_som.env |   99 ++
 .../variscite/imx93_var_som/lpddr4x_timing.c  | 1488 +++++++++++++++++
 board/variscite/imx93_var_som/spl.c           |  143 ++
 common/spl/Kconfig                            |    2 +-
 common/spl/Kconfig.tpl                        |    2 +-
 common/spl/Kconfig.vpl                        |    2 +-
 configs/imx93_11x11_evk_defconfig             |    2 +
 configs/imx93_11x11_evk_ld_defconfig          |    2 +
 configs/imx93_var_som_defconfig               |  156 ++
 doc/board/nxp/imx93_11x11_evk.rst             |   68 +
 doc/board/nxp/index.rst                       |    1 +
 doc/board/variscite/imx93_var_som.rst         |   68 +
 doc/board/variscite/index.rst                 |    1 +
 include/configs/imx93_var_som.h               |   48 +
 34 files changed, 3455 insertions(+), 5 deletions(-)
 create mode 100644 arch/arm/dts/imx93-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx93-var-som-symphony-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx93-var-som-symphony.dts
 create mode 100644 arch/arm/dts/imx93-var-som.dtsi
 create mode 100644 arch/arm/mach-imx/imx9/container.cfg
 create mode 100644 arch/arm/mach-imx/imx9/imximage.cfg
 create mode 100644 board/variscite/common/eth.c
 create mode 100644 board/variscite/common/eth.h
 create mode 100644 board/variscite/common/imx9_eeprom.c
 create mode 100644 board/variscite/common/imx9_eeprom.h
 create mode 100644 board/variscite/common/mmc.c
 create mode 100644 board/variscite/imx93_var_som/Kconfig
 create mode 100644 board/variscite/imx93_var_som/MAINTAINERS
 create mode 100644 board/variscite/imx93_var_som/Makefile
 create mode 100644 board/variscite/imx93_var_som/imx93_var_som.c
 create mode 100644 board/variscite/imx93_var_som/imx93_var_som.env
 create mode 100644 board/variscite/imx93_var_som/lpddr4x_timing.c
 create mode 100644 board/variscite/imx93_var_som/spl.c
 create mode 100644 configs/imx93_var_som_defconfig
 create mode 100644 doc/board/nxp/imx93_11x11_evk.rst
 create mode 100644 doc/board/variscite/imx93_var_som.rst
 create mode 100644 include/configs/imx93_var_som.h

Comments

Fabio Estevam Jan. 4, 2024, 5:49 p.m. UTC | #1
On Thu, Jan 4, 2024 at 12:54 PM Mathieu Othacehe <othacehe@gnu.org> wrote:
>
> From: Mathieu Othacehe <m.othacehe@gmail.com>
>
> Hello,
>
> This v5 fixes imx93_evk compilation by enabling binman support for this board.

Still fails:

https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/764792

Please run a CI job for your series at https://github.com/u-boot/u-boot/pulls

After it passes, then please submit a v6.
Mathieu Othacehe Jan. 8, 2024, 9:26 a.m. UTC | #2
Hello,

> Please run a CI job for your series at https://github.com/u-boot/u-boot/pulls
>
> After it passes, then please submit a v6.

This issue was that we are expecting binman to keep working on the CI
even though the binary blobs are not present. I fixed that, had a green
Github build and submitted a v6.

Thanks,

Mathieu
Fabio Estevam Jan. 8, 2024, 10:30 a.m. UTC | #3
Hi Mathieu,

On Mon, Jan 8, 2024 at 6:26 AM Mathieu Othacehe <m.othacehe@gmail.com> wrote:

> This issue was that we are expecting binman to keep working on the CI
> even though the binary blobs are not present. I fixed that, had a green
> Github build and submitted a v6.

Excellent, thank you.

 I plan to apply this series today, after Tom releases 2024.01 and
merge next into master.

I will also wait for the Gitbug CI job to finish:
https://github.com/u-boot/u-boot/pull/457

Also, it seems you generated v6 against U-Boot master instead of U-Boot next?
Mathieu Othacehe Jan. 8, 2024, 10:59 a.m. UTC | #4
Hello,

> I will also wait for the Gitbug CI job to finish:
> https://github.com/u-boot/u-boot/pull/457
>
> Also, it seems you generated v6 against U-Boot master instead of U-Boot next?

Right, because I wasn't sure CI was working for pull requests on the
`next` branch of Github. It looks like it is so I also created a PR on
top of the `next` branch: https://github.com/u-boot/u-boot/pull/459.

I should have done that in the first place, sorry about that.

Thanks,

Mathieu
Fabio Estevam Jan. 8, 2024, 6:25 p.m. UTC | #5
On Mon, Jan 8, 2024 at 7:59 AM Mathieu Othacehe <m.othacehe@gmail.com> wrote:

> Right, because I wasn't sure CI was working for pull requests on the
> `next` branch of Github. It looks like it is so I also created a PR on
> top of the `next` branch: https://github.com/u-boot/u-boot/pull/459.

I applied this one, thanks.