Headless Firefly-RK3399 Setup

Firefly-RK3399

Flash Image

Windows:

  1. Download here, 或这里
    • Ubuntu 16.04 image: Firefly-RK3399_Ubuntu16.04_201703181519.img
    • RK Tool: AndroidTool_Release_v2.38.rar
    • RK USB driver: DriverAssitant_v4.5.rar
  2. Install RK USB Driver

    • Run “DriverAssitant_v4.5/DriverInstall.exe”

      install-rk-usb-driver.png
  3. Connect device to host

    1. Connect the power adapter to board.
    2. Use Type-C cable to connect host and device together.
    3. Press and hold RECOVERY key.
    4. Shortly press RESET key.
    5. After around two seconds, release RECOVERY key.

      The host will prompt to have new device detected and configured. Open the Device Management, you’ll find a new device name “Rockusb Device”, as shown below. Return to previous step to reinstall driver if it is not shown.

      rk-usb-device-detected.png
  4. Flush image

    1. Run “AndroidTool_Release_v2.38/AndroidTool.exe” as Administrator.

      • Edit “config.ini”, set “Selected=2” to English

        android-tool.png
    2. Switch to “Upgrade Firmware” tab page.

    3. Click “Firmware” button and open the image file.
      • Detail information of the image file, like version and chip, is shown.
    4. Click “Upgrade” button to start flash.

      upgrade-firmware.png
    5. If upgrade fails, please try “LowerFormat” in the “Download Image” tab page first, then try again.

      WARN: If you flash firmware laoder different version of the original machine, please click “Erase Flash” before upgrading the firmware.

Setup Firefly

  1. Connect Display or TV with HDMI cable
  2. Connect the power adapter to the board
    • The board will boot automatically once power on
  3. Plug USB mouse & keyboard to the board

Now, you can control the board.

Username: firefly
Password: firefly
  1. Connect the Wi-Fi
  2. Enable SSH server
    • Detect SSH server, ps aux | grep sshd
      • Otherwise, sudo apt-get install openssh-server and sudo /etc/init.d/ssh start
    • Get ip address, ifconfig | grep "inet "
    • SSH from remote pc, ssh firefly@<ip>
  3. Screen Sharing from Firefly

    • Install, sudo apt-get install vino
    • Config, vino-preferences

      vino-preferences.png
    • Start, /usr/lib/vino/vino-server –sm-disable`

    • Autostart, open “Session and Startup” and check “Desktop Sharing”,

      startup.png
  4. Remote access from Ubuntu

    • Open “Remmina Remote Desktop Client” and add connection,

      remote-desktop-client.png
    • Or, remote access from Mac, plz see here.

Finally, you can control the board from remote PC, without extra accessories or devices.

NOTE: You could get ip address of the board from your router’s home page.

If you wanna access the Firefly’s files, you can do as follows:

  1. Install Samba on Firefly,

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    # samba
    sudo apt-get install samba samba-common-bin
    # config samba
    sudo vi /etc/samba/smb.conf
    [homes]
    read only = no
    # restart
    sudo /etc/init.d/samba restart
    # add user
    sudo smbpasswd -a firefly
  2. Open “Finder” on Mac,

    • “Go > Connect to Server”

      smb-connect.png
    • Then, select “firefly” volume

      smb-access.png

If you wanna setup other WiFi connections, you can do as follows:

  1. Add a WiFi connection,

    • Run nmtui, then “Edit a connection > Add > Wi-Fi”

      nmtui.png
    • Field “Device” is “wlan0 mac address”, run ip addr to get

    • Enter “OK”, done
  2. Connection file is created here,

    1
    $ ll /etc/NetworkManager/system-connections/
  3. Connect a WiFi with SSID found nearby,

    1
    $ nmcli device wifi con "ssid" password "password"
您可以投食小伊布 ,奖励一下哦~