flex-installer failed to install LSDK 20.12 to MicroSD card on Ubuntu Virtual machine

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

flex-installer failed to install LSDK 20.12 to MicroSD card on Ubuntu Virtual machine

ソリューションへジャンプ
595件の閲覧回数
farid
Contributor I

Hi,

I'm trying to automatically install LSDK 20.12 default images for FRWY-LS1012A board on 128GB MicroSD card.
I'm running  flex-installer command on Ubuntu 18.04 Virtual machine on Windows 8.1.
My MicroSD card is connected through an SD card adapter/reader to laptop and then to Ubuntu Virtual machine, detected as /dev/sdb
flex-installer is faililing with error tar: /mnt/sdb0: Cannot open:

Following are complete logs.
$ flex-installer -i auto -m ls1012afrwy -d /dev/sdb
farid@u1804vm:~/LSDK2012$ flex-installer -i auto -m ls1012afrwy -d /dev/sdb
[sudo] password for farid:
/dev/sdb: 123 GB

Downloading http://www.nxp.com/lgfiles/sdk/lsdk2012/bootpartition_LS_arm64_lts_5.4.tgz ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 598M 100 598M 0 0 9.8M 0 0:01:00 0:01:00 --:--:-- 10.2M

Downloading http://www.nxp.com/lgfiles/sdk/lsdk2012/rootfs_lsdk2012_ubuntu_main_arm64.tgz ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 647M 100 647M 0 0 7234k 0 0:01:31 0:01:31 --:--:-- 9.9M
Downloaded distro images [Done]
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

farid@u1804vm:~/LSDK2012$

farid@u1804vm:~$ ll /dev/sd*
brw-rw---- 1 root disk 8, 0 Jun 21 12:37 /dev/sda
brw-rw---- 1 root disk 8, 1 Jun 21 12:37 /dev/sda1
brw-rw---- 1 root disk 8, 16 Jun 21 14:55 /dev/sdb
farid@u1804vm:~$

farid@u1804vm:~$
farid@u1804vm:~$ ll /mnt
total 40
drwxr-xr-x 10 root root 4096 Jun 21 13:10 ./
drwxr-xr-x 24 root root 4096 Jun 18 15:34 ../
drwxr-xr-x 2 root root 4096 Jun 21 13:10 sdb1/
drwxr-xr-x 22 root root 4096 Jun 19 13:23 sdb11/
drwxr-xr-x 7 root root 4096 Jun 19 13:22 sdb12/
drwxr-xr-x 2 root root 4096 Jun 19 13:04 sdb13/
drwxr-xr-x 2 root root 4096 Jun 19 13:04 sdb14/
drwxr-xr-x 7 root root 4096 Jun 21 14:57 sdb2/
drwxr-xr-x 2 root root 4096 Jun 21 13:10 sdb3/
drwxr-xr-x 2 root root 4096 Jun 21 13:10 sdb4/
farid@u1804vm:~$

I also tried to commect MicroSD card via USB adapter instead of card reader, but it still failed with same error (/mnt/sdb0: Cannot open: No such file or directory).

Any help is much appreciated.


 

0 件の賞賛
返信
1 解決策
579件の閲覧回数
farid
Contributor I

I found the reason, why it is failing... I've to format the MicroSD card before installing the LSDK images
$ flex-installer -i pf -d /dev/sdb
$ flex-installer -i auto -m ls1012afrwy -d /dev/sdb

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
580件の閲覧回数
farid
Contributor I

I found the reason, why it is failing... I've to format the MicroSD card before installing the LSDK images
$ flex-installer -i pf -d /dev/sdb
$ flex-installer -i auto -m ls1012afrwy -d /dev/sdb

0 件の賞賛
返信