cmd:GPIO:TI: 'gpio' command Failure Error on Beaglebone Black

Lokesh Vutla lokeshvutla at ti.com
Thu May 6 08:03:38 CEST 2021


Hi Adarsh,

On 06/05/21 11:28 am, Adarsh Babu Kalepalli wrote:
> Hi,
> 
> Error output "*Command 'gpio' failed: Error -19*" is occurring with "*gpio
> status -a*"
> command on Beaglebone Black.

Error -19 is ENODEV. Can you check if you have gpio devices being probed?

> 
> The "gpio" command is proper till "U-Boot 2021.04-rc2".
> Error message is noticed from subsequent releases on-wards.

Any chance you were able to bisect to the culprit commit?
which defconfig are you using?

Thanks and regards,
Lokesh

> 
> Problem is noticed on u-boot versions from *U-Boot 2021.04-rc3 to U-Boot
> 2021.07-rc1*
> The same command is  OK on "sandbox" and "rpi 0 wireless" .
> 
> Not sure if the maintenance of code for old boards such as Beaglebone Black is
> still actively persuaded.Trying to report the observations
> 
> ------------------------------------------------------------------
> Code/Output :
> -------------------------------------------------------------------
> U-Boot SPL 2021.07-rc1-00179-g8ddaf94358 (May 03 2021 - 15:36:38 +0530)
> Trying to boot from MMC1
> 
> 
> U-Boot 2021.07-rc1-00179-g8ddaf94358 (May 03 2021 - 15:36:38 +0530)
> 
> CPU  : AM335X-GP rev 2.1
> Model: TI AM335x BeagleBone Black
> DRAM:  512 MiB
> WDT:   Started with servicing (60s timeout)
> NAND:  0 MiB
> MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
> Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1...
> <ethaddr> not set. Validating first E-fuse MAC
> Net:   eth2: ethernet at 4a100000, eth3: usb_ether
> Hit any key to stop autoboot:  0
> => gpio status -a
> Command 'gpio' failed: Error -19
> =>
> -------------------------------------------------------------------
> Regards,
> Adarsh
> 


More information about the U-Boot mailing list