kynetics-co-logo-portrait

The U-Boot project has just released version 2022.07 of the popular bootloader. This release includes a new feature, developed by Kynetics, that enables the use of the GPIO values in bootscripts.

The new feature ensures that:

  • scripts can check success or failure of a GPIO read operation
  • the GPIO value can be saved to a U-Boot env variable

The feature is enabled by the CONFIG_CMD_GPIO_READ and has the following syntax:

=> gpio read <variable-name> <gpio-pin>

The commit can be seen at:

https://github.com/u-boot/u-boot/commit/dd2b8c1155d016800cbbaa1bd70efdd81f9da493