flex-installer ls1046ardb error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

flex-installer ls1046ardb error

1,186件の閲覧回数
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 返答(返信)

1,185件の閲覧回数
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 件の賞賛

1,185件の閲覧回数
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 件の賞賛

1,179件の閲覧回数
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 件の賞賛