Hide thumbs Also See for JH-7110 DevKit:

Advertisement

Quick Links

JH-7110 DevKit Quick Start
Guide
Version: 1.2
Date: 2024/06/07
Doc ID: JH7110-DGEN-001

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the JH-7110 DevKit and is the answer not in the manual?

Questions and answers

Summary of Contents for StarFive JH-7110 DevKit

  • Page 1 JH-7110 DevKit Quick Start Guide Version: 1.2 Date: 2024/06/07 Doc ID: JH7110-DGEN-001...
  • Page 2 StarFive does not assume any liability rising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation indirect, incidental, special, exemplary, or consequential damages.
  • Page 3: Table Of Contents

    2.3. GPIO Dip Switch Settings..................... 13 3. Getting Started........................15 3.1. Download the SDK....................... 15 3.2. Run SDK on JH-7110 DevKit....................16 3.2.1. Connect JH-7110 DevKit to Network................ 16 3.2.2. Boot JH-7110 DevKit....................19 4. Reference..........................22 4.1. GPIO Allocation........................22 4.2. Generating Booting TF Card....................25 4.3.
  • Page 4: List Of Tables

    Table 1-2 Board Appearance Description - Bottom................10 Table 2-1 Boot Mode.......................... 11 Table 2-2 GPIO dip Switch Settings..................... 13 Table 3-1 Pre-build Image and Binaries....................15 Table 4-1 GPIO Allocation........................23 www.starfivetech.com © 2018-2024 StarFive Technology All rights reserved...
  • Page 5: List Of Figures

    Figure 2-2 Boot Mode Settings......................13 Figure 3-1 Access the Download Page....................16 Figure 3-2 Connecting to the UART0 Debug Pins of JH-7110 DevKit..........17 Figure 3-3 Access the Download Page....................21 Figure 4-1 Connecting to the UART0 Debug Pins of JH-7110 DevKit..........28 Figure 4-2 Example Output.........................
  • Page 6: Preface

    Preface About this guide and technical support information. About this document This document mainly provides the users with the necessary information about the StarFive JH-7110 DevKit, including board appearance, configuration basics, SDK quick start reference and some reference. Revision History...
  • Page 7: Introduction

    1. Introduction This document mainly provides the users with the necessary information about the StarFive JH-7110 DevKit, including board appearance, configuration basics, SDK quick start reference and some references. 1.1. Board Appearance The following figure displays the board appearance of JH-7110 DevKit.
  • Page 8: Table 1-1 Board Appearance Description - Top

    Table 1-1 Board Appearance Description - Top Interface Description PCIE × 4 Connector JH-7110 DevKit supports 2 PCIe × 4-lane connec­ tors, but JH-7110 SoC only support 1 lane. ANT Connector It is used for connect ANT. Ethernet Ports LAN1 The Ethernet port is for network data connection.
  • Page 9 DMIC1 Digital Monolithic Integrated Circuit. SPK_L Left speaker. USB3.0 Type-A × 2 Connector 2 × USB3.0 Type-A Connector USB3.0 Type-A Connector Type-C Programming USB2.0 device for programming via Type-C port. I2C Header © 2018-2024 StarFive Technology www.starfivetech.com All rights reserved...
  • Page 10: Table 1-2 Board Appearance Description - Bottom

    Figure 1-2 Bottom View Table 1-2 Board Appearance Description - Bottom Interface Description M.2 Key E M.2 Key M TF Card Connector TF Card slot. CR2023 Battery Connector CR2023 button battery connector. www.starfivetech.com © 2018-2024 StarFive Technology All rights reserved...
  • Page 11: Jh-7110 Devkit Configuration Basics

    Block diagram for 1 second 3. Finally, press the ⑪ button in Top View (on page 7) until the red indicator light on the Core Board lights up, which means the JH-7110 DevKit is powered on. Power off The following provides two methods to power off the JH-7110 DevKit.
  • Page 12: Figure 2-1 Boot Mode Dip Switch Location

    0×3 1 (H) 1 (H) Note: StarFive does not recommend that you boot from SD Card directly. It is recommend that JH-7110 DevKit use the following boot mode: • QSPI Flash + SD Card • QSPI Flash + eMMC The following figure shows the dip switch locations for all the supported boot modes (⑥) in...
  • Page 13: Gpio Dip Switch Settings

    | 2 - JH-7110 DevKit Configuration Basics Figure 2-2 Boot Mode Settings 2.3. GPIO Dip Switch Settings You need to perform certain dip switch settings before connection peripherals to the JH-7110 DevKit. The following table shows the required GPIO dip switch settings.
  • Page 14 | 2 - JH-7110 DevKit Configuration Basics Table 2-2 GPIO dip Switch Settings (continued) Dip Switch for Function GPIO GPIO Remarks Group Dip Switch Function GPIO44 S4pin1: ON I2S_DSDIN GPIO38 S4pin2: ON I2S_SCLK GPIO45 S5pin2: ON UART_TXD_232 GPIO46 S5pin1: ON...
  • Page 15: Getting Started

    3. Getting Started This chapter provides steps to get started with JH-7110 DevKit. It builds U-Boot SPL, U-Boot and a flattened image tree (FIT) image with a Opensbi binary, linux kernel, device tree, ramdisk image and rootfs image for the JH-7110 DevKit board.
  • Page 16: Run Sdk On Jh-7110 Devkit

    Connect JH-7110 DevKit to Network (on page 16). 2. Boot JH-7110 DevKit. 3.2.1. Connect JH-7110 DevKit to Network This section provides steps to connect JH-7110 DevKit to network and enter U-Boot terminal. www.starfivetech.com © 2018-2024 StarFive Technology All rights reserved...
  • Page 17: Figure 3-2 Connecting To The Uart0 Debug Pins Of Jh-7110 Devkit

    115200 3. Connect JH-7110 DevKit to the network cable and power cord. 4. Turn on JH-7110 DevKit and you will see the start-up information as follows: U-Boot SPL 2021.10 (Apr 27 2023 - 01:11:58 +0800) DDR version: 5129c280. Trying to boot from SPI OpenSBI v1.2...
  • Page 18 Boot HART MHPM Count Boot HART MIDELEG : 0x0000000000000222 Boot HART MEDELEG : 0x000000000000b109 U-Boot 2021.10 (Apr 27 2023 - 01:11:58 +0800), Build: jenkins-Devkits_515_Branch_Customer_Build-3 CPU: rv64imacu Model: StarFive JH7110 DevKits DRAM: 4 GiB www.starfivetech.com © 2018-2024 StarFive Technology All rights reserved...
  • Page 19: Boot Jh-7110 Devkit

    Hit any key to stop autoboot: StarFive # 5. Press any key to stop and enter the U-Boot terminal. 3.2.2. Boot JH-7110 DevKit There are two ways to boot the JH-7110 DevKit. • Run the Default DTB with image.fit (on page 19) •...
  • Page 20 SDK version is VF2_v3.1.5 or earlier, please perform the following command to install the required additional packages: a. Set the environment parameter: 3.2.2.3. Run System with Image Follow the steps below to run the system by using sdcard.img: www.starfivetech.com © 2018-2024 StarFive Technology All rights reserved...
  • Page 21: Figure 3-3 Access The Download Page

    1. After entering the system, flash the image to the SD card, and restart the system after the flash is completed. 2. Execute the following command to start JH-7110 DevKit using sdcard.img: sudo dd if=sdcard.img of=/dev/sdX bs=4096 && sync 3.2.2.4. Run Debian System Follow the steps below to run Debian System: 1.
  • Page 22: Reference

    4. Reference 4.1. GPIO Allocation The following table shows the specific GPIO allocation of JH-7110 DevKit. www.starfivetech.com © 2018-2024 StarFive Technology All rights reserved...
  • Page 23: Table 4-1 Gpio Allocation

    GPIO40 GPIO37 (PWM CH3) papower-gpio 39 GPIO39* (PA_EN_H) 31 GPIO46* (UART RX) uart2 ttyS2 GPIO59 (PWM CH2) i2srx_3ch GPIO63* (I2S LRCLK) 35 GPIO36 (PWM CH0) GPIO60 (PWM CH1) GPIO61* (I2S RX) i2srx_3ch © 2018-2024 StarFive Technology www.starfivetech.com All rights reserved...
  • Page 24 | 4 - Reference Table 4-1 GPIO Allocation (continued) GPIO GPIO Pin Name Pin Name GPIO44* (I2S TX) i2stx_4ch1 www.starfivetech.com © 2018-2024 StarFive Technology All rights reserved...
  • Page 25: Generating Booting Tf Card

    Install the package by running the following command on the Ubuntu host: $ sudo apt install cloud-guest-utils e2fsprogs b. Insert the TF card to the Ubuntu host. c. Execute the following command to extend partition. © 2018-2024 StarFive Technology www.starfivetech.com All rights reserved...
  • Page 26 $ sudo e2fsck -f /dev/sdX4 $ sudo resize2fs /dev/sdX4 # extend filesystem $ sudo fsck.ext4 /dev/sdX4 • Option 2: Run the commands on the JH-7110 DevKit: fdisk resize2fs # fdisk /dev/mmcblk1 Welcome to fdisk (util-linux 2.37.2). Changes will remain in memory only, until you decide to write them.
  • Page 27: Recovering The Bootloader

    The SPL and U-Boot are stored inside the SPI flash of your board. There may be situations where you accidentally empty the flash or if the flash is damaged on your board. In these situations, it's better to recover the bootloader. © 2018-2024 StarFive Technology www.starfivetech.com All rights reserved...
  • Page 28: Figure 4-1 Connecting To The Uart0 Debug Pins Of Jh-7110 Devkit

    1. Connect the jumper wires between the USB-to-Serial converter and the UART0 Debug (on page 7) pins of JH-7110 DevKit debug header. The following figure is an example: Figure 4-1 Connecting to the UART0 Debug Pins of JH-7110 DevKit Tip: You can also use the USB-to-Serial converter of Type-C port to connect Type-C debug port directly.
  • Page 29: Figure 4-2 Example Output

    | 4 - Reference Figure 4-2 Example Output 6. Type and press Enter on your keyboard to update SPL binary <u-boot- spl.bin.normal.out>. © 2018-2024 StarFive Technology www.starfivetech.com All rights reserved...
  • Page 30: Figure 4-4 Example Output

    | 4 - Reference Figure 4-4 Example Output 7. Type and press Enter on your keyboard to update U-Boot binary <devkits_fw_payload.img>. www.starfivetech.com © 2018-2024 StarFive Technology All rights reserved...
  • Page 31: Updating Spl And U-Boot

    8. Power off and switch jumpers back to Flash mode (RGPIO_1,RGPIO_0: 0,0). 4.4. Updating SPL and U-Boot To update SPL and U-Boot for JH-7110 DevKit, perform the following steps: 1. Prepare the TFTP server. The following is an example command for Ubuntu distribution.
  • Page 32 VisionFive Single Board Computer Quick Start Guide. 2. Power on JH-7110 DevKit and wait until it enters the U-Boot command line interface. 3. Configure the environment variables by executing: StarFive # setenv ipaddr 192.168.120.222;setenv serverip 192.168.120.99 4. Check the connectivity by pinging the host PC from JH-7110 DevKit.

Table of Contents