Re: [PATCH v3 11/17] board_f: ppc: Factor out ppc-specific bdinfo setup

2020-07-28 Thread Ovidiu Panait
Hi Simon, On 28.07.2020 21:58, Simon Glass wrote: Hi Ovidiu, On Tue, 21 Jul 2020 at 10:43, Ovidiu Panait wrote: Hi Simon, On 21.07.2020 17:17, Simon Glass wrote: On Mon, 20 Jul 2020 at 08:20, Ovidiu Panait wrote: Factor out ppc-specific bdinfo setup from generic init sequence to arch_setu

Re: [PATCH v4 06/16] efi_loader: define UpdateCapsule api

2020-07-28 Thread AKASHI Takahiro
Heinrich, On Thu, Jul 23, 2020 at 05:54:27PM +0200, Heinrich Schuchardt wrote: > On 22.07.20 08:05, AKASHI Takahiro wrote: > > In this commit, skeleton functions for capsule-related API's are > > added under CONFIG_EFI_UPDATE_CAPSULE configuration. > > Detailed implementation for a specific capsul

Re: [PATCH v4 03/16] common: update: add a generic interface for FIT image

2020-07-28 Thread AKASHI Takahiro
Heinrich, On Wed, Jul 22, 2020 at 03:07:51PM +0200, Heinrich Schuchardt wrote: > On 22.07.20 08:05, AKASHI Takahiro wrote: > > The main purpose of this patch is to separate a generic interface for > > updating firmware using DFU drivers from "auto-update" via tftp. > > > > This function will also

[PATCH v2] board: Add support for iMX8QXP AI_ML board

2020-07-28 Thread Manivannan Sadhasivam
This commit adds initial board support for iMX8QXP AI_ML board from Einfochips. This board is one of the 96Boards Consumer Edition and AI boards of the 96Boards family based on i.MX8QXP SoC from NXP/Freescale. This initial supports contains following peripherals which are tested and known to work:

Re: [PATCH 1/1] cmd: bdinfo: cleanup phys_addr_t output

2020-07-28 Thread Heiko Schocher
Hello Heinrich, Am 28.07.2020 um 17:56 schrieb Heinrich Schuchardt: We currently print the memory size with at least 8 hexadecimal digits. This creates a ragged output on 64 bit boards, e.g. on a Kendryte K210: DRAM bank = 0x0002 -> start= 0x8060 -> size = 0x00

RE: [PATCH v4 0/5] add DM based reset driver for SiFive SoC's

2020-07-28 Thread Sagar Kadam
Hi Rick, > -Original Message- > From: Rick Chen > Sent: Wednesday, July 29, 2020 7:26 AM > To: Sagar Kadam > Cc: U-Boot Mailing List ; Paul Walmsley ( Sifive) > ; Palmer Dabbelt ; Anup > Patel ; Atish Patra ; Lukasz > Majewski ; Pragnesh Patel ; > bin.m...@windriver.com; Jagan Teki ; > S

RE: [PATCH v4 0/5] add DM based reset driver for SiFive SoC's

2020-07-28 Thread Sagar Kadam
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Wednesday, July 29, 2020 12:28 AM > To: Sagar Kadam > Cc: u-boot@lists.denx.de; r...@andestech.com; Paul Walmsley ( Sifive) > ; pal...@dabbelt.com; anup.pa...@wdc.com; > atish.pa...@wdc.com; lu...@denx.de; Pragnesh Patel > ; bin.m

Re: [PATCH v5 6/8] efi_loader: signature: rework for intermediate certificates support

2020-07-28 Thread AKASHI Takahiro
Heinrich, On Wed, Jul 22, 2020 at 01:00:30PM +0200, Heinrich Schuchardt wrote: > On 21.07.20 12:35, AKASHI Takahiro wrote: > > In this commit, efi_signature_verify(with_sigdb) will be re-implemented > > using pcks7_verify_one() in order to support certificates chain, where > > the signer's certifi

Re: [RFC 3/4] dtoc: add support for generate stuct udevice_id

2020-07-28 Thread Simon Glass
Hi Walter, On Sun, 26 Jul 2020 at 20:16, Walter Lozano wrote: > > Hi Simon, > > On 26/7/20 11:53, Simon Glass wrote: > > Hi Walter, > > > > On Tue, 7 Jul 2020 at 08:08, Walter Lozano > > wrote: > >> Hi Simon > >> > >> On 6/7/20 16:21, Simon Glass wrote: > >>> Hi Walter, > >>> > >>> On Fri, 19 J

Please pull u-boot-dm

2020-07-28 Thread Simon Glass
Hi Tom, The following changes since commit 3b191c56c841596771b4120f09fb556adf958b5c: Merge branch '2020-07-28-Kconfig-migrations' (2020-07-28 18:27:34 -0400) are available in the Git repository at: git://git.denx.de/u-boot-dm.git tags/dm-pull-28jul20 for you to fetch changes up to b9390ce5

[PATCH v2] travis: update sbsigntools to 0.9.4

2020-07-28 Thread AKASHI Takahiro
This version of sbsigntools is a prerequisite in testing "intermediate certificates" support as part of UEFI secure boot as I added '--addcert' option to 'sbsign' command: === commit 7d6210e4b1fd Author: AKASHI Takahiro Date: Thu Jun 4 16:50:22 2020 +0900 sbsign: allow for adding i

[PATCH v1 3/3] pico-imx6ul: convert ethernet function to DM_ETH

