[i.MX 8MN DDR4] how to build rootfs, kernel and how to flash rootfs, kernel image

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

[i.MX 8MN DDR4] how to build rootfs, kernel and how to flash rootfs, kernel image

Jump to solution
1,993 Views
bryan_hong
Senior Contributor I

Hello

I execute 'bitbake fsl-image-af-littlekernel' but below file did not re-generated.
   - fsl-image-af-littlekernel-imx8mnddr4ab2-20210814061807.rootfs.wic.bz2

how to re-generate rootfs file?

and let me know how to build only kernel image, and how to flash that kernel image to evk kit.

thanks
Bryan

0 Kudos
Reply
1 Solution
1,977 Views
bryan_hong
Senior Contributor I

@igorpadykov The documentation you mentioned doesn't explain how to update rootfs in detail.

Re-generate rootfs 
bitbake -c cleansstate fsl-image-af-littlekernel

bitbake fsl-image-af-littlekernel


Kernel modify, build, flash

bitbake -c compile -f linux-imx

bitbake linux-imx

bitbake -c cleansstate fsl-image-af-littlekernel

bitbake fsl-image-af-littlekernel

 

I think the above should be a guide.

View solution in original post

0 Kudos
Reply
2 Replies
1,978 Views
bryan_hong
Senior Contributor I

@igorpadykov The documentation you mentioned doesn't explain how to update rootfs in detail.

Re-generate rootfs 
bitbake -c cleansstate fsl-image-af-littlekernel

bitbake fsl-image-af-littlekernel


Kernel modify, build, flash

bitbake -c compile -f linux-imx

bitbake linux-imx

bitbake -c cleansstate fsl-image-af-littlekernel

bitbake fsl-image-af-littlekernel

 

I think the above should be a guide.

0 Kudos
Reply
1,983 Views
igorpadykov
NXP Employee
NXP Employee

Hi Hong

 

for building and programming procedures one can refer to     i.MX Yocto Project User’s Guide​

i.MX Linux User’s Guide​

 

Best regards
igor

0 Kudos
Reply