Re: [U-Boot] [PATCH 3/6] armv8: ls2088a: add icid setup for platform devices

2019-10-17 Thread Horia Geanta
On 10/17/2019 12:22 PM, Laurentiu Tudor wrote: > +struct icid_id_table icid_tbl[] = { > + SET_SDHC_ICID(1, FSL_SDMMC_STREAM_ID), > + SET_USB_ICID(1, "snps,dwc3", FSL_USB1_STREAM_ID), > + SET_USB_ICID(2, "snps,dwc3", FSL_USB2_STREAM_ID), > + SET_SATA_ICID(1, "fsl,ls2080a-ahci", FSL_S

Re: [U-Boot] [PATCH 2/6] armv8: fsl-layerscape: fix compile error with sec fw disabled

2019-10-17 Thread Horia Geanta
On 10/17/2019 12:21 PM, Laurentiu Tudor wrote: > From: Laurentiu Tudor > > If SEC FW support is not enabled (ARMV8_SEC_FIRMWARE_SUPPORT=n) this > compilation error happens: > arch/arm/include/asm/arch-fsl-layerscape/fsl_icid.h:169:4: error: > 'CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT' undeclared here (n

Re: [U-Boot] [PATCH 6/6] armv8: ls1028a: erratum A050382 workaround

2019-10-17 Thread Priyanka Jain
>-Original Message- >From: u-boot-boun...@linux.nxdi.nxp.com boun...@linux.nxdi.nxp.com> On Behalf Of Laurentiu Tudor >Sent: Thursday, October 17, 2019 2:52 PM >To: u-boot@lists.denx.de; Prabhakar X >Subject: [u-boot] [PATCH 6/6] armv8: ls1028a: erratum A050382 workaround "Add erratum" >

Re: [U-Boot] [u-boot] [PATCH 4/6] armv8: fsl-layerscape: add missing SATA3 and SATA4 base addresses

2019-10-17 Thread Priyanka Jain
>-Original Message- >From: u-boot-boun...@linux.nxdi.nxp.com boun...@linux.nxdi.nxp.com> On Behalf Of Laurentiu Tudor >Sent: Thursday, October 17, 2019 2:52 PM >To: u-boot@lists.denx.de; Prabhakar X >Subject: [u-boot] [PATCH 4/6] armv8: fsl-layerscape: add missing SATA3 and >SATA4 base a

Re: [U-Boot] [u-boot] [PATCH 5/6] armv8: lx2160a: add icid setup for platform devices

2019-10-17 Thread Priyanka Jain
>-Original Message- >From: u-boot-boun...@linux.nxdi.nxp.com boun...@linux.nxdi.nxp.com> On Behalf Of Laurentiu Tudor >Sent: Thursday, October 17, 2019 2:52 PM >To: u-boot@lists.denx.de; Prabhakar X >Subject: [u-boot] [PATCH 5/6] armv8: lx2160a: add icid setup for platform >devices > >Fr

Re: [U-Boot] [PATCH 1/6] armv8: fsl-layerscape: guard caam specific defines

2019-10-17 Thread Horia Geanta
On 10/17/2019 12:21 PM, Laurentiu Tudor wrote: > From: Laurentiu Tudor > > These macros should only be used when CONFIG_FSL_CAAM is present. > > Signed-off-by: Laurentiu Tudor Reviewed-by: Horia Geantă Thanks, Horia ___ U-Boot mailing list U-Boot@li

[U-Boot] [PATCH] board, zynqmp: Fix for wrong AMS setting by ROM

2019-10-17 Thread Mike Looijmans
A bug in the ZynqMP bootrom sets the PS_SYSMON_ANALOG_BUS register at 0xFFA50914 to the wrong value 0x3201. This causes the AMS to exchange the PS supply voltages 0 and 1. On Xilinx boards this is not noticable since these are tied together, it's only really noticable if banks 500 and 501 have diff

Re: [U-Boot] problems with building u-boot-fit-dtb.bin

2019-10-17 Thread Heiko Schocher
Hello Tom, Am 16.10.2019 um 10:45 schrieb Heiko Schocher: Hello Tom, Am 16.10.2019 um 06:56 schrieb Heiko Schocher: Hello Tom, I planned to send my patches which convert the imx6 based aristainetos boards to support DM ... building U-Boot works fine on 2 different build machines at home, also

Re: [U-Boot] [PATCH v2] pci: layerscape: remove multiple definitions of SVR

2019-10-17 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Priyanka Jain >Sent: Friday, October 18, 2019 10:46 AM >To: Pankaj Bansal ; Xiaowei Bao >; Tom Rini ; Z.q. Hou > >Cc: u-boot@lists.denx.de >Subject: Re: [U-Boot] [PATCH v2] pci: layerscape: remove multiple definitions >of SVR > > > >>-Or

Re: [U-Boot] [PATCH] arm: freescale: ls102xa: add helper Macro to get the SVR

2019-10-17 Thread Priyanka Jain
>-Original Message- >From: Pankaj Bansal >Sent: Wednesday, October 16, 2019 3:40 PM >To: Priyanka Jain ; Albert Aribaud >; Simon Glass >Cc: u-boot@lists.denx.de; Pankaj Bansal >Subject: [PATCH] arm: freescale: ls102xa: add helper Macro to get the SVR > >32 bit System Version Register (S

Re: [U-Boot] [PATCH v2] pci: layerscape: remove multiple definitions of SVR

2019-10-17 Thread Priyanka Jain
>-Original Message- >From: Pankaj Bansal >Sent: Wednesday, October 16, 2019 3:43 PM >To: Priyanka Jain ; Xiaowei Bao >; Tom Rini ; Z.q. Hou > >Cc: u-boot@lists.denx.de; Pankaj Bansal >Subject: [PATCH v2] pci: layerscape: remove multiple definitions of SVR > >SVR values for various nxp SO

[U-Boot] [PATCH 1/2] armv8: dts: ls1088a: add PSCI binding for LS1088A

2019-10-17 Thread Mathew McBride
This allows the use of PSCI calls to trusted firmware to initiate reset and poweroff events with CONFIG_PSCI_RESET and CONFIG_ARM_PSCI_FW. This is desirable, for example, if the target board has implemented a custom reset or poweroff procedure in EL3. Signed-off-by: Mathew McBride Cc: Priyanka Ja

[U-Boot] [PATCH 2/2] armv8: fsl-layerscape: do not use layerscape EFI reset if PSCI used

2019-10-17 Thread Mathew McBride
If the secure world reset handlers are used (via CONFIG_PSCI_RESET), then do not use the layerscape-specific implementation. Signed-off-by: Mathew McBride Cc: Priyanka Jain --- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/c

[U-Boot] [PATCH 0/2] armv8: fsl-layerscape: Allow use of PSCI handlers for ls1088a

2019-10-17 Thread Mathew McBride
This patch allows the use of PSCI for power operations - this is desirable if the target board has implemented it's own power operation handlers in Trusted Firmware/EL3. Layerscape has it's own EFI service handlers for power operations - if PSCI is used the generic handlers will be used instead.

Re: [U-Boot] [PATCH v2 14/38] spi: Add support for memory-mapped flash

2019-10-17 Thread Bin Meng
Hi Simon, On Fri, Oct 18, 2019 at 10:22 AM Simon Glass wrote: > > Hi, > > On Thu, 17 Oct 2019 at 08:28, Simon Glass wrote: > > > > Hi Vignesh, > > > > On Wed, 16 Oct 2019 at 04:28, Vignesh Raghavendra wrote: > > > > > > Hi Simon, > > > > > > On 12/10/19 10:03 AM, Bin Meng wrote: > > > > Hi Simo

Re: [U-Boot] [PATCH v2 14/38] spi: Add support for memory-mapped flash

2019-10-17 Thread Simon Glass
Hi, On Thu, 17 Oct 2019 at 08:28, Simon Glass wrote: > > Hi Vignesh, > > On Wed, 16 Oct 2019 at 04:28, Vignesh Raghavendra wrote: > > > > Hi Simon, > > > > On 12/10/19 10:03 AM, Bin Meng wrote: > > > Hi Simon, > > > > > > On Sat, Oct 12, 2019 at 11:08 AM Simon Glass wrote: > > >> > > >> Hi Bin,

Re: [U-Boot] [PATCH 5/5] doc: Add documentation for how to build U-Boot host tools

2019-10-17 Thread Bin Meng
Hi Tom, On Thu, Oct 17, 2019 at 11:12 PM Tom Rini wrote: > > On Thu, Oct 17, 2019 at 11:02:47PM +0800, Bin Meng wrote: > > Hi Tom, > > > > On Thu, Oct 17, 2019 at 10:10 PM Tom Rini wrote: > > > > > > On Thu, Oct 17, 2019 at 09:50:57AM +0800, Bin Meng wrote: > > > > Hi Tom, > > > > > > > > On Thu

Re: [U-Boot] [PATCH v3] arm: add initial support for the Phytium Durian Board

2019-10-17 Thread Tom Rini
On Thu, Oct 17, 2019 at 02:05:05PM +, liu hao wrote: > This adds platform code and the device tree for the Phytium Durian Board. > The initial support comprises the UART the GMAC and the PCIE. > > v3: > - Change the board name from ft2004 to durian. > The dts does not on mainline Kernel. @

[U-Boot] [PATCH] Enable building of u-boot.itb on Rockchip RK3328 platforms.

2019-10-17 Thread Vagrant Cascadian
The instructions in doc/README.rockchip for installing rock64-rk3328 make use of u-boot.itb, but it is not built by default. Add u-boot.itb to BUILD_TARGET for RK3328 platforms. Signed-off-by: Vagrant Cascadian --- Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kco

[U-Boot] [PATCH v3 5/5] doc: boards: Add rockchip documentation

2019-10-17 Thread Jagan Teki
Rockchip has documentation file, doc/README.rockchip but which is not so readable to add or understand the existing contents. Even the format that support is legacy readme in U-Boot. Add rockchip specific documentation file using new rst format, which describes the information about Rockchip suppo

[U-Boot] [PATCH v3 2/5] Makefile: Rename idbloader.img with u-boot-spl-rockchip.bin

2019-10-17 Thread Jagan Teki
idbloader.img name is specific to rockchip, where it usually created using rockchip tools. Since the image is created as per U-Boot generic builds like SPL, better to follow the generic U-Boot naming notation like other SoC's following. Enable idbloader.img with u-boot-spl-rockchip.bin and create

[U-Boot] [PATCH v3 4/5] rockchip: Add Binman support

2019-10-17 Thread Jagan Teki
TPL-based rockchip platform like rk3288, rk3328, rk3368 and rk3399 has three stage boot loaders like TPL, SPL and U-Boot proper. For each stage we need to burn the image on to flash with respective offsets. This patch create a single image using binman, so that user can get rid of burning differen

[U-Boot] [PATCH v3 3/5] arm: dts: rk3368: Add rk3368-u-boot.dtsi

2019-10-17 Thread Jagan Teki
Add U-Boot specific dtsi file for rk3368 SoC. This would help to add U-Boot specific dts nodes, properties which are common across rk3368. Right now, the file is empty, will add required changes in future patches. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3368-geekbox-u-boot.dtsi | 2 ++ arc

[U-Boot] [PATCH v3 1/5] Makefile: Add rockchip image type

2019-10-17 Thread Jagan Teki
Add rockchip image type support. right now the image type marked with rksd, So create image type variable with required image type like rksd or rkspi. Cc: Kever Yang Cc: Matwey V. Kornilov Signed-off-by: Jagan Teki --- Makefile | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) dif

[U-Boot] [PATCH v3 0/5] rockchip: Add Binman support

2019-10-17 Thread Jagan Teki
This is v3 set for Binman support in rockchip, [1] here is previous patchset. This series add binman support for TPL-based targets, binman for SPL-alone boards add in future. Changes for v3: - rebase on master - add binman for rk3288, rk3328, rk3368, rk3399 - added rst documentation for rockchip

[U-Boot] [PATCH] clk: mediatek: use unsigned type for returning the clk rate

2019-10-17 Thread Fabien Parent
mtk_clk_find_parent_rate is calling clk_get_rate to know the rate of a parent clock. clk_get_rate returns a ulong, while mtk_clk_find_parent_rate returns an int. This implicit cast creates an issue for clock rates big enough to need the full 32 bits to store its data. When that happen the clk rate

Re: [U-Boot] [PATCH v3] arm: add initial support for the Phytium Durian Board

2019-10-17 Thread Heinrich Schuchardt
On 10/17/19 4:05 PM, liu hao wrote: v3: - Change the board name from ft2004 to durian. The dts does not on mainline Kernel. @ Kever Yang - Add pcie driver and boot kernel from scsi-pci card. Add README about durian board. The system initialization is worked in BPF that we do not want

Re: [U-Boot] [PATCH] nvme: add more cache flushes

2019-10-17 Thread J. William Campbell
Hi All, On 10/17/2019 12:12 AM, Patrick Wildt wrote: On Thu, Oct 17, 2019 at 03:08:59PM +0800, Bin Meng wrote: Hi Patrick, On Thu, Oct 17, 2019 at 2:44 PM Patrick Wildt wrote: On Thu, Oct 17, 2019 at 10:55:11AM +0800, Bin Meng wrote: Hi Patrick, On Wed, Oct 16, 2019 at 11:35 PM Patrick Wild

Re: [U-Boot] [PATCH v1 00/11] import x509/pkcs7 parsers from linux

2019-10-17 Thread Tom Rini
On Tue, Oct 15, 2019 at 06:25:19PM +0900, AKASHI Takahiro wrote: > On Tue, Oct 15, 2019 at 07:33:18AM +0200, Heinrich Schuchardt wrote: > > On 10/15/19 5:18 AM, AKASHI Takahiro wrote: > > >On Sat, Oct 12, 2019 at 03:02:09PM +0200, Heinrich Schuchardt wrote: > > >>On 10/11/19 9:55 AM, AKASHI Takahir

Re: [U-Boot] [PATCH 5/5] doc: Add documentation for how to build U-Boot host tools

2019-10-17 Thread Tom Rini
On Thu, Oct 17, 2019 at 11:02:47PM +0800, Bin Meng wrote: > Hi Tom, > > On Thu, Oct 17, 2019 at 10:10 PM Tom Rini wrote: > > > > On Thu, Oct 17, 2019 at 09:50:57AM +0800, Bin Meng wrote: > > > Hi Tom, > > > > > > On Thu, Oct 17, 2019 at 2:20 AM Tom Rini wrote: > > > > > > > > On Wed, Oct 16, 201

Re: [U-Boot] [PATCH 5/5] doc: Add documentation for how to build U-Boot host tools

2019-10-17 Thread Bin Meng
Hi Tom, On Thu, Oct 17, 2019 at 10:10 PM Tom Rini wrote: > > On Thu, Oct 17, 2019 at 09:50:57AM +0800, Bin Meng wrote: > > Hi Tom, > > > > On Thu, Oct 17, 2019 at 2:20 AM Tom Rini wrote: > > > > > > On Wed, Oct 16, 2019 at 09:27:25AM -0700, Bin Meng wrote: > > > > > > > This adds a reST document

Re: [U-Boot] [PATCH 16/37] i2c: add support for offset overflow in to address

2019-10-17 Thread Robert Beckett
On Tue, 2019-10-15 at 21:40 -0600, Simon Glass wrote: > Hi Robert, > > On Tue, 15 Oct 2019 at 09:55, Robert Beckett < > bob.beck...@collabora.com> wrote: > > Some devices (2 wire eeproms for example) use some bits from the > > chip > > address to represent the high bits of the offset instead of or

Re: [U-Boot] [PATCH v2 14/38] spi: Add support for memory-mapped flash

2019-10-17 Thread Simon Glass
Hi Vignesh, On Wed, 16 Oct 2019 at 04:28, Vignesh Raghavendra wrote: > > Hi Simon, > > On 12/10/19 10:03 AM, Bin Meng wrote: > > Hi Simon, > > > > On Sat, Oct 12, 2019 at 11:08 AM Simon Glass wrote: > >> > >> Hi Bin, > >> > >> On Wed, 9 Oct 2019 at 07:55, Bin Meng wrote: > >>> > >>> Hi Simon, >

Re: [U-Boot] [PATCH 5/5] doc: Add documentation for how to build U-Boot host tools

2019-10-17 Thread Tom Rini
On Thu, Oct 17, 2019 at 09:50:57AM +0800, Bin Meng wrote: > Hi Tom, > > On Thu, Oct 17, 2019 at 2:20 AM Tom Rini wrote: > > > > On Wed, Oct 16, 2019 at 09:27:25AM -0700, Bin Meng wrote: > > > > > This adds a reST document for how to build U-Boot host tools, > > > including information for both Li

[U-Boot] [PATCH v3] arm: add initial support for the Phytium Durian Board

2019-10-17 Thread liu hao
This adds platform code and the device tree for the Phytium Durian Board. The initial support comprises the UART the GMAC and the PCIE. v3: - Change the board name from ft2004 to durian. The dts does not on mainline Kernel. @ Kever Yang - Add pcie driver and boot kernel from scsi-pci card. Add

Re: [U-Boot] [PATCH 1/2] spi: cadence_qspi: Move to spi-mem framework

2019-10-17 Thread Tudor.Ambarus
Hi, Simon, Vignesh, On 10/17/2019 02:20 PM, Simon Goldschmidt wrote: > On Mon, Oct 14, 2019 at 3:27 PM Vignesh Raghavendra wrote: >> Current Cadence QSPI driver has few limitations. It assumes all read >> operations to be in Quad mode and thus does not support SFDP parsing. >> Also, adding suppor

Re: [U-Boot] [PATCH 3/3] pico-imx7d: polish uart clock id definition

2019-10-17 Thread Stefano Babic
On 16/10/19 16:57, Jun Nie wrote: > Stefano Babic 于2019年10月13日周日 下午9:35写道: >> >> Hi Jun, >> >> I am just trying to check if some patch was silently lost, I found yours: >> >> On 16/07/19 09:42, Jun Nie wrote: >>> Polish uart clock id definition. Default IMX7 UART ID is UART1 >>> as original parame

Re: [U-Boot] [PATCH] arm: mxs: Increase VDDD voltage to match specification

2019-10-17 Thread Fabio Estevam
Hi Marek, On Tue, Oct 15, 2019 at 1:27 PM Marek Vasut wrote: > > According to IMX28CEC rev. 4, 10/2018, Table 15. Recommended Operating > Conditions, page 16, the VDDD should be set to 1.55V when the CPU is > operating at 454MHz. This is the case in U-Boot, hence increase the > VDDD voltage. This

Re: [U-Boot] [PATCH 2/2] spi: cadence-qspi: Add direct mode support

2019-10-17 Thread Simon Goldschmidt
On Thu, Oct 17, 2019 at 2:44 PM Vignesh Raghavendra wrote: > > Hi, > > On 17/10/19 5:09 PM, Simon Goldschmidt wrote: > > On Mon, Oct 14, 2019 at 3:27 PM Vignesh Raghavendra wrote: > >> > >> Add support for Direct Access Controller mode of Cadence QSPI. This > >> allows MMIO access to SPI NOR flas

Re: [U-Boot] [PATCH 2/2] spi: cadence-qspi: Add direct mode support

2019-10-17 Thread Vignesh Raghavendra
Hi, On 17/10/19 5:09 PM, Simon Goldschmidt wrote: > On Mon, Oct 14, 2019 at 3:27 PM Vignesh Raghavendra wrote: >> >> Add support for Direct Access Controller mode of Cadence QSPI. This >> allows MMIO access to SPI NOR flash providing better read performance. >> >> Signed-off-by: Vignesh R >> Sig

Re: [U-Boot] [PATCH 1/2] spi: cadence_qspi: Move to spi-mem framework

2019-10-17 Thread Vignesh Raghavendra
Hi Simon, On 17/10/19 4:50 PM, Simon Goldschmidt wrote: > On Mon, Oct 14, 2019 at 3:27 PM Vignesh Raghavendra wrote: >> >> Current Cadence QSPI driver has few limitations. It assumes all read >> operations to be in Quad mode and thus does not support SFDP parsing. >> Also, adding support for new

Re: [U-Boot] [PATCH v2 2/3] ARM: imx: Fix bmode detection from grp10

2019-10-17 Thread Fabio Estevam
On Thu, Oct 17, 2019 at 5:52 AM Claudius Heine wrote: > > imx6_is_bmode_from_gpr10 always returns false, because > IMX6_SRC_GPR10_BMODE is 1<<28 and gets casted to u8 on return. > > This changes the return type to bool in order to cast correctly. > > Signed-off-by: Claudius Heine Reviewed-by: Fa

Re: [U-Boot] [PATCH 3/3] ARM: imx: Use IMX6_SRC_GPR10_BMODE instead of magic number

2019-10-17 Thread Fabio Estevam
On Wed, Oct 16, 2019 at 10:28 AM Claudius Heine wrote: > > Signed-off-by: Claudius Heine Reviewed-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2 1/3] ARM: imx: Rename imx6_is_bmode_from_gpr9 to imx6_is_bmode_from_gpr10

2019-10-17 Thread Fabio Estevam
On Thu, Oct 17, 2019 at 5:52 AM Claudius Heine wrote: > > The only register used in that function is gpr10, which is used to store > the flag. So naming it after this makes sense. > > Signed-off-by: Claudius Heine Reviewed-by: Fabio Estevam ___ U-Boot

Re: [U-Boot] [PATCH 2/2] spi: cadence-qspi: Add direct mode support

2019-10-17 Thread Simon Goldschmidt
On Mon, Oct 14, 2019 at 3:27 PM Vignesh Raghavendra wrote: > > Add support for Direct Access Controller mode of Cadence QSPI. This > allows MMIO access to SPI NOR flash providing better read performance. > > Signed-off-by: Vignesh R > Signed-off-by: Vignesh Raghavendra I've tested this on my so

Re: [U-Boot] [PATCH v2 3/5] spl: nor: Provide falcon boot support for NOR memories

2019-10-17 Thread Tom Rini
On Tue, Oct 15, 2019 at 10:28:45AM +0200, Lukasz Majewski wrote: > This commit adds falcon boot support (by also copying args necessary for > booting) to the SPL NOR memory driver. > > After this change it is possible to use the falcon boot in the same way > as on NAND memories. The necessary con

Re: [U-Boot] [PATCH 1/3] travis: Split i.MX jobs a bit more

2019-10-17 Thread Tom Rini
On Tue, Oct 15, 2019 at 07:27:13AM -0400, Tom Rini wrote: > - Split "tqc" and "technexion" out into their own jobs and exclude > them from the catch-all jobs > - Clarify the job labels a little more. > > Cc: Stefano Babic > Signed-off-by: Tom Rini > Acked-by: Stefano Babic Applied to u-boot

Re: [U-Boot] [PATCH 2/3] travis: Split sun8i in to two jobs

2019-10-17 Thread Tom Rini
On Tue, Oct 15, 2019 at 07:27:14AM -0400, Tom Rini wrote: > Split the 32bit and 64bit platforms into separate jobs, to avoid them > taking too long to build overall. > > Cc: Jagan Teki > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signatu

Re: [U-Boot] [PATCHv3 3/3] travis: Split and rename xilinx ARM in to two jobs

2019-10-17 Thread Tom Rini
On Tue, Oct 15, 2019 at 09:53:22AM -0400, Tom Rini wrote: > Split the ARMv7 and AArch64 platforms into separate jobs, to avoid them > taking too long to build overall. Also rename them from "Xilinx" to > "Zynq*" to reflect slightly better what is being built and to pull in a > few more board matc

Re: [U-Boot] [PATCH 1/1] arm: remove the H2200 board

2019-10-17 Thread Tom Rini
On Tue, Oct 08, 2019 at 08:54:49PM +0200, Heinrich Schuchardt wrote: > U-Boot cannot be built for h2200_defconfig with CONFIG_DM=y. > > The maintainer Lukasz Dalek suggested to remove the board. > https://lists.denx.de/pipermail/u-boot/2019-August/380685.html > > Cc: Lukasz Dalek > Signed-off-b

Re: [U-Boot] [PATCH] image: android: Support boot image v1 and v2

2019-10-17 Thread Tom Rini
On Thu, Aug 15, 2019 at 08:25:07PM +0300, Sam Protsenko wrote: > In new versions of Android Boot Image next fields are added to the > header (and corresponding payloads are added to the image itself): > - v1: Recovery DTBO > - v2: DTB > > Account for these new fields in next functions: > 1.

Re: [U-Boot] [PATCH] image: android: Fix possible build errors

2019-10-17 Thread Tom Rini
On Fri, Aug 09, 2019 at 03:31:29PM +0300, Sam Protsenko wrote: > As android_image.h uses types like u32, we need to include corresponding > headers in place. Otherwise the user will be forced to include those in > C file, or next build error can occur: > > include/android_image.h:32:5: error:

Re: [U-Boot] [PATCH] MAINTAINERS: Update ARM entry

2019-10-17 Thread Tom Rini
On Thu, Oct 10, 2019 at 05:33:09PM -0400, Tom Rini wrote: > Fully take over the ARM maintainers entry. > > Signed-off-by: Tom Rini > Reviewed-by: Bin Meng > Reviewed-by: Neil Armstrong Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [PATCH v1] Makefile: Skip symbolic links to files for cscope

2019-10-17 Thread Tom Rini
On Tue, Oct 08, 2019 at 09:12:45PM +0300, Andy Shevchenko wrote: > cscope complains that it can't find files that appears to be symbolic links > > cscope: cannot find file tools/binman/test/u_boot_binman_syms_bad.c > cscope: cannot find file tools/version.h > > `find -L` tests properties, but na

Re: [U-Boot] Please pull u-boot-dm

2019-10-17 Thread Tom Rini
On Tue, Oct 15, 2019 at 08:46:46AM -0600, Simon Glass wrote: > Hi Tom, > > https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/950 > > > The following changes since commit 6891152a4596d38ac25d2fe1238e3b6a938554b8: > > Merge branch 'master' of git://git.denx.de/u-boot-socfpga > (2019

Re: [U-Boot] [PATCH 1/2] spi: cadence_qspi: Move to spi-mem framework

2019-10-17 Thread Simon Goldschmidt
On Mon, Oct 14, 2019 at 3:27 PM Vignesh Raghavendra wrote: > > Current Cadence QSPI driver has few limitations. It assumes all read > operations to be in Quad mode and thus does not support SFDP parsing. > Also, adding support for new mode such as Octal mode would not be > possible with current co

Re: [U-Boot] [PATCH] nvme: flush dcache on both r/w, and the prp list

2019-10-17 Thread Bin Meng
On Thu, Oct 17, 2019 at 5:22 AM Patrick Wildt wrote: > > It's possible that the data cache for the buffer still holds data > to be flushed to memory, since the buffer was probably used as stack > before. Thus we need to make sure to flush it also on reads, since > it's possible that the cache is

[U-Boot] [PATCH 6/6] armv8: ls1028a: erratum A050382 workaround

2019-10-17 Thread Laurentiu Tudor
From: Laurentiu Tudor Description: The eDMA ICID programmed in the eDMA_AMQR register in DCFG is not correctly forwarded to the SMMU. Workaround: Program eDMA ICID in the eDMA_AMQR register in DCFG to 0x28. Signed-off-by: Laurentiu Tudor --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig

[U-Boot] [PATCH 5/6] armv8: lx2160a: add icid setup for platform devices

2019-10-17 Thread Laurentiu Tudor
From: Laurentiu Tudor Add ICID setup for the platform devices contained on this chip: usb, sata, sdhc, sec. Signed-off-by: Laurentiu Tudor --- arch/arm/cpu/armv8/fsl-layerscape/Makefile| 1 + .../arm/cpu/armv8/fsl-layerscape/lx2160_ids.c | 48 +++ arch/arm/cpu/armv8/fsl-la

[U-Boot] [PATCH 4/6] armv8: fsl-layerscape: add missing SATA3 and SATA4 base addresses

2019-10-17 Thread Laurentiu Tudor
From: Laurentiu Tudor There are chips that have 4 sata controllers. Add missing base addresses for SATA3 and SATA4. Signed-off-by: Laurentiu Tudor --- arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-fsl-laye

[U-Boot] [PATCH 3/6] armv8: ls2088a: add icid setup for platform devices

2019-10-17 Thread Laurentiu Tudor
From: Laurentiu Tudor Add ICID setup for the platform devices contained on this chip: usb, sata, sdhc, sec. Signed-off-by: Laurentiu Tudor --- arch/arm/cpu/armv8/fsl-layerscape/Makefile| 1 + .../arm/cpu/armv8/fsl-layerscape/ls2088_ids.c | 33 +++ arch/arm/cpu/armv8/fsl-la

[U-Boot] [PATCH 2/6] armv8: fsl-layerscape: fix compile error with sec fw disabled

2019-10-17 Thread Laurentiu Tudor
From: Laurentiu Tudor If SEC FW support is not enabled (ARMV8_SEC_FIRMWARE_SUPPORT=n) this compilation error happens: arch/arm/include/asm/arch-fsl-layerscape/fsl_icid.h:169:4: error: 'CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT' undeclared here (not in a function) Fix it by adding an intermediate macro t

[U-Boot] [PATCH 1/6] armv8: fsl-layerscape: guard caam specific defines

2019-10-17 Thread Laurentiu Tudor
From: Laurentiu Tudor These macros should only be used when CONFIG_FSL_CAAM is present. Signed-off-by: Laurentiu Tudor --- arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c | 2 ++ arch/arm/cpu/armv8/fsl-layerscape/ls1088_ids.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/cpu/a

Re: [U-Boot] [PATCH v0] rockchip: adding the missing "/" in entries of boot_devices

2019-10-17 Thread Philipp Tomsich
> On 17.10.2019, at 09:22, d...@t-chip.com.cn wrote: > > From: Levin Du > > Without the prefix, "same-as-spl" in `u-boot,spl-boot-order` will not work > as expected. When board_boot_order() `spl-boot-order.c` meets > "same-as-spl", it gets the conf by looking the boot_devices table by boot > s

Re: [U-Boot] [PATCH v0] rockchip: adding the missing "/" in entries of boot_devices

2019-10-17 Thread Mark Kettenis
> From: d...@t-chip.com.cn > Date: Thu, 17 Oct 2019 15:22:38 +0800 > > From: Levin Du > > Without the prefix, "same-as-spl" in `u-boot,spl-boot-order` will not work > as expected. When board_boot_order() `spl-boot-order.c` meets > "same-as-spl", it gets the conf by looking the boot_devices table

Re: [U-Boot] [PATCH] rockchip: firefly-rk3288: Enable TPL support【请注意,邮件由u-boot-boun...@lists.denx.de代发】

2019-10-17 Thread Levin Du
Hi all, I have difficulties with TPL in the firefly-rk3288 board. 1. Without defining DEBUG in `drivers/mmc/dw_mmc.c`, boot with TF card: U-Boot TPL 2019.10-00017-g5b02ac7fa5dd-dirty (Oct 17 2019 - 16:36:39) Trying to boot from BOOTROM Returning to boot ROM... U-Boot SPL 2019.10-

Re: [U-Boot] [PATCH v1 3/3] lib: rsa: add rsa_verify_with_pkey()

2019-10-17 Thread AKASHI Takahiro
On Tue, Oct 15, 2019 at 04:17:04PM +0900, AKASHI Takahiro wrote: > On Sat, Oct 12, 2019 at 02:47:33PM +0200, Heinrich Schuchardt wrote: > > On 10/10/19 3:04 AM, AKASHI Takahiro wrote: > > >On Wed, Oct 09, 2019 at 07:56:04PM +0200, Heinrich Schuchardt wrote: > > >>On 10/9/19 7:30 AM, AKASHI Takahiro

[U-Boot] [PATCH v0] rockchip: adding the missing "/" in entries of boot_devices

2019-10-17 Thread djw
From: Levin Du Without the prefix, "same-as-spl" in `u-boot,spl-boot-order` will not work as expected. When board_boot_order() `spl-boot-order.c` meets "same-as-spl", it gets the conf by looking the boot_devices table by boot source, and parse the node by the conf with: node = fdt_path_offset

Re: [U-Boot] [PATCH] nvme: add more cache flushes

2019-10-17 Thread Patrick Wildt
On Thu, Oct 17, 2019 at 03:08:59PM +0800, Bin Meng wrote: > Hi Patrick, > > On Thu, Oct 17, 2019 at 2:44 PM Patrick Wildt wrote: > > > > On Thu, Oct 17, 2019 at 10:55:11AM +0800, Bin Meng wrote: > > > Hi Patrick, > > > > > > On Wed, Oct 16, 2019 at 11:35 PM Patrick Wildt wrote: > > > > > > > > O

Re: [U-Boot] [PATCH] nvme: add more cache flushes

2019-10-17 Thread Bin Meng
Hi Patrick, On Thu, Oct 17, 2019 at 2:44 PM Patrick Wildt wrote: > > On Thu, Oct 17, 2019 at 10:55:11AM +0800, Bin Meng wrote: > > Hi Patrick, > > > > On Wed, Oct 16, 2019 at 11:35 PM Patrick Wildt wrote: > > > > > > On Wed, Oct 16, 2019 at 06:11:23PM +0800, Bin Meng wrote: > > > > On Mon, Oct 1

Re: [U-Boot] [PATCH v1 06/11] lib: add asn1 decoder

2019-10-17 Thread AKASHI Takahiro
On Sat, Oct 12, 2019 at 02:29:49PM +0200, Heinrich Schuchardt wrote: > On 10/11/19 9:41 AM, AKASHI Takahiro wrote: > >Imported from linux kernel v5.3. > > > >Signed-off-by: AKASHI Takahiro > >--- > > lib/Kconfig| 6 + > > lib/Makefile | 1 + > > lib/asn1_decoder.c | 527