build images of lx2160ardb is low size

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

build images of lx2160ardb is low size

Jump to solution
1,087 Views
156614400
Contributor III

we use  flexbuild_lsdk1909_update_311219.tgz ,    and  auto download and build ,  do as blelow:

1 source setup.env
   flex-builder -m lx2160ardb -a arm64

2  then done successfully,  but   firmware_lx2160ardb_uboot_sdboot.img  of build   is only 27.9M,    bootpartition_LS_arm64_lts_4.19.tgz  is only 45.2M,    rootfs_lsdk1909_LS_arm64_main.tgz  is only 702M,  

then I build them in SD card, 

" flex-installer -b bootpartition_LS_arm64_lts_4.19.tgz -r rootfs_lsdk1909_LS_arm64_main.tgz -f firmware_lx2160ardb_uboot_sdboot.img -d /dev/sdx ", 

and lx2160ardb board Uboot run,  at Uboot , I  run cmd  "run sd_bootcmd" ,   run fail....

3 I get  firmware_lx2160ardb_uboot_sdboot.img from NXP.COM,  the size is 45.6M, 

   I get  bootpartition_LS_arm64_lts_4.19.tgz  from NXP.COM,  the size is 366M, 

   I get  rootfs_lsdk1909_LS_arm64_main.tgz  from NXP.COM,  the size is 728M, 

  then  I build them in SD card,  and lx2160ardb board Uboot run,  at Uboot , I  run cmd  "run sd_bootcmd" ,   run successfully....

4  why the three file I build  is  low size,   size is not true ??   i build them at ubuntu 18.04.   any other steps need to be done ??

0 Kudos
Reply
1 Solution
989 Views
yipingwang
NXP TechSupport
NXP TechSupport

When I generated firmware image with the following command, I got image firmware_lx2160ardb_uboot_sdboot.img about 47M, 

$ flex-builder -i mkfw -m lx2160ardb -b sd

When I run command "flex-builder -m lx2160ardb -a arm64", I got firmware_lx2160ardb_uboot_sdboot.img about 47M, bootpartition_LS_arm64_lts_4.19.tgz about 84M.

So there is problem with your generated  images. Please remove build folder and rebuild your images.

View solution in original post

2 Replies
990 Views
yipingwang
NXP TechSupport
NXP TechSupport

When I generated firmware image with the following command, I got image firmware_lx2160ardb_uboot_sdboot.img about 47M, 

$ flex-builder -i mkfw -m lx2160ardb -b sd

When I run command "flex-builder -m lx2160ardb -a arm64", I got firmware_lx2160ardb_uboot_sdboot.img about 47M, bootpartition_LS_arm64_lts_4.19.tgz about 84M.

So there is problem with your generated  images. Please remove build folder and rebuild your images.

989 Views
156614400
Contributor III

Dear Yiping:  thanks for your help!

1   then, I delete the build folder,  I run command "flex-builder -m lx2160ardb",   successful done,  but  firmware_lx2160ardb_uboot_sdboot.img  of build   is only 27.9M,    bootpartition_LS_arm64_lts_4.19.tgz  is only 45.2M,    rootfs_lsdk1909_LS_arm64_main.tgz  is only 702M, 

the command "flex-builder -m lx2160ardb"  is  wrong ??

2  "flex-builder -i mkfw -m lx2160ardb -b sd"   only can build  firmware_lx2160ardb_uboot_sdboot.img,     

but I need build bootpartition  and  rootfs,   so I use command "flex-builder -m lx2160ardb".

How can I build the true  firmware ,bootpartition  ,rootfs ???  use what command ??  can not use "flex-builder -m lx2160ardb"  ?

0 Kudos
Reply