Re: Basic syntax question

2020-04-08 Thread Harald Seiler
Hello Damien, On Wed, 2020-04-08 at 11:27 +0300, Damien LEFEVRE wrote: > Hi, > > I'm new to u-boot. I'm trying to store the return value of gpio command to > a variable. > > I have the following, (switch released): > Tegra186 (P2771--500) # gpio input FF1 > gpio: pin FF1 (gpio 241) value is

Basic syntax question

2020-04-08 Thread Damien LEFEVRE
Hi, I'm new to u-boot. I'm trying to store the return value of gpio command to a variable. I have the following, (switch released): Tegra186 (P2771--500) # gpio input FF1 gpio: pin FF1 (gpio 241) value is 1 Tegra186 (P2771--500) # setexpr X 'gpio input FF1' Tegra186 (P2771--500) # ech