PanGuBoard DevelopmentKit

The PanGu board uses Linux 4.19.9 version. By building the Linux kernel code, you can get the kernel file uImage and the device tree description file dtb. There is the config file in the provided Linux code:

File NameDescription
i2som_panguboard_defconfigUsed to build kernel for the PanGu board, includes onboard functions

Compile kernel image and dtb files

Next, we use that config file to compile it. Before you compile the kernel source code, you need load the toolchain environmtne file.

$ tar xvf linux-st.tar.gz
$ cd linux-st
$ make i2som_panguboard_defconfig
$ make uImage vmlinux LOADADDR=0xC2000040
$ make dtbs

After compilation, the kernel image file uImage is store in linux-st/arch/arm/boot/ directory. The dtb files store in linux-st/arch/arm/boot/dts directory.

DTB filesDescription
DTB filesDescription
:-- 
stm32mp157a-panguboard.dtbSupport display on HDMI interface
stm32mp157a-panguboard-mipi.dtbSupport display on MIPI interface
stm32mp157a-panguboard-lcd070p1024c.dtbSupport display on i2M-LCD070P1024C module
stm32mp157a-panguboard-lcd043p800c.dtbSupport display on i2M-LCD043P800C module

Compile and install the kernel modules

The Linux kernel support load driver on module way.

$ make modules
$ mkdir ../target-kernel
$ make INSTALL_MOD_PATH=../target-kernel modules_install

Below commands to install kernel module into "../target-kernel" directory. You can copy this directory into "/lib/module" directory of board.