Firefly Open Source Community

   Login   |   Register   |
New_Topic
123
New Topic
Print Previous Topic Next Topic

[Linux] will Ubuntu 18.04 image be made for RK3399

153

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
153

【Linux】 will Ubuntu 18.04 image be made for RK3399

Posted at 6/27/2018 18:37:10      View:12096 | Replies:23        Print      Only Author   [Copy Link] 1#
was wondering if any plans to release a 18.04 image for RK3399 are in the works
as 16.04 does not support this board much
Reply

Use props Report

22

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
22
Posted at 8/7/2018 22:43:11        Only Author  2#
I'm wondering the same.

There is also a performance concern : tests I made on diverse SBCs show a huge improvement when using 18.04.

Reply

Use props Report

20

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
20
Posted at 9/12/2018 00:53:51        Only Author  3#
It's easy to update to 18.04 yourself.

  1. sudo sed -i -- 's/xenial/bionic/g' /etc/apt/sources.list
  2. apt update && apt full-upgrade
Copy the code


is perfectly fine. You are probably running out of space on the eMMC if you use the factory image, but even then,
  1. apt -f install && apt autoremove && apt clean && apt update && apt full-upgrade
Copy the code

once or twice gives you a running 18.04LTS system.

First thing I did with my RK3399.
Reply

Use props Report

4

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
4
Posted at 9/15/2018 20:14:49        Only Author  4#
I tried so to update my firefly 3399 from 16.04 to 18.04. But in my case there is an access error

E: Could not open lock file / var / lib / dpkg / lock - open (13: Permission denied)
E: Unable to lock the administration directory (/ var / lib / dpkg /), are you root?

I also tried to enter commands through the sudo but this did not change anything.
Reply

Use props Report

32

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
32
Posted at 11/2/2018 16:23:39        Only Author  5#
Cherry Posted at 9/15/2018 20:14
I tried so to update my firefly 3399 from 16.04 to 18.04. But in my case there is an access error

...

just Delete lock-open
`sudo rm -f /var/lib/dpkg/lock-open`
Reply

Use props Report

66

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
66
Posted at 12/6/2018 01:41:10        Only Author  6#
Getting this error

Errors were encountered while processing:
/var/cache/apt/archives/libgles2_1.0.0-2ubuntu2.2_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Reply

Use props Report

1387

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1387
Posted at 12/6/2018 11:20:56        Only Author  7#
Actually, there's a new  ubuntu 18.04 for Firefly-RK3399 in

  http://www.t-firefly.com/doc/download/page/id/3.html

But it is in Baidu Pan up till now.  We're working on moving it to Google Drive.
Reply

Use props Report

1387

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1387
Posted at 12/7/2018 10:38:20        Only Author  8#
Here comes the Ubuntu 18.04 firmware for Firefly-RK3399, with Google Drive link:

    https://drive.google.com/drive/f ... 089aMAW_4cDGF11F2ou

Uncompress the downloaded file using:

    unxz -k Firefly-RK3399-ubuntu18.04_20181017.img.xz

This firmware uses the gpt partition scheme. Therefore you need the latest
v3.4 upgrade_tool to upgrade the firmware. Download it from:

    http://download.t-firefly.com/pr ... grade_Tool_1.34.zip

To install upgrade_tool to /usr/local/bin, run:

    unzip Linux_Upgrade_Tool_1.34.zip
    cd Linux_Upgrade_Tool/Linux_Upgrade_Tool/
    chmod 755 upgrade_tool
    mv gpt_upgrade_tool
    sudo cp gpt_upgrade_tool config.ini /usr/local/bin/

Now that flashing tool `gpt_upgrade_tool` and firmware file are ready.
To upgrade from the old ubuntu 16.04, the board needs to enter MaskRom mode.
There're two methods:

1. Using the cutting edge metal tweezers following:

    http://en.t-firefly.com/index.php/doc/product/info/id/479.html

2. Or from the running Ubuntu 16.04, unplug the SD Card, and zero head zone of the eMMC by:
  
    sudo dd if=/dev/zero of=/dev/mmcblk? count=$((0x2000))
    # Connect the TypeC cable with PC
    sudo reboot
   
Flash the firmware:

    cd /path/to/the/Firefly-RK3399-ubuntu18.04_20181017.img
    gpt_upgrade_tool uf Firefly-RK3399-ubuntu18.04_20181017.img

Good luck. If any question, write here. I'll try my best to help.
Reply

Use props Report

164

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
164
Posted at 12/26/2018 03:18:36        Only Author  9#
Dear Penguin,

How is the 4K performance of this img? Is there any problem for sound and video? Did you meet same problems? If yes pls share your steps.
Reply

Use props Report

4

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
4
Posted at 1/9/2019 23:06:50        Only Author  10#
Hey Penguin,
I tried installing using your steps for ROC-RK3399-PC. But the upgrade tool wasn't detecting it.
Can you provide a direct SD Boot image for ubuntu18?
Thanks!!
Reply

Use props Report

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

This forum Credits Rules

Quick Reply Back to top Back to list