Is there a portable format image for LSDK versions?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Is there a portable format image for LSDK versions?

1,093 次查看
jcebriansa
Contributor I

Hi,

we have a 2160ARDB_rev2 board and we would like to know if there is a way or repository to have a .bin, .img or whatever format which permit to us to store in a common USB storage device and copy the image in an SD storage device. And finally, with CPLD configuration across SDHC, to be able to deploy to the board.

Thanks a lot,

JCebrián

0 项奖励
回复
3 回复数

1,030 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please download LSDK 21.08 pre-build images with the following command on the host.

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/firmware_lx2160ardb_rev2_sdboot.img

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/boot_LS_arm64_lts_5.10.tgz

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/rootfs_lsdk2108_ubuntu_main_arm64.tgz

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/flex-installer && chmod +x flex-installer && sudo mv flex-installer /usr/bin

Deploy SD card with the following commands.

$ flex-installer -i pf -d /dev/sdx

$ flex-installer -f firmware_lx2160ardb_rev2_sdboot.img 

-b boot_LS_arm64_lts_5.10.tgz -r rootfs_lsdk2108_ubuntu_main_arm64.tgz  -d /dev/sdx

/dev/sdx is SD device name on your host.

Deploy images to USB device with the following command.

$ flex-installer -i pf -d /dev/sdx

$ flex-installer -b boot_LS_arm64_lts_5.10.tgz 

-r rootfs_lsdk2108_ubuntu_main_arm64.tgz  -d /dev/sdx

Please download LSDK 21.08 pre-build images with the following command on the host.

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/firmware_lx2160ardb_rev2_sdboot.img

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/boot_LS_arm64_lts_5.10.tgz

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/rootfs_lsdk2108_ubuntu_main_arm64.tgz

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/flex-installer && chmod +x flex-installer && sudo mv flex-installer /usr/bin

Deploy SD card with the following commands.

$ flex-installer -i pf -d /dev/sdx

$ flex-installer -f firmware_lx2160ardb_rev2_sdboot.img 

-b boot_LS_arm64_lts_5.10.tgz -r rootfs_lsdk2108_ubuntu_main_arm64.tgz  -d /dev/sdx

/dev/sdx is USB device name on your host.

 

 

 

0 项奖励
回复

1,025 次查看
jcebriansa
Contributor I

Hi,

thanks for your answer. I finally made the next steps over a SD card.

sudo flex-installer -i pf -d /dev/sdx

and then,

sudo flex-installer -i auto -m lx2160ardb_rev2 -d /dev/sdx

After that I used the dd command for the creation of an unique image. But my image is as big as my SD capacity (15GB), and this is not very portable. I think I can do this same process but with a 3GB or 4GB with my host. But I would like to know if it is possbile, with flex-installer to reduce this unique image as much as possible (I suppose, 1.5 to 2GB with this pre-build images).

 

Thanks a lot!

JCebrián

0 项奖励
回复

969 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please try this command.

flex-installer -i auto -m lx2160ardb_rev2 4P=128M:2G:64M:2G -d /dev/sdb

Please check the parameters with "flex-installer -h"

0 项奖励
回复