Follow the steps below to enable the kernel configuration for GPIO.
Under the root directory of
freelight-u-sdk, type the following command to
enter the kernel menu configuration GUI.
make linux-menuconfig
Enter the Device Drivers menu.
Enter the Pin controllers menu.
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.
Save your change before you exit the kernel configuration dialog.