Re: [PATCH] Add support for SHA384 and SHA512

2020-04-27 Thread Reuben Dowle
On Sat, 25 Apr 2020 at 03:08, Tom Rini wrote: > > Two general comments. First, please use CONFIG_IS_ENABLED() to test for > the new symbols so that we won't have any growth in SPL if we have one > of these enabled in the main binary but NOT SPL. Second, please > make sure that all new files

RE: [PATCH v3] armv8: ls1046ardb: update the WRLVL_START to accommodate more DIMM

2020-04-27 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Yuantian Tang >Sent: Monday, April 20, 2020 10:23 AM >To: Priyanka Jain >Cc: u-boot@lists.denx.de; Andy Tang >Subject: [PATCH v3] armv8: ls1046ardb: update the WRLVL_START to >accommodate more DIMM > >The WRLVL_START values are optimized

Re: Re: [PATCH v7 7/9] acpi: Put table-setup code in its own function

2020-04-27 Thread Bin Meng
Hi Wolfgang, On Mon, Apr 27, 2020 at 2:36 PM Wolfgang Wallner wrote: > > Hi Bin, Simon, > > -"Simon Glass" schrieb: - > > Betreff: Re: [PATCH v7 7/9] acpi: Put table-setup code in its own function > > > > Hi Bin, > > > > On Thu, 23 Apr 2020 at 03:38, Bin Meng wrote: > > > > > > Hi

RE: [v2 01/27] rtc: ds1337: Add driver model support

2020-04-27 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Friday, April 17, 2020 3:57 PM >To: Jagdish Gediya ; Priyanka Jain >; h...@denx.de; ja...@amarulasolutions.com; >aford...@gmail.com; Alison Wang ; >jh80.ch...@samsung.com; Pramod Kumar ; >Rajesh Bhagat ; Ruchika Gupta >;

RE: [v2 02/27] rtc: pt7c4338: Add driver model support

2020-04-27 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Friday, April 17, 2020 3:57 PM >To: Jagdish Gediya ; Priyanka Jain >; h...@denx.de; ja...@amarulasolutions.com; >aford...@gmail.com; Alison Wang ; >jh80.ch...@samsung.com; Pramod Kumar ; >Rajesh Bhagat ; Ruchika Gupta >;

Re: U-Boot Statistics updates?

2020-04-27 Thread Wolfgang Denk
Dear Bin, In message you wrote: > +Wolfgang > > On Sat, Apr 25, 2020 at 7:42 PM Adam Ford wrote: > > > > Tom, > > > > I noticed the stats for January 2020.01 haven't been released. > > > > https://www.denx.de/wiki/U-Boot/ReleaseCycle > > > > Is that no longer going to be supported? > > I only

Re: [PATCH v1 10/10] config: Enable support for the XHCI controller on RPI4 board

2020-04-27 Thread Nicolas Saenz Julienne
On Fri, 2020-04-24 at 18:50 +0200, Sylwester Nawrocki wrote: > +CONFIG_XHCI_64BIT_DWORD_ACCESS_ONLY=y This one slipped trough :) Regards, Nicolas signature.asc Description: This is a digitally signed message part

[PATCH] regulator: fix: enable gpio when requested

2020-04-27 Thread Mark Kettenis
The fix in commit b7adcdd073c0 has the side-effect that the regulator will be disabled when requesting the relevant gpio in regulator_common_ofdata_to_platdata() and enabled in regulator_pre_probe() when the regulator was already enabled. This leads to a short interruption in the 3.3V power to the

Re: [PATCH v1 10/10] config: Enable support for the XHCI controller on RPI4 board

2020-04-27 Thread Sylwester Nawrocki
On 27.04.2020 11:11, Nicolas Saenz Julienne wrote: > On Fri, 2020-04-24 at 18:50 +0200, Sylwester Nawrocki wrote: >> +CONFIG_XHCI_64BIT_DWORD_ACCESS_ONLY=y > This one slipped trough :) Indeed, I have already removed it for next iteration. -- Regards, Sylwester

Please pull u-boot-video

