[PATCH v2] cmd: gpio: Add `gpio read` subcommand

2022-04-11 Thread Diego Rondini
the value of a GPIO in scripts we introduce the `gpio read` command that sets the variable `name` to the value of the pin. Return code of the `gpio read` command can be used to check for CMD_RET_SUCCESS or CMD_RET_FAILURE. CONFIG_CMD_GPIO_READ is used to enable the `gpio read` command. Signed-off

[PATCH] cmd: gpio: Add `gpio read` subcommand

2022-03-22 Thread Diego Rondini
the value of a GPIO in scripts we introduce the `gpio read` command that sets the variable `name` to the value of the pin. Return code of the `gpio read` command can be used to check for CMD_RET_SUCCESS or CMD_RET_FAILURE. Signed-off-by: Diego Rondini --- cmd/gpio.c

Re: [U-Boot] How to enable USB Mass Storage

2020-05-22 Thread Diego Rondini
eported also elsewhere: http://patchwork.ozlabs.org/project/uboot/patch/caexmxltm9bhx7aaub+mazgbdw2ccsoo3ne6ep7dbm8mmrya...@mail.gmail.com/#1976362 http://linux-sunxi.org/U-Boot/USB_Mass_Storage#Prerequisites Regards, Diego Rondini

Re: Sourcing a signed boot script

2019-12-06 Thread Diego Rondini
gnature, > extract the script and use it. > > (And yes, I don't think that checking the signature for script works > out of the box). > I will have a look at your suggestion and report back the outcome! Thanks again, Diego Rondini

Sourcing a signed boot script

2019-12-05 Thread Diego Rondini
According to the docs[1] it seems that it's not possible yet to verify a FIT image signature without also booting the corresponding image. Is that right? [1] https://gitlab.denx.de/u-boot/u-boot/blob/v2019.10/doc/uImage.FIT/signature.txt#L580 Thank you, Diego Rondini

Re: [PATCH v2] sun8i: h3: Support H3 variant of Orange Pi Zero Plus 2

2019-12-05 Thread Diego Rondini
On Tue, Nov 19, 2019 at 2:47 PM Diego Rondini wrote: > > Orangepi Zero Plus 2 is an open-source single-board computer, available > in two Allwinner SOC variants, H3 and H5. We add support for H3 variant > here, as the H5 is already supported. > > H3 Orangepi Zero Plus 2 has: &g

[U-Boot] [PATCH v2] sun8i: h3: Support H3 variant of Orange Pi Zero Plus 2

2019-11-19 Thread Diego Rondini
a6912f4811) has been avoided as it breaks U-Boot build. Signed-off-by: Diego Rondini --- Changes in v2: - clarify where the dts comes from --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/sun8i-h3-orangepi-zero-plus2.dts | 139 ++ boa

[U-Boot] [PATCH] sun8i: h3: Support H3 variant of Orange Pi Zero Plus 2

2019-11-06 Thread Diego Rondini
- Wifi + BT - OTG + power supply Signed-off-by: Diego Rondini --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/sun8i-h3-orangepi-zero-plus2.dts | 139 ++ board/sunxi/MAINTAINERS | 5 + configs/orangepi_zero_plus2_h3_defconfig