Re: [U-Boot] [PATCH] TCP and wget implementation v4

2018-01-05 Thread Joe Hershberger
On Fri, Jan 5, 2018 at 4:10 PM, Duncan Hare wrote: >> > >> > A note on this TCP implementation. In TCP the transmitting TCP >> > guarantees delivery of a stream, and the receiving TCP guarantees >> > ordered of delivery of the stream. In this implementation The >> > kernel memory

Re: [U-Boot] exFAT support in u-boot

2018-01-05 Thread Lukasz Majewski
Hi, > Hi All, > > As per my understanding, u-boot doesn't support exFAT. > [ based on > https://lists.denx.de/pipermail/u-boot/2012-March/119300.html ] This seems to be a bit outdated. I'm using stock SD cards in mainline u-boot. > > Just want to know, is there is a way to add exFAT support

Re: [U-Boot] [PATCH] TCP and wget implementation v4

2018-01-05 Thread Duncan Hare
> > > > A note on this TCP implementation. In TCP the transmitting TCP > > guarantees delivery of a stream, and the receiving TCP guarantees > > ordered of delivery of the stream. In this implementation The > > kernel memory buffer and the TCP sequence number is used to order > > the stream. for

Re: [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2018-01-05 Thread Marek Vasut
On 01/05/2018 08:31 PM, Goldschmidt Simon wrote: > On Fri, 05/01/2018 Marek Vasut wrote: >> On 01/05/2018 04:49 PM, Goldschmidt Simon wrote: > > > > OK, so I need these patches to get qspi work on socfpga: > > - Series "spi: cadence_spi: Adopt Linux DT bindings" (v4) from Jason

[U-Boot] [PATCH] ARM: bootm: don't assume sp is in DRAM bank 0

2018-01-05 Thread Stephen Warren
From: Stephen Warren arch_lmb_reserve() currently assumes that the stack pointer is within DRAM bank 0. This is not necessarily true. Enhance the code to search through DRAM banks until the bank that does contain SP is found, and then reserve the tail of that bank. Fixes:

Re: [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2018-01-05 Thread Goldschmidt Simon
On Fri, 05/01/2018 Marek Vasut wrote: > On 01/05/2018 04:49 PM, Goldschmidt Simon wrote: OK, so I need these patches to get qspi work on socfpga: - Series "spi: cadence_spi: Adopt Linux DT bindings" (v4) from Jason Rush:

Re: [U-Boot] [PATCH 3/3] imx: mx7: psci: add system power off support

2018-01-05 Thread Troy Kisky
On 1/4/2018 10:03 PM, Anson Huang wrote: > Add i.MX7 PSCI system power off support, linux > kernel can use "poweroff" command to power off > system via SNVS, PMIC power will be disabled. > > Signed-off-by: Anson Huang > --- > arch/arm/mach-imx/mx7/psci-mx7.c | 18

Re: [U-Boot] [PATCH] TCP and wget implementation v4

2018-01-05 Thread Joe Hershberger
On Wed, Jan 3, 2018 at 5:01 PM, Duncan Hare wrote: >> >>>selects the LIB_RAND feature since it is required. >> > >> > Thanks: will be in u-boot/cmd/Kconfig >> > >> >>Are we lookin at a series of patches, or a concurrent set? >> > >> > At this time a series of three, but I'd take

[U-Boot] [PATCH] board: i.MX6QDL: add Engicam i.CoreM6 1.5 QDL MIPI starter kit

2018-01-05 Thread Jagan Teki
i.CoreM6 1.5 is an another i.CoreM6 QDL cpu modules which can be connected to EDIMM starter kit design with eMMC and MIPI-CSI interfaces suitable for Android and video capture application. notable features: CPU NXP i.MX6 S/DL/D/Q, Up to 4 x Cortex-A9@800MHz Memory

[U-Boot] [PATCH] config_whitelist: remove false-positive CONFIG options

2018-01-05 Thread Masahiro Yamada
U-Boot pulled in several core makefiles from Linux. The following are not used in U-Boot: - CONFIG_DEBUG_SECTION_MISMATCH - CONFIG_FTRACE_MCOUNT_RECORD - CONFIG_GCOV_KERNEL - CONFIG_GCOV_PROFILE_ALL - CONFIG_KASAN - CONFIG_MODVERSIONS We can remove the unused code if we like.

Re: [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2018-01-05 Thread Marek Vasut
On 01/05/2018 04:49 PM, Goldschmidt Simon wrote: > + Marek (as Jagan wants an ack) > > On 05/01/2018 Jagan Teki wrote: >> On Fri, Jan 5, 2018 at 5:32 PM, Goldschmidt Simon wrote: >>> + Vignesh >>> + Jason >>> >>> On Wed, 03/01/2018 16:57, Goldschmidt Simon wrote: On Wed, 03/01/2018 14:51,

[U-Boot] exFAT support in u-boot

2018-01-05 Thread Arun Kuttiyara Varghese
Hi All, As per my understanding, u-boot doesn't support exFAT. [ based on https://lists.denx.de/pipermail/u-boot/2012-March/119300.html ] Just want to know, is there is a way to add exFAT support to u-boot ? [ May be a similar way as exFAT support in Linux [ https://github.com/relan/exfat] ]

Re: [U-Boot] [u-boot-release] [PATCH 2/3] armv8: ls1088a: SPL size reduction

2018-01-05 Thread York Sun
On 01/05/2018 08:22 AM, Sumit Garg wrote: >> -Original Message- >> From: York Sun >> Sent: Friday, January 05, 2018 9:40 PM >> To: Sumit Garg ; u-boot@lists.denx.de >> Cc: Prabhakar Kushwaha ; Ruchika Gupta >> >>

Re: [U-Boot] [u-boot-release] [PATCH 2/3] armv8: ls1088a: SPL size reduction

2018-01-05 Thread Sumit Garg
> -Original Message- > From: York Sun > Sent: Friday, January 05, 2018 9:40 PM > To: Sumit Garg ; u-boot@lists.denx.de > Cc: Prabhakar Kushwaha ; Ruchika Gupta > > Subject: Re: [u-boot-release] [PATCH 2/3] armv8:

[U-Boot] [[PATCH v2] 7/8] sunxi: usb_phy: setup USB PHY passby for USB0 on H3/H5/A64

2018-01-05 Thread Jun Nie
From: Chen-Yu Tsai On newer chips, there is a pair of EHCI/OHCI USB hosts for OTG host mode. USB PHY passby must be configured for its corresponding PHY. Signed-off-by: Chen-Yu Tsai --- arch/arm/mach-sunxi/usb_phy.c | 7 ++- 1 file changed, 6 insertions(+), 1

[U-Boot] [[PATCH v2] 8/8] sunxi: H3: set different otg base address per mode

2018-01-05 Thread Jun Nie
Set different base address per host mode or peripheral mode. Phy configuration also depends on this address. Signed-off-by: Jun Nie --- arch/arm/include/asm/arch-sunxi/cpu_sun4i.h | 4 1 file changed, 4 insertions(+) diff --git

[U-Boot] [[PATCH v2] 6/8] sunxi: usb_phy: Clear PHYCTL register before writing

2018-01-05 Thread Jun Nie
PHYCTL register offset at 0x10 need to be cleared before it's written. Ported from below Linux patch. d699c1d phy: sun4i-usb: change PHYCTL register clearing code Signed-off-by: Jun Nie --- arch/arm/mach-sunxi/usb_phy.c | 8 +++- 1 file changed, 7 insertions(+), 1

[U-Boot] [[PATCH v2] 4/8] sunxi: musb: Hack dynamic fifo support for H3 OTG

2018-01-05 Thread Jun Nie
Like other Allwinner SoC, the H3 is missing the config register from the musb hardware block. Use a known working value for it like other SoC. Signed-off-by: Jun Nie --- drivers/usb/musb-new/musb_regs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[U-Boot] [[PATCH v2] 5/8] sunxi: musb: Enable OTG device clock for H3

2018-01-05 Thread Jun Nie
Enable OTG clock and deassert reset Signed-off-by: Jun Nie --- arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 1 + drivers/usb/musb-new/sunxi.c | 6 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git

[U-Boot] [[PATCH v2] 2/8] sunxi: musb: Add fifo config for H3

2018-01-05 Thread Jun Nie
Add fifo config for H3 as H3 differ with other SoC on ep number. Signed-off-by: Jun Nie Reviewed-by: Jagan Teki --- drivers/usb/musb-new/sunxi.c | 32 1 file changed, 32 insertions(+) diff --git

[U-Boot] [[PATCH v2] 1/8] sunxi: h3: Sync OTG and HCI nodes from Linux DT

2018-01-05 Thread Jun Nie
Allwinner H3 have a dual-routed USB PHY0 -- routed to either OHCI/EHCI or MUSB controller. Signed-off-by: Jun Nie --- arch/arm/dts/sun8i-h3.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm/dts/sun8i-h3.dtsi

[U-Boot] [[PATCH v2] 3/8] sunxi: Fix USB PHY index for H3/H5/A64

2018-01-05 Thread Jun Nie
From: Chen-Yu Tsai On the new chips such as H3, H5, and A64, the USB OTG controller is paired with a set of proper EHCI/OHCI USB hosts. To enable these hosts, the USB PHY index count has to be reworked to start from this pair. This patch reworks the USB clock gate and reset

[U-Boot] [[PATCH v2] 0/8] sunxi: Enable OTG peripheral and host mode on H3

2018-01-05 Thread Jun Nie
Changes vs V1: - Add two patches from Chen-Yu to enable host mode - split USB0 base address change to separate patch - revise OTG clock enabling patch Chen-Yu Tsai (2): sunxi: Fix USB PHY index for H3/H5/A64 sunxi: usb_phy: setup USB PHY passby for USB0 on H3/H5/A64 Jun Nie (6): sunxi: h3:

Re: [U-Boot] [u-boot-release] [PATCH 2/3] armv8: ls1088a: SPL size reduction

2018-01-05 Thread York Sun
On 01/05/2018 08:07 AM, Sumit Garg wrote: >> >> Sumit, >> >> PPA has been fixed to not claim OCRAM. Please rework your patch. >> >> York > > York, > > I have just sent reworked patches without removing dcache cache code. It's > been working > only with toolchain above GCC 6 that reduces SPL

Re: [U-Boot] [u-boot-release] [PATCH 2/3] armv8: ls1088a: SPL size reduction

2018-01-05 Thread Sumit Garg
> -Original Message- > From: York Sun > Sent: Friday, January 05, 2018 9:26 PM > To: Sumit Garg ; u-boot@lists.denx.de > Cc: Prabhakar Kushwaha ; Ruchika Gupta > > Subject: Re: [u-boot-release] [PATCH 2/3] armv8:

Re: [U-Boot] [PATCH v2] crypto/fsl: fix BLOB encapsulation and decapsulation

2018-01-05 Thread York Sun
On 01/05/2018 05:02 AM, Clemens Gruber wrote: > > York: Should I send a v3 or a fixup patch ontop of v2. I have reset my git head. Please send v3 patch. York ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2018-01-05 Thread York Sun
Tom, Please abort this PR. More review comments came in last night. (Somehow I sent to wrong address anyway.) York On 01/04/2018 05:19 PM, York Sun wrote: > Tom, > > The following changes since commit ca833ca9579b29c5667ea2fa7a9d3f89f1599a94: > > Merge git://git.denx.de/u-boot-rockchip

[U-Boot] [PATCH v2 3/3] ls1088ardb: Add SD Secure boot target support

2018-01-05 Thread Sumit Garg
Signed-off-by: Udit Agarwal Signed-off-by: Sumit Garg --- Changes in v2: Rebased to top of master arch/arm/include/asm/fsl_secure_boot.h | 16 board/freescale/ls1088a/MAINTAINERS| 5 +++

[U-Boot] [PATCH v2 2/3] armv8: ls1088a: SPL size reduction

2018-01-05 Thread Sumit Garg
Using changes in this patch we were able to reduce approx 8k size of u-boot-spl.bin image. Following is breif description of changes to reduce SPL size: 1. Changes in board/freescale/ls1088a/Makefile to remove compilation of eth.c and cpld.c in case of SPL build. 2. Changes in

[U-Boot] [PATCH v2 1/3] armv8: fsl-layerscape: SPL size reduction

2018-01-05 Thread Sumit Garg
Compile-off mp.c and libfdt.c in case of SPL build. SPL size reduces by approx 2k. Signed-off-by: Sumit Garg --- Changes in v2: Removed code specific to D-Cache off. With GCC 6.2 tool-chain, able to reduce size to 79K. arch/arm/cpu/armv8/fsl-layerscape/Makefile | 2 ++ 1

Re: [U-Boot] [u-boot-release] [PATCH 2/3] armv8: ls1088a: SPL size reduction

2018-01-05 Thread York Sun
On 08/30/2017 01:53 AM, Sumit Garg wrote: > < snip > > On 08/29/2017 12:02 AM, Sumit Garg wrote: > Using changes in this patch we were able to reduce approx 8k size of > u-boot-spl.bin image. Following is breif description of changes to > reduce SPL size: > 1. Changes in

Re: [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2018-01-05 Thread Goldschmidt Simon
+ Marek (as Jagan wants an ack) On 05/01/2018 Jagan Teki wrote: > On Fri, Jan 5, 2018 at 5:32 PM, Goldschmidt Simon wrote: >> + Vignesh >> + Jason >> >> On Wed, 03/01/2018 16:57, Goldschmidt Simon wrote: >>> On Wed, 03/01/2018 14:51, Jagan Teki wrote: >>> >> There were already patches posted on

[U-Boot] [PATCH v2 2/3] imx: introduce CONFIG_GPT_TIMER

2018-01-05 Thread Stefan Agner
From: Stefan Agner Introduce a new config symbol to select the i.MX General Purpose Timer (GPT). Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- Changes in v2: - Fix Kconfig for MX5

[U-Boot] [PATCH v2 3/3] imx: initialize and use generic timer on i.MX 6UL/ULL

2018-01-05 Thread Stefan Agner
From: Stefan Agner The i.MX 6UL/ULL feature a Cortex-A7 CPU which suppor the ARM generic timer. This change makes use of the ARM generic timer in U-Boot. This is crucial to make the ARM generic timers usable in Linux since timer_init() initalizes the system counter

[U-Boot] [PATCH v2 1/3] imx: move CONFIG_SYSCOUNTER_TIMER to Kconfig

2018-01-05 Thread Stefan Agner
From: Stefan Agner Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- Changes in v2: None arch/arm/mach-imx/Kconfig | 3 +++ arch/arm/mach-imx/mx7/Kconfig | 1 + include/configs/mx7_common.h | 1 -

Re: [U-Boot] [PATCH 3/3] imx: initialize and use generic timer on i.MX 6UL/ULL

2018-01-05 Thread Fabio Estevam
On Fri, Jan 5, 2018 at 12:01 PM, Stefan Agner wrote: > This does not add it to MX6UL_LITESOM, it adds it to "config MX6ULL". > diff is somewhat confusing here. Got it! So all is well here then. Thanks ___ U-Boot mailing list

Re: [U-Boot] [PATCH 3/3] imx: initialize and use generic timer on i.MX 6UL/ULL

2018-01-05 Thread Stefan Agner
On 2018-01-05 13:40, Fabio Estevam wrote: > On Mon, Jan 1, 2018 at 10:43 PM, Stefan Agner wrote: > >> --- a/arch/arm/mach-imx/mx6/Kconfig >> +++ b/arch/arm/mach-imx/mx6/Kconfig >> @@ -9,7 +9,7 @@ config MX6_SMP >> >> config MX6 >> select ARM_ERRATA_743622 if !MX6UL &&

Re: [U-Boot] [PATCH 2/3] imx: introduce CONFIG_GPT_TIMER

2018-01-05 Thread Stefan Agner
On 2018-01-02 01:43, Stefan Agner wrote: > Introduce a new config symbol to select the i.MX > General Purpose Timer (GPT). > > Signed-off-by: Stefan Agner > --- > > arch/arm/mach-imx/Kconfig | 3 +++ > arch/arm/mach-imx/Makefile| 3 ++- > arch/arm/mach-imx/mx5/Kconfig

[U-Boot] [PATCH v1 0/6] Add support for DM_USB for TI's DRA7 platforms

2018-01-05 Thread Jean-Jacques Hiblot
Supporting DM USB is required to support DM_ETH and USB network adapters with the same binary. This series adds support for DM_USB for the DRA7 family. It leverages the work done for the STi family. limitations: - only USB2 Host is supported. USB2 Device can be added later. - only DRA7 platforms,

[U-Boot] [PATCH v1 4/6] usb: omap5: Add glue logic to support DM for USB host

2018-01-05 Thread Jean-Jacques Hiblot
The omap5 uses the dwc3. The dwc3 supports the driver model but it requires some glue logic to load the the driver. Signed-off-by: Jean-Jacques Hiblot --- drivers/usb/host/Kconfig | 10 + drivers/usb/host/Makefile | 1 +

[U-Boot] [PATCH v1 3/6] phy: Add a new driver for OMAP's USB2 PHYs

2018-01-05 Thread Jean-Jacques Hiblot
This drivers supports the USB2 PHY found on omap5 and dra7 SOCs. Signed-off-by: Jean-Jacques Hiblot --- drivers/phy/Kconfig | 8 ++ drivers/phy/Makefile| 2 + drivers/phy/omap-usb2-phy.c | 186 3 files changed,

[U-Boot] [PATCH v1 6/6] dts: dra7x: enable host on USB2 for all the platforms of the DRA7 family

2018-01-05 Thread Jean-Jacques Hiblot
This enables the USB2. USB1 is not enabled because it's managed by platform code not by DM. Signed-off-by: Jean-Jacques Hiblot --- arch/arm/dts/dra7-evm-common.dtsi | 7 +++ arch/arm/dts/dra72-evm-common.dtsi | 4 arch/arm/dts/omap5-u-boot.dtsi | 4 3 files

[U-Boot] [PATCH v1 2/6] syscon: dm: Add a new method to get a regmap from DTS

2018-01-05 Thread Jean-Jacques Hiblot
syscon_regmap_lookup_by_phandle() can be used to the regmap of a syscon device from a reference in the DTS. It operates similarly to the linux version of the namesake function. Signed-off-by: Jean-Jacques Hiblot --- drivers/core/syscon-uclass.c | 23 +++

[U-Boot] [PATCH v1 5/6] configs: enable DM_USB for all the platforms of the DRA7 family

2018-01-05 Thread Jean-Jacques Hiblot
Signed-off-by: Jean-Jacques Hiblot --- configs/dra7xx_evm_defconfig| 2 ++ configs/dra7xx_hs_evm_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig index 716a57b..875f501 100644 ---

[U-Boot] [PATCH v1 1/6] board: ti: dra7xx-evm: turn on USB clocks in late init stage

2018-01-05 Thread Jean-Jacques Hiblot
For USB ports that use the Driver Model, turn on the clocks during the late init stage. Signed-off-by: Jean-Jacques Hiblot --- board/ti/dra7xx/evm.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c index

Re: [U-Boot] [PATCH] armv8: ls1088ardb: Put distro boot functions under CONFIG_SPL_BUILD

2018-01-05 Thread Sumit Garg
Hi Ashish, Changes in below patch are already part of following patch already in upstream. https://patchwork.ozlabs.org/patch/806983/ Regards, Sumit > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Ashish > Kumar > Sent: Friday, January 05, 2018

Re: [U-Boot] [PATCH 1/3] imx: move CONFIG_SYSCOUNTER_TIMER to Kconfig

2018-01-05 Thread Stefano Babic
Hi Stefan, On 05/01/2018 11:26, Stefan Agner wrote: > Hi Stefano, > > Any chance to get this patchset still into v2018.01? Yes ! Stefano > IMHO it is almost a > bug that U-Boot does not initialize the ARM architected timer > properly... > > -- > Stefan > > > On 2018-01-02 01:43, Stefan

Re: [U-Boot] [PATCH v2] crypto/fsl: fix BLOB encapsulation and decapsulation

2018-01-05 Thread Sumit Garg
> From: Clemens Gruber [mailto:clemens.gru...@pqgruber.com] > Sent: Friday, January 05, 2018 6:32 PM > > Hi Sumit, Fabio, York, > > On Fri, Jan 05, 2018 at 06:47:36AM +, Sumit Garg wrote: > > Hi Clemens, York, Fabio, > > > > > -Original Message- > > > From: U-Boot

Re: [U-Boot] [PATCH V2] imx: mx7: psci: add system reset support

2018-01-05 Thread Anson Huang
Hi, Fabio Best Regards! Anson Huang > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2018-01-04 8:57 PM > To: Anson Huang > Cc: Stefano Babic ; Fabio Estevam > ; Albert ARIBAUD

[U-Boot] [PATCH 3/3] imx: mx7: psci: add system power off support

2018-01-05 Thread Anson Huang
Add i.MX7 PSCI system power off support, linux kernel can use "poweroff" command to power off system via SNVS, PMIC power will be disabled. Signed-off-by: Anson Huang --- arch/arm/mach-imx/mx7/psci-mx7.c | 18 ++ arch/arm/mach-imx/mx7/psci.S | 7 +++

[U-Boot] [PATCH 1/3] mx7_common: use psci 1.0 instead of 0.1

2018-01-05 Thread Anson Huang
Use PSCI 1.0 instead of 0.1 to support more power management feature like system reset, power off etc.. Signed-off-by: Anson Huang --- include/configs/mx7_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/mx7_common.h

[U-Boot] [PATCH 2/3] imx: mx7: psci: add system reset support

2018-01-05 Thread Anson Huang
Add i.MX7 PSCI system reset support, linux kernel can use "reboot" command to reset system even wdog driver is disabled in kernel. Signed-off-by: Anson Huang --- arch/arm/mach-imx/mx7/psci-mx7.c | 5 + arch/arm/mach-imx/mx7/psci.S | 7 +++ 2 files changed, 12

[U-Boot] [PATCH] drivers: pci: imx: fix enumeration logic error

2018-01-05 Thread Koen Vandeputte
By default, the subordinate is set equally to the secondary bus (1) when the RC boots, and does not alter afterwards. This means that theoretically, the highest bus reachable downstream is bus 1. Force the PCIe RC subordinate to 0xff, otherwise no downstream devices will be detected behind bus 1

Re: [U-Boot] [PATCH v2] crypto/fsl: fix BLOB encapsulation and decapsulation

2018-01-05 Thread Clemens Gruber
Hi Sumit, Fabio, York, On Fri, Jan 05, 2018 at 06:47:36AM +, Sumit Garg wrote: > Hi Clemens, York, Fabio, > > > -Original Message- > > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Fabio > > Estevam > > Sent: Friday, January 05, 2018 3:27 AM > > To: York Sun

Re: [U-Boot] [PATCH 3/3] imx: initialize and use generic timer on i.MX 6UL/ULL

2018-01-05 Thread Fabio Estevam
On Mon, Jan 1, 2018 at 10:43 PM, Stefan Agner wrote: > --- a/arch/arm/mach-imx/mx6/Kconfig > +++ b/arch/arm/mach-imx/mx6/Kconfig > @@ -9,7 +9,7 @@ config MX6_SMP > > config MX6 > select ARM_ERRATA_743622 if !MX6UL && !MX6ULL > - select GPT_TIMER > + select

Re: [U-Boot] [PATCH 2/3] imx: introduce CONFIG_GPT_TIMER

2018-01-05 Thread Fabio Estevam
On Mon, Jan 1, 2018 at 10:43 PM, Stefan Agner wrote: > Introduce a new config symbol to select the i.MX > General Purpose Timer (GPT). > > Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam

Re: [U-Boot] [PATCH 1/3] imx: move CONFIG_SYSCOUNTER_TIMER to Kconfig

2018-01-05 Thread Fabio Estevam
On Mon, Jan 1, 2018 at 10:43 PM, Stefan Agner wrote: > Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2018-01-05 Thread Jagan Teki
On Fri, Jan 5, 2018 at 5:32 PM, Goldschmidt Simon wrote: > + Vignesh > + Jason > > On Wed, 03/01/2018 16:57, Goldschmidt Simon wrote: >> On Wed, 03/01/2018 14:51, Jagan Teki wrote: >> >> There were already patches posted on this list by me and others, but >> >>

Re: [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2018-01-05 Thread Goldschmidt Simon
+ Vignesh + Jason On Wed, 03/01/2018 16:57, Goldschmidt Simon wrote: > On Wed, 03/01/2018 14:51, Jagan Teki wrote: > >> There were already patches posted on this list by me and others, but > >> unfortunately they haven't made it into the repository, yet. > >> > >> Jagan, could you comment on the

[U-Boot] FIT nand boot fail to load U-Boot proper

2018-01-05 Thread Jagan Teki
I have not debugged much on this, just to check whether the same feature work for others or not? SPL is unable to load U-Boot proper, which is fit formatted of two dtb bundle, but normal U-Boot proper loads fine. Log: >>spl:board_init_r() spl_early_init() Trying to boot from NAND : 512 MiB

[U-Boot] [PATCH] armv8: ls1088ardb: Put distro boot functions under CONFIG_SPL_BUILD

2018-01-05 Thread Ashish Kumar
Remove distro related stuff from SPL-uboot to save on SPL size. Signed-off-by: Ashish Kumar Signed-off-by: Pankit Garg --- Size reduction is approx 5K depends upon http://patchwork.ozlabs.org/patch/853615/ http://patchwork.ozlabs.org/patch/854402/

[U-Boot] [PATCH 3/3] xilinx: zynqmp: Add new target with only emmc enabled

2018-01-05 Thread Siva Durga Prasad Paladugu
This patch adds new target which is called as mini configuration with only emmc functionality and other required basic features enabled. This will be used to run in system with small footprint and needs emmc support. Signed-off-by: Siva Durga Prasad Paladugu ---

[U-Boot] [PATCH 0/3] Add new targets for Xilinx ZynqMP SoC

2018-01-05 Thread Siva Durga Prasad Paladugu
This series adds new targets for Xilinx ZynqMP SoC. These targets are mainly meant for u-boot with minimal set of required functionality for each of flash devices such as qspi, nand and emmc. These are used in places where u-boot is supposed to run in memory with smaller footprints and with

[U-Boot] [PATCH 2/3] xilinx: zynqmp: Add new target with only nand enabled

2018-01-05 Thread Siva Durga Prasad Paladugu
This patch adds new target which is called as mini configuration with only nand functionality and other required basic features enabled. This will be used to run in system with small footprint and needs nand support. Signed-off-by: Siva Durga Prasad Paladugu ---

[U-Boot] [PATCH 1/3] xilinx: zynqmp: Add new target with only qspi enabled

2018-01-05 Thread Siva Durga Prasad Paladugu
This patch adds new target which is called as mini configuration with only qspi enabled. This will be used to run in system with small footprint and needs qspi support. One example of such case is that it can run from OCM and programs qspi flash in DDR less systems. Signed-off-by: Siva Durga

[U-Boot] [PATCH 06/07] db410c: add reserved-memory node to dts

2018-01-05 Thread Jorge Ramirez-Ortiz
From: Rob Clark If lk lights up display and populates simple-framebuffer node, it will also setup a reserved-memory node (needed by simplefb on linux). But it isn't clever enough to cope when the reserved-memory node is not present. Signed-off-by: Rob Clark

[U-Boot] [PATCH 07/07] db410c: on aarch64 the fdtfile is in per-vendor subdirectory

2018-01-05 Thread Jorge Ramirez-Ortiz
From: Rob Clark Signed-off-by: Rob Clark --- include/configs/dragonboard410c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h index 3c5bb8a..530d667 100644 ---

[U-Boot] [PATCH 04/07] fdtdec: allow board to provide fdt for CONFIG_OF_SEPARATE

2018-01-05 Thread Jorge Ramirez-Ortiz
From: Rob Clark Similar to CONFIG_OF_BOARD, but in this case the fdt is still built by u-boot build. This allows the board to patch the fdt, etc. In the specific case of dragonboard 410c, we pass the u-boot generated fdt to the previous stage of bootloader (by embedding it

[U-Boot] [PATCH 05/07] db410c: use the device tree parsed by the lk loader.

2018-01-05 Thread Jorge Ramirez-Ortiz
We dont need to keep copies of the properties that we are going to fixup since we will be using the dtb provided by the firmware. Signed-off-by: Jorge Ramirez-Ortiz --- board/qualcomm/dragonboard410c/dragonboard410c.c | 71 ++--

[U-Boot] [PATCH 03/07] db410c: replace reset driver with psci

2018-01-05 Thread Jorge Ramirez-Ortiz
this should be the norm for armv8 platforms. Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/dts/dragonboard410c.dts | 5 --- board/qualcomm/dragonboard410c/dragonboard410c.c | 5 +++ configs/dragonboard410c_defconfig| 2 +-

[U-Boot] [PATCH 02/07] db410c: update wlan and bt mac addresses from firmware

2018-01-05 Thread Jorge Ramirez-Ortiz
The firmware that runs before u-boot modifies u-boot's device tree adding the local-mac-address and local-bd-address properties for the compatibles "qcom,wcnss-bt" and "qcom,wcnss-wlan". This commit reads that firmware, retrieves the properties and fixups the device tree that is passed to the

[U-Boot] [PATCH 01/07] db410c: configs: increase gunzip buffer size for the kernel

2018-01-05 Thread Jorge Ramirez-Ortiz
the kernel fails to boot when it goes over the limit. Signed-off-by: Jorge Ramirez-Ortiz --- include/configs/dragonboard410c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/dragonboard410c.h

[U-Boot] [PATCH 03/05] db820c: add qualcomm dragonboard 820C support

2018-01-05 Thread Jorge Ramirez-Ortiz
This commit adds support for 96Boards Dragonboard820C. The board is based on APQ8086 Qualcomm Soc, complying with the 96Boards specification. Features - 4x Kyro CPU (64 bit) up to 2.15GHz - USB2.0 - USB3.0 - ISP - Qualcomm Hexagon DSP - SD 3.0 (UHS-I) - UFS 2.0 - Qualcomm Adreno 530 GPU

[U-Boot] [PATCH 05/05] db820c: stop autoboot when vol- pressed

2018-01-05 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/dts/dragonboard820c-uboot.dtsi | 19 board/qualcomm/dragonboard820c/dragonboard820c.c | 37 +++- include/configs/dragonboard820c.h| 2 ++ 3 files changed, 57

[U-Boot] [PATCH 04/05] db820c: enable pmic gpios for pm8994

2018-01-05 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/dts/dragonboard820c.dts | 43 +++ configs/dragonboard820c_defconfig | 7 +++ drivers/gpio/pm8916_gpio.c| 7 +-- 3 files changed, 55 insertions(+), 2 deletions(-)

[U-Boot] [PATCH 02/05] arm: mach-snapdragon: refactor clock driver

2018-01-05 Thread Jorge Ramirez-Ortiz
In preparation to add support for the Dragonboard820c (APQ8096), refactor the current Snapdragon clock driver. No new functionality has been added. Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/mach-snapdragon/Makefile | 6 +-

[U-Boot] [PATCH 01/05] env: enable accessing the environment in an EXT4 partition

2018-01-05 Thread Jorge Ramirez-Ortiz
For example to store the environment in a file named "/uboot.env" in MMC "0", where partition "1" contains the EXT4 filesystem, the following configs should be added to the board's default config: CONFIG_ENV_IS_IN_EXT4=y CONFIG_ENV_EXT4_DEVICE_AND_PART="0:1"

[U-Boot] [PATCH 03/03] dm: core: parse chosen node

2018-01-05 Thread Jorge Ramirez-Ortiz
From: Rob Clark This is the node that would contain, for example, the framebuffer setup by an earlier stage. Signed-off-by: Rob Clark --- arch/sandbox/dts/test.dts | 7 +++ drivers/core/root.c | 12 test/dm/bus.c |

[U-Boot] [PATCH 02/03] poplar: configs: increase gunzip buffer size for the kernel

2018-01-05 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz --- include/configs/poplar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/poplar.h b/include/configs/poplar.h index 1c39ed1..8a12b52 100644 --- a/include/configs/poplar.h +++

[U-Boot] [PATCH 01/03] spmi: msm: display the PMIC Arb version (debug)

2018-01-05 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz --- drivers/spmi/spmi-msm.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/spmi/spmi-msm.c b/drivers/spmi/spmi-msm.c index c226913..e9bfbb0 100644 --- a/drivers/spmi/spmi-msm.c +++

Re: [U-Boot] [PATCH 1/3] imx: move CONFIG_SYSCOUNTER_TIMER to Kconfig

2018-01-05 Thread Stefan Agner
Hi Stefano, Any chance to get this patchset still into v2018.01? IMHO it is almost a bug that U-Boot does not initialize the ARM architected timer properly... -- Stefan On 2018-01-02 01:43, Stefan Agner wrote: > Signed-off-by: Stefan Agner > --- > >

Re: [U-Boot] [PATCH 00/11] sunxi: arm64 binary size fixes

2018-01-05 Thread Jagan Teki
On Fri, Jan 5, 2018 at 3:30 PM, Maxime Ripard wrote: > On Thu, Jan 04, 2018 at 10:58:16AM +0530, Jagan Teki wrote: >> Maxime, >> >> On Thu, Dec 21, 2017 at 6:10 PM, Maxime Ripard >> wrote: >> > Hi, >> > >> > As we discussed

Re: [U-Boot] [PATCH 00/11] sunxi: arm64 binary size fixes

2018-01-05 Thread Maxime Ripard
On Thu, Jan 04, 2018 at 10:58:16AM +0530, Jagan Teki wrote: > Maxime, > > On Thu, Dec 21, 2017 at 6:10 PM, Maxime Ripard > wrote: > > Hi, > > > > As we discussed already, this is the list of options that we will need > > to disable by default. > > > > I also

Re: [U-Boot] [PATCH 01/11] cmd: crc32: Disable by default on sunXi

2018-01-05 Thread Maxime Ripard
Hi Andre, On Thu, Dec 21, 2017 at 02:50:29PM +, Andre Przywara wrote: > Hi, > > On 21/12/17 12:40, Maxime Ripard wrote: > > The sunXi arm64 build has overflown, leading to the main U-boot binary > > overwriting the environment when flashing the new image, or even worse, > > overwriting

[U-Boot] [RFC PATCH] mtd: spi-nor: add rockchip sfc driver

2018-01-05 Thread Andy Yan
SFC stands for Serial Flash Controller on some rockchip platforms such as RV1108 / RK3128. This patch add support for it under mtd/spi-nor framework Signed-off-by: Andy Yan --- drivers/mtd/spi-nor/Kconfig| 8 + drivers/mtd/spi-nor/Makefile | 1 +

[U-Boot] [RFC PATCH 0/1] Add Rockchip SFC driver under mtd/spi-nor framework

2018-01-05 Thread Andy Yan
Hi: Jagan, very glad to see the update of your SNI-NOR series. So I send the Rockchip SFC(Serial Flash Controller) driver base on it. Comments are appreciate. Andy Yan (1): mtd: spi-nor: add rockchip sfc driver drivers/mtd/spi-nor/Kconfig| 8 + drivers/mtd/spi-nor/Makefile

Re: [U-Boot] [PATCH 11/11] sunxi: Add limit with the MMC environment

2018-01-05 Thread Maxime Ripard
On Fri, Dec 22, 2017 at 02:34:35PM +0530, Jagan Teki wrote: > On Fri, Dec 22, 2017 at 2:18 PM, Maxime Ripard > wrote: > > On Thu, Dec 21, 2017 at 10:52:04PM +, André Przywara wrote: > >> Hi, > >> > >> On 21/12/17 12:40, Maxime Ripard wrote: > >> > The MMC

Re: [U-Boot] [PATCH 12/14] env: Mark env_get_location as weak

2018-01-05 Thread Maxime Ripard
Hi Simon, On Thu, Dec 28, 2017 at 08:13:42PM -0700, Simon Glass wrote: > Hi Maxime, > > On 28 November 2017 at 03:24, Maxime Ripard > wrote: > > Allow boards and architectures to override the default environment lookup > > code by overriding env_get_location. >

Re: [U-Boot] [PATCH 03/14] env: Pass additional parameters to the env lookup function

2018-01-05 Thread Maxime Ripard
Hi Simon, On Thu, Dec 28, 2017 at 08:13:23PM -0700, Simon Glass wrote: > > -static struct env_driver *env_driver_lookup(void) > > +static struct env_driver *env_driver_lookup(enum env_operation op, int > > prio) > > Can you please document the function args? The operation of prio needs > to be

Re: [U-Boot] [PATCH 0/6] Add Bananapi Zero board with OTG supported

2018-01-05 Thread Chen-Yu Tsai
On Fri, Jan 5, 2018 at 5:20 PM, Jun Nie wrote: > 2018-01-05 17:06 GMT+08:00 Chen-Yu Tsai : >> On Fri, Jan 5, 2018 at 5:04 PM, Jun Nie wrote: a64 on otg have in ML[1] check if any redundant otherwise it's OK., we will test

Re: [U-Boot] [PATCH 0/6] Add Bananapi Zero board with OTG supported

2018-01-05 Thread Jun Nie
2018-01-05 17:06 GMT+08:00 Chen-Yu Tsai : > On Fri, Jan 5, 2018 at 5:04 PM, Jun Nie wrote: >>> >>> a64 on otg have in ML[1] check if any redundant otherwise it's OK., we >>> will test these and send next version. >>> sunxi: Add initial Banana-Pi Zero

Re: [U-Boot] [PATCH 2/6] sunxi: musb: Add fifo config for H3

2018-01-05 Thread Jagan Teki
On Fri, Jan 5, 2018 at 1:06 PM, Jun Nie wrote: > Add fifo config for H3 as H3 differ with other SoC > on ep number. > > Signed-off-by: Jun Nie > --- Reviewed-by: Jagan Teki ___ U-Boot

Re: [U-Boot] [PATCH 1/6] sunxi: h3: add usb_otg and OHCI/EHCI for usbc0 on H3

2018-01-05 Thread Jagan Teki
On Fri, Jan 5, 2018 at 1:06 PM, Jun Nie wrote: > Allwinner H3 have a dual-routed USB PHY0 -- routed to either OHCI/EHCI > or MUSB controller. Since these nodes are from Linux, mention the similar text on commit message and head like "syncing [o-e]hci nodes from Linux' are

Re: [U-Boot] [PATCH 0/6] Add Bananapi Zero board with OTG supported

2018-01-05 Thread Chen-Yu Tsai
On Fri, Jan 5, 2018 at 5:04 PM, Jun Nie wrote: >> >> a64 on otg have in ML[1] check if any redundant otherwise it's OK., we >> will test these and send next version. >> >>> sunxi: Add initial Banana-Pi Zero support >> >> similar patch is already in ML [2] >> >> [1]

Re: [U-Boot] [PATCH 0/6] Add Bananapi Zero board with OTG supported

2018-01-05 Thread Jun Nie
> > a64 on otg have in ML[1] check if any redundant otherwise it's OK., we > will test these and send next version. > >> sunxi: Add initial Banana-Pi Zero support > > similar patch is already in ML [2] > > [1] https://patchwork.ozlabs.org/cover/847375/ This serial patches in the link does not

Re: [U-Boot] [PATCH 6/6] sunxi: Add initial Banana-Pi Zero support

2018-01-05 Thread Jun Nie
>> +/dts-v1/; >> +#include "sun8i-h3.dtsi" >> +#include "sunxi-common-regulators.dtsi" >> + >> +#include >> +#include > > Where is that DT coming from? > > Usually, we'll just merge a DT merged in Linux. The DT come from Linux but modified with removing necessary nodes. > >> +/ { >> + model

Re: [U-Boot] [PATCH 6/6] sunxi: Add initial Banana-Pi Zero support

2018-01-05 Thread Maxime Ripard
Hi Jun, On Fri, Jan 05, 2018 at 03:37:01PM +0800, Jun Nie wrote: > Banana-Pi Zero is designed for IOT development > using the Allwinner H2+ SOC. > > Key features > - Allwinner H2+, Quad-core Cortex-A7 > - 512MB DRAM > - microSD slot > - Serial Debug Port > - Combo WiFi/BT > - HDMI > >

Re: [U-Boot] [PATCH 0/6] Add Bananapi Zero board with OTG supported

2018-01-05 Thread Jun Nie
Thank you very much! Will check. Jun ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot