Got it

Atlas 200DK SD card creation fails !

Latest reply: Jun 29, 2020 06:29:54 766 7 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.
View more
  • 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

View more
  • 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
View more
  • x
  • convention:

thib_G
Created Jun 22, 2020 09:41:33 Helpful(0) Helpful(0)

Hi,

I have exactly the same problem.
I uploaded the following folder in my ubuntu 16.04 server:
- make_sd_card.py
- make_ubuntu_sd.sh
- mini_developerkit-1.3.T34.B891.rar.asc

- ubuntu-16.04.4-server-arm64.iso


I downloaded ubuntu-16.04.3-4.9-minimal-odroid-xu4-20170824.img.xz package from https://odroid.in/ubuntu_16.04lts/
to install ubuntu 16.04 server on my odroid-xu4.

When creating SD card I have the following errors:

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/ascend/mksd/sd_card_making_log/make_ubuntu_sd.log for details!

In the sd_card_making_log file
Partition naming without p-prefix
Failed: Unsquashfs 'filesystem.squashfs' fail!

/dev/loop0     856M  856M       0  100% /home/ascend/mksd/tools/sd_card_making_log/no_touch_make_sd_dir

If you have any idea how to fix that.




View more
  • x
  • convention:

_xyt
Created Jun 23, 2020 09:43:24 Helpful(0) Helpful(0)

Posted by thib_G at 2020-06-22 09:41 Hi,I have exactly the same problem.I uploaded the following folder in my ubuntu 16.04 server:- make_ ...
Hi,
make sure the package is - mini_developerkit-1.3.T34.B891.rar
not - mini_developerkit-1.3.T34.B891.rar.asc,
try again, good luck!
View more
  • x
  • convention:

showmecn
Created Jun 24, 2020 13:41:49 Helpful(0) Helpful(0)

could give a direct download link for sd image. so that to save time of all.. thanks
View more
  • x
  • convention:

_xyt
Created Jun 29, 2020 06:29:54 Helpful(0) Helpful(0)

Posted by showmecn at 2020-06-24 13:41 could give a direct download link for sd image. so that to save time of all.. thanks
sorry, we do not have such a link,you can make it by yourself.
View more
  • x
  • convention:

Comment

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

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."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.