Kernel Menu Configuration

Follow the steps below to enable the kernel configuration for GPIO.
  1. Under the root directory of freelight-u-sdk, type the following command to enter the kernel menu configuration GUI.
    make linux-menuconfig
  2. Enter the Device Drivers menu.
    Figure 1. Device Drivers
  3. Enter the Pin controllers menu.
    Figure 2. Pin Controllers
  4. Select the Pinctrl driver for StarFive SoC option to enable the pinctrl driver, and select the Pinctrl and GPIO driver for StarFive JH7110 SoC option to enable the GPIO driver respectively.
    Figure 3. Driver Menu
  5. Save your change before you exit the kernel configuration dialog.