How to build Ubuntu Lite RFS by using LSDK20.04 update 290520 and boot on LX2160ardb_rev2

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

How to build Ubuntu Lite RFS by using LSDK20.04 update 290520 and boot on LX2160ardb_rev2

1,049 Views
tzongruey
Contributor I
 

Hi

I try to use flexbuild_lsdk2004_update_290520 downloaded from NXP official website to build Ubuntu lite RFS.
Therefore, I modify BUILD_UBUNTU_LITE to y and ubuntu_base_arm64 to 18.04.5
But it can't build ubuntu lite RFS successfully.
How to build Ubuntu Lite RFS by using LSDK20.04 update 290520 and boot on LX2160ardb_rev2

Thanks
Frank

 
 
0 Kudos
2 Replies

1,037 Views
Pavel
NXP Employee
NXP Employee

We usually use the following command sequence under Virtual machine (200GB HDD and 4GB memory).

Install Ubuntu 18.04.

Install all updates for this Ubuntu.

Install and build LSDK2004 using the following command sequence:

  1. sudo apt-get install git
  2. tar xvzf flexbuild_lsdk2004_update_290520.tgz
  3. Change directory and issue: source setup.env
  4. flex-builder -i mkrfs -a arm64
  5. flex-builder -c linux -a arm64
  6. build .img file:

flex-builder -i mkfw -m lx2160ardb_rev2 -b xspi

or

flex-builder -i mkfw -m lx2160ardb_rev2 -b sd

0 Kudos

1,029 Views
tzongruey
Contributor I

Hi Pavel

The reason for this issue is the ubuntu_base on ubuntu_base_url didn't have  file ubuntu-base-18.04.2-base-arm64.tar.gz.

You can see the message "The requested URL returned error: 404 Not Found" in the attached file autobuild-arm64-log-202011061436.txt

After I modify it to correct file name and md5sum, it still can't build ubuntu lite RFS

You can check the file autobuild-arm64-log-202011061439.txt, which is the log after I modify the ubuntu lite setting

Thanks

0 Kudos