2020-04-27 Thread Anatolij Gustschin
Hi Tom, The following changes since commit d202f67db0771247de562af5d6a5df778702857b: Merge branch '2020-04-25-master-imports' (2020-04-25 08:20:22 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-video.git tags/video-for-v2020.07-rc1 for you

Re: [PATCH v3 1/2] arm: stm32mp: activate data cache in SPL and before relocation

2020-04-27 Thread Patrice CHOTARD
Hi Patrick, some typos below On 4/24/20 8:24 PM, Patrick Delaunay wrote: > Activate the data cache in SPL and in U-Boot before relocation. > > In arch_cpu_init(), the function early_enable_caches() sets the early > TLB, early_tlb[] located .init section, and set cacheable: > - for SPL, all the

Re: [PATCH] arm: socfpga: stratix10: Fix incorrect CLKMGR_S10_PERPLL_BYPASS offset

2020-04-27 Thread Marek Vasut
On 4/27/20 9:07 AM, Tan, Ley Foon wrote: > > >> -Original Message- >> From: Tan, Ley Foon >> Sent: Monday, April 20, 2020 4:17 PM >> To: u-boot@lists.denx.de >> Cc: Marek Vasut ; Ley Foon Tan ; >> See, Chin Liang ; Simon Goldschmidt >> ; Ang, Chee Hong >> ; Tan, Ley Foon >> Subject:

[PATCH 04/10] efi_loader: capsule: add capsule_on_disk support

2020-04-27 Thread AKASHI Takahiro
Capsule data can be loaded into the system either via UpdateCapsule runtime service or files on a file system (of boot device). The latter case is called "capsules on disk", and actual updates will take place at the next boot time. In this commit, we will support capsule on disk mechanism.

[PATCH 02/10] efi_loader: add option to initialise EFI subsystem early

2020-04-27 Thread AKASHI Takahiro
If this option is enabled, the initialisation of UEFI subsystem will be done as part of U-Boot initialisation. This feature will be utilised in implementing capsule-on-disk feature. Signed-off-by: AKASHI Takahiro --- common/board_r.c | 6 ++ lib/efi_loader/Kconfig | 4 2 files

[PATCH 00/10] efi_loader: add capsule update support

2020-04-27 Thread AKASHI Takahiro
Summary === 'UpdateCapsule' is one of runtime services defined in UEFI specification and its aim is to allow a caller (OS) to pass information to the firmware, i.e. U-Boot. This is mostly used to update firmware binary on devices by instructions from OS. While 'UpdateCapsule' is a runtime

[PATCH 01/10] efi_loader: disk: add efi_disk_is_system_part()

2020-04-27 Thread AKASHI Takahiro
This function will check if a given handle to device is a EFI system partition. It will be utilised in implementing capsule-on-disk feature. Signed-off-by: AKASHI Takahiro --- include/efi_loader.h | 2 ++ lib/efi_loader/efi_disk.c | 22 ++ 2 files changed, 24

Re: [PATCH v1 01/10] usb: xhci: Add missing cache flush in the scratchpad array initialization

2020-04-27 Thread Nicolas Saenz Julienne
On Fri, 2020-04-24 at 18:50 +0200, Sylwester Nawrocki wrote: > In current code there is no cache flush after initializing the scratchpad > buffer array with the scratchpad buffer pointers. This leads to a failure > of the "slot enable" command on the rpi4 board (Broadcom STB PCIe > controller +

Re: [PATCH V3 14/14] ARM: dts: stm32: Split AV96 into DHCOR SoM and AV96 board

2020-04-27 Thread Marek Vasut
On 4/24/20 4:31 PM, Patrick DELAUNAY wrote: > Dear Marek, > >> From: Marek Vasut >> Sent: mardi 31 mars 2020 19:52 >> >> The AV96 is in fact an assembly of DH Electronics DHCOR SoM on top of an >> AV96 reference board. Split the DTs to reflect that and make sure to DHCOR >> SoM >> can be reused

[PATCH V2 10/24] imx8m: update clock root and fix core_sel

2020-04-27 Thread Peng Fan
Update clock root table to let it be easy to configure clock at very early stage. Also the core_sel mux parent should be A53 CLK root and ARM PLL. Reviewed-by: Fabio Estevam Signed-off-by: Peng Fan --- V2: Add Fabio's R-b tag Based on Marek's fec clock part to avoid conflict when merge.

U-Boot v2020.01 Release Statistics

2020-04-27 Thread Wolfgang Denk
Hi all, sorry for being late: U-Boot v2020.01 Release Statistics Processed 1826 csets from 192 developers 29 employers found A total of 180486 lines added, 41174 removed (delta 139312) Developers with the most changesets Simon Glass235 (12.9%) Peng Fan 124

Re: [Uboot-stm32] [PATCH 1/3] env: mmc: allow support of mmc_get_env_dev with OF_CONTROL

2020-04-27 Thread Patrice CHOTARD
Hi Joe As ENV maintainer, do you expect to send a pull request including this series soon ? We got others series depending of this one in the pipe and we wanted to include them in next v2020.07 release. Thanks Patrice On 3/19/20 10:59 AM, Patrick Delaunay wrote: > Use the weak function

[PATCH v4] lx2160a : Update eMMC boot environment variable

2020-04-27 Thread Meenakshi Aggarwal
Update mcinitcmd and bootcmd environment variable for emmc boot. Signed-off-by: Meenakshi Aggarwal --- Changes in V2: - Reword commit message Changes in V3: - Reword commit message - Add "mmc dev 1" in mcinitcmd variable to select eMMC Changes in V4: -

Re: [PATCH] cmd: cache: Fix non-cached memory cachability

2020-04-27 Thread Marek Vasut
On 4/23/20 6:01 PM, Patrice Chotard wrote: [...] > diff --git a/arch/arm/lib/cache.c b/arch/arm/lib/cache.c > index 007d4ebc49..7f3cfb407c 100644 > --- a/arch/arm/lib/cache.c > +++ b/arch/arm/lib/cache.c > @@ -73,6 +73,15 @@ static unsigned long noncached_start; > static unsigned long

Re: [PATCH v1 00/49] add support for broadcom NS3 soc

2020-04-27 Thread Marek Vasut
On 4/27/20 12:47 PM, Rayagonda Kokatanur wrote: > This patch series adds support for Broadcom Northstar 3 SoC. Please, do keep the CC sane, don't CC everyone. [...] > arch/arm/Kconfig | 10 + > arch/arm/cpu/armv8/Makefile | 1 + >

RE: [v2 04/27] dm: powerpc: P5040DS: add i2c DM support

2020-04-27 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Friday, April 17, 2020 3:57 PM >To: Jagdish Gediya ; Priyanka Jain >; h...@denx.de; ja...@amarulasolutions.com; >aford...@gmail.com; Alison Wang ; >jh80.ch...@samsung.com; Pramod Kumar ; >Rajesh Bhagat ; Ruchika Gupta >;

RE: [v2 03/27] powerpc: create dts component of i2c to build up an SoC

2020-04-27 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Friday, April 17, 2020 3:57 PM >To: Jagdish Gediya ; Priyanka Jain >; h...@denx.de; ja...@amarulasolutions.com; >aford...@gmail.com; Alison Wang ; >jh80.ch...@samsung.com; Pramod Kumar ; >Rajesh Bhagat ; Ruchika Gupta >;

Re: [PATCH v2] Nokia RX-51: Add automated test for running RX-51 build in qemu

2020-04-27 Thread Pali Rohár
On Saturday 25 April 2020 11:00:06 Pali Rohár wrote: > This patch contains test/nokia_rx51_test.sh script which automatically > download and compile all needed tools in local temporary directory to > generate a simple MTD images for booting Maemo kernel image by U-Boot from > RAM, eMMC and

Re: [PATCH v1 07/10] linux/bitfield.h: Add primitives for manipulating bitfields both in host- and fixed-endian.

2020-04-27 Thread Sylwester Nawrocki
Hi Bin, On 25.04.2020 03:43, Bin Meng wrote: > Could we add blank line between macros and functions to improve some > readablity? Thanks for your review. It might be indeed a bit easier to read with some extra empty lines, given there is no any comments to those macro definitions. I have made

RE: [PATCH v2 0/7] ddr: altera: arria10: Convert SDRAM driver to DM

2020-04-27 Thread Tan, Ley Foon
> -Original Message- > From: Tan, Ley Foon > Sent: Monday, April 20, 2020 4:46 PM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Ley Foon Tan ; > See, Chin Liang ; Simon Goldschmidt > ; Chee, Tien Fong > ; Tan, Ley Foon > Subject: [PATCH v2 0/7] ddr: altera: arria10: Convert SDRAM

RE: [PATCH] arm: socfpga: stratix10: Fix incorrect CLKMGR_S10_PERPLL_BYPASS offset

2020-04-27 Thread Tan, Ley Foon
> -Original Message- > From: Tan, Ley Foon > Sent: Monday, April 20, 2020 4:17 PM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Ley Foon Tan ; > See, Chin Liang ; Simon Goldschmidt > ; Ang, Chee Hong > ; Tan, Ley Foon > Subject: [PATCH] arm: socfpga: stratix10: Fix incorrect >

[Patch v3] spi: nxp-fspi: Use new readl_poll_sleep_timeout API

2020-04-27 Thread Kuldeep Singh
Board gets reset when performing burst read/write operations. On the other hand, no such behaviour is observed on small size operations. In Linux, readl_poll_timeout API already adds delay of 1us which is further skipped in U-boot. Hence, use new "readl_poll_sleep_timeout" API which adds delay

Re: [Uboot-stm32] [PATCH 1/2] configs: migrate CONFIG_SET_DFU_ALT_INFO to defconfigs

2020-04-27 Thread Patrice CHOTARD
Hi Just a kind reminder to no forget this series which is on ML since a while. Thanks Patrice On 2/26/20 10:28 AM, Patrick Delaunay wrote: > Move CONFIG_SET_DFU_ALT_INFO into Kconfig done by moveconfig.py. > > Signed-off-by: Patrick Delaunay > --- > > configs/odroid-xu3_defconfig

Re: [PATCH v1 05/10] rpi4: add a mapping for the PCIe XHCI controller MMIO registers (ARM 64bit)

2020-04-27 Thread Nicolas Saenz Julienne
On Fri, 2020-04-24 at 18:50 +0200, Sylwester Nawrocki wrote: > From: Marek Szyprowski > > Create a non-cacheable mapping for the 0x6 physical memory region, > where MMIO registers for the PCIe XHCI controller are instantiated by the > PCIe bridge. > > Signed-off-by: Marek Szyprowski >

Re: U-Boot i2c bus num 1 is broken on Nokia N900 (Was: Re: U-Boot is broken on real N900 HW)

2020-04-27 Thread Heiko Schocher
Hello Pali, Am 26.04.2020 um 01:54 schrieb Pali Rohár: Adding Hannes and Heiko to the loop, please look at this problem. On Saturday 25 April 2020 14:11:32 Pali Rohár wrote: On Saturday 25 April 2020 07:00:58 Adam Ford wrote: On Sat, Apr 25, 2020 at 6:50 AM Pali Rohár wrote: On Saturday

RE: [PATCH 3/6] arm: dts: lx2160aqds: add nodes describing possible mezzanine cards

2020-04-27 Thread Ioana Ciornei
> Subject: RE: [PATCH 3/6] arm: dts: lx2160aqds: add nodes describing possible > mezzanine cards > > >-Original Message- > >From: U-Boot On Behalf Of Ioana Ciornei > >Sent: Wednesday, April 22, 2020 10:39 PM > >To: Priyanka Jain ; u-boot@lists.denx.de > >Cc: Alexandru Marginean ; Madalin

Re: [PATCH v1 03/10] pci: Move some PCIe register offset definitions to a common header

2020-04-27 Thread Nicolas Saenz Julienne
On Fri, 2020-04-24 at 18:50 +0200, Sylwester Nawrocki wrote: > Some PCI Express register offsets are currently defined in multiple > drivers, move them to a common header to avoid re-definitions and > as a pre-requisite for adding new PCIe driver. > While at it replace some spaces with tabs. > >

Re: [PATCH v1 04/10] rpi4: shorten a mapping for the DRAM

2020-04-27 Thread Nicolas Saenz Julienne
On Fri, 2020-04-24 at 18:50 +0200, Sylwester Nawrocki wrote: > From: Marek Szyprowski > > Remove the overlap between DRAM and device's IO area. > > Signed-off-by: Marek Szyprowski > --- > Changes since RFC: > - none. Reviewed-by: Nicolas Saenz Julienne Regards, Nicolas signature.asc

Re: [PATCH v1 08/10] pci: Add some PCI Express capability register offset definitions

2020-04-27 Thread Nicolas Saenz Julienne
On Fri, 2020-04-24 at 18:50 +0200, Sylwester Nawrocki wrote: > Add PCI Express capability definitions required by the Broadcom > STB PCIe controller driver. > > Reviewed-by: Bin Meng > Signed-off-by: Sylwester Nawrocki > --- > Changes since RFC: > - ensure the entries are added in order,

Re: [PATCH] imx: Add support for i.MX8MM Beacon EmbeddedWorks devkit.

2020-04-27 Thread Marek Vasut
On 4/27/20 4:26 AM, Adam Ford wrote: Hi, [...] >>> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile >>> index 59a2713cb2..249d446f69 100644 >>> --- a/arch/arm/dts/Makefile >>> +++ b/arch/arm/dts/Makefile >>> @@ -730,7 +730,8 @@ dtb-$(CONFIG_ARCH_IMX8M) += \ >>> imx8mm-verdin.dtb

RE: [v2 01/27] rtc: ds1337: Add driver model support

2020-04-27 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Priyanka Jain >(OSS) >Sent: Monday, April 27, 2020 1:16 PM >To: Biwen Li (OSS) ; Jagdish Gediya >; h...@denx.de; ja...@amarulasolutions.com; >aford...@gmail.com; Alison Wang ; >jh80.ch...@samsung.com; Pramod Kumar ; >Rajesh Bhagat ; Ruchika

RE: [PATCH 07/24] imx: update is_imx6ull to include i.MX6ULZ

2020-04-27 Thread Peng Fan
> Subject: RE: [PATCH 07/24] imx: update is_imx6ull to include i.MX6ULZ > > > Subject: Re: [PATCH 07/24] imx: update is_imx6ull to include i.MX6ULZ > > > > Hi, > > > > Am Donnerstag, 23. April 2020, 03:33:49 CEST schrieb Peng Fan: > > > > Subject: Re: [PATCH 07/24] imx: update is_imx6ull to

[PATCH 06/10] efi_loader: capsule: support firmware update

2020-04-27 Thread AKASHI Takahiro
A capsule tagged with the guid, EFI_FIRMWARE_MANAGEMENT_CAPSULE_ID_GUID, is handled as a firmware update object. What efi_update_capsule() basically does is to load any firmware management protocol (or fmp) drivers contained in a capsule, find out an appropriate fmp driver and then invoke its

[PATCH 07/10] efi_loader: add simple firmware management protocol for FIT image

2020-04-27 Thread AKASHI Takahiro
In this commit, a very simple firmware management protocol driver is implemented. It will take a single FIT image firmware in a capsule and apply the data using an existing update_tftp() interface. To specify a device and location to be updated, CONFIG_EFI_CAPSULE_FIT_INTERFACE, and

[PATCH 05/10] efi_loader: capsule: add memory range capsule definitions

2020-04-27 Thread AKASHI Takahiro
Memory range capsule gives us a way to notify that some memory regions should be left untouched across the next reset. See UEFI specification, section 8.5.3. Since how we should handle this kind of capsule is totally up to the system, no implementation will be added in this commit.

[PATCH 03/10] efi_loader: define UpdateCapsule api

2020-04-27 Thread AKASHI Takahiro
In this commit, skeleton functions for capsule-related API's are added under CONFIG_EFI_UPDATE_CAPSULE configuration. Detailed implementation for a specific capsule type will be added in the succeeding patches. Signed-off-by: AKASHI Takahiro --- include/efi_api.h| 12 +++

[PATCH 08/10] cmd: add "efidebug capsule" command

2020-04-27 Thread AKASHI Takahiro
"efidebug capsule" is more or less a debugging utility. efidebug capsule update: invoke UpdateCapsule against data on memory efidebug capsule show: show a capsule header efidebug capsule result: dump a capsule result variable Signed-off-by: AKASHI Takahiro --- cmd/efidebug.c | 234

[PATCH 10/10] test/py: add a test for efi firmware update capsule

2020-04-27 Thread AKASHI Takahiro
The test can run on sandbox build and it attempts to execute a firmware update via a capsule-on-disk, using a simple FIT image capsule, CONFIG_EFI_CAPSULE_FIT_SIMPLE. To run this test successfully, you need configure U-Boot specifically; See test_capsule_firmware.py for requirements, and hence it

[PATCH 09/10] tools: add mkeficapsule command for UEFI capsule update test

2020-04-27 Thread AKASHI Takahiro
This is a utility mainly for test purpose. mkeficapsule -f: create a test capsule file for FIT image firmware Having said that, you will be able to customize the code to fit your specific requirements for your platform. Signed-off-by: AKASHI Takahiro --- tools/Makefile | 3 +

Re: [PATCH v1 02/10] usb: xhci: Use only 32-bit accesses in xhci_writeq/xhci_readq

2020-04-27 Thread Nicolas Saenz Julienne
On Fri, 2020-04-24 at 18:50 +0200, Sylwester Nawrocki wrote: > There might be hardware configurations where 64-bit data accesses > to XHCI registers are not supported properly. This patch removes > the readq/writeq so always two 32-bit accesses are used to read/write > 64-bit XHCI registers,

Re: [PATCH v1 09/10] pci: Add driver for Broadcom STB PCIe controller

2020-04-27 Thread Nicolas Saenz Julienne
On Fri, 2020-04-24 at 18:50 +0200, Sylwester Nawrocki wrote: > This patch adds basic driver for the Broadcom STB PCIe host controller. > The code is based on Linux upstream driver (pcie-brcmstb.c) with MSI > handling removed. The inbound access memory region is not currently > parsed from

[PATCH] ARM: dts: stm32: Fix AV96 and DHCOR split

2020-04-27 Thread Marek Vasut
The commit 132e5b68986d ("ARM: dts: stm32: Split AV96 into DHCOR SoM and AV96 board") was not applied correctly and in full, and omitted an important split of the SoM into 3V3 and 1V8 options. The Avenger96 board is based on the 1V8 IO option of the DHCOR SoM, however this is an optional

Re: [PATCH v3 2/2] arm: stm32mp: activate data cache on DDR in SPL

2020-04-27 Thread Patrice CHOTARD
Hi One typo below On 4/24/20 8:24 PM, Patrick Delaunay wrote: > Activate cache on DDR to improves the accesses to DDR used by SPL: s/improves/improve > - CONFIG_SPL_BSS_START_ADDR > - CONFIG_SYS_SPL_MALLOC_START > > Cache is configured only when DDR is fully initialized, > to avoid speculative

U-Boot v2020.04 Release Statistics

2020-04-27 Thread Wolfgang Denk
Hi all, U-Boot v2020.04 Release Statistics Processed 1639 csets from 189 developers 29 employers found A total of 108344 lines added, 33382 removed (delta 74962) Developers with the most changesets Simon Glass309 (18.9%) Heinrich Schuchardt 82 (5.0%) Marek Vasut

[PATCH 1/2] ARM: stm32: Define I2C EEPROM bus and address on DHCOM

2020-04-27 Thread Marek Vasut
Define I2C EEPROM bus and address, so that the 'eeprom' command uses the correct ones and does not generate the following error: eeprom_rw_block: Cannot find udev for a bus 0 Signed-off-by: Marek Vasut Cc: Patrick Delaunay Cc: Patrice Chotard --- configs/stm32mp15_dhcom_basic_defconfig |

[PATCH 2/2] ARM: stm32: Hog GPIO PF7 high on DHCOM to unlock SPI NOR nWP

2020-04-27 Thread Marek Vasut
The SPI NOR nWP line is connected to GPIO PF7 on the SoM, pull the GPIO line high by default to clear SPI NOR WP. Signed-off-by: Marek Vasut Cc: Patrick Delaunay Cc: Patrice Chotard --- arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi | 9 + configs/stm32mp15_dhcom_basic_defconfig| 1 +

RE: [PATCH 2/6] arm: dts: lx2160aqds: add MDIO slots

2020-04-27 Thread Ioana Ciornei
> Subject: RE: [PATCH 2/6] arm: dts: lx2160aqds: add MDIO slots > > >-Original Message- > >From: U-Boot On Behalf Of Ioana Ciornei > >Sent: Wednesday, April 22, 2020 10:39 PM > >To: Priyanka Jain ; u-boot@lists.denx.de > >Cc: Alexandru Marginean ; Madalin Bucur > >; Florin Laurentiu

[U-Boot] Please pull more ARC changes for v2020.07-rc1

2020-04-27 Thread Alexey Brodkin
Hi Tom, The following changes since commit d202f67db0771247de562af5d6a5df778702857b: Merge branch '2020-04-25-master-imports' (2020-04-25 08:20:22 -0400) are available in the Git repository at: g...@gitlab.denx.de:u-boot/custodians/u-boot-arc.git tags/arc-more-fixes-for-2020.07-rc1 for

Re: [PATCH] imx: Fix imx8m FIT script issue

2020-04-27 Thread Schrempf Frieder
On 09.04.20 10:44, Ye Li wrote: > The FIT config node has reversed ATF and u-boot: ATF is set to > firmware but u-boot is set to loadable. > This script can work previously because spl fit driver wrongly > appends fdt to all loadable images. With the issue fixed, the u-boot > in loadable does not

Re: [PATCH v1 00/49] add support for broadcom NS3 soc

2020-04-27 Thread Marek Vasut
On 4/27/20 3:13 PM, Andy Shevchenko wrote: > On Mon, Apr 27, 2020 at 2:12 PM Marek Vasut wrote: >> >> On 4/27/20 12:47 PM, Rayagonda Kokatanur wrote: >>> This patch series adds support for Broadcom Northstar 3 SoC. >> >> Please, do keep the CC sane, don't CC everyone. > > +1! > > Please, learn

Re: [PATCH 1/3] mips: mt76x8: ddr_cal: Rename dqs_test_valid() to dqs_test_error()

2020-04-27 Thread Daniel Schwierzeck
Am 06.03.20 um 15:14 schrieb Stefan Roese: > This function returns "-1" (true) upon error. So the function name does > not match its implementation which is confusing. This patch renames the > function to dqs_test_error() which makes the code easier to read. > > Also change the return type to

Re: [PATCH v1 00/49] add support for broadcom NS3 soc

2020-04-27 Thread Rayagonda Kokatanur
On Mon, Apr 27, 2020, 6:55 PM Marek Vasut wrote: > On 4/27/20 3:13 PM, Andy Shevchenko wrote: > > On Mon, Apr 27, 2020 at 2:12 PM Marek Vasut wrote: > >> > >> On 4/27/20 12:47 PM, Rayagonda Kokatanur wrote: > >>> This patch series adds support for Broadcom Northstar 3 SoC. > >> > >> Please, do

Re: [PATCH v1 09/10] pci: Add driver for Broadcom STB PCIe controller

2020-04-27 Thread Marek Szyprowski
Hi Nicolas, On 27.04.2020 12:15, Nicolas Saenz Julienne wrote: > On Fri, 2020-04-24 at 18:50 +0200, Sylwester Nawrocki wrote: >> This patch adds basic driver for the Broadcom STB PCIe host controller. >> The code is based on Linux upstream driver (pcie-brcmstb.c) with MSI >> handling removed. The

[PATCH v2 0/4] Various i.MXRT bug/typo fixes

2020-04-27 Thread Giulio Benetti
Hi Anatolij, Lukasz, Stefano, Fabio, All, this patchset fix 2 bugs preventing from LCDIF to work when booting from sd-card. There are also 2 little typo fixes for boards READMEs. V1->V2: * modify mxfsb.c patch as suggested by Fabio Giulio Benetti (4): imxrt1050-evk: README: fix dd command

[PATCH v2 3/4] video: mxsfb: add clk_enable()

2020-04-27 Thread Giulio Benetti
BROM doesn't enable lcdif by default so add clk_enable() after clk_set_rate(). Signed-off-by: Giulio Benetti --- V1->V2: * call clk_enable() after clk_set_rate() as suggested by Fabio --- drivers/video/mxsfb.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/video/mxsfb.c

[PATCH v1 25/49] board: ns3: program GIC LPI tables

2020-04-27 Thread Rayagonda Kokatanur
From: Bharat Kumar Reddy Gooty U-boot programs the GIC LPI configuration tables and enables the LPI table. Signed-off-by: Bharat Kumar Reddy Gooty Signed-off-by: Rayagonda Kokatanur --- board/broadcom/bcmns3/ns3.c | 4 include/configs/bcm_ns3.h | 6 ++ 2 files changed, 10

[PATCH v1 21/49] board: ns3: start sp805 watchdog service

2020-04-27 Thread Rayagonda Kokatanur
Start sp805 watchdog service. Parse wdt timeout from env and dts, give precedence to env timeout if defined. Set default timeout to 60s if both env and dts doesn't specifiy timeout. Stop the WDT in board late init and start the WDT service before giving control to Linux. Signed-off-by:

[PATCH v1 22/49] board: ns3: add api to save boot parameters passed from BL31

2020-04-27 Thread Rayagonda Kokatanur
From: Abhishek Shah Add API to save boot parameters passed from BL31 Use assembly implementation of save_boot_params instead of c function. Because generally ATF does not set up SP_EL2 on exiting. Thus, usage of a C function immediately after exiting with no stack setup done by ATF explicitly,

[PATCH v1 26/49] configs: ns3: enable GIC ITS LPI table programing

2020-04-27 Thread Rayagonda Kokatanur
Enables the GIC_V3 ITS LPI configuration table and LPI table. Signed-off-by: Rayagonda Kokatanur Signed-off-by: Bharat Kumar Reddy Gooty --- configs/bcm_ns3_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig index

[PATCH v1 24/49] dt-bindings: memory: ns3: update GIC LPI address

2020-04-27 Thread Rayagonda Kokatanur
Update NS3 GIC LPI address. Signed-off-by: Rayagonda Kokatanur --- include/dt-bindings/memory/bcm-ns3-mc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dt-bindings/memory/bcm-ns3-mc.h b/include/dt-bindings/memory/bcm-ns3-mc.h index b4f78584a5..d6e7717ba2 100644 ---

[PATCH v1 23/49] board: ns3: default reset type to L3

2020-04-27 Thread Rayagonda Kokatanur
From: Rajesh Ravi Default "reset" from u-boot to L3 reset. "reset" command with argument will trigger L1 reset. Signed-off-by: Rajesh Ravi Signed-off-by: Bharat Kumar Reddy Gooty Signed-off-by: Rayagonda Kokatanur --- board/broadcom/bcmns3/ns3.c | 20 ++-- 1 file changed, 18

[PATCH v1 29/49] board: ns3: limit U-boot relocation within 16MB memory

2020-04-27 Thread Rayagonda Kokatanur
From: Bharat Kumar Reddy Gooty By default re-location happens to higher address of DDR, i.e, DDR start + DDR size. Limit re-location to happen within 16MB memory, start 0xFF00_ and end 0x1__ Signed-off-by: Bharat Kumar Reddy Gooty Signed-off-by: Rayagonda Kokatanur ---

[RESEND PATCH v6 3/5] usb: host: dwc2: add clk support

2020-04-27 Thread Patrick Delaunay
Add support for clock with driver model. This patch don't added dependency because when CONFIG_CLK is not activated the clk function are stubbed. Reviewed-by: Simon Goldschmidt Signed-off-by: Patrick Delaunay --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None

[RESEND PATCH v6 5/5] usb: host: dwc2: add trace to have clean usb start

2020-04-27 Thread Patrick Delaunay
Solve issue for the display of "usb start" command on stm32mp1 because one carriage return is missing in DWC2 probe. Before the patch: STM32MP> usb start starting USB... Bus usb-otg@4900:Bus usbh-ehci@5800d000: USB EHCI 1.00 after the patch: STM32MP> usb start starting USB... Bus

Re: [PATCH] imx: Add support for i.MX8MM Beacon EmbeddedWorks devkit.

2020-04-27 Thread Adam Ford
On Mon, Apr 27, 2020 at 2:06 AM Marek Vasut wrote: > > On 4/27/20 4:26 AM, Adam Ford wrote: > > Hi, > > [...] > > >>> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile > >>> index 59a2713cb2..249d446f69 100644 > >>> --- a/arch/arm/dts/Makefile > >>> +++ b/arch/arm/dts/Makefile > >>> @@

RE: [PATCH V3 14/14] ARM: dts: stm32: Split AV96 into DHCOR SoM and AV96 board

2020-04-27 Thread Patrick DELAUNAY
Dear Marek, > From: Marek Vasut > Sent: lundi 27 avril 2020 12:30 > > On 4/24/20 4:31 PM, Patrick DELAUNAY wrote: > > Dear Marek, > > > >> From: Marek Vasut > >> Sent: mardi 31 mars 2020 19:52 > >> > >> The AV96 is in fact an assembly of DH Electronics DHCOR SoM on top of > >> an > >> AV96

RE: [PATCH V3 3/6] ARM: stm32: Implement board coding on AV96

2020-04-27 Thread Patrick DELAUNAY
> -Original Message- > From: Marek Vasut > Sent: lundi 27 avril 2020 13:41 > To: Patrick DELAUNAY ; u-boot@lists.denx.de > Cc: Manivannan Sadhasivam ; Patrice > CHOTARD > Subject: Re: [PATCH V3 3/6] ARM: stm32: Implement board coding on AV96 > Importance: High > > On 4/23/20 9:42 AM,

[PATCH v1 05/49] configs: ns3: enable pinctrl driver

2020-04-27 Thread Rayagonda Kokatanur
Enable pinctrl driver for ns3. Signed-off-by: Rayagonda Kokatanur --- configs/bcm_ns3_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig index 7e51a926f7..438e929b4b 100644 --- a/configs/bcm_ns3_defconfig +++

[PATCH v1 04/49] arm: dts: ns3: add clock dt node

2020-04-27 Thread Rayagonda Kokatanur
Add clock dt node for ns3. Signed-off-by: Rayagonda Kokatanur --- arch/arm/dts/ns3-clock.dtsi | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 arch/arm/dts/ns3-clock.dtsi diff --git a/arch/arm/dts/ns3-clock.dtsi b/arch/arm/dts/ns3-clock.dtsi new

[PATCH v1 06/49] dt-bindings: pinctrl: add ns3 pads definition

2020-04-27 Thread Rayagonda Kokatanur
Add NS3 pads definitions. Signed-off-by: Rayagonda Kokatanur --- .../dt-bindings/pinctrl/brcm,pinctrl-ns3.h| 41 +++ 1 file changed, 41 insertions(+) create mode 100644 include/dt-bindings/pinctrl/brcm,pinctrl-ns3.h diff --git

[PATCH v1 10/49] configs: ns3: enable BCM IPROC mmc driver

2020-04-27 Thread Rayagonda Kokatanur
Enable BCM IPROC mmc driver ns3. Enable DMA for MMC Host to have better reads and writes. Signed-off-by: Rayagonda Kokatanur --- configs/bcm_ns3_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig index 438e929b4b..f94e7426c7

[PATCH v1 44/49] cmd: bcm: add broadcom error log setup command

2020-04-27 Thread Rayagonda Kokatanur
From: Vladimir Olovyannikov Add broadcom error log setup command. Some Broadcom platforms have ability to record event logs by SCP. - Add a logsetup command which is used to perform initial configuration of this log. Move this command to bcm/ directory to be used for Broadcom-specific

[PATCH v1 45/49] cmd: gpt: add eMMC and GPT support

2020-04-27 Thread Rayagonda Kokatanur
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 and setenv) that are used by broadcom update scripts and boot commands - eMMC specific

[PATCH v1 46/49] cmd: bcm: add nitro boot command

2020-04-27 Thread Rayagonda Kokatanur
From: Trac Hoang Add command to boot nitro. Signed-off-by: Trac Hoang Signed-off-by: Rayagonda Kokatanur --- cmd/bcm/Makefile | 1 + cmd/bcm/chimp_boot.c | 36 include/brcm/chimp.h | 2 ++ 3 files changed, 39 insertions(+) create mode 100644

[PATCH v1 40/49] configs: ns3: env in mmc

2020-04-27 Thread Rayagonda Kokatanur
Use uboot env in mmc. Signed-off-by: Rayagonda Kokatanur --- configs/bcm_ns3_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig index c6e7992b3a..92f148b749 100644 --- a/configs/bcm_ns3_defconfig +++ b/configs/bcm_ns3_defconfig

[PATCH v1 38/49] board: ns3: add generic MCU IPC command send API

2020-04-27 Thread Rayagonda Kokatanur
From: Trac Hoang Add a generic CRMU IPC command send driver so that u-boot can access MCU services. Signed-off-by: Trac Hoang Signed-off-by: Rayagonda Kokatanur --- board/broadcom/bcmns3/Makefile | 1 + board/broadcom/bcmns3/mcu_cmd.c | 49 +

[PATCH v1 43/49] board: ns3: kconfig: extend board kconfig with specific commands

2020-04-27 Thread Rayagonda Kokatanur
From: Vladimir Olovyannikov Extend Kconfig for the board with board-specific commands selection. Signed-off-by: Vladimir Olovyannikov Signed-off-by: Rayagonda Kokatanur --- board/broadcom/bcmns3/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/board/broadcom/bcmns3/Kconfig

Re: [PATCH v2 3/3] kbuild: SPL/TPL: generate separate asm-offsets.h for SPL and TPL

2020-04-27 Thread Tom Rini
On Mon, Apr 27, 2020 at 09:37:28AM +0800, Bin Meng wrote: > Hi Tom, > > On Sat, Apr 18, 2020 at 8:37 PM Bin Meng wrote: > > > > On Fri, Apr 17, 2020 at 3:22 PM Masahiro Yamada > > wrote: > > > > > > Currently generic-asm-offsets.h and asm-offsets.h are generated based > > > on U-Boot proper

Re: [PATCH v6] Add support for SoM "VoCore2".

2020-04-27 Thread Daniel Schwierzeck
Am 18.02.20 um 09:34 schrieb Mauro Condarelli: > Small patch to add support for VoCore/VoCore2 board. > > VoCore is open hardware and runs OpenWrt/LEDE. > It has WIFI, USB, UART, 20+ GPIOs but is only one inch square. > It will help you to make a smart house, study embedded system > or even

Re: [PATCH V3 14/14] ARM: dts: stm32: Split AV96 into DHCOR SoM and AV96 board

2020-04-27 Thread Marek Vasut
On 4/27/20 4:00 PM, Patrick DELAUNAY wrote: > Dear Marek, > >> From: Marek Vasut >> Sent: lundi 27 avril 2020 12:30 >> >> On 4/24/20 4:31 PM, Patrick DELAUNAY wrote: >>> Dear Marek, >>> From: Marek Vasut Sent: mardi 31 mars 2020 19:52 The AV96 is in fact an assembly of DH

[PATCH v1 02/49] arm: cpu: armv8: add L3 memory flush support

2020-04-27 Thread Rayagonda Kokatanur
Add L3 memory flush support for NS3. Signed-off-by: Rayagonda Kokatanur --- arch/arm/cpu/armv8/Makefile | 1 + arch/arm/cpu/armv8/bcmns3/Makefile | 5 ++ arch/arm/cpu/armv8/bcmns3/lowlevel.S | 90 3 files changed, 96 insertions(+) create mode 100644

[PATCH v1 03/49] configs: ns3: enable clock subsystem

2020-04-27 Thread Rayagonda Kokatanur
Enable clock subsystem for ns3. Signed-off-by: Rayagonda Kokatanur --- configs/bcm_ns3_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig index a81541e394..7e51a926f7 100644 --- a/configs/bcm_ns3_defconfig +++

[PATCH v1 00/49] add support for broadcom NS3 soc

2020-04-27 Thread Rayagonda Kokatanur
This patch series adds support for Broadcom Northstar 3 SoC. NS3 is a octo-core 64-bit ARMv8 Cortex-A72 processors targeting a broad range of networking applications. Abhishek Shah (1): board: ns3: add api to save boot parameters passed from BL31 Bharat Gooty (2): include/configs: ns3: add

[PATCH v1 01/49] board: ns3: add support for Broadcom Northstar 3

2020-04-27 Thread Rayagonda Kokatanur
Add support for Broadcom Northstar 3 SoC. NS3 is a octo-core 64-bit ARMv8 Cortex-A72 processors targeting a broad range of networking applications. Signed-off-by: Rayagonda Kokatanur --- arch/arm/Kconfig | 10 ++ arch/arm/dts/Makefile | 2 ++

sd-card is not working on espressobin

2020-04-27 Thread Moritz Berghof
Hi Community, Hi Marek, Hi Stefan, we are still working on the u-boot master of the espressobin platform. Do you have any ideas why mmc cannot find any sd-card? The mmc devices can be list and I changed the

[PATCH v1 00/49] add support for broadcom NS3 soc

2020-04-27 Thread Rayagonda Kokatanur
This patch series adds support for Broadcom Northstar 3 SoC. NS3 is a octo-core 64-bit ARMv8 Cortex-A72 processors targeting a broad range of networking applications. Abhishek Shah (1): board: ns3: add api to save boot parameters passed from BL31 Bharat Gooty (2): include/configs: ns3: add

[PATCH v2 6/6] configs: lx2160aqds_tfa_defconfig: enable DM_ETH and related

2020-04-27 Thread Ioana Ciornei
Enable CONFIG_DM_ETH and CONFIG_DM_MDIO and related configs for the LX2160AQDS board. Signed-off-by: Ioana Ciornei --- Changes in v2: - none configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 8 configs/lx2160aqds_tfa_defconfig | 8 2 files changed, 16 insertions(+)

[PATCH v2 2/6] arm: dts: lx2160aqds: add MDIO slots

2020-04-27 Thread Ioana Ciornei
The LX2160A processor has two external MDIO interfaces, described in the DTS as emdio1 and emdio2. On the LX2160AQDS board EMDIO1 is used with two onboard RGMII PHYs (Realtek RTL8211FD-CG), as well as eight input/output connectors for mezzanine cards. Configuration signals from the Qixis FPGA

[PATCH v2 0/6] boards: lx2160aqds: transition to CONFIG_DM_ETH

2020-04-27 Thread Ioana Ciornei
This patch set targets to add support for CONFIG_DM_ETH for the NXP LX2160AQDS board. The main focus is on changing the DTS based on the SERDES protocol used. In order to accomplish this, the MULTI_DTB_FIT feature is employed and the appropriate DTS is chosed on boot from a list of predefined

[PATCH v2 3/6] arm: dts: lx2160aqds: add nodes describing possible mezzanine cards

2020-04-27 Thread Ioana Ciornei
Add device trees describing possible uses of mezzanine cards depending on the SERDES protocol employed. This patch adds DPAA2 networking support for the following protocols on each SERDES block: * SD #1: 3, 7, 19, 20 * SD #2: 11 Each SERDES block has a different device tree file per protocol

Re: [PATCH v1 00/49] add support for broadcom NS3 soc

2020-04-27 Thread Andy Shevchenko
On Mon, Apr 27, 2020 at 2:12 PM Marek Vasut wrote: > > On 4/27/20 12:47 PM, Rayagonda Kokatanur wrote: > > This patch series adds support for Broadcom Northstar 3 SoC. > > Please, do keep the CC sane, don't CC everyone. +1! Please, learn how not to spam people with the crazy patch bomb. Next

  1   2   3   >