Files
Michael Trimarchi 322e8d8451 configs/imx6ulz_bsh_smm_m2_defconfig: new defconfig
BSH SMM M2 (SystemMaster M2) Board is an add-on board which provides
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.68
- mainline U-Boot 2023.10

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Tested-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
[Romain:
  - enable BR2_DOWNLOAD_FORCE_CHECK_HASHES and add hashes files
  - enable BR2_KERNEL_HEADERS_AS_KERNEL for linux-headers to avoid specify
    BR2_KERNEL_HEADERS_6_1
  - make sure to use uuu from HOST_DIR in flash.sh
]
Signed-off-by: Romain Naour <romain.naour@smile.fr>
2024-07-13 23:16:31 +02:00

68 lines
1.4 KiB
Plaintext
Raw Permalink Blame History

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.MX6ULZ BSH SMM M2
==================
This tutorial describes how to use the predefined Buildroot
configuration for the i.MX6ULZ BSH SMM M2 board.
Building
--------
Configure buildroot:
$ make imx6ulz_bsh_smm_m2_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/
├── imx6ulz-bsh-smm-m2.dtb
├── zImage
├── nand-full.lst
├── rootfs.ubifs
└── u-boot-with-spl.imx
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/imx6ulz-bsh-smm-m2/flash.sh output/
It will flash the bootloader, the Device Tree Blob, the kernel image
and the UBI root file system.