flex-installer ls1046ardb error

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

flex-installer ls1046ardb error

2,639 次查看
hongyuanz
Contributor IV

image# ./flex-installer -b boot_LS_arm64_lts_5.10.tgz -r rootfs_lsdk2108_ubuntu_main_arm64.tgz -m ls1046ardb -d /dev/sdb
Cleaning the existing data in /dev/sdb2
Installing boot_LS_arm64_lts_5.10.tgz to /dev/sdb2, waiting ...
tar: modules/5.10.35-00001-g20678caf76aa/source: Cannot create symlink to ‘/usr/src/linux’: Operation not permitted
tar: modules/5.10.35-00001-g20678caf76aa/build: Cannot create symlink to ‘/usr/src/linux-headers-5.10.35-00001-g20678caf76aa’: Operation not permitted
tar: Exiting with failure status due to previous errors

0 项奖励
回复
3 回复数

2,638 次查看
hongyuanz
Contributor IV

sudo ./flex-installer -b bootpartition_LS_arm64_lts_5.4.tgz -r rootfs_lsdk2012_ubuntu_main_arm64.tgz -m ls1046ardb -d /dev/sdb
Cleaning the existing data in /dev/sdb2
Installing bootpartition_LS_arm64_lts_5.4.tgz to /dev/sdb2, waiting ...
Install bootpartition_LS_arm64_lts_5.4.tgz in /dev/sdb2 [Done]
Installing rootfs_lsdk2012_ubuntu_main_arm64.tgz to /dev/sdb0, waiting ...
tar: /mnt/sdb0: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

0 项奖励
回复

2,638 次查看
hongyuanz
Contributor IV

images$ sudo ./flex-installer -b bootpartition_LS_arm64_lts_5.4.tgz -r rootfs_lsdk2012_ubuntu_main_arm64.tgz -m ls1046ardb -d /dev/sdb
[sudo] password for picocom:
Cleaning the existing data in /dev/sdb2
Installing bootpartition_LS_arm64_lts_5.4.tgz to /dev/sdb2, waiting ...
tar: modules/5.4.47/source: Cannot create symlink to ‘/usr/src/linux’: Operation not permitted
tar: Exiting with failure status due to previous error

0 项奖励
回复

2,632 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Probably you build boot_LS_arm64_lts_5.10.tgz with root permission.

Please delete boot_LS_arm64_lts_5.10.tgz first.

$ rm -rf build/images/boot_LS_arm64_lts_5.10*
 
Then rebuild bootpartition with the following command using a "non-root" user account.
$ flex-builder -i mkboot
 
Then install again with the following command.
./flex-installer -b bootpartition_LS_arm64_lts_5.4.tgz -r rootfs_lsdk2012_ubuntu_main_arm64.tgz -m ls1046ardb -d /dev/sdb
0 项奖励
回复