2020-07-28 Thread wig . cheng
From: Wig Cheng - Remove pinmux definition from pico-imx6ul.c - Enable NET_RANDOM_ETHADDR for temporary solution, because micrel_ksz8xxx driver does not support DM_ETH yet, so cannot read MAC address directly. Before enable DM_ETH: Net: FEC [PRIME] After enable DM_ETH: Net: Warning: usi

[PATCH v1 2/3] configs: pico-imx6ul: convert DM_VIDEO

2020-07-28 Thread wig . cheng
From: Wig Cheng Fix compile warning messages. Signed-off-by: Wig Cheng --- configs/pico-imx6ul_defconfig | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configs/pico-imx6ul_defconfig b/configs/pico-imx6ul_defconfig index e8cbf3bc1e..f02d370b7d 100644 --- a/configs/pico

Re: [PATCH v2 06/18] arm: mach-k3: sysfw-loader: Add support for rom loading sysfw image

2020-07-28 Thread Lokesh Vutla
On 27/07/20 10:47 pm, Suman Anna wrote: > Hi Lokesh, > > On 7/27/20 4:45 AM, Lokesh Vutla wrote: >> Starting J7200 SoC, ROM supports for loading sysfw directly from boot >> image. In such cases, SPL need not load sysfw from boot media, but need >> to receive boot notification message from sysfw

RE: [PATCH] mmc: am654_sdhci: Use MMC_MODES_END value instead of hardcoded value

2020-07-28 Thread Peng Fan
> Subject: [PATCH] mmc: am654_sdhci: Use MMC_MODES_END value instead > of hardcoded value > > The hardcoded array size leads to array overflows with changes in speed > modes enum in mmc core. Use MMC_MODES_END for otap_del_sel array > declaration to fix this. > > Signed-off-by: Faiz Abbas > ---

[PATCH v1 1/3] configs: pico-imx6ul: convert DM_USB

2020-07-28 Thread wig . cheng
From: Wig Cheng Here is the test commands: => ums 0 mmc 0 UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x71 Signed-off-by: Wig Cheng --- configs/pico-imx6ul_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/pico-imx6ul_defconfig b/configs/pico-imx6ul_defconfig

[PATCH v2] configs: pico-imx6: convert ethernet function to DM_ETH

2020-07-28 Thread wig . cheng
From: Wig Cheng Before enable _DM_ETH: Net: FEC [PRIME] After enable DM_ETH: Net: eth0: ethernet@2188000 Here is the test commands: => dhcp BOOTP broadcast 1 DHCP client bound to address 10.88.88.152 (146 ms) *** ERROR: `serverip' not set Cannot autoload with TFTPGET => ping

[PATCH v2 3/5] dm: Rename DM test flags to make them more generic

2020-07-28 Thread Simon Glass
The test flags used by driver model are currently not available to other tests. Rather than creating two sets of flags, make these flags generic by changing the DM_ prefix to UT_ and moving them to the test.h header. This will allow adding other test flags without confusion. Signed-off-by: Simon

Re: [PATCH v4 0/5] add DM based reset driver for SiFive SoC's

2020-07-28 Thread Rick Chen
Hi Sagar > From: Sagar Kadam [mailto:sagar.ka...@sifive.com] > Sent: Tuesday, July 28, 2020 11:19 PM > To: u-boot@lists.denx.de > Cc: Rick Jian-Zhi Chen(陳建志); Paul Walmsley ( Sifive); pal...@dabbelt.com; > anup.pa...@wdc.com; atish.pa...@wdc.com; lu...@denx.de; Pragnesh Patel; > bin.m...@windriv

[PATCH v2 2/5] console: Always define the console-recording functions

2020-07-28 Thread Simon Glass
On boards without console recording these function are currently missing. It is more convenient for them to be present but to return dummy values. That way if we know that a test needs recording, we can check if it is available, and skip the test if not, while avoiding #ifdefs. Update the header f

[PATCH v2 4/5] test: Add a flag for tests that need console recording

2020-07-28 Thread Simon Glass
Allow tests that need console recording to be marked, so they can be skipped if it is not available. Signed-off-by: Simon Glass --- (no changes since v1) include/test/test.h | 1 + test/cmd_ut.c | 10 ++ 2 files changed, 11 insertions(+) diff --git a/include/test/test.h b/inclu

[PATCH v2 1/5] test: Add a way to check part of a console line or skip it

2020-07-28 Thread Simon Glass
Some lines of the output are not worth testing, or not worth testing in their entirety. For example, when checking a hex dump we know that the hex-dump routine can display ASCII so we only need to check the hex bytes, not the ASCII dump. Add a new test macros which can check only part of a console

[PATCH v2 0/5] cmd: Fix 'md' and add a memory-search command

2020-07-28 Thread Simon Glass
Add various fixes and improvements to this command that were missed in the original version. Unfortunately I forgot to send v2. Changes in v2: - Add new patch to check part of a console line or skip it - Rename the Kconfig to CONFIG_CMD_MEM_SEARCH - Use a separate var for the remaining search leng

[PATCH v2 5/5] cmd: Update the memory-search command

2020-07-28 Thread Simon Glass
Add various fixes and improvements to this command that were missed in the original version. Unfortunately I forgot to send v2. - Fix Kconfig name - Use a separate variable for the remaining search length - Correct a minor bug - Move into a separate test suite - Add -q flag to the 'quiet' test to

[PATCH] mmc: am654_sdhci: Use MMC_MODES_END value instead of hardcoded value

2020-07-28 Thread Faiz Abbas
The hardcoded array size leads to array overflows with changes in speed modes enum in mmc core. Use MMC_MODES_END for otap_del_sel array declaration to fix this. Signed-off-by: Faiz Abbas --- drivers/mmc/am654_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mm

Re: [PATCH 6/8] arm: dts: Sync the sun50i-a64.dtsi from Linux 5.8-rc1

2020-07-28 Thread André Przywara
On 27/07/2020 14:16, Heinrich Schuchardt wrote: Hi Peter, Heinrich, > On 26.07.20 12:17, Peter Robinson wrote: >> On Thu, Jul 23, 2020 at 12:15 AM André Przywara >> wrote: >>> >>> On 22/07/2020 15:18, Peter Robinson wrote: Sync the Allwinner A64 sun50i-a64.dtsi from Linux. >>> >>> Hi Peter

Re: [PATCH 2/2] configs: migrate CONFIG_SPL_LOAD_FIT_ADDRESS to defconfigs

2020-07-28 Thread Tom Rini
On Mon, Jul 06, 2020 at 03:35:01PM +0800, peng@nxp.com wrote: > From: Peng Fan > > Done with: > ./tools/moveconfig.py -S SPL_LOAD_FIT_ADDRESS > ./tools/moveconfig.py -S SPL_LOAD_FIT_ADDRESS -H > > Signed-off-by: Peng Fan Applied to u-boot/master, thanks! -- Tom signature.asc Descripti

Re: [PATCH] configs: Remove dead CONFIG options

2020-07-28 Thread Tom Rini
On Fri, Jul 03, 2020 at 09:06:36AM -0500, Adam Ford wrote: > BOOTP_DEFAULT is defined in several boards, but this config > option is never checked or used. > > This patch removes this config option from config files and > the whitelist.txt > > Signed-off-by: Adam Ford > > diff --git a/include/

Re: [PATCH] Convert CONFIG_SYS_MMCSD_FS_BOOT_PARTITION to Kconfig

2020-07-28 Thread Tom Rini
On Fri, Jul 03, 2020 at 10:17:30AM -0500, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_SYS_MMCSD_FS_BOOT_PARTITION > > Signed-off-by: Adam Ford > > diff --git a/README b/README > index 6bac583666..b45c7b27d7 100644 Applied to u-boot/master, thanks! -- Tom signatur

Re: [PATCH 1/2] Kconfig: add SPL_LOAD_FIT_ADDRESS

2020-07-28 Thread Tom Rini
On Mon, Jul 06, 2020 at 03:35:00PM +0800, peng@nxp.com wrote: > From: Peng Fan > > Add SPL_LOAD_FIT_ADDRESS to make user could add it in defconfig > > Signed-off-by: Peng Fan Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] Convert CONFIG_ENV_OVERWRITE to Kconfig

2020-07-28 Thread Tom Rini
On Fri, Jul 03, 2020 at 06:48:56AM -0500, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_ENV_OVERWRITE > > Signed-off-by: Adam Ford > > diff --git a/arch/arm/mach-kirkwood/include/mach/config.h > b/arch/arm/mach-kirkwood/include/mach/config.h > index b6cf629c4f..beedc12

Re: [PATCH 2/2] Convert CONFIG_SPL_NAND_BASE et al to Kconfig

2020-07-28 Thread Tom Rini
On Fri, Jul 03, 2020 at 08:09:45AM -0500, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_SPL_NAND_BASE >CONFIG_SPL_NAND_IDENT > > Signed-off-by: Adam Ford > > diff --git a/README b/README > index b6d368041c..60d8e77256 100644 Applied to u-boot/master, thanks! -- T

Re: [PATCH] Convert CONFIG_BOOTP_SEND_HOSTNAME to Kconfig

2020-07-28 Thread Tom Rini
On Fri, Jul 03, 2020 at 09:00:14AM -0500, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_BOOTP_SEND_HOSTNAME > > Signed-off-by: Adam Ford > > diff --git a/README b/README > index 60d8e77256..6bac583666 100644 Applied to u-boot/master, thanks! -- Tom signature.asc De

Re: [PATCH 1/2] Convert CONFIG_SPL_NAND_DRIVERS et al to Kconfig

2020-07-28 Thread Tom Rini
On Fri, Jul 03, 2020 at 08:09:44AM -0500, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_SPL_NAND_DRIVERS >CONFIG_SPL_NAND_ECC >CONFIG_SPL_NAND_SIMPLE > > Signed-off-by: Adam Ford Note: While you're the listed maintainer of da850evm_nand, the patch as sent also

Re: [PATCH] Convert CONFIG_DRIVER_TI_EMAC_USE_RMII to Kconfig

2020-07-28 Thread Tom Rini
On Fri, Jul 03, 2020 at 08:27:12AM -0500, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_DRIVER_TI_EMAC_USE_RMII > > Signed-off-by: Adam Ford > > diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig > index 58fb91c1c5..a78a596d4d 100644 Applied to u-

Re: [PATCH] Convert CONFIG_BOOTP_DNS2 to Kconfig

2020-07-28 Thread Tom Rini
On Fri, Jul 03, 2020 at 08:45:28AM -0500, Adam Ford wrote: > The Kconfig already has BOOTP_DNS2, but not all boards have been > converted. This finishes converting the following to Kconfig: >CONFIG_BOOTP_DNS2 > > Signed-off-by: Adam Ford This migration was done in a previous patch, so defer

[PATCH v2] dtoc: add coverage test for unicode error

2020-07-28 Thread Walter Lozano
Add an additional test to dtoc in order improve the coverage, specifically to take into account the case of unicode error when scanning drivers. Signed-off-by: Walter Lozano --- Changes in v2: - Add missing files - Extend scan_drivers to use both relative and absolute paths tools/dtoc/dtb_plat

Re: [PATCH] dtoc: add coverage test for unicode error

2020-07-28 Thread Walter Lozano
Hi Simon, On 27/7/20 20:35, Simon Glass wrote: Hi Walter, On Mon, 20 Jul 2020 at 12:29, Walter Lozano wrote: Add an additional test to dtoc in order improve the coverage, specifically to take into account the case of unicode error when scanning drivers. Signed-off-by: Walter Lozano --- t

Re: AM335X Bootp of u-boot-spl.bin followed by tftp of u-boot.img. Is it possible?

2020-07-28 Thread Richard Lourette
Here is more information... I dumped the DTB to decompile to see what was in the device tree. I am working on a new board based upon the AM3352 that has only ethernet and a serial port. The goal is to use the device model exclusively for this. I am working with u-boot 2020.07rc4 presently. I am ha

RE: [PATCH] Clean up the Spansion/Cypress/Infineon device ID table

2020-07-28 Thread Bacem Daassi
The device s25fl512s is not offered with neither 64kB sector size, nor 512kB sector size, that's why s25fl512s_64k and s25fl512s_512k need to be removed from the device ID table. The device ID entries "s25fl512s_256k" and "s25fl512s" are exactly the same, that's why the entry "s25fl512s_256k" n

[PATCH v5 3/3] fastboot: Add default fastboot_set_reboot_flag implementation

2020-07-28 Thread Roman Kovalivskyi
Default implementation of fastboot_set_reboot_flag function that depends on "bcb" commands could be used in general case if there are no need to make any platform-specific implementation, otherwise it could be disabled via Kconfig option FASTBOOT_USE_BCB_SET_REBOOT_FLAG. Please note that FASTBOOT_

[PATCH v5 2/3] fastboot: Add support for 'reboot fastboot' command

2020-07-28 Thread Roman Kovalivskyi
Android 10 adds support for dynamic partitions and in order to support this userspace fastboot must be used[1]. New tool fastbootd is included into recovery. Userspace fastboot works from recovery and is launched if: 1) - Dynamic partitioning is enabled 2) - Boot control block has 'boot-fastboot'

[PATCH v5 0/3] Add support for booting into userspace fastboot

2020-07-28 Thread Roman Kovalivskyi
Android 10 adds support for dynamic partitions and in order to support them userspace fastboot must be used[1]. New tool called fastbootd is included into recovery image. Userspace fastboot works from recovery and is launched if: 1) - Dynamic partitioning is enabled 2) - Boot control block has 'bo

[PATCH v5 1/3] fastboot: Extend fastboot_set_reboot_flag with reboot reason

2020-07-28 Thread Roman Kovalivskyi
Extend fastboot_set_reboot_flag arguments with reboot reason so that it could handle different reboot cases in future. Signed-off-by: Roman Kovalivskyi --- arch/arm/mach-meson/board-common.c | 6 +- arch/arm/mach-rockchip/board.c | 6 +- board/amazon/kc1/kc1.c | 6

Re: [PATCH v1 05/24] pci: pci-uclass: Make DT subnode parse optional

2020-07-28 Thread Simon Glass
On Fri, 24 Jul 2020 at 04:09, Stefan Roese wrote: > > From: Suneel Garapati > > Parse subnode DT properties only if parent node is valid. > Otherwise, assert is triggered on ofnode_valid in ofnode_first_subnode > from dev_for_each_subnode. > > Signed-off-by: Suneel Garapati > Reviewed-by: Simon

Re: [PATCH v2] fit_image: Use calloc() to fix reproducibility issue

2020-07-28 Thread Vagrant Cascadian
On 2020-07-27, Fabio Estevam wrote: > Vagrant Cascadian reported that mx6cuboxi target no longer builds > reproducibility on Debian. > > One example of builds mismatches: > > 00096680: 696e 6700 736f 756e 642d 6461 6900 6465 ing.sound-dai.de > -00096690: 7465 6374 2d67 7069 6f73 te

Re: [PATCH v1 02/24] pci: pci-uclass: Remove #ifdef CONFIG_NR_DRAM_BANKS as its always set

2020-07-28 Thread Simon Glass
Hi Stefan, On Fri, 24 Jul 2020 at 04:09, Stefan Roese wrote: > > Since the migration to Kconfig, CONFIG_NR_DRAM_BANKS is configured for > all boards. Hence we can remove the conditional compilation and the code > path that will never get compiled. > > Signed-off-by: Stefan Roese > Cc: Tom Rini

Re: [PATCH v1 01/24] fdtdec: Add API to read pci bus-range property

2020-07-28 Thread Simon Glass
On Fri, 24 Jul 2020 at 04:09, Stefan Roese wrote: > > From: Suneel Garapati > > Add fdtdec_get_pci_bus_range to read bus-range property > values. > > Signed-off-by: Suneel Garapati > Cc: Simon Glass > > Signed-off-by: Stefan Roese > --- > > Changes in v1: > - Added return value description to

Re: [PATCH v2 01/18] Add MIT License

2020-07-28 Thread Simon Glass
On Mon, 20 Jul 2020 at 05:02, Anastasiia Lukianenko wrote: > > From: Anastasiia Lukianenko Please add commit message > > Signed-off-by: Anastasiia Lukianenko > --- > Licenses/README | 1 + > Licenses/mit.txt | 20 > 2 files changed, 21 insertions(+) > create mode 10064

Re: [PATCH v1 04/24] pci: pci-uclass: Fix incorrect argument in map_sysmem

2020-07-28 Thread Simon Glass
On Fri, 24 Jul 2020 at 04:09, Stefan Roese wrote: > > From: Suneel Garapati > > Minor spelling correction. Need to update this > > Signed-off-by: Suneel Garapati > Reviewed-by: Simon Glass > Cc: Bin Meng > > Signed-off-by: Stefan Roese > --- > > Changes in v1: > - Change patch subject > >

Re: [PATCH v1 03/24] pci: pci-uclass: Dynamically allocate the PCI regions

2020-07-28 Thread Simon Glass
Hi Stefan, On Fri, 24 Jul 2020 at 04:09, Stefan Roese wrote: > > Instead of using a fixed length pre-allocated array of regions, this > patch moves to dynamically allocating the regions based on the number > of available regions plus the necessary regions for DRAM banks. > > Since MAX_PCI_REGIONS

Re: [PATCH v1 22/24] watchdog: Add reset support for OcteonTX / TX2

2020-07-28 Thread Simon Glass
On Fri, 24 Jul 2020 at 04:09, Stefan Roese wrote: > > From: Suneel Garapati > > Adds support for Core 0 watchdog poke on OcteonTX and OcteonTX2 > platforms. > > Signed-off-by: Suneel Garapati > Signed-off-by: Stefan Roese > > --- > > Changes in v1: > - Change patch subject > - Remove inclusion

Re: [PATCH v1 14/24] arm: octeontx2: Add headers for OcteonTX2

2020-07-28 Thread Simon Glass
Hi Stefan, On Fri, 24 Jul 2020 at 04:09, Stefan Roese wrote: > > From: Suneel Garapati > > Signed-off-by: Suneel Garapati > > Signed-off-by: Stefan Roese > --- > > Changes in v1: > - Change patch subject > > arch/arm/include/asm/arch-octeontx2/board.h | 128 + > arch/arm/include/asm/arch-

Re: [PATCH v1 17/24] mmc: Remove static qualifier on mmc_power_init

2020-07-28 Thread Simon Glass
Hi Stefan, On Fri, 24 Jul 2020 at 04:09, Stefan Roese wrote: > > From: Suneel Garapati > > For platforms with multiple slot support like OcteonTX, > this is invoked per slot. > > Signed-off-by: Suneel Garapati > Cc: Peng Fan > > Signed-off-by: Stefan Roese > --- > > Changes in v1: > - Change

Re: [PATCH v1 13/24] arm: octeontx: Add headers for OcteonTX

2020-07-28 Thread Simon Glass
Hi Stefan, On Fri, 24 Jul 2020 at 04:09, Stefan Roese wrote: > > From: Suneel Garapati > > Signed-off-by: Suneel Garapati > > Signed-off-by: Stefan Roese > --- > > Changes in v1: > - Change patch subject > > arch/arm/include/asm/arch-octeontx/board.h| 123 ++ > arch/arm/include/asm/arch-

Re: [PATCH v1 15/24] ata: ahci: Add BAR index quirk for Cavium PCI SATA device

2020-07-28 Thread Simon Glass
Hi Stefan, On Fri, 24 Jul 2020 at 04:09, Stefan Roese wrote: > > From: Suneel Garapati > > For SATA controller found on OcteonTX SoC's, use non-standard PCI BAR0 > instead of BAR5. > > Signed-off-by: Suneel Garapati > Cc: Simon Glass > > Signed-off-by: Stefan Roese > --- > > Changes in v1: >

Re: [PATCH v1 09/24] pci: pci-uclass: Add VF BAR map support for Enhanced Allocation

2020-07-28 Thread Simon Glass
On Fri, 24 Jul 2020 at 04:09, Stefan Roese wrote: > > From: Suneel Garapati > > Makes dm_pci_map_bar API available to map BAR for Virtual function > PCI devices which support Enhanced Allocation. > > Signed-off-by: Suneel Garapati > Cc: Simon Glass > Cc: Bin Meng > > Signed-off-by: Stefan Roes

Re: [PATCH v1 16/24] pci: Add PCI controller driver for OcteonTX / TX2

2020-07-28 Thread Simon Glass
Hi Stefan, On Fri, 24 Jul 2020 at 04:09, Stefan Roese wrote: > > From: Suneel Garapati > > Adds support for PCI ECAM/PEM controllers found on OcteonTX > or OcteonTX2 SoC platforms. > > Signed-off-by: Suneel Garapati > Cc: Simon Glass > Cc: Bin Meng > > Signed-off-by: Stefan Roese > --- > > C

Re: [PATCH v1 11/24] pci: pci-uclass: Check validity of ofnode

2020-07-28 Thread Simon Glass
On Fri, 24 Jul 2020 at 04:09, Stefan Roese wrote: > > From: Suneel Garapati > > Add check if the referenced ofnode is valid. > > Signed-off-by: Suneel Garapati > Cc: Simon Glass > Cc: Bin Meng > > Signed-off-by: Stefan Roese > --- > > Changes in v1: > - New patch > > drivers/pci/pci-uclass.c

Re: [PATCH v1 08/24] pci: pci-uclass: Add support for Single-Root I/O Virtualization

2020-07-28 Thread Simon Glass
Hi Stefan, On Fri, 24 Jul 2020 at 04:09, Stefan Roese wrote: > > From: Suneel Garapati > > SR-IOV - Single Root I/O Virtualization > PF - Physical Function VF - Virtual Function > > If SR-IOV capability is present, use it to initialize Virtual Function > PCI device instances. pci_sriov_init func

Re: [PATCH v1 06/24] pci: pci-uclass: Add multi entry support for memory regions

2020-07-28 Thread Simon Glass
Hi Stefan, On Fri, 24 Jul 2020 at 04:09, Stefan Roese wrote: > > From: Suneel Garapati > > Enable PCI memory regions in ranges property to be of multiple entry. > This helps to add support for SoC's like OcteonTX/TX2 where every > peripheral is on PCI bus. > > Signed-off-by: Suneel Garapati > C

Re: [PATCH] sandbox, test: change hog gpio

2020-07-28 Thread Simon Glass
Hello Philippe, Am 24.07.2020 um 15:51 schrieb Philippe Reynes: > Since commit 9ba84329dc45 ("sandbox, test: add test for GPIO_HOG > function"), the gpio_a 0,1,2 and 3 are used by hog in test.dts. > But 2 leds 'sandbox:red' and 'sandbox:green' are using gpio_a 0 > and 1. As hog always request his

Re: [PATCH v1 07/24] pci: pci-uclass: Add support for Enhanced Allocation in Bridges

2020-07-28 Thread Simon Glass
On Fri, 24 Jul 2020 at 04:09, Stefan Roese wrote: > > From: Suneel Garapati > > If Enhanced Allocation capability is present in bridges, use it > to read the fixed sub-ordinate bus number. > > Signed-off-by: Suneel Garapati > Reviewed-by: Simon Glass > Cc: Bin Meng > > Signed-off-by: Stefan Ro

Re: [PATCH v3 11/17] board_f: ppc: Factor out ppc-specific bdinfo setup

2020-07-28 Thread Simon Glass
Hi Ovidiu, On Tue, 21 Jul 2020 at 10:43, Ovidiu Panait wrote: > > Hi Simon, > > On 21.07.2020 17:17, Simon Glass wrote: > > On Mon, 20 Jul 2020 at 08:20, Ovidiu Panait > > wrote: > >> Factor out ppc-specific bdinfo setup from generic init sequence to > >> arch_setup_bdinfo in arch/powerpc/lib/b

Re: [PATCH v4 23/27] rockchip: Drop the fit_spl_optee.sh script

2020-07-28 Thread Simon Glass
Now that all board use binman instead of this script, drop it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) arch/arm/mach-rockchip/fit_spl_optee.sh | 84 - 1 file changed, 84 deletions(-) delete mode 100755 arch/arm/mach-rockchip/fit_spl_

Re: [PATCH] gpio: Add support for gpio-line-names reading

2020-07-28 Thread Simon Glass
On Tue, 21 Jul 2020 at 07:15, Michal Simek wrote: > > The commit 2bd261dd1712 ("gpio: search for gpio label if gpio is not found > through bank name") introduced the option to search gpio via labels (gpio > hog). This patch is just follow up on this and fills pin name based on > gpio-line-names DT

Re: [PATCH v3 1/8] dm: button: add an uclass for button

2020-07-28 Thread Simon Glass
Add a new uclass for button that implements two functions: - button_get_by_label - button_get_status Reviewed-by: Simon Glass Signed-off-by: Philippe Reynes --- Changelog: v3: - no change v2: - re-order include - use uclass_id_foreach_dev - add comments to enum button_state_t drivers/Kconfig

Re: [PATCH v2 3/3] doc: verified-boot: add required-mode information

2020-07-28 Thread Simon Glass
Hi Thirupathaiah, On Fri, 17 Jul 2020 at 21:20, Thirupathaiah Annapureddy wrote: > > Signed-off-by: Thirupathaiah Annapureddy > --- > > Changes in v2: > - New > > doc/uImage.FIT/signature.txt | 14 ++ > 1 file changed, 14 insertions(+) > Reviewed-by: Simon Glass But I think we ne

Re: [PATCH] sandbox: enable FIT cipher support in defconfig

2020-07-28 Thread Simon Glass
On Thu, 16 Jul 2020 at 21:45, wrote: > > From: Patrick Oppenlander > > Linux distributions generally use the "make defconfig && make tools-all" > recipe to generate a uboot-tools (or similar) package. > > This patch enables FIT cipher support in the default mkimage build. > > Signed-off-by: Patri

Re: [PATCH v2 2/3] test: vboot: add tests for multiple required keys

2020-07-28 Thread Simon Glass
On Fri, 17 Jul 2020 at 21:20, Thirupathaiah Annapureddy wrote: > > This patch adds vboot tests to verify the support for multiple > required keys using new required-mode DTB policy. > > This patch also fixes existing test where dev > key is assumed to be marked as not required, although > it is ma

Re: [PATCH v2 1/3] vboot: add DTB policy for supporting multiple required conf keys

2020-07-28 Thread Simon Glass
Hi Thirupathaiah, On Fri, 17 Jul 2020 at 21:20, Thirupathaiah Annapureddy wrote: > > Currently FIT image must be signed by all required conf keys. This means > Verified Boot fails if there is a signature verification failure > using any required key in U-boot DTB. > > This patch introduces a new

Re: [PATCH v4 0/5] add DM based reset driver for SiFive SoC's

2020-07-28 Thread Simon Glass
Hi Sagar, On Tue, 28 Jul 2020 at 09:19, Sagar Kadam wrote: > > Hello Rick, > > > -Original Message- > > From: Sagar Kadam > > Sent: Monday, July 27, 2020 8:56 PM > > To: u-boot@lists.denx.de > > Cc: r...@andestech.com; Paul Walmsley ( Sifive) > > ; pal...@dabbelt.com; anup.pa...@wdc.com;

Re: [PATCH v3 3/8] cmd: button: add a new 'button' command

2020-07-28 Thread Simon Glass
Adds a command 'button' that provides the list of buttons supported by the board, and the state of a button. Reviewed-by: Simon Glass Signed-off-by: Philippe Reynes --- Changelog: v3: - no change v2 - no change cmd/Kconfig | 11 cmd/Makefile | 1 + cmd/button.c | 86

Re: [PATCH v4 05/27] rockchip: bob: Support SPI-flash booting

2020-07-28 Thread Simon Glass
Update the config for chromebook_bob to support booting from SPI flash. The existing SPL size is too small since ATF is needed, so double it. Signed-off-by: Simon Glass --- (no changes since v1) configs/chromebook_bob_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Applied

Re: [PATCH v3 4/8] sandbox: dtsi: add buttons

2020-07-28 Thread Simon Glass
Adds two buttons on sandbox so button framework may be tested. Reviewed-by: Simon Glass Signed-off-by: Philippe Reynes --- Changelog: v3: - update comptatible to "gpio-keys" v2: - no change arch/sandbox/dts/sandbox.dtsi | 14 ++ 1 file changed, 14 insertions(+) Applied to u-boot-d

Re: [PATCH] sandbox: enable FIT cipher support in defconfig

2020-07-28 Thread Simon Glass
On Thu, 16 Jul 2020 at 21:45, wrote: > > From: Patrick Oppenlander > > Linux distributions generally use the "make defconfig && make tools-all" > recipe to generate a uboot-tools (or similar) package. > > This patch enables FIT cipher support in the default mkimage build. > > Signed-off-by: Patri

Re: [PATCH] buildman: Allow using older versions of genboardscfg.py

2020-07-28 Thread Simon Glass
Older versions of this script don't support the -q flag. Since buildman runs this script from when it starts, we may get the old version. Fix this in two ways: 1. Use the version from the same tree as buildman is run from, if available 2. Failing that, allow the -q flag to be missing Signed-off-

Re: [PATCH v4 1/1] cmd: gpt: add eMMC and GPT support

2020-07-28 Thread Simon Glass
Hi Rayagonda, On Thu, 23 Jul 2020 at 06:01, Rayagonda Kokatanur wrote: > > From: Corneliu Doban > > Add eMMC and GPT support. > - GPT partition list and command to create the GPT added to u-boot > environment > - eMMC boot commands added to u-boot environment > - new gpt commands (enumarate an

Re: [PATCH] buildman: Correct the testOutputDir() unit test

2020-07-28 Thread Simon Glass
This current fails with an error. Fix it. Signed-off-by: Simon Glass Fixes: 7664b03ffc5 ("buildman: Remove _of_#_ from results directory paths") --- tools/buildman/test.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Applied to u-boot-dm, thanks!

Re: [PATCH] cmd: host: return value of do_host_bind()

2020-07-28 Thread Simon Glass
On Fri, 24 Jul 2020 at 00:30, Heinrich Schuchardt wrote: > > When trying to bind to a non-existent file the following output is > displayed: > > => host bind 0 non_existent > Failed to access host backing file 'non_existent' > exit not allowed from main input shell. > > The last line is quite unex

Re: [PATCH] pinctrl: aspeed: Fix Kconfig entry indentation

2020-07-28 Thread Simon Glass
On Thu, 23 Jul 2020 at 01:00, Michal Simek wrote: > > Fix Kconfig entry indentation for Aspeed ast2500 pin control driver. > > Fixes: 4f0e44e46615 ("aspeed: AST2500 Pinctrl Driver") > Signed-off-by: Michal Simek > --- > > drivers/pinctrl/Kconfig | 14 +++--- > 1 file changed, 7 insertion

Re: [PATCH v4 08/27] tegra: Drop the unused non-binman code

2020-07-28 Thread Simon Glass
This has been in the Makefile long enough to ensure migration is complete. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) Makefile | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) Applied to u-boot-dm, thanks!

Re: [PATCH v4 03/27] Makefile: Allow building .rom files for non-x86 boards

2020-07-28 Thread Simon Glass
Some non-x86 devices can use SPI flash to boot and need to produce images of a fixed size to program the flash. Add a way to handle this for non-x86 boards. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add a comment about CONFIG_SPL_FRAMEWORK Makefile | 14 ++

Re: [PATCH v2] dm: Fix build error when OF_CONTROL is not set

2020-07-28 Thread Simon Glass
On Thu, 23 Jul 2020 at 06:01, Dan Murphy wrote: > > With OF_CONTROL disabled the build fails for > include/dm/read.h:932:10: error: ‘ENOTSUPP’ undeclared (first use in this > function) > 932 | return -ENOTSUPP; > > Fixes: 45224e8f2691 ("dm: core: gracefully handle alias seq without of") > Sign

Re: [PATCH v3] i2c: eeprom: Use reg property instead of offset and size

2020-07-28 Thread Simon Glass
On Wed, 22 Jul 2020 at 04:14, Michal Simek wrote: > > Remove adhoc dt binding for fixed-partition definition for i2c eeprom. > fixed-partition are using reg property instead of offset/size pair. > > Signed-off-by: Michal Simek > --- > > Changes in v3: > - Add test for sandbox > - Fix issues relat

Re: [PATCH v2] gpio: octeon_gpio: Add GPIO controller driver for Octeon

2020-07-28 Thread Simon Glass
Hi Daniel, On Wed, 22 Jul 2020 at 05:47, Daniel Schwierzeck wrote: > > > Hi Daniel, > > > > On 21.07.20 16:59, Daniel Schwierzeck wrote: > > > > Hi Daniel, > > > > > > > > On 18.07.20 15:25, Daniel Schwierzeck wrote: > > > > > > From: Suneel Garapati > > > ... > > > > > found another issue: > >

Re: [PATCH] Makefile.lib: Build all DTS with -@ if OF_LIBFDT_OVERLAY is enabled

2020-07-28 Thread Simon Glass
On Wed, 22 Jul 2020 at 06:58, Michal Simek wrote: > > The commit 47818e23a228 ("Makefile.lib: include /__symbols__ in dtb if > SPL_LOAD_FIT_APPLY_OVERLAY is enabled") enables DT building as overlays > based on symbols which depends on SPL. But there is already an option to > apply overlays in full

Re: [PATCH v4 09/27] tegra: Don't enable binman on ARMv8 SoCs

2020-07-28 Thread Simon Glass
At present only the ARMv7 tegra SoCs actually use binman to create an image. Change the config to reflect this, since otherwise running binman will produce an error. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-tegra/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 delet

Re: rk3399-gru-kevin: issues on bringup

2020-07-28 Thread Simon Glass
Hi Marty, On Tue, 21 Jul 2020 at 21:07, Marty E. Plummer wrote: > > On Tue, Jul 21, 2020 at 10:21:52AM -0600, Simon Glass wrote: > > Hi Marty, > > > > Did you check spl_boot_device()? > > > After sending the initial email I noticed your binman work, which does > some of the stuff I think I need.

Re: [PATCH v4 20/27] Makefile: Warn against using CONFIG_SPL_FIT_GENERATOR

2020-07-28 Thread Simon Glass
This option is used to run arch-specific shell scripts which produce .its files which are used to produce FIT images. We already have binman which is designed to produce firmware images. It is more powerful and has tests. So this option should be deprecated and not used. Existing uses should be mi

Re: [PATCH v2 02/18] Kconfig: Introduce CONFIG_XEN

2020-07-28 Thread Simon Glass
Hi Anastasiia, On Mon, 20 Jul 2020 at 05:02, Anastasiia Lukianenko wrote: > > From: Peng Fan > > Introduce CONFIG_XEN to make U-Boot could be used as bootloader > for a virtual machine. > > Without bootloader, we could successfully boot up android on XEN, but > we need need bootloader to support

Re: [PATCH v4 07/27] rockchip: Enable building a SPI ROM image on bob

2020-07-28 Thread Simon Glass
Add a simple binman config and enable CONFIG_HAS_ROM so that U-Boot produces a ROM for bob. Signed-off-by: Simon Glass --- Changes in v4: - Use CONFIG_ROCKCHIP_SPI_IMAGE to select the image arch/arm/dts/rk3399-gru-u-boot.dtsi | 4 arch/arm/dts/rk3399-gru.dtsi | 2 +- arch/arm

Re: [PATCH v4 1/2] arm: move CONFIG_PREBOOT="usb start" to KConfig

2020-07-28 Thread Simon Glass
On Sun, 19 Jul 2020 at 07:56, Jonas Smedegaard wrote: > > This commit moves CONFIG_PREBOOT="usb start" to common/KConfig > for all boards also declaring USB_KEYBOARD. > > Besides simplifying defconfig files, this also enables support for > board-specific CONFIG_PREBOOT for sunxi boards: > commit 3

Re: [PATCH v4 02/27] rockchip: Allow Bob to use SPI boot

2020-07-28 Thread Simon Glass
Bob is a Chromebook and can boot from SPI flash. Add it to the condition check for this. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-rockchip/spl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Applied to u-boot-dm, thanks!

Re: [PATCH v4 22/27] rockchip: Convert evb-rk3229 over to use binman

2020-07-28 Thread Simon Glass
At present this board uses a custom script to produce the .its file. Update it to use binman instead. Binman can create all the images that are needed. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Drop leftover debugging configs/evb-rk3229_defconfig | 2 +- 1 file cha

Re: [PATCH 1/1] dm: remove superfluous comment for union ofnode_union

2020-07-28 Thread Simon Glass
On Fri, 24 Jul 2020 at 10:39, Heinrich Schuchardt wrote: > > "future live tree" does not make sense anymore as we have CONFIG_OF_LIVE. > > Signed-off-by: Heinrich Schuchardt > --- > include/dm/ofnode.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Simon Glass

Re: [PATCH v4 04/27] rockchip: jerry: Add serial support

2020-07-28 Thread Simon Glass
This option allows the serial console to work correctly. Add it. Signed-off-by: Simon Glass --- (no changes since v1) configs/chromebook_jerry_defconfig | 1 + 1 file changed, 1 insertion(+) Applied to u-boot-dm, thanks!

Re: [PATCH v3 8/8] test: dm: add a test for class button

2020-07-28 Thread Simon Glass
On Fri, 24 Jul 2020 at 10:20, Philippe Reynes wrote: > > Add a test to confirm that we can read button state > using the button-gpio driver. > > Signed-off-by: Philippe Reynes > --- > Changelog: > v3: > - no change > v2: > - new commit in the serie > > test/dm/Makefile | 1 + > test/dm/button.c

Re: [PATCH v4 10/27] Makefile: Rename ALL-y to INPUTS-y

2020-07-28 Thread Simon Glass
When binman is in use, most of the targets built by the Makefile are inputs to binman. We then need a final rule to run binman to produce the final outputs. Rename the variable to indicate this, and add a new 'inputs' target. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v4:

Re: [PATCH v4 16/27] mediatek: Makefile: Drop explicit targets built by binman

2020-07-28 Thread Simon Glass
On mediatek various files that need to be created by binman. It does not make sense to enumerate these in the Makefile. They are described in the configuration (devicetree) for each board and we can simply run binman (always) to generate them. This avoid sprinkling the Makefile with arch-specific

  1   2   3   >