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

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

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

1,078 次查看
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 项奖励
2 回复数

1,066 次查看
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 项奖励

1,058 次查看
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 项奖励