EasyManua.ls Logo

Phytec i.MX 93 - Kernel Standalone Build

Default Icon
85 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
i.MX 93 BSP Manual PD24.1.1 Documentation Rev.: imx8mp-pd22.1.2-51-ga548be7d
E.g. ash SD card:
host:~/imx-mkimage$ sudo dd if=./iMX9/flash.bin of=<sd-card> bs=1024 seek=32 conv=sync
Note
In the command above, replace <sd-card> with your sd-card device name. For more information on how
to nd the device name, see the section Finding the Correct Device in Getting Started.
Hint
The specic oset values are also declared in the Yocto variables “BOOTLOADER_SEEK” and “BOOT-
LOADER_SEEK_EMMC”
5.6 Kernel standalone build
5.6.1 Setup sources
The used linux-imx branch can be found in the release notes
The tag needed for this release is called v6.1.55_2.2.0-phy3
Check out the needed linux-imx tag:
host:~$ git clone git://git.phytec.de/linux-imx
host:~$ cd ~/linux-imx/
host:~/linux-imx$ git fetch --all --tags
host:~/linux-imx$ git checkout tags/v6.1.55_2.2.0-phy3
For committing changes, it is highly recommended to switch to a new branch:
host:~/linux-imx$ git switch --create <new-branch>
Set up a build environment:
host:~/linux-imx$ source /opt/ampliphy-vendor-wayland/4.2.3/environment-setup-cortexa55-
,phytec-linux
5.6.2 Build the kernel
Build the linux kernel:
host:~/linux-imx$ make imx_v8_defconfig imx9_phytec_distro.config imx9_phytec_platform.
,config
host:~/linux-imx$ make -j$(nproc)
Install kernel modules to e.g. NFS directory:
host:~/linux-imx$ make INSTALL_MOD_PATH=/home/<user>/<rootfspath> modules_install
The Image can be found at ~/linux-imx/arch/arm64/boot/Image
The dtb can be found at ~/linux-imx/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dtb
Development 32