mbox series

[v1,0/5] board: toradex: add Verdin iMX8MM 2GB WB IT v1.0a

Message ID 20200123113140.9353-1-igor.opaniuk@gmail.com
Headers show
Series board: toradex: add Verdin iMX8MM 2GB WB IT v1.0a | expand

Message

Igor Opaniuk Jan. 23, 2020, 11:31 a.m. UTC
This add initial minimal support for the Toradex Verdin iMX8MM 2GB WB IT
V1.0A module. They are now strapped to boot from eFuses which are
factory fused to properly boot from their on-module eMMC. U-Boot
supports booting from the on-module eMMC only, SDP support is disabled
for now.

Functionality wise the following is known to be working:
- eMMC, 8-bit and 4-bit MMC/SD card slots
- Ethernet
- GPIOs
- I2C

Boot sequence is:
SPL ---> ATF (TF-A) ---> U-boot proper

ATF, U-boot proper and u-boot.dtb images are packed into FIT image,
loaded by SPL.

Boot:
U-Boot SPL 2020.01-01840-gd92bdc79cf-dirty (Jan 22 2020 - 18:50:57 +0200)
Normal Boot
Trying to boot from MMC1

U-Boot 2020.01-01840-gd92bdc79cf-dirty (Jan 22 2020 - 18:50:57 +0200)

CPU:   Freescale i.MX8MMQ rev1.0 at 0 MHz
Reset cause: POR
DRAM:  2 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Model: Toradex Verdin iMX8M Mini 2GB Wi-Fi / BT IT V1.0A, Serial# 06535148
Net:   Could not get PHY for FEC0: addr 7
eth0: ethernet at 30be0000
Hit any key to stop autoboot:  0

Igor Opaniuk (3):
  board: toradex: add Verdin iMX8MM 2GB WB IT v1.0a
  board: toradex: verdin-imx8mm: add README
  board: toradex: verdin-imx8mm: add MAINTAINERS

Marcel Ziswiler (1):
  toradex: tdx-cfg-block: add Verdin i.MX8MM support

Max Krummenacher (1):
  dt-bindings: pinctrl: imx8mm: add alternative uart muxings

 arch/arm/dts/Makefile                       |    3 +-
 arch/arm/dts/imx8mm-pinfunc.h               |   21 +
 arch/arm/dts/imx8mm-verdin-u-boot.dtsi      |  103 ++
 arch/arm/dts/imx8mm-verdin.dts              |  854 +++++++++
 arch/arm/mach-imx/imx8m/Kconfig             |    7 +
 board/toradex/common/tdx-cfg-block.c        |   17 +-
 board/toradex/common/tdx-cfg-block.h        |    1 +
 board/toradex/verdin-imx8mm/Kconfig         |   30 +
 board/toradex/verdin-imx8mm/MAINTAINERS     |    9 +
 board/toradex/verdin-imx8mm/Makefile        |   12 +
 board/toradex/verdin-imx8mm/README          |   81 +
 board/toradex/verdin-imx8mm/imximage.cfg    |   16 +
 board/toradex/verdin-imx8mm/lpddr4_timing.c | 1851 +++++++++++++++++++
 board/toradex/verdin-imx8mm/spl.c           |  183 ++
 board/toradex/verdin-imx8mm/verdin-imx8mm.c |   74 +
 configs/verdin-imx8mm_defconfig             |   88 +
 include/configs/verdin-imx8mm.h             |  121 ++
 17 files changed, 3468 insertions(+), 3 deletions(-)
 create mode 100644 arch/arm/dts/imx8mm-verdin-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx8mm-verdin.dts
 create mode 100644 board/toradex/verdin-imx8mm/Kconfig
 create mode 100644 board/toradex/verdin-imx8mm/MAINTAINERS
 create mode 100644 board/toradex/verdin-imx8mm/Makefile
 create mode 100644 board/toradex/verdin-imx8mm/README
 create mode 100644 board/toradex/verdin-imx8mm/imximage.cfg
 create mode 100644 board/toradex/verdin-imx8mm/lpddr4_timing.c
 create mode 100644 board/toradex/verdin-imx8mm/spl.c
 create mode 100644 board/toradex/verdin-imx8mm/verdin-imx8mm.c
 create mode 100644 configs/verdin-imx8mm_defconfig
 create mode 100644 include/configs/verdin-imx8mm.h

Comments

Marcel Ziswiler Jan. 23, 2020, 10:11 p.m. UTC | #1
Hi Igor

BTW: Enjoy your well deserved vacation. I will pick it up and send a v2
don't worry (;-p).

On Thu, 2020-01-23 at 13:31 +0200, Igor Opaniuk wrote:
> This add initial minimal support for the Toradex Verdin iMX8MM 2GB WB
> IT
> V1.0A module.

We just got the final SKU naming update and this one will be called
Toradex Verdin iMX8M Mini Quad 2GB WB IT V1.0A.

> They are now strapped to boot from eFuses which are
> factory fused to properly boot from their on-module eMMC. U-Boot
> supports booting from the on-module eMMC only, SDP support is
> disabled for now.

