imx93evk rebuild kernel image and replace

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

imx93evk rebuild kernel image and replace

Jump to solution
1,282 Views
lykaios1203
Contributor II

! This is the command i build for the imx93evk

$ mkdir imx-yocto-bsp
$ cd imx-yocto-bsp
$ repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-scarthgap -m imx-6.6.36-2.1.0.xml
$ repo sync
$ mkdir -p downloads
$ cd downloads
$ mkdir linux-imx; cd linux-imx
$ git clone https://github.com/nxp-imx/linux-imx.git
$ cd ../..
$ export BSPDIR=$(pwd)
$ DISTRO=fsl-imx-wayland MACHINE=imx93-11x11-lpddr4x-evk source imx-setup-release.sh -b buildwayland
$ bitbake imx-image-multimedia

after building finish, the directory
imx-yocto-bsp/buildwayland/tmp/sysroots-components/imx93_11x11_lpddr4x_evk/imx-boot/boot
will contain
imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot

! is using
$ sudo ./uuu -b emmc_all imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot
! a correct way to update the image that reflect the kernel changes i made in the linux-imx?

! what is the recommended way to only build the linux kernel and replace the kernel only,
is it
$ cd linux-imx
$ make imx93_11x11_evk_defconfig
$ make
! and which image should i burn specifically for replacing the kernel?

BR, Colin

 
 
 
 
0 Kudos
Reply
1 Solution
1,180 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

When you finish rebuild you can use the scp commend to copy the kernel images to your board

View solution in original post

0 Kudos
Reply
3 Replies
1,256 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Here do you just need to rebuilt and update the kernel on the board?

0 Kudos
Reply
1,238 Views
lykaios1203
Contributor II
Yes, could you provide the steps that we can follow?
0 Kudos
Reply
1,181 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

When you finish rebuild you can use the scp commend to copy the kernel images to your board

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2019527%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eimx93evk%20rebuild%20kernel%20image%20and%20replace%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2019527%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSTRONG%3E!%20This%20is%20the%20command%20i%20build%20for%20the%20imx93evk%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%24%20mkdir%20imx-yocto-bsp%3CBR%20%2F%3E%24%20cd%20imx-yocto-bsp%3CBR%20%2F%3E%24%20repo%20init%20-u%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-imx%2Fimx-manifest%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-imx%2Fimx-manifest%3C%2FA%3E%20-b%20imx-linux-scarthgap%20-m%20imx-6.6.36-2.1.0.xml%3CBR%20%2F%3E%24%20repo%20sync%3CBR%20%2F%3E%24%20mkdir%20-p%20downloads%3CBR%20%2F%3E%24%20cd%20downloads%3CBR%20%2F%3E%24%20mkdir%20linux-imx%3B%20cd%20linux-imx%3CBR%20%2F%3E%24%20git%20clone%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-imx%2Flinux-imx.git%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-imx%2Flinux-imx.git%3C%2FA%3E%3CBR%20%2F%3E%24%20cd%20..%2F..%3CBR%20%2F%3E%24%20export%20BSPDIR%3D%24(pwd)%3CBR%20%2F%3E%24%20DISTRO%3Dfsl-imx-wayland%20MACHINE%3Dimx93-11x11-lpddr4x-evk%20source%20imx-setup-release.sh%20-b%20buildwayland%3CBR%20%2F%3E%24%20bitbake%20imx-image-multimedia%3C%2FP%3E%3CP%3Eafter%20building%20finish%2C%20the%20directory%3CBR%20%2F%3Eimx-yocto-bsp%2Fbuildwayland%2Ftmp%2Fsysroots-components%2Fimx93_11x11_lpddr4x_evk%2Fimx-boot%2Fboot%3CBR%20%2F%3Ewill%20contain%3CBR%20%2F%3Eimx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot%3C%2FP%3E%3CP%3E%3CSTRONG%3E!%20is%20using%3C%2FSTRONG%3E%3CBR%20%2F%3E%24%20sudo%20.%2Fuuu%20-b%20emmc_all%20imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot%3CBR%20%2F%3E%3CSTRONG%3E!%20a%20correct%20way%20to%20update%20the%20image%20that%20reflect%20the%20kernel%20changes%20i%20made%20in%20the%20linux-imx%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E!%20what%20is%20the%20recommended%20way%20to%20only%20build%20the%20linux%20kernel%20and%20replace%20the%20kernel%20only%2C%3C%2FSTRONG%3E%3CBR%20%2F%3Eis%20it%3CBR%20%2F%3E%24%20cd%20linux-imx%3CBR%20%2F%3E%24%20make%20imx93_11x11_evk_defconfig%3CBR%20%2F%3E%24%20make%3CBR%20%2F%3E%3CSTRONG%3E!%20and%20which%20image%20should%20i%20burn%20specifically%20for%20replacing%20the%20kernel%3F%3CBR%20%2F%3E%3CBR%20%2F%3EBR%2C%20Colin%3C%2FSTRONG%3E%3C%2FP%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2022946%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93evk%20rebuild%20kernel%20image%20and%20replace%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2022946%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWhen%20you%20finish%20rebuild%20you%20can%20use%20the%20%3CSTRONG%3Escp%3C%2FSTRONG%3E%20commend%20to%20copy%20the%20kernel%20images%20to%20your%20board%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2019806%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93evk%20rebuild%20kernel%20image%20and%20replace%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2019806%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EYes%2C%20could%20you%20provide%20the%20steps%20that%20we%20can%20follow%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2019617%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93evk%20rebuild%20kernel%20image%20and%20replace%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2019617%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHere%20do%20you%20just%20need%20to%20rebuilt%20and%20update%20the%20kernel%20on%20the%20board%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E