This is an old revision of the document!


Introduction to Embedded Linux kernel development

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:

  • uboot (uboot.bin)
  • Linux kernel image (Image)
  • Device tree blob (dtb)
  • Kernel Modules
  • rootfs image

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.

Presentation

Practical lab

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

1. Explore the development environment

Your work directory should look like this.

$ tree -L 2 /home/student/work/
├── images
│   ├── flash.bin
│   ├── Image
│   ├── imx8mq-pico-pi.dtb
│   └── rootfs.ext2
├── nss-linux
└── scripts
    ├── modules_install.sh
    ├── setenv.sh
    ├── uuu
    └── uuu_script

2. Compile the Linux kernel

3. Boot the board

lkd/laboratoare/01.1720349563.txt.gz · Last modified: 2024/07/07 13:52 by daniel.baluta
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0