Due to missing i.MX 8M Mini USB support that is.

> Functionality wise the following is known to be working:
> - eMMC, 8-bit and 4-bit MMC/SD card slots

Note that while the eMMC is 8-bit the boot ROM only supports booting in
a 4-bit configuration. Thank you NXP!

> - Ethernet
> - GPIOs
> - I2C
> 
> Boot sequence is:
> SPL ---> ATF (TF-A) ---> U-boot proper
> 
> ATF, U-boot proper and u-boot.dtb images are packed into FIT image,
> loaded by SPL.
> 
> Boot:
> U-Boot SPL 2020.01-01840-gd92bdc79cf-dirty (Jan 22 2020 - 18:50:57
> +0200)
> Normal Boot
> Trying to boot from MMC1
> 
> U-Boot 2020.01-01840-gd92bdc79cf-dirty (Jan 22 2020 - 18:50:57 +0200)
> 
> CPU:   Freescale i.MX8MMQ rev1.0 at 0 MHz
> Reset cause: POR
> DRAM:  2 GiB
> MMC:   FSL_SDHC: 0, FSL_SDHC: 1
> Loading Environment from MMC... OK
> In:    serial
> Out:   serial
> Err:   serial
> Model: Toradex Verdin iMX8M Mini 2GB Wi-Fi / BT IT V1.0A, Serial#
> 06535148
> Net:   Could not get PHY for FEC0: addr 7
> eth0: ethernet at 30be0000
> Hit any key to stop autoboot:  0
> 
> Igor Opaniuk (3):
>   board: toradex: add Verdin iMX8MM 2GB WB IT v1.0a
>   board: toradex: verdin-imx8mm: add README
>   board: toradex: verdin-imx8mm: add MAINTAINERS
> 
> Marcel Ziswiler (1):
>   toradex: tdx-cfg-block: add Verdin i.MX8MM support
> 
> Max Krummenacher (1):
>   dt-bindings: pinctrl: imx8mm: add alternative uart muxings
> 
>  arch/arm/dts/Makefile                       |    3 +-
>  arch/arm/dts/imx8mm-pinfunc.h               |   21 +
>  arch/arm/dts/imx8mm-verdin-u-boot.dtsi      |  103 ++
>  arch/arm/dts/imx8mm-verdin.dts              |  854 +++++++++
>  arch/arm/mach-imx/imx8m/Kconfig             |    7 +
>  board/toradex/common/tdx-cfg-block.c        |   17 +-
>  board/toradex/common/tdx-cfg-block.h        |    1 +
>  board/toradex/verdin-imx8mm/Kconfig         |   30 +
>  board/toradex/verdin-imx8mm/MAINTAINERS     |    9 +
>  board/toradex/verdin-imx8mm/Makefile        |   12 +
>  board/toradex/verdin-imx8mm/README          |   81 +
>  board/toradex/verdin-imx8mm/imximage.cfg    |   16 +
>  board/toradex/verdin-imx8mm/lpddr4_timing.c | 1851
> +++++++++++++++++++
>  board/toradex/verdin-imx8mm/spl.c           |  183 ++
>  board/toradex/verdin-imx8mm/verdin-imx8mm.c |   74 +
>  configs/verdin-imx8mm_defconfig             |   88 +
>  include/configs/verdin-imx8mm.h             |  121 ++
>  17 files changed, 3468 insertions(+), 3 deletions(-)
>  create mode 100644 arch/arm/dts/imx8mm-verdin-u-boot.dtsi
>  create mode 100644 arch/arm/dts/imx8mm-verdin.dts
>  create mode 100644 board/toradex/verdin-imx8mm/Kconfig
>  create mode 100644 board/toradex/verdin-imx8mm/MAINTAINERS
>  create mode 100644 board/toradex/verdin-imx8mm/Makefile
>  create mode 100644 board/toradex/verdin-imx8mm/README
>  create mode 100644 board/toradex/verdin-imx8mm/imximage.cfg
>  create mode 100644 board/toradex/verdin-imx8mm/lpddr4_timing.c
>  create mode 100644 board/toradex/verdin-imx8mm/spl.c
>  create mode 100644 board/toradex/verdin-imx8mm/verdin-imx8mm.c
>  create mode 100644 configs/verdin-imx8mm_defconfig
>  create mode 100644 include/configs/verdin-imx8mm.h

Cheers

Marcel
Stefano Babic Jan. 24, 2020, 10:09 a.m. UTC | #2
Hi Marcel,

On 23/01/20 23:11, Marcel Ziswiler wrote:
> Hi Igor
> 
>> They are now strapped to boot from eFuses which are
>> factory fused to properly boot from their on-module eMMC. U-Boot
>> supports booting from the on-module eMMC only, SDP support is
>> disabled for now.
> 
> Due to missing i.MX 8M Mini USB support that is.
> 
>> Functionality wise the following is known to be working:
>> - eMMC, 8-bit and 4-bit MMC/SD card slots
> 
> Note that while the eMMC is 8-bit the boot ROM only supports booting in
> a 4-bit configuration. Thank you NXP!
> 

Sarcasm ? :-P

Stefano