Atlas 200DK SD card creation fails !

Latest reply: Jan 16, 2020 10:42:53 98 3 1 0

Hi,

I have problem creating SD card following the procedure in

https://ascend.huawei.com/doc/Atlas200DK/1.3.0.0/en/en-us_topic_0195268776.html

(Creating an SD Card When a Card Reader Is Available)


$ sudo python3 make_sd_card.py local /dev/sdb
[sudo] password for user:
Begin to make SD Card...
Please make sure you have installed dependency packages:
     apt-get install -y qemu-user-static binfmt-support gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
Please input Y: continue, other to install them:Y
Step: Start to make SD Card. It need some time, please wait...
[ERROR] Making SD Card failed, please check /home/user/huawei/atlas200dk/mksd/sd_card_making_log/make_ubuntu_sd.log for details!


I check the log file

$ sudo cat /home/user/huawei/atlas200dk/mksd/sd_card_making_log/make_ubuntu_sd.log
Partition naming without p-prefix
Failed: Copy 'filesystem.squashfs' fail!


By studying the make_ubuntu_sd.sh, it seems that the failure happens when the script fails to mount mini_developerkit-1.3.T34.B891.rar to the temp dir.


I try to do the mount manually

$ mkdir temp
$ sudo mount -o loop mini_developerkit-1.3.T34.B891.rar temp
mount: wrong fs type, bad option, bad superblock on /dev/loop2,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.

Any clue what is wrong, and how to fix this ?

  • x
  • convention:

xyttaotao
Created Jan 16, 2020 09:35:57 Helpful(0) Helpful(0)

Hi, make sure the packages you downloaded is correct,
the ISO package name is "ubuntu-16.04.3-server- a r m 6 4.iso".
And the sizes of the mini_developerkit-1.3.T34.B891.rar about 74.14MB
you should use the root user to execute the order,
Then try again, you will succeed.
  • x
  • convention:

JoshuaFung
Created Jan 16, 2020 10:26:36 Helpful(0) Helpful(0)

I check the package integrity, the rar file seems valid.


$ gpg --verify mini_developerkit-1.3.T34.B891.rar.asc
gpg: assuming signed data in `mini_developerkit-1.3.T34.B891.rar'
gpg: Signature made Khamis 22 Ogos 2019 08:36:18  +08 using RSA key ID 27A74824
gpg: Good signature from "OpenPGP signature key for Huawei software (created on 30th Dec,2013) <support@huawei.com>"


-rw-rw-r-- 1 user user    16291 Dis  31 23:28 make_sd_card.py
-rwxrwxr-x 1 user user    21017 Jan  16 15:46 make_ubuntu_sd.sh
-rw-rw-r-- 1 user user 77738622 Dis  31 23:41 mini_developerkit-1.3.T34.B891.rar
-rw-rw-r-- 1 user user      490 Dis  31 23:35 mini_developerkit-1.3.T34.B891.rar.asc
drwxr-xr-x 2 root root     4096 Jan  16 17:08 sd_card_making_log

  • x
  • convention:

xyttaotao
Created Jan 16, 2020 10:42:53 Helpful(0) Helpful(0)

In your list, I did not saw the ubuntu-16.04.3-server- a r m 6 4.iso, have you download it? you can download from http://old-releases.ubuntu.com/releases/16.04.3/  
To make SD card must have the four packages:
make_sd_card.py
make_ubuntu_sd.sh
mini_developerkit-1.3.T34.B891.rar
ubuntu-16.04.3-server- a r m 6 4.iso
  • x
  • convention:

Comment

You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login