Firefly-RK3399
Flash Image
Windows:
- 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
Install RK USB Driver
Run “DriverAssitant_v4.5/DriverInstall.exe”
Connect device to host
- Connect the power adapter to board.
- Use Type-C cable to connect host and device together.
- Press and hold RECOVERY key.
- Shortly press RESET key.
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.
Flush image
Run “AndroidTool_Release_v2.38/AndroidTool.exe” as Administrator.
Edit “config.ini”, set “Selected=2” to English
Switch to “Upgrade Firmware” tab page.
- Click “Firmware” button and open the image file.
- Detail information of the image file, like version and chip, is shown.
Click “Upgrade” button to start flash.
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
- Connect Display or TV with HDMI cable
- Connect the power adapter to the board
- The board will boot automatically once power on
- Plug USB mouse & keyboard to the board
Now, you can control the board.
Username: firefly
Password: firefly
- Connect the Wi-Fi
- Enable SSH server
- Detect SSH server,
ps aux | grep sshd
- Otherwise,
sudo apt-get install openssh-server
andsudo /etc/init.d/ssh start
- Otherwise,
- Get ip address,
ifconfig | grep "inet "
- SSH from remote pc,
ssh firefly@<ip>
- Detect SSH server,
Screen Sharing from Firefly
- Install,
sudo apt-get install vino
Config, vino-preferences
Start, /usr/lib/vino/vino-server –sm-disable`
Autostart, open “Session and Startup” and check “Desktop Sharing”,
- Install,
Remote access from Ubuntu
Open “Remmina Remote Desktop Client” and add connection,
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:
Install Samba on Firefly,
12345678910111213# sambasudo apt-get install samba samba-common-bin# config sambasudo vi /etc/samba/smb.conf[homes]read only = no# restartsudo /etc/init.d/samba restart# add usersudo smbpasswd -a fireflyOpen “Finder” on Mac,
“Go > Connect to Server”
Then, select “firefly” volume
If you wanna setup other WiFi connections, you can do as follows:
Add a WiFi connection,
Run nmtui, then “Edit a connection > Add > Wi-Fi”
Field “Device” is “wlan0 mac address”, run
ip addr
to get- Enter “OK”, done
Connection file is created here,
1$ ll /etc/NetworkManager/system-connections/Connect a WiFi with SSID found nearby,
1$ nmcli device wifi con "ssid" password "password"