flex-installer ls1046ardb error

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

flex-installer ls1046ardb error

1,169 Views
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 Kudos
3 Replies

1,168 Views
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 Kudos

1,168 Views
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 Kudos

1,162 Views
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 Kudos