There are two ways to enable support for the imx95-19x19-evk board:
1. Directly replace the flash.bin from the Yocto release.
1). depoly LSDK2512 on imx95-15x15-evk board which is supported in Debian LSDK2512
A: $ flex-installer -i pf -d /dev/sdX -F
B: $ flex-installer -i auto -m imx95evk -d /dev/sdX
2). Download prebuild flash.bin for imx95-19x19-evk board from Yocto release:
B: Extract the downloaded file to obtain the flash.bin file: imx-boot-imx95-19x19-lpddr5-evk-sd.bin-flash_all
3). Overwrite flash.bin
$ sudo umount /dev/sdX; sudo dd if=imx-boot-imx95-19x19-lpddr5-evk-sd.bin-flash_all of=/dev/sdX bs=1024 seek=32
4). Insert the prepared SD card into the board and power it on. After entering the U-Boot prompt, set the boot command:
=> setenv bootcmd "setenv bootargs 'root=/dev/mmcblk1p3 rw rootwait console=ttyLP0,115200 earlycon';ext2load mmc 1:1 0x90400000 Image;ext2load mmc 1:1 0x93000000 imx95-19x19-evk.dtb;booti 0x90400000 - 0x93000000"; saveenv
=> reset
The Debian system will start automatically.
2. Build the BSP image using FlexBuild:
1). clone the Flexbuild source code and apply the patch as attached.
2). build the bsp and boot images:
$ bld bsp -m imx95evk
$ bld boot -m imx95evk
3). install the image:
$ ./flex-installer -f firmware_imx95evk_sdboot.img -d /dev/sdX -m imx95evk -b boot_IMX_arm64_lts_6.12.20.tar.zst -r rootfs_lsdk2512_debian_imx95evk.tar.zst
4). Insert the prepared SD card into the board and power it on. After entering the U-Boot prompt, run the following command to boot board:
u-boot=> bootflow scan -lb