Re: [PATCH 5/9] part: Support string block devices in part_get_info_by_dev_and_name

2021-01-07 Thread Simon Glass
On Thu, 31 Dec 2020 at 15:49, Sean Anderson wrote: > > This adds support for things like "#partname" and "0.1#partname". The block > device parsing is done like in blk_get_device_part_str. > > Signed-off-by: Sean Anderson > --- > > disk/part.c | 32 +--- > 1 file

Re: [PATCH 2/9] test: dm: Add test for fastboot mmc partition naming

2021-01-07 Thread Simon Glass
On Thu, 31 Dec 2020 at 15:49, Sean Anderson wrote: > > This test verifies the mapping between fastboot partitions and partitions > as understood by U-Boot. It also tests the creation of GPT partitions, > though that is not the primary goal. > > Signed-off-by: Sean Anderson > --- > >

Re: [PATCH 3/9] part: Give several functions more useful return values

2021-01-07 Thread Simon Glass
On Thu, 31 Dec 2020 at 15:49, Sean Anderson wrote: > > Several functions in disk/part.c just return -1 on error. This makes them > return different errnos for different failures. This helps callers > differentiate between failures, even if they cannot read stdout. > > Signed-off-by: Sean Anderson

Re: [PATCH RFC v2 5/5] test/py: ecdsa: Add test for mkimage ECDSA signing

2021-01-07 Thread Simon Glass
Hi Alexandru, On Wed, 30 Dec 2020 at 14:00, Alexandru Gagniuc wrote: > > Add a test to make sure that the ECDSA signatures generated by > mkimage can be verified successfully. pyCryptodomex was chosen as the > crypto library because it integrates much better with python code. > Using openssl

Re: [PATCH 1/1] fs/fat: implement fsuuid command

2021-01-07 Thread Simon Glass
On Wed, 30 Dec 2020 at 16:53, Heinrich Schuchardt wrote: > > The FAT file system does not have a UUID but a 4 byte volume ID. > Let the fsuuid command show it in - format. > > Signed-off-by: Heinrich Schuchardt > --- > fs/fat/fat.c | 18 ++ > fs/fs.c | 2 +- >

Re: [PATCH RFC v2 2/5] lib/rsa: Make fdt_add_bignum() available outside of RSA code

2021-01-07 Thread Simon Glass
Hi Alexandru, On Wed, 30 Dec 2020 at 14:00, Alexandru Gagniuc wrote: > > fdt_add_bignum() is useful for algorithms other than just RSA. To > allow its use for ECDSA, move it to a common file under lib/. > > The new file is suffixed with '-libcrypto' because it has a direct > dependency on

Re: [PATCH RFC v2 3/5] lib: Add support for ECDSA image signing

2021-01-07 Thread Simon Glass
Hi Alexandru, On Wed, 30 Dec 2020 at 14:00, Alexandru Gagniuc wrote: > > mkimage supports rsa2048, and rsa4096 signatures. With newer silicon > now supporting hardware-accelerated ECDSA, it makes sense to expand > signing support to elliptic curves. > > Implement host-side ECDSA signing and

Re: [PATCH] doc/sandbox: improve formatting of command line options

2021-01-07 Thread Simon Glass
On Wed, 30 Dec 2020 at 10:10, Heinrich Schuchardt wrote: > > Show the command line options in bold. > > Signed-off-by: Heinrich Schuchardt > --- > doc/arch/sandbox.rst | 28 ++-- > 1 file changed, 14 insertions(+), 14 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH v2 00/34] Sama7g5 Evaluation Kit support

2021-01-07 Thread Eugen.Hristev
On 05.12.2020 12:02, Eugen Hristev wrote: > Hello, > > This series adds support for sama7g5 SoC DT and the sama7g5ek board. > I kept the original incremental development for this board, with each > commit's author and designated change, for traceability and for easier > reviewing. > > The series

Re: [PATCH] arm: at91: configs: Enable CONFIG_SYS_NAND_USE_FLASH_BBT on all boards

2021-01-07 Thread Eugen.Hristev
On 26.11.2020 14:16, Alexander Dahl wrote: > Hello, > > Am Donnerstag, 26. November 2020, 09:21:35 CET schrieb Eugen Hristev: >> From: Nicolas Ferre >> >> As highlighted by Stefan in the commit e074d0f79b2e ("arm: at91: >> gardena-smart-gateway-at91sam: Enable CONFIG_SYS_NAND_USE_FLASH_BBT") >>

[PATCH 1/4] dt-bindings: pinctrl: at91-pio4: update license to SPDX style

2021-01-07 Thread Eugen Hristev
Update license header to SPDX style Signed-off-by: Eugen Hristev --- include/dt-bindings/pinctrl/at91.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/dt-bindings/pinctrl/at91.h b/include/dt-bindings/pinctrl/at91.h index 616f5ce400..5afb1863c3 100644 ---

[PATCH 4/4] pinctrl: at91-pio4: implement drive strength support

2021-01-07 Thread Eugen Hristev
Implement drive strength support, by preserving the same bindings as in Linux. Signed-off-by: Eugen Hristev --- arch/arm/mach-at91/include/mach/atmel_pio4.h | 1 + drivers/pinctrl/pinctrl-at91-pio4.c | 8 include/dt-bindings/pinctrl/at91.h | 4 3 files changed,

[PATCH 2/4] dt-bindings: pinctrl: at91-pio4: add property for drive strength

2021-01-07 Thread Eugen Hristev
Add drive strength property which is equivalent with the one in Linux Signed-off-by: Eugen Hristev --- doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt

[PATCH 3/4] pinctrl: at91-pio4: convert to dev_read_prop

2021-01-07 Thread Eugen Hristev
Use dev_read_prop instead of using the fdt_read_property which reads from the GD struct's fdt. This way the node is accessed via the device config instead of the global struct, which makes code more portable and GD independent. Signed-off-by: Eugen Hristev ---

Re: [PATCH v4 0/3] tools/sunxi: Use mkimage for SPL generation

2021-01-07 Thread Samuel Holland
On 1/6/21 3:24 AM, Andre Przywara wrote: > Hi, > > a small update fixing the strncpy bug and addressing too long DT names > properly. Thanks to Samuel for pointing this out. > == > > So far creating a bootable SPL image for Allwinner based boards uses > the mksunxiboot tool. Most

[PATCH V3] net: dwc_eth_qos: Pad descriptors to cacheline size

2021-01-07 Thread Marek Vasut
The DWMAC4 IP has the possibility to skip up to 7 AXI bus width size words after the descriptor. Use this to pad the descriptors to cacheline size and remove the need for noncached memory altogether. Moreover, this lets Tegra use the generic cache flush / invalidate operations. Signed-off-by:

[v2 6/6] configs: socfpga: Add defconfig for Agilex with VAB support

2021-01-07 Thread Siew Chin Lim
Booting Agilex with Vendor Authorized Boot. Signed-off-by: Siew Chin Lim --- v2 --- - Renamed CONFIG_SECURE_VAB_AUTH to CONFIG_SOCFPGA_SECURE_VAB_AUTH - Add BOOTCOMMAND macro in defconfig --- .../{socfpga_agilex_atf_defconfig => socfpga_agilex_vab_defconfig} | 5 +++-- 1 file changed, 3

[v2 5/6] configs: socfpga: soc64: Move CONFIG_BOOTCOMMAND to defconfig

2021-01-07 Thread Siew Chin Lim
CONFIG_BOOTCOMMAND have been moved to Kconfig.boot. This patch move the CONFIG_BOOTCOMMAND macro from socfpga_soc64_common.h to *_defconfig file for both Stratix 10 and Agilex. Signed-off-by: Siew Chin Lim --- v2 --- - This is new patch in 2nd version of VAB series. This is code clean up

[v2 4/6] arm: socfpga: dts: soc64: Update filename in binman node of FIT image with VAB support

2021-01-07 Thread Siew Chin Lim
FIT image of Vendor Authentication Coot (VAB) contains signed images. Signed-off-by: Siew Chin Lim --- arch/arm/dts/socfpga_soc64_fit-u-boot.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/dts/socfpga_soc64_fit-u-boot.dtsi

[v2 3/6] arm: socfpga: cmd: Support 'vab' command

2021-01-07 Thread Siew Chin Lim
Support 'vab' command to perform vendor authentication. Command format: vab addr len Authorize 'len' bytes starting at 'addr' via vendor public key Signed-off-by: Siew Chin Lim --- arch/arm/mach-socfpga/Makefile | 1 + arch/arm/mach-socfpga/vab.c| 37 +

[v2 2/6] arm: socfpga: soc64: Support Vendor Authorized Boot (VAB)

2021-01-07 Thread Siew Chin Lim
Vendor Authorized Boot is a security feature for authenticating the images such as U-Boot, ARM trusted Firmware, Linux kernel, device tree blob and etc loaded from FIT. After those images are loaded from FIT, the VAB certificate and signature block appended at the end of each image are sent to

[v2 1/6] arm: socfpga: Move Stratix10 and Agilex to use TARGET_SOCFPGA_SOC64

2021-01-07 Thread Siew Chin Lim
Create common macro TARGET_SOCFPGA_SOC64 for Stratix10 and Agilex. Signed-off-by: Siew Chin Lim --- v2 --- - This is new patch in 2nd version of VAB series. This is code clean up without functional change. --- arch/arm/Kconfig| 6 +++---

[v2 0/6] Add Vendor Authorized Boot (VAB) support

2021-01-07 Thread Siew Chin Lim
This is the 2nd version of patchset to add Vendor Authorized Boot (VAB) support for Intel Agilex SoC device. Vendor Authorized Boot is a security feature for authenticating the images such as U-Boot, ARM trusted Firmware, Linux kernel, device tree blob and etc loaded from FIT. After those images

Re: [PATCH 01/17] sunxi: Add support for AXP305 PMIC

2021-01-07 Thread André Przywara
On 06/01/2021 23:33, Jaehoon Chung wrote: > On 1/6/21 7:11 PM, André Przywara wrote: >> On 05/01/2021 22:36, Jaehoon Chung wrote: >> >> Hi, >> >> thanks for having a look! >> >>> Hi Jernej >>> >>> On 1/3/21 6:26 PM, Jernej Skrabec wrote: This PMIC can be found on H616 boards and it's very

<    1   2