Closed

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

Closed

1,706 次查看
mrybaizine
Contributor II

Closed

标签 (2)
0 项奖励
回复
3 回复数

1,426 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello mrybaizine,

Please refer to the following procedure.

1. $ flex-builder -i clean-rfs -r ubuntu:lite

2. Please modify configs/ubuntu/additional_packages_list as the following.

additional_lite_packages_list="systemd udev net-tools iputils-ping isc-dhcp-client libxml2-dev libnl-genl-3-dev libreadline-dev libtinfo-dev sudo"

3.$ flex-builder -i mkrfs -r ubuntu:lite 

4.$ flex-builder -i packrfs -r ubuntu:lite

Thanks,

Yiping

0 项奖励
回复

1,426 次查看
yipingwang
NXP TechSupport
NXP TechSupport

I have applied this patch in LSDK 19.09 and generate a new ubuntu:lite rootfs filesystem, I verified it on my LS1046ARDB, it worked without networking setting up problem.

Please refer to my procedure.

1. Please modify configs/ubuntu/additional_packages_list as the following.

additional_lite_packages_list="systemd udev net-tools iputils-ping isc-dhcp-client libxml2-dev libnl-genl-3-dev libreadline-dev libtinfo-dev sudo"

2. Please remove build/rfs/rootfs_lsdk1909_LS_arm64_lite/

$ sudo rm -rf build/rfs/rootfs_lsdk1909_LS_arm64_lite/

or

$ flex-builder -i clean-rfs -r ubuntu:lite

3. Please rebuild unbuntu:lite rootfs

$ flex-builder -i mkrfs -r ubuntu:lite  -a arm64

4. After execute the following command, please deploy build/images/rootfs_lsdk1909_LS_arm64_lite.tgz to your target board.

$ flex-builder -i packrfs -r ubuntu:lite

Thanks,

Yiping

0 项奖励
回复

1,426 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello mrybaizine,

I also reproduced similar problem with LSDK 19.09, I just discussed with the LSDK testing and development team, this ubuntu-based lite userland booting issue has been fixed in LSDK 2003 release,please refer to the following patch.

The testing team provided rootfs_lsdk2003_ubuntu_lite_arm64.tgz in the following link, please try to use it.

https://drive.google.com/open?id=1aaW9raM-VZBTi_sUFbWBwaT1QXMe2zzi 

Patch:

+++ b/configs/ubuntu/additional_packages_list

@@ -21,7 +21,7

 additional_lite_packages_list="systemd udev net-tools iputils-ping isc-dhcp-client libxml2-dev

- libnl-genl-3-dev libreadline-dev libtinfo-dev"

+ libnl-genl-3-dev libreadline-dev libtinfo-dev sudo"

Thanks,

Yiping

0 项奖励
回复