Skip to end of banner
Go to start of banner

i.MX8MP build and flash guide for forlinx

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

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

2.Build OS

Build grub

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

Build kernel

export PARALLELISM=16
./build-scripts/build-kernel.sh -p forlinx -f debian build

   

  Build sdcard image

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

3.Build all

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

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

Flash

Power off your forlinx board

Adjust the switchs as 1,0,0,0

Power on your forlinx board, run the following command.

./build-scripts/build-storage.sh -p forlinx -f debian flash

 

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

  • No labels