Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Linux_Upgrade_Tool_v1.24 not working - upgrade_tool: No such file or directory H

33

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
33

Linux_Upgrade_Tool_v1.24 not working - upgrade_tool: No such file or directory H

Posted at 8/30/2017 06:06:55      View:4305 | Replies:8        Print     [Copy Link] 1#
Hi All,
I'm trying to flash the eMMC with Firefly-rk3399_xubuntu1604_201705111112.img to run Ubuntu on my FireFly-RK3399. The dual boot option is unfortunately not avaliable on the device I received. Reading the documentation it looks like the only way to flash the eMMC with a single image file is using the Linux_Upgrade_Tool but I can't make it run on Ubuntu 16.04 please see my steps below, any advise on what I can do to resolve my problem?

skj@laptop:~/Downloads$ unzip Linux_Upgrade_Tool_v1.24.zip
Archive:  Linux_Upgrade_Tool_v1.24.zip
   creating: Linux_Upgrade_Tool_v1.24/
  inflating: Linux_Upgrade_Tool_v1.24/config.ini  
  inflating: Linux_Upgrade_Tool_v1.24/Linux┐к╖в╣д╛▀╩╣╙├╩╓▓с_v1.0.pdf  
  inflating: Linux_Upgrade_Tool_v1.24/upgrade_tool  
skj@laptop:~/Downloads$ cd Linux_Upgrade_Tool_v1.24/
skj@laptop:~/Downloads/Linux_Upgrade_Tool_v1.24$ sudo chown root:root upgrade_tool
skj@laptop:~/Downloads/Linux_Upgrade_Tool_v1.24$ sudo chmod +x upgrade_tool
skj@laptop:~/Downloads/Linux_Upgrade_Tool_v1.24$ sudo ./upgrade_tool
sudo: unable to execute ./upgrade_tool: No such file or directory
Hangup
skj@laptop:~/Downloads/Linux_Upgrade_Tool_v1.24$
skj@laptop:~/Downloads/Linux_Upgrade_Tool_v1.24$ ls -lah
total 4.1M
drwxrwxr-x  2 skj  skj  4.0K Sep 29  2015 .
drwxr-xr-x 10 skj  skj   12K Aug 29 22:58 ..
-rw-rw-r--  1 skj  skj    97 Oct 19  2013 config.ini
-rw-rw-r--  1 skj  skj  2.0M Jul 28  2014 Linux┐к╖в╣д╛▀╩╣╙├╩╓▓с_v1.0.pdf
-rwxrwxr-x  1 root root 2.2M May 11  2016 upgrade_tool
skj@laptop:~/Downloads/Linux_Upgrade_Tool_v1.24$




Reply

Use props Report

33

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
33
Posted at 8/30/2017 16:59:19      2#
root@laptop:/home/skj/Documents/Firefly# file upgrade_tool
upgrade_tool: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=7c7f75f253274e23523b1fe1267160b081967534, not stripped
Reply

Use props Report

33

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
33
Posted at 8/31/2017 18:07:38      3#
root@laptop:/home/skj/Documents/Firefly# ldd upgrade_tool
        not a dynamic executable
Reply

Use props Report

33

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
33
Posted at 9/2/2017 05:53:05      4#
Last edited by skjensen In 9/2/2017 05:58 Editor

Hi, I found the cause of my problem. I'm on a 64bit Ubuntu system, and the executable is only 32bit. I installed the dependency for the executable in 32bit which resolved the problem. I have now used the tool to flash my device with  Ubuntu. Thanks a lot for your help.

  1. sudo dpkg --add-architecture i386
  2. sudo apt-get update
  3. sudo apt-get install libudev1:i386
Copy the code


Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list