BuildingFollow theese instructions assemble the device and to build and upload both FE310 and ESP32 firmware. 1 Install prerequisitesYou will need the following software available on your machine:
Binary RISC-V GNU Toolchain and OpenOCD are available from SiFive at https://github.com/sifive/freedom-tools/releases Download and unpack the archives for your platform and export
To install ESP-IDF follow instructions from ESP-IDF Programming Guide. Install version 4.2 or later. 2 Obtain sourcegit repository can be cloned by running the following command:
Repository contains following directories:
3 AssembleTo assemble the phone you will need:
Locate DISPLAY connector at the bootom side of the board and connect display adapter board to it: Connect display panel to J2 and J3 connectors on display adapter board: Insert cellular modem into mini PCIe connector: Locate BAT connector at the bootom side of the board and connect battery to it: 4 Connect JTAG/UART programmerThis device supports FT2232H-56Q Mini Module for flashing both FE310 and ESP32 firmware. Connect FT2232H-56Q to J205 connector using FFC breakout board according to folowing table:
Leave other pins unconnected. Alternatively, you can make FT2232H-56Q adapter board from 5 Compile and upload firmwareTo build firmware for FE310 run follwing commands:
To build firmware for ESP32 run following commands:
In Before flashing ESP32 device you must put it into programming mode:
|