i.MX8MP build and flash guide for forlinx

Board Connectivity

 

Install tool chain

sudo apt-get install libusb-1.0-0-dev libbz2-dev libzstd-dev pkg-config cmake libssl-dev g++

Build

1.Build Flash.bin

Build TF-A

./build-scripts/build-arm-tf.sh -p forlinx -f debian build

Build UEFI

./build-scripts/build-uefi.sh -p forlinx -f debian build

Build mkimage

2.Build OS

Build grub

Build kernel

   

  Build sdcard image

3.Build all

The following command builds all the images including steps 1 and 2.

Flash

Power off your forlinx board

Adjust the switchs as 1,0,0,0

 

Power on your forlinx board, run the following command.

(connect debug port and typeC port to your PC, debug port has two console, you can open the small number com port)

 

Boot

Power off your forlinx board

Adjust the switchs as 0,1,0,0

Power on your forlinx board.

Select the item on grub, you can boot up Linux system