This is an old revision of the document!
In this session we will walk-through the essential software components that make the Board Suppport Package (BSP) for a hardware platform. We will demonstrate our work by booting PICO-IMX8M evaluation Kit.
In order to boot a hardware platform and runs applications on Linux we need the following software components:
The virtual machine provided by NXP should have all the software already downloaded including all the prerequisites. In this lab we will use a prebuild uboot and rootfs image.
You can use virtual machine setup or native Linux setup.
To connect to the Linux running inside the virtual machine you can use:
ssh -p 3022 student@localhost
Your work directory should look like this.
$ tree -L 2 /home/student/work/
├── nss-linux # Linux kernel source code
├── images # prebuild binaries
│ ├── flash.bin
│ ├── Image
│ ├── imx8mq-pico-pi.dtb
│ └── rootfs.ext2
└── scripts # several scripts to help with compilation and booting
├── modules_install.sh
├── setenv.sh
├── uuu
└── uuu_script
$ source ~/work/scripts/setenv.sh $ cd ~/work/nss-linux $ make tn_imx8_defconfig $ make -j8
Successful compilation will create the following binaries:
There is also a set of Image and imx8mq-pico-pi.dtb prebuild binaries files already saved inside ~/work/images directory to be used as a backup.