Hide thumbs Also See for JH-7110:

Advertisement

Quick Links

JH-7110 DevKit Quick Start Guide
Version: 1.3
Date: 2024/10/12
Doc ID: JH7110-DGEN-001

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for StarFive JH-7110

  • Page 1 JH-7110 DevKit Quick Start Guide Version: 1.3 Date: 2024/10/12 Doc ID: JH7110-DGEN-001...
  • Page 2: Legal Statements

    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..............................12 3. Getting Started.................................. 14 3.1. Download the SDK................................14 3.2. Run SDK on JH-7110 DevKit..............................14 3.2.1. Connect JH-7110 DevKit to Network........................14 3.2.2. Boot JH-7110 DevKit.............................. 16 4. Reference...................................19 4.1. GPIO Allocation................................. 19 4.2. Generating Booting TF Card............................. 21 4.3.
  • Page 4: List Of Tables

    Table 1-2 Board Appearance Description - Bottom...........................9 Table 2-1 Boot Mode..................................10 Table 2-2 GPIO dip Switch Settings..............................12 Table 3-1 Pre-build Image and Binaries............................14 Table 3-2 Source Code with Tags ..............................14 Table 4-1 GPIO Allocation................................20 www.starfivetech.com © 2018-2024 StarFive Technology All rights reserved...
  • Page 5: List Of Figures

    Figure 2-1 Boot Mode Dip Switch Location.............................11 Figure 2-2 Boot Mode Settings................................12 Figure 3-1 Connecting to the UART0 Debug Pins of JH-7110 DevKit....................15 Figure 4-1 Connecting to the UART0 Debug Pins of JH-7110 DevKit....................23 Figure 4-2 Example Output................................24 Figure 4-4 Example Output................................25...
  • 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 The Ethernet port is for network data connection. Charger I2C Power supply for I2C. Boot Mode Pins It is provided to determine the boot mode before JH-7110 Dev­ Kit is powered up. Battery PWR In Power input. It is used to connect to the power supply.
  • Page 9: 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. © 2018-2024 StarFive Technology www.starfivetech.com All rights reserved...
  • Page 10: Jh-7110 Devkit Configuration Basics

    • Turn the ⑨ to OFF directly to power off the JH-7110 DevKit. 2.2. Boot Mode Settings JH-7110 DevKit provides 4 methods to determine the boot mode before it is powered up. The following are the available boot modes and details. You can select the boot mode by using dip switch.
  • Page 11: Figure 2-1 Boot Mode Dip Switch Location

    | 2 - JH-7110 DevKit Configuration Basics The following figure shows the dip switch locations for all the supported boot modes (⑥) in Top View (on page Figure 2-1 Boot Mode Dip Switch Location © 2018-2024 StarFive Technology www.starfivetech.com All rights reserved...
  • Page 12: Gpio Dip Switch Settings

    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. Table 2-2 GPIO dip Switch Settings...
  • Page 13 | 2 - JH-7110 DevKit Configuration Basics Table 2-2 GPIO dip Switch Settings (continued) Dip Switch for Function GPIO Group GPIO Remarks Dip Switch Function GPIO53 S6pin2: ON BT_UART_TXD GPIO54 S6pin1: ON BT_UART_RXD GPIO55 S7pin2: ON BT_UART_RTS GPIO56 S7pin1: ON...
  • Page 14: 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 15: Figure 3-1 Connecting To The Uart0 Debug Pins Of Jh-7110 Devkit

    | 3 - Getting Started This section provides steps to connect JH-7110 DevKit to network and enter U-Boot terminal. 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:...
  • Page 16: 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 16) •...
  • Page 17 3.2.2.3. Run Debian System Flashing OS to eMMC Flash Now we need to burn Debian (which is a Linux distribution) to eMMC Flash so that it can run on the JH-7110 DevKit. Follow the steps below. 1. Download Debian image from Releases and extract the .bz2 file.
  • Page 18 ▪ Username: user ▪ Password: starfive 2. Using a USB to Serial Converter: After flashing Debian,you can log in to Debian OS on JH-7110 DevKit using USB to Serial converter. a. Connect the USB to Serial converter to J18 or J19,power on the JH-7110 DevKit.
  • Page 19: Reference

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

    GPIO37 (PWM CH3) papower-gpio GPIO39* (PA_EN_H) GPIO46* (UART RX) uart2 ttyS2 GPIO59 (PWM CH2) i2srx_3ch GPIO63* (I2S LRCLK) GPIO36 (PWM CH0) GPIO60 (PWM CH1) GPIO61* (I2S RX) i2srx_3ch GPIO44* (I2S TX) i2stx_4ch1 www.starfivetech.com © 2018-2024 StarFive Technology All rights reserved...
  • Page 21: Generating Booting Tf Card

    $ 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 22: 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. www.starfivetech.com © 2018-2024 StarFive Technology All rights reserved...
  • Page 23: Figure 4-1 Connecting To The Uart0 Debug Pins Of Jh-7110 Devkit

    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 24: Figure 4-2 Example Output

    | 4 - Reference Figure 4-2 Example Output and press Enter on your keyboard to update SPL binary <u-boot-spl.bin.normal.out>. 6. Type www.starfivetech.com © 2018-2024 StarFive Technology All rights reserved...
  • Page 25: 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>. © 2018-2024 StarFive Technology www.starfivetech.com All rights reserved...
  • Page 26: Updating Spl And U-Boot

    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 www.starfivetech.com ©...
  • Page 27 | 4 - Reference 4. Check the connectivity by pinging the host PC from JH-7110 DevKit. 5. Initialize SPI flash: StarFive # sf probe 6. Update SPL binary: StarFive # tftpboot 0xa0000000 ${serverip}:u-boot-spl.bin.normal.out StarFive # sf update 0xa0000000 0x0 $filesize 7.

Table of Contents