If you need urgent consulting help click here

BeagleV Starlight JH7100

Overview

The BeagleV Starlight is an 64-bit open-source RISC-V development board with a StarFive JH7100 SoC.

Programming and debugging

Building

Applications for the beaglev_starlight_jh7100 board configuration can be built as usual (see Building an Application) using the corresponding board name:

west build -b beaglev_starlight_jh7100

The bootloader expects size information at the start of the binary file, so the bin file needs to be processed first to include that information. Download the helper script from starfive-tech github repo here

./fsz.sh build/zephyr/zephyr.bin

This will create a new file build/zephyr/zephyr.bin.out that can be flashed.

Flashing

Note

The following steps use minicom for serial communication, feel free to use any other serial terminal that supports xmodem based file transfers.

  1. BeagleV Starlight uses uart for flashing. Refer to BeagleV Getting Started to connect your serial-to-usb converter. Now power on the board and using minicom access board’s serial.

    minicom -D /dev/ttyUSB0 -b 115200
    
  2. Press any key to stop the boot sequence. This will output a menu

    ***************************************************
    *************** FLASH PROGRAMMING *****************
    ***************************************************
    
    0:update uboot
    1:quit
    select the function:
    
  3. Select 0 to flash a new image.

  4. Press Ctrl+A and then press s to enter upload mode

  5. Select xmodem and press Enter

  6. Select Goto from the bottom tab menu and press Enter

  7. Enter the directory path and press Enter

  8. Select zephyr.bin.out by navigating using arrow keys, press Space and press Enter

  9. Once uploaded hit any key to continue and reset the board to boot the zephyr binary