[PATCH 5/5] ARM: i.MX: add MNT Reform board support

Lucas Stach dev at lynxeye.de
Mon Dec 28 11:41:57 EST 2020


Hi Antony,

Am Montag, dem 28.12.2020 um 09:48 +0300 schrieb Antony Pavlov:
> 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?

Yes, I think I will eventually get around to it. For now the focus is
on getting the Linux kernel support into shape for upstream, however.
As I needed a convenient way to boot Linux on the device for this task
a Barebox port was the logical first step. ;) It may take a while until
I circle back to improve the Barebox support.

> > 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

Forgot to mention: USB is also supported.

Regards,
Lucas

> > 
> > 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
> 





More information about the barebox mailing list