How to depoly debian LSDK2512 on imx95-19x19-evk board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to depoly debian LSDK2512 on imx95-19x19-evk board

How to depoly debian LSDK2512 on imx95-19x19-evk board

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:
    A: download: https://www.nxp.com/webapp/sps/download/license.jsp? colCode=L6.12.20-2.0.0_MX95&appType=file1&DOWNLOAD_ID=null
    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
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-2270360%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3EHow%20to%20depoly%20debian%20LSDK2512%20on%20imx95-19x19-evk%20board%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2270360%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CDIV%20class%3D%22lia-message-template-symptoms-zone%22%3E%0A%3CDIV%3E%0A%3CDIV%3EThere%20are%20two%20ways%20to%20enable%20support%20for%20the%20imx95-19x19-evk%20board%3A%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E1.%26nbsp%3B%20Directly%20replace%20the%20flash.bin%20from%20the%20Yocto%20release.%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CBR%20%2F%3E1).%20depoly%20LSDK2512%20on%20imx95-15x15-evk%20board%20which%20is%20supported%20in%20Debian%20LSDK2512%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20A%3A%26nbsp%3B%20%26nbsp%3B%20%24%20flex-installer%20-i%20pf%20-d%20%2Fdev%2FsdX%20-F%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20B%EF%BC%9A%20%24%20flex-installer%20-i%20auto%20-m%20imx95evk%20-d%20%2Fdev%2FsdX%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E2).%20Download%20prebuild%20flash.bin%20for%20imx95-19x19-evk%20board%20from%20Yocto%20release%3A%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20A%3A%20download%EF%BC%9A%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fsps%2Fdownload%2Flicense.jsp%3F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fsps%2Fdownload%2Flicense.jsp%3F%3C%2FA%3E%20colCode%3DL6.12.20-2.0.0_MX95%26amp%3BappType%3Dfile1%26amp%3BDOWNLOAD_ID%3Dnull%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20B%EF%BC%9A%20Extract%20the%20downloaded%20file%20to%20obtain%20the%20flash.bin%20file%3A%20imx-boot-imx95-19x19-lpddr5-evk-sd.bin-flash_all%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E3).%20Overwrite%20flash.bin%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%24%20sudo%20umount%20%2Fdev%2FsdX%3B%20sudo%20dd%20if%3Dimx-boot-imx95-19x19-lpddr5-evk-sd.bin-flash_all%20of%3D%2Fdev%2FsdX%20bs%3D1024%20seek%3D32%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E4).%20Insert%20the%20prepared%20SD%20card%20into%20the%20board%20and%20power%20it%20on.%20After%20entering%20the%20U-Boot%20prompt%EF%BC%8C%20set%20the%20boot%20command%3A%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%3D%26gt%3B%20setenv%20bootcmd%20%22setenv%20bootargs%20'root%3D%2Fdev%2Fmmcblk1p3%20rw%20rootwait%20console%3DttyLP0%2C115200%20earlycon'%3Bext2load%20mmc%201%3A1%200x90400000%20Image%3Bext2load%20mmc%201%3A1%200x93000000%20imx95-19x19-evk.dtb%3Bbooti%200x90400000%20-%200x93000000%22%3B%20saveenv%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%3D%26gt%3B%20reset%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EThe%20Debian%20system%20will%20start%20automatically.%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E2.%20B%3CSPAN%3Euild%20the%20BSP%20image%20using%20FlexBuild%3A%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E1).%26nbsp%3B%20clone%20the%20Flexbuild%20source%20code%20and%20apply%20the%20patch%20as%20attached.%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E2).%20build%20the%20bsp%20and%20boot%20images%3A%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%24%20bld%20bsp%20-m%20imx95evk%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%24%20bld%20boot%20-m%20imx95evk%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3Eor%20download%20the%20pre-built%20image%20at%3A%26nbsp%3B%3CA%20href%3D%22http%3A%2F%2Fsun.ap.freescale.net%2Fimages%2Fdebian%2Flsdk2512%2Ffirmware_imx95evk_19x19_sdboot.img%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fsun.ap.freescale.net%2Fimages%2Fdebian%2Flsdk2512%2Ffirmware_imx95evk_19x19_sdboot.img%3C%2FA%3E%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E3).%20install%20the%20image%3A%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%24%26nbsp%3B.%2Fflex-installer%20-f%20firmware_imx95evk_sdboot.img%20-d%20%2Fdev%2FsdX%20-m%20imx95evk%20-b%20boot_IMX_arm64_lts_6.12.20.tar.zst%20-r%20rootfs_lsdk2512_debian_imx95evk.tar.zst%3CBR%20%2F%3E4).%26nbsp%3B%20Insert%20the%20prepared%20SD%20card%20into%20the%20board%20and%20power%20it%20on.%20After%20entering%20the%20U-Boot%20prompt%2C%20run%20the%20following%20command%20to%20boot%20board%3A%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20u-boot%3D%26gt%3B%20%3CFONT%20color%3D%22%23FF0000%22%3Ebootflow%20scan%20-lb%3C%2FFONT%3E%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎01-22-2026 08:43 PM
Updated by: