[PATCH 5/5] ARM: i.MX: add MNT Reform board support
Antony Pavlov
antonynpavlov at gmail.com
Mon Dec 28 01:48:53 EST 2020
On Sun, 27 Dec 2020 22:50:42 +0100
Lucas Stach <dev at lynxeye.de> wrote:
Hi!
I'm very glad to see that barebox runs on MNT Reform!
Are you planning to add MIPI DSI display output?
> The MNT Reform is a DIY Laptop, built around a Boundarydevices i.MX8MQ SoM.
> This adds a pretty minimal support, as there is no upstream DT yet. It also
> does not properly abstract the SoM (power supply init in MNT Reform lowlevel
> code and only single DRAM configuration supported), as there are a lot of
> variants of the SoM and I'm only able to test the single one that will be
> shipped with the Reform.
>
> What has been tested to work:
> - SD card
> - eMMC
> - Gigabit network
> - NVMe storage
>
> There is a quirk in the board support: the Nitrogen SoM only allows to
> configure one of the BOOT_MODE straps, which means the choices for the boot
> selection are only "boot from fuses", which means eMMC boot and
> "serial boot". As serial boot isn't really useful on the device (requires
> USB A<->A cable with VBUS protection), we rely on the BootROM fallback to
> boot from SD card in this mode. The board support code thus treats the
> bootsource "serial" as SD card boot.
>
> Signed-off-by: Lucas Stach <dev at lynxeye.de>
> ---
> arch/arm/boards/Makefile | 1 +
> arch/arm/boards/mnt-reform/Makefile | 2 +
> arch/arm/boards/mnt-reform/board.c | 40 +
> .../mnt-reform/flash-header-mnt-reform.imxcfg | 6 +
> arch/arm/boards/mnt-reform/lowlevel.c | 187 +++
> arch/arm/boards/mnt-reform/lpddr4-timing.c | 1012 +++++++++++++++++
> arch/arm/dts/Makefile | 1 +
> arch/arm/dts/imx8mq-mnt-reform2.dts | 223 ++++
> arch/arm/mach-imx/Kconfig | 9 +
> images/Makefile.imx | 6 +
> 10 files changed, 1487 insertions(+)
> create mode 100644 arch/arm/boards/mnt-reform/Makefile
> create mode 100644 arch/arm/boards/mnt-reform/board.c
> create mode 100644 arch/arm/boards/mnt-reform/flash-header-mnt-reform.imxcfg
> create mode 100644 arch/arm/boards/mnt-reform/lowlevel.c
> create mode 100644 arch/arm/boards/mnt-reform/lpddr4-timing.c
> create mode 100644 arch/arm/dts/imx8mq-mnt-reform2.dts
>
...
>
>
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
Best regards,
Antony Pavlov
More information about the barebox
mailing list