buildroot/board/bsh/imx8mn-bsh-smm-s2
Michael Trimarchi 498797acce configs/imx8mn_bsh_smm_s2_pro_defconfig: new defconfig
BSH SMM S2 PRO (SystemMaster S2 Pro) Board is an add-on board which
provide input and output interfaces to a dedicated carrier board. It is
designed mainly to provide graphical/video and connectivity interfaces
to the appliance.

Board support package includes the following components:
- mainline Linux kernel 6.1.6
- mainline U-Boot 2022-07
- Default packages from buildroot

https://www.apertis.org/reference_hardware/imx8mn_bsh_smm_s2pro_setup/

Add Ariel D'Alessandro and Dario Binacchi as co-maintainer, we work
together on platform mainline

Build and tested using:
docker pull registry.gitlab.com/buildroot.org/buildroot/base:20220105.2314

Cc: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Heiko Thiery <heiko.thiery@gmail.com>
Cc: Giulio Benetti <giulio.benetti@benettiengineering.com>
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Reviewed-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Tested-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-01-28 23:18:19 +01:00
..
patches/uboot configs/imx8mn_bsh_smm_s2_defconfig: new defconfig 2023-01-28 23:11:40 +01:00
flash.sh configs/imx8mn_bsh_smm_s2_defconfig: new defconfig 2023-01-28 23:11:40 +01:00
nand-full.lst configs/imx8mn_bsh_smm_s2_defconfig: new defconfig 2023-01-28 23:11:40 +01:00
post-build.sh configs/imx8mn_bsh_smm_s2_defconfig: new defconfig 2023-01-28 23:11:40 +01:00
readme.txt configs/imx8mn_bsh_smm_s2_defconfig: new defconfig 2023-01-28 23:11:40 +01:00

readme.txt

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

i.MX8MN BSH SMM S2
==================

This tutorial describes how to use the predefined Buildroot
configuration for the i.MX8MN BSH SMM S2 PRO board.

Building
--------

Configure buildroot:

  $ make imx8mn_bsh_smm_s2_defconfig

Change settings to fit your needs (optional):

  $ make menuconfig

Compile everything and build the rootfs image:

  $ make


Result of the build
-------------------

After building, the output/images directory contains:

  output/images/
    ├── bl31.bin
    ├── ddr3*
    ├── flash.bin
    ├── freescale/imx8mn-bsh-smm-s2.dtb
    ├── Image
    ├── nand-full.lst
    ├── rootfs.ext2
    ├── rootfs.ext4 -> rootfs.ext2
    ├── rootfs.tar
    ├── rootfs.ubifs
    ├── u-boot.bin
    └── u-boot-spl.bin


Preparing the board
-------------------

Plug the USB type A to micro B cable into the USB Debug
Connector (DBG UART). Use serial port settings 115200 8N1
to access the debug console.

Plug another USB type A to micro B cable into the USB-OTG
Connector (USB1). This connection is used to flash the board
firmware using the Freescale/NXP UUU tool.

Connect the power supply/adaptor to the DC Power Jack (labelled
+5V).


Flashing
--------

Power up the board by switching on the Power ON Switch, which is
placed right next to the DC Jack.

Enter the following U-Boot commands on the debug serial console:

  $ nand erase.chip
  $ reset

Flash the built images directly to boards memory. On your computer,
run:

  $ board/bsh/imx8mn-bsh-smm-s2/flash.sh output/

It will flash the bootloader, the Device Tree Blob, the kernel image
and the UBI root file system.