How to change from rootfs to initramfs in lx2160ardb?

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

How to change from rootfs to initramfs in lx2160ardb?

1,403 Views
songhee_yun
Contributor III

@Yiping Wang

Now, I uses lx2160ardb reference board.

It consist of bootpartition image and rootfs image.

I want to change these images to initramfs image included bootpartition and rootfs.

How can i compile and booting for initramfs?

3 Replies

1,299 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello songhee yun,

In bootpartition tar ball, you could find tiny itb image lsdk2004_yocto_tiny_LS_arm64.itb, which includes Kernel image, dtb file and ramdisk rootfs filesystem.

You could boot up the system with the following commands

=> load mmc 0:2 0xa0000000 lsdk2004_yocto_tiny_LS_arm64.itb

=>bootm 0xa0000000#lx2160ardb

Thanks,

Yiping

0 Kudos
Reply

1,299 Views
songhee_yun
Contributor III

Hi, Yiping~

I don't want to use tiny linux. I want to use my own kernel image and rootfs image.

Thanks,

Songhee

0 Kudos
Reply

1,299 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Songhee,

You could consider to use Yocto 3.0 release from readme - qoriq-components/yocto-sdk - Repo manifest for QorIQ Yocto SDK 



Using the following command Kernel image and ramdisk rootfs filesystem will be generated.
$./setup-env -m lx2160ardb

$ bitbake fsl-image-networking

Thanks,
Yiping