[U-Boot] [PATCH] ARM: mvebu: db-88f6820-amc: enable SPI_FLASH_BAR

2019-03-01 Thread Chris Packham
This board uses Micron N25Q256A SPI flash. Enable SPI_FLASH_BAR to allow us to access the whole chip. Signed-off-by: Chris Packham Cc: Vignesh R --- configs/db-88f6820-amc_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/db-88f6820-amc_defconfig b/configs/db-88f6820-amc_de

Re: [U-Boot] db-88f6820-amc doesn't boot on latest u-boot/master

2019-03-01 Thread Chris Packham
On Fri, Mar 1, 2019 at 9:35 PM Vignesh Raghavendra wrote: > > > > On 01/03/19 1:42 PM, Chris Packham wrote: > > On Fri, Mar 1, 2019 at 8:40 PM Chris Packham > > wrote: > >> > >> On Fri, Mar 1, 2019 at 5:12 PM Vignesh Raghavendra wrote: > >>> > >>> > >>> > >>> On 01/03/19 7:00 AM, Chris Packham

Re: [U-Boot] [PATCH v2] imx8mq_evk_defconfig: Enable pinctrl driver

2019-03-01 Thread Peng Fan
> -Original Message- > From: Chris Spencer [mailto:spence...@gmail.com] > Sent: 2019年3月1日 20:25 > To: Stefano Babic ; Fabio Estevam > Cc: dl-uboot-imx ; U-Boot-Denx > ; Chris Spencer > Subject: Re: [PATCH v2] imx8mq_evk_defconfig: Enable pinctrl driver > > On Mon, 4 Feb 2019 at 10:05,

Re: [U-Boot] [PATCH] ARM: socfpga: configure pl310 from dts

2019-03-01 Thread Marek Vasut
On 3/2/19 4:47 AM, Dinh Nguyen wrote: > Read the cache properties of the L2 cache controller from the device > tree and configure it. > > Signed-off-by: Dinh Nguyen I really hoped there would be a small fix for the latency configuration I can apply for the current release. Regarding the PL310 D

[U-Boot] [PATCH] ARM: socfpga: configure pl310 from dts

2019-03-01 Thread Dinh Nguyen
Read the cache properties of the L2 cache controller from the device tree and configure it. Signed-off-by: Dinh Nguyen --- arch/arm/include/asm/pl310.h | 4 arch/arm/mach-socfpga/misc.c | 45 +--- 2 files changed, 41 insertions(+), 8 deletions(-) diff --git

Re: [U-Boot] [PATCH] am335x-fb: don't override lcd_get_size()

2019-03-01 Thread David Rivshin
On Mon, 25 Feb 2019 12:54:57 +0100 Hannes Schmelzer wrote: > On 2/21/19 5:05 PM, David Rivshin wrote: > > From: David Rivshin > > > > am335x-fb overrides the default lcd_get_size() to add an extra 32 bytes > > compared to the normal calculation. While the gd->fb_base is an extra 32 > > bytes lar

Re: [U-Boot] [PATCH 3/3] arm: socfpga: remove CONFIG_SYS_BOOTMAPSZ

2019-03-01 Thread Marek Vasut
On 3/1/19 8:38 PM, Simon Goldschmidt wrote: > > > On 10.01.2019 09:38, Marek Vasut wrote: >> On 1/10/19 9:19 AM, Simon Goldschmidt wrote: >>> On Wed, Jan 9, 2019 at 10:44 PM Marek Vasut wrote: On 1/9/19 10:42 PM, Simon Goldschmidt wrote: > > > Am Mi., 9. Jan. 2019, 22:39 ha

Re: [U-Boot] [PATCH v4 0/9] arm: socfpga: implement proper peripheral reset handling

2019-03-01 Thread Marek Vasut
On 3/1/19 8:12 PM, Simon Goldschmidt wrote: > This series implements peripheral reset handling for socfpga gen5. > > It moves from enabling all peripherals during SPL startup to using the > socfpga reset driver from all peripherals and enabling peripherals when > they are used. > > As Linux canno

Re: [U-Boot] [PATCH] net:phy:aquantia Set only autoneg on in register 4.c441

2019-03-01 Thread Joe Hershberger
On Wed, Feb 13, 2019 at 3:15 AM Valentin-catalin Neacsu wrote: > > For AQR405 in register 4.c441 bit 15 was override with 0. This caused the > phy to not negotiate at 2.5GB rate with mac. To avoid > this override it needed first to know the previous value of reg 4.c441 > and set only bit 3. > Sign

Re: [U-Boot] [PATCH] Convert CONFIG_IP_DEFRAG to Kconfig

2019-03-01 Thread Joe Hershberger
On Tue, Feb 12, 2019 at 6:29 AM Christian Gmeiner wrote: > > This converts the following to Kconfig: >CONFIG_IP_DEFRAG > > Signed-off-by: Christian Gmeiner Thanks for doing this, but don't we also need to migrate the existing targets that define this? include/configs/apalis_imx6.h:72:#defin

[U-Boot] [PATCH] spl: add size check including devicetree

2019-03-01 Thread Simon Goldschmidt
Current linker based size checks do not account for the devicetree, as this is added after linker stage. This patch moves the logic behind U-Boot proper BOARD_SIZE_CHECK into a common function that is called for SPL, too. For SPL, CONFIG_SPL_MAX_SIZE is used to check u-boot-spl-dtb.bin. This is

Re: [U-Boot] [PATCH] drivers: net: ldpaa_eth: check if the dpmac is enabled

2019-03-01 Thread Joe Hershberger
On Fri, Feb 8, 2019 at 2:59 AM Pankaj Bansal wrote: > > some dpmacs in armv8a based freescale layerscape SOCs can be > configured via both serdes(sgmii, xfi, xlaui etc) bits and via > EC*_PMUX(rgmii) bits in RCW. > e.g. dpmac 17 and 18 in LX2160A can be configured as SGMII from > serdes bits and a

Re: [U-Boot] [PATCH v3 12/13] net: sun8i_emac: Add EPHY CLK and RESET support

2019-03-01 Thread Joe Hershberger
On Wed, Feb 27, 2019 at 1:03 PM Jagan Teki wrote: > > Add EPHY CLK and RESET support for sun8i_emac driver to > enable EPHY TX clock and EPHY reset pins via CLK and RESET > framework. > > Cc: Joe Hershberger > Cc: Lothar Felten > Signed-off-by: Jagan Teki Acked-by: Joe Hershberger ___

Re: [U-Boot] [PATCH 2/2] mc : Reduce MC memory size to 128M

2019-03-01 Thread Joe Hershberger
On Tue, Feb 26, 2019 at 9:26 PM Meenakshi Aggarwal wrote: > > ls2088, ls1088 : minimum MC Memory size is 128 MB > lx2 : minimum MC memory size is 256 MB > > Signed-off-by: Meenakshi Aggarwal Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lis

Re: [U-Boot] [PATCH v3 10/13] net: sun8i_emac: Add CLK and RESET support

2019-03-01 Thread Joe Hershberger
On Wed, Feb 27, 2019 at 1:03 PM Jagan Teki wrote: > > Add CLK and RESET support for sun8i_emac driver to > enable TX clock and reset pins via CLK and RESET > framework. > > Cc: Joe Hershberger > Cc: Lothar Felten > Signed-off-by: Jagan Teki Acked-by: Joe Hershberger __

Re: [U-Boot] [PATCH v3 11/13] clk: sunxi: h3: Implement EPHY CLK and RESET

2019-03-01 Thread Joe Hershberger
On Wed, Feb 27, 2019 at 1:02 PM Jagan Teki wrote: > > EPHY CLK and RESET is available in Allwinner H3 EMAC > via mdio-mux node of internal PHY. Add the respetive Please fix typo in log above. respetive -> respective > clock and reset reg and bits. > > Cc: Joe Hershberger > Signed-off-by: Jagan

Re: [U-Boot] [PATCH 2/2] mc : Reduce MC memory size to 128M

2019-03-01 Thread Joe Hershberger
On Fri, Mar 1, 2019 at 2:48 PM Heinrich Schuchardt wrote: > > On 2/27/19 10:11 AM, Meenakshi Aggarwal wrote: > > ls2088, ls1088 : minimum MC Memory size is 128 MB > > lx2 : minimum MC memory size is 256 MB > > > > Signed-off-by: Meenakshi Aggarwal > > Hello Joe, > > in patchwork I have reassigned

Re: [U-Boot] [PATCH 2/2] mc : Reduce MC memory size to 128M

2019-03-01 Thread Heinrich Schuchardt
On 2/27/19 10:11 AM, Meenakshi Aggarwal wrote: > ls2088, ls1088 : minimum MC Memory size is 128 MB > lx2 : minimum MC memory size is 256 MB > > Signed-off-by: Meenakshi Aggarwal Hello Joe, in patchwork I have reassigned the patch https://patchwork.ozlabs.org/patch/1048656/ to you. The first pa

[U-Boot] [PATCH v2 1/1] efi_loader: HII protocols: informative error message

2019-03-01 Thread Heinrich Schuchardt
When package types are not supported an error message is displayed. Unfortunately there is no hint in the messages that they concern the HII protocols. Furthermore they are indent by tab for no obvious reason. Prefix the messages by "EFI HII: " instead of "\t". Signed-off-by: Heinrich Schuchardt

Re: [U-Boot] [PATCH 3/3] arm: socfpga: remove CONFIG_SYS_BOOTMAPSZ

2019-03-01 Thread Simon Goldschmidt
On 10.01.2019 09:38, Marek Vasut wrote: On 1/10/19 9:19 AM, Simon Goldschmidt wrote: On Wed, Jan 9, 2019 at 10:44 PM Marek Vasut wrote: On 1/9/19 10:42 PM, Simon Goldschmidt wrote: Am Mi., 9. Jan. 2019, 22:39 hat Marek Vasut mailto:ma...@denx.de>> geschrieben: On 1/9/19 10:34 PM, S

[U-Boot] [PATCH v4 9/9] arm: socfpga: implement proper peripheral reset

2019-03-01 Thread Simon Goldschmidt
This commit removes ad-hoc reset handling for peripheral resets from SPL for socfpga gen5. This is done because as U-Boot drivers support reset handling by now. Signed-off-by: Simon Goldschmidt --- Changes in v4: None Changes in v3: - keep the call to enable fpga bridges in SPL Changes in v2:

[U-Boot] [PATCH v4 5/9] reset: socfpga: add reset handling for old kernels

2019-03-01 Thread Simon Goldschmidt
This adds code to take peripherals out of reset based on an environment variable. This is in preparation for removing the code that does this from SPL. However, some drivers even in current Linux cannot handle peripheral reset, so until this works, we need a compatibility workaround. This workaro

[U-Boot] [PATCH v4 7/9] mtd: rawnand: denali: add reset handling

2019-03-01 Thread Simon Goldschmidt
This adds reset handling to the devicetree-enabled Denali NAND driver. For backwards compatibility, only a warning is printed when failing to get reset handles. Signed-off-by: Simon Goldschmidt --- Changes in v4: None Changes in v3: - add DM_FLAG_OS_PREPARE flag Changes in v2: - fix copy/paste

[U-Boot] [PATCH v4 4/9] arm: socfpga: gen5: deassert peripheral reset by default

2019-03-01 Thread Simon Goldschmidt
To keep the current behaviour of taking all peripherals out of reset before booting the OS before removing that code from socfpga gen5 SPL, this enables the new behaviour by default for all gen5 boards by adding the environment variable "socfpga_legacy_reset_compat=1" to the default environment. T

[U-Boot] [PATCH v4 2/9] arm: socfpga: gen5: add reset & sdr node to SPL devicetrees

2019-03-01 Thread Simon Goldschmidt
The SPL for socfpga gen5 currently takes all peripherals out of reset unconditionally. To implement proper reset handling for peripherals, the reset node has to be provided with the SPL dts. In preparation to move the DDR driver to DM, the sdr node is required in SPL, too. This patch adds "u-boot

[U-Boot] [PATCH v4 8/9] spi: cadence_qspi: add reset handling

2019-03-01 Thread Simon Goldschmidt
This adds reset handling to the cadence qspi driver. For backwards compatibility, only a warning is printed when failing to get reset handles. Signed-off-by: Simon Goldschmidt --- Changes in v4: None Changes in v3: - add DM_FLAG_OS_PREPARE flag Changes in v2: - add .remove callback to release

[U-Boot] [PATCH v4 6/9] arm: socfpga: move gen5 SDR driver to DM

2019-03-01 Thread Simon Goldschmidt
To clean up reset handling for socfpga gen5, port the DDR driver to DM using UCLASS_RAM and implement proper reset handling. This gets us rid of one ad-hoc call to socfpga_per_reset(). The gen5 driver is implemented in 2 distinct files. One of it (containing the calibration training) is not touch

[U-Boot] [PATCH v4 3/9] reset: socfpga: rename membase ptr to modrst_base

2019-03-01 Thread Simon Goldschmidt
The only member of this driver's priv struct is a pointer, which is called 'membase'. However, since this driver handles multiple sub- architectures, this is not the base address from dts but the base address of some common registers of those sub-arches. Reflect this better in sourcecode by renami

[U-Boot] [PATCH v4 1/9] arm: socfpga: gen5: sync devicetrees to Linux

2019-03-01 Thread Simon Goldschmidt
This is again a sync to linux-next + pending patches in Dinh's tree at commit 1c909b2dfe6a ("ARM: dts: socfpga: update more missing reset properties")' It adds missing peripheral reset properties to socfpga.dtsi and removes U-Boot specific leftovers from socfpga_cyclone5_socrates.dts. Signed-off-

[U-Boot] [PATCH v4 0/9] arm: socfpga: implement proper peripheral reset handling

2019-03-01 Thread Simon Goldschmidt
This series implements peripheral reset handling for socfpga gen5. It moves from enabling all peripherals during SPL startup to using the socfpga reset driver from all peripherals and enabling peripherals when they are used. As Linux cannot even handle this in 4.20, the reset driver implements a

Re: [U-Boot] [PATCH v3 09/13] clk: sunxi: Implement EMAC, GMAC clocks, resets

2019-03-01 Thread Joe Hershberger
On Wed, Feb 27, 2019 at 1:00 PM Jagan Teki wrote: > > - Implement EMAC, GMAC clocks via ccu_clk_gate for > all supported Allwinner SoCs. > - Implement EMAC, GMAC resets via ccu_reset for all > supported Allwinner SoCs. > > Cc: Joe Hershberger > Signed-off-by: Jagan Teki Acked-by: Joe Hershb

Re: [U-Boot] [PATCH v3 02/13] net: sunxi_emac: Add CLK support

2019-03-01 Thread Joe Hershberger
On Wed, Feb 27, 2019 at 12:59 PM Jagan Teki wrote: > > Add CLk support for sunxi_emac to enable AHB_EMAC clock > via CLK framework. > > Cc: Joe Hershberger > Signed-off-by: Jagan Teki Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.den

Re: [U-Boot] [PATCH v3 03/13] net: sun8i_emac: Retrieve GMAC clock via 'syscon' phandle

2019-03-01 Thread Joe Hershberger
On Wed, Feb 27, 2019 at 12:59 PM Jagan Teki wrote: > > Unlike other Allwinner SoC's R40 GMAC clock control register > is locate in CCU, but rest located via syscon itself. Since > the phandle property for current code look for 'syscon' and > it will grab the respective ccu or syscon base address b

Re: [U-Boot] [PATCH 2/2] dts: imx8qxp-mek: Add PHY post reset delay

2019-03-01 Thread Joe Hershberger
On Fri, Mar 1, 2019 at 7:28 AM Andrejs Cainikovs wrote: > > PHY cannot be detected unless we wait about 150 ms. > > Signed-off-by: Andrejs Cainikovs Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/

Re: [U-Boot] [PATCH 1/2] net: dm: fec: Support phy-reset-post-delay property

2019-03-01 Thread Joe Hershberger
On Fri, Mar 1, 2019 at 7:28 AM Andrejs Cainikovs wrote: > > As per Linux kernel DT binding doc: > - phy-reset-post-delay : Post reset delay in milliseconds. If present then > a delay of phy-reset-post-delay milliseconds will be observed after the > phy-reset-gpios has been toggled. Can be omit

[U-Boot] [PATCH] fdt: Remove duplicate code

2019-03-01 Thread Thierry Reding
From: Thierry Reding Commit 6d29cc7dcf2d ("fdt: Fixup only valid memory banks") ended up being merged twice, first as: commit 6d29cc7dcf2d35966aa0b6119fd1cbca0d21d5e6 Author: Thierry Reding AuthorDate: Tue Jan 30 11:34:17 2018 +0100 Commit: Simon Glass

Re: [U-Boot] [PATCH] ARM: socfpga: Configure PL310 latencies

2019-03-01 Thread Dinh Nguyen
On 3/1/19 10:09 AM, Marek Vasut wrote: > On 3/1/19 4:19 PM, Dinh Nguyen wrote: >> >> >> On 3/1/19 3:40 AM, Marek Vasut wrote: >>> On 3/1/19 12:59 AM, Dinh Nguyen wrote: Hi Marek, On 2/19/19 4:01 AM, Simon Goldschmidt wrote: > On Tue, Feb 19, 2019 at 1:44 AM Marek Vasut wrote:

Re: [U-Boot] [PATCH] ARM: socfpga: Configure PL310 latencies

2019-03-01 Thread Marek Vasut
On 3/1/19 4:19 PM, Dinh Nguyen wrote: > > > On 3/1/19 3:40 AM, Marek Vasut wrote: >> On 3/1/19 12:59 AM, Dinh Nguyen wrote: >>> Hi Marek, >>> >>> On 2/19/19 4:01 AM, Simon Goldschmidt wrote: On Tue, Feb 19, 2019 at 1:44 AM Marek Vasut wrote: > > Configure the PL310 tag and data late

[U-Boot] SUNXI : CONFIG_VIDEO_SUNXI is never set

2019-03-01 Thread Arjan van Vught
Version: u-boot-2018.09 This is a follow-up for : "SUNXI : setenv video-mode not working" Although I have added CONFIG_VIDEO_SUNXI=y in configs/orangepi_one_defconfig the source file sunxi_display.c is not compiled. Hence the setenv video-mode is not working ? Please advice. Many thanks in

Re: [U-Boot] [PATCH] ARM: socfpga: Configure PL310 latencies

2019-03-01 Thread Dinh Nguyen
On 3/1/19 3:40 AM, Marek Vasut wrote: > On 3/1/19 12:59 AM, Dinh Nguyen wrote: >> Hi Marek, >> >> On 2/19/19 4:01 AM, Simon Goldschmidt wrote: >>> On Tue, Feb 19, 2019 at 1:44 AM Marek Vasut wrote: Configure the PL310 tag and data latency registers, which slightly improves perform

Re: [U-Boot] [PATCH v3 4/8] reset: socfpga: add reset handling for old kernels

2019-03-01 Thread Marek Vasut
On 3/1/19 1:26 PM, Simon Goldschmidt wrote: > On Fri, Mar 1, 2019 at 1:15 PM Marek Vasut wrote: >> >> On 3/1/19 1:14 PM, Simon Goldschmidt wrote: >>> On Fri, Mar 1, 2019 at 1:00 PM Marek Vasut wrote: On 2/26/19 9:31 PM, Simon Goldschmidt wrote: > This adds code to take peripherals o

Re: [U-Boot] [PATCH 2/2] dts: imx8qxp-mek: Add PHY post reset delay

2019-03-01 Thread Stefano Babic
On 01/03/19 14:28, Andrejs Cainikovs wrote: > PHY cannot be detected unless we wait about 150 ms. > > Signed-off-by: Andrejs Cainikovs > --- > arch/arm/dts/fsl-imx8qxp-mek.dts | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/dts/fsl-imx8qxp-mek.dts > b/arch/arm/dts/fsl-imx8q

Re: [U-Boot] [PATCH 1/2] net: dm: fec: Support phy-reset-post-delay property

2019-03-01 Thread Stefano Babic
On 01/03/19 14:27, Andrejs Cainikovs wrote: > As per Linux kernel DT binding doc: > - phy-reset-post-delay : Post reset delay in milliseconds. If present then > a delay of phy-reset-post-delay milliseconds will be observed after the > phy-reset-gpios has been toggled. Can be omitted thus no d

Re: [U-Boot] [PATCH 2/2] dts: imx8qxp-mek: Add PHY post reset delay

2019-03-01 Thread Anatolij Gustschin
On Fri, 1 Mar 2019 13:28:00 + Andrejs Cainikovs andrejs.cainik...@netmodule.com wrote: > PHY cannot be detected unless we wait about 150 ms. > > Signed-off-by: Andrejs Cainikovs Reviewed-by: Anatolij Gustschin -- Anatolij ___ U-Boot mailing list

Re: [U-Boot] [PATCH 1/2] net: dm: fec: Support phy-reset-post-delay property

2019-03-01 Thread Anatolij Gustschin
On Fri, 1 Mar 2019 13:27:59 + Andrejs Cainikovs andrejs.cainik...@netmodule.com wrote: > As per Linux kernel DT binding doc: > - phy-reset-post-delay : Post reset delay in milliseconds. If present then > a delay of phy-reset-post-delay milliseconds will be observed after the > phy-reset-gp

Re: [U-Boot] iMX8QXP MEK: no ethernet

2019-03-01 Thread Andrejs Cainikovs
On 01/03/2019 14:00, Anatolij Gustschin wrote: > Hi all, > > On Fri, 1 Mar 2019 13:36:17 +0100 > Stefano Babic sba...@denx.de wrote: >> >> Right, I think this is a way to do. > > yes, this is much better than ifdef. I'd suggest using 'phy-reset-post-delay' > property instead of 'phy-reset-wait'.

[U-Boot] [PATCH 1/2] net: dm: fec: Support phy-reset-post-delay property

2019-03-01 Thread Andrejs Cainikovs
As per Linux kernel DT binding doc: - phy-reset-post-delay : Post reset delay in milliseconds. If present then a delay of phy-reset-post-delay milliseconds will be observed after the phy-reset-gpios has been toggled. Can be omitted thus no delay is observed. Delay is in range of 1ms to 1000ms

[U-Boot] [PATCH 2/2] dts: imx8qxp-mek: Add PHY post reset delay

2019-03-01 Thread Andrejs Cainikovs
PHY cannot be detected unless we wait about 150 ms. Signed-off-by: Andrejs Cainikovs --- arch/arm/dts/fsl-imx8qxp-mek.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/fsl-imx8qxp-mek.dts b/arch/arm/dts/fsl-imx8qxp-mek.dts index 41f7ec1763..4f35fbe31d 100644 --- a/arch/arm/dts

[U-Boot] [PATCH 0/2] Fix broken ethernet on imx8qxp-mek

2019-03-01 Thread Andrejs Cainikovs
This patchset introduces support for phy-reset-post-delay property, which is then used by imx8qxp-mek to add 150ms post reset delay. Without this delay PHY is not detected. Andrejs Cainikovs (2): net: dm: fec: Support phy-reset-post-delay property dts: imx8qxp-mek: Add PHY post reset delay a

Re: [U-Boot] iMX8QXP MEK: no ethernet

2019-03-01 Thread Anatolij Gustschin
Hi all, On Fri, 1 Mar 2019 13:36:17 +0100 Stefano Babic sba...@denx.de wrote: ... > > Nope, didn't worked. This parameter is a pulse width of a reset, but the > > issue is about having a delay *after* reset. However, introducing a new > > `phy-reset-wait` is a reasonable option. > > Right, I

Re: [U-Boot] [PULL] u-boot-socfpga/master

2019-03-01 Thread Tom Rini
On Thu, Feb 28, 2019 at 10:24:23PM +0100, Marek Vasut wrote: > SoCFPGA cache/gpio fixes: > > The following changes since commit afd46c5f13d0c93c44008bd7040227d0b84e31b9: > > Merge branch '2019-02-22-master-imports' (2019-02-22 22:40:24 -0500) > > are available in the Git repository at: > >

Re: [U-Boot] [PULL] u-boot-sh/master

2019-03-01 Thread Tom Rini
On Thu, Feb 28, 2019 at 10:23:52PM +0100, Marek Vasut wrote: > Gen2/Gen3 fixes for warnings and sdhi: > > The following changes since commit afd46c5f13d0c93c44008bd7040227d0b84e31b9: > > Merge branch '2019-02-22-master-imports' (2019-02-22 22:40:24 -0500) > > are available in the Git reposito

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-03-01 Thread Philipp Tomsich
> On 01.03.2019, at 13:29, David Wu wrote: > > Hi Philipp, > 在 2019/2/28 下午8:36, Philipp Tomsich 写道: >> >> >>> On 28.02.2019, at 11:50, Heiko Stübner >> > wrote: >>> >>> Hi David, >>> >>> Am Montag, 18. Februar 2019, 02:05:12 CET schrieb David Wu: Hi Heinrich an

Re: [U-Boot] iMX8QXP MEK: no ethernet

2019-03-01 Thread Stefano Babic
On 01/03/19 13:30, Andrejs Cainikovs wrote: > Hi Stefano, > > On 01/03/2019 12:19, Stefano Babic wrote: >> >> What about to change this in DT ? >> >> diff --git a/arch/arm/dts/fsl-imx8qxp-mek.dts >> b/arch/arm/dts/fsl-imx8qxp-mek.dts >> index 41f7ec1763..b6c4593334 100644 >> --- a/arch/arm/dts/fsl

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-03-01 Thread David Wu
Hi Heiko, 在 2019/2/28 下午9:29, Heiko Stübner 写道: Hi Philipp, Am Donnerstag, 28. Februar 2019, 13:46:44 CET schrieb Heiko Stübner: Am Donnerstag, 28. Februar 2019, 13:36:52 CET schrieb Philipp Tomsich: On 28.02.2019, at 11:50, Heiko Stübner wrote: Hi David, Am Montag, 18. Februar 2019, 02:05

Re: [U-Boot] iMX8QXP MEK: no ethernet

2019-03-01 Thread Andrejs Cainikovs
Hi Stefano, On 01/03/2019 12:19, Stefano Babic wrote: > > What about to change this in DT ? > > diff --git a/arch/arm/dts/fsl-imx8qxp-mek.dts > b/arch/arm/dts/fsl-imx8qxp-mek.dts > index 41f7ec1763..b6c4593334 100644 > --- a/arch/arm/dts/fsl-imx8qxp-mek.dts > +++ b/arch/arm/dts/fsl-imx8qxp-mek.d

Re: [U-Boot] [PATCH v2 11/23] apalis_imx6: migrate mmc and sata to using driver model

2019-03-01 Thread Marcel Ziswiler
Hi Soeren On Fri, 2019-03-01 at 13:20 +0100, Soeren Moch wrote: > > On 25.02.19 11:39, Soeren Moch wrote: > > On 08.02.19 18:12, Marcel Ziswiler wrote: > > > From: Marcel Ziswiler > > > > > > Migrate MMC and SATA to using driver model. > > > > > > While at it also enable SCSI driver model. > >

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-03-01 Thread David Wu
Hi Philipp, 在 2019/2/28 下午8:36, Philipp Tomsich 写道: On 28.02.2019, at 11:50, Heiko Stübner > wrote: Hi David, Am Montag, 18. Februar 2019, 02:05:12 CET schrieb David Wu: Hi Heinrich and Michael, Another thing i see is that I missed a patch, for the 3288 gpio0, its

Re: [U-Boot] [PATCH v3 4/8] reset: socfpga: add reset handling for old kernels

2019-03-01 Thread Simon Goldschmidt
On Fri, Mar 1, 2019 at 1:15 PM Marek Vasut wrote: > > On 3/1/19 1:14 PM, Simon Goldschmidt wrote: > > On Fri, Mar 1, 2019 at 1:00 PM Marek Vasut wrote: > >> > >> On 2/26/19 9:31 PM, Simon Goldschmidt wrote: > >>> This adds code to take peripherals out of reset based on an environment > >>> variab

Re: [U-Boot] Question regarding SWUpdate ..... from command line

2019-03-01 Thread Lukasz Majewski
Hi Stefano, > Hallo Lukasz, > > On 27/02/19 10:13, Lukasz Majewski wrote: > > Hi Stefano. > > > >> Hi Lukasz, > >> > >> I have the use case and a tbot testcase. But we are now at EW, > >> please wait until I am back. > > > > Ach I've just realised this :-) > > Have a nice time there :-)

Re: [U-Boot] iMX8QXP MEK: no ethernet

2019-03-01 Thread Anatolij Gustschin
Hi Stefano, On Fri, 1 Mar 2019 12:19:41 +0100 Stefano Babic sba...@denx.de wrote: ... > What about to change this in DT ? > > diff --git a/arch/arm/dts/fsl-imx8qxp-mek.dts > b/arch/arm/dts/fsl-imx8qxp-mek.dts > index 41f7ec1763..b6c4593334 100644 > --- a/arch/arm/dts/fsl-imx8qxp-mek.dts > +++ b/a

Re: [U-Boot] [PATCH v2] imx8mq_evk_defconfig: Enable pinctrl driver

2019-03-01 Thread Chris Spencer
On Mon, 4 Feb 2019 at 10:05, Chris Spencer wrote: > From: Chris Spencer > > The Ethernet controller is not able to initialise correctly without the > pinctrl driver. > > This config setting was enabled in the initial version of this file, > but was removed by a savedefconfig resync because the pa

Re: [U-Boot] [PATCH v2 11/23] apalis_imx6: migrate mmc and sata to using driver model

2019-03-01 Thread Soeren Moch
On 25.02.19 11:39, Soeren Moch wrote: > > On 08.02.19 18:12, Marcel Ziswiler wrote: >> From: Marcel Ziswiler >> >> Migrate MMC and SATA to using driver model. >> >> While at it also enable SCSI driver model. >> >> Signed-off-by: Marcel Ziswiler > [also reply to v2 of this series to avoid that t

Re: [U-Boot] Question regarding SWUpdate ..... from command line

2019-03-01 Thread Stefano Babic
Hallo Lukasz, On 27/02/19 10:13, Lukasz Majewski wrote: > Hi Stefano. > >> Hi Lukasz, >> >> I have the use case and a tbot testcase. But we are now at EW, please >> wait until I am back. > > Ach I've just realised this :-) > Have a nice time there :-) > We are back, but I think today I jus

Re: [U-Boot] [PATCH v3 4/8] reset: socfpga: add reset handling for old kernels

2019-03-01 Thread Marek Vasut
On 3/1/19 1:14 PM, Simon Goldschmidt wrote: > On Fri, Mar 1, 2019 at 1:00 PM Marek Vasut wrote: >> >> On 2/26/19 9:31 PM, Simon Goldschmidt wrote: >>> This adds code to take peripherals out of reset based on an environment >>> variable. This is in preparation for removing the code that does this f

Re: [U-Boot] [PATCH v3 0/8] arm: socfpga: implement proper peripheral reset handling

2019-03-01 Thread Simon Goldschmidt
On Fri, Mar 1, 2019 at 1:11 PM Simon Goldschmidt wrote: > > On Fri, Mar 1, 2019 at 1:01 PM Marek Vasut wrote: > > > > On 2/26/19 9:31 PM, Simon Goldschmidt wrote: > > > This series implements peripheral reset handling for socfpga gen5. > > > > > > It moves from enabling all peripherals during SPL

Re: [U-Boot] [PATCH v3 4/8] reset: socfpga: add reset handling for old kernels

2019-03-01 Thread Simon Goldschmidt
On Fri, Mar 1, 2019 at 1:00 PM Marek Vasut wrote: > > On 2/26/19 9:31 PM, Simon Goldschmidt wrote: > > This adds code to take peripherals out of reset based on an environment > > variable. This is in preparation for removing the code that does this from > > SPL. > > > > However, some drivers even

Re: [U-Boot] [PATCH v3 0/8] arm: socfpga: implement proper peripheral reset handling

2019-03-01 Thread Simon Goldschmidt
On Fri, Mar 1, 2019 at 1:01 PM Marek Vasut wrote: > > On 2/26/19 9:31 PM, Simon Goldschmidt wrote: > > This series implements peripheral reset handling for socfpga gen5. > > > > It moves from enabling all peripherals during SPL startup to using the > > socfpga reset driver from all peripherals and

[U-Boot] [PATCH 08/10] ata: dwc_ahsata: Add ahci driver model support

2019-03-01 Thread Soeren Moch
Disable this support for cm_fx6 to avoid breakage. Signed-off-by: Soeren Moch --- It would be easy to add weak board_ahci_enable/disable functions which can be overwritten (e.g. in the cm_fx6 board file) to handle power enable/ disable on driver probe/remove. But I have no idea why this board nee

[U-Boot] [PATCH 04/10] board: tbs2910: Add pinctrl driver and convert gpio to driver model

2019-03-01 Thread Soeren Moch
We need this for additional driver model conversions. Signed-off-by: Soeren Moch --- Cc: Stefano Babic Cc: u-boot@lists.denx.de --- board/tbs/tbs2910/tbs2910.c | 3 +++ configs/tbs2910_defconfig | 3 +++ 2 files changed, 6 insertions(+) diff --git a/board/tbs/tbs2910/tbs2910.c b/board/tbs/tb

[U-Boot] [PATCH 03/10] board: tbs2910: Add device tree

2019-03-01 Thread Soeren Moch
... as preparation for additional driver model coonversions. We use CONFIG_OF_EMBED here to keep u-boot.imx as final binary name. So we maintain compatibility with the original TBS u-boot and available HOWTOs for u-boot updates. Signed-off-by: Soeren Moch --- Cc: Stefano Babic Cc: u-boot@lists.

[U-Boot] [PATCH 09/10] board: tbs2910: Convert sata to ahci driver model

2019-03-01 Thread Soeren Moch
While at it, also configure 64-bit LBA support. Signed-off-by: Soeren Moch --- Cc: Stefano Babic Cc: Nikita Kiryanov Cc: Marcel Ziswiler Cc: u-boot@lists.denx.de --- board/tbs/tbs2910/tbs2910.c | 4 configs/tbs2910_defconfig | 1 + include/configs/tbs2910.h | 1 + 3 files changed, 2

[U-Boot] [PATCH 06/10] board: tbs2910: Convert i2c and rtc to driver model

2019-03-01 Thread Soeren Moch
So we don't need to duplicate settings from the device tree in the board file. Signed-off-by: Soeren Moch --- Cc: Stefano Babic Cc: u-boot@lists.denx.de --- board/tbs/tbs2910/tbs2910.c | 57 - configs/tbs2910_defconfig | 6 +++- include/configs/tbs2910.h

[U-Boot] [PATCH 10/10] board: tbs2910: Convert mmc to driver model

2019-03-01 Thread Soeren Moch
So we don't need to duplicate settings from the device tree in the board file. Signed-off-by: Soeren Moch --- Cc: Stefano Babic Cc: u-boot@lists.denx.de --- board/tbs/tbs2910/tbs2910.c | 108 configs/tbs2910_defconfig | 1 + include/configs/tbs2910.h |

[U-Boot] [PATCH 07/10] ata: dwc_ahsata: Fix sector reports for large disks

2019-03-01 Thread Soeren Moch
Do not report negative sector numbers for disks > 1TB, do not limit sector numbers to 32 bit if CONFIG_SYS_64BIT_LBA is enabled. Signed-off-by: Soeren Moch --- Cc: Stefano Babic Cc: u-boot@lists.denx.de --- drivers/ata/dwc_ahsata.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deleti

[U-Boot] [PATCH 05/10] board: tbs2910: Convert usb to driver model

2019-03-01 Thread Soeren Moch
So we don't need to duplicate settings from the device tree in the board file. Signed-off-by: Soeren Moch --- Cc: Stefano Babic Cc: u-boot@lists.denx.de --- board/tbs/tbs2910/tbs2910.c | 10 -- configs/tbs2910_defconfig | 2 ++ include/configs/tbs2910.h | 1 - 3 files changed, 2 i

[U-Boot] [PATCH 01/10] board: tbs2910: Fix default environment

2019-03-01 Thread Soeren Moch
Especially fix usb keyboard support. Other changes are only for beautification. Signed-off-by: Soeren Moch --- Cc: Stefano Babic Cc: u-boot@lists.denx.de --- include/configs/tbs2910.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/configs/tbs2910.h b/in

[U-Boot] [PATCH 02/10] board: tbs2910: Remove efi loader support in defconfig to reduce u-boot size

2019-03-01 Thread Soeren Moch
Signed-off-by: Soeren Moch --- Cc: Stefano Babic Cc: u-boot@lists.denx.de --- configs/tbs2910_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig index 78beb9a522..70a3e18e23 100644 --- a/configs/tbs2910_defconfig +++ b/configs/tbs2

[U-Boot] [PATCH 00/10] tbs2910 fixes and driver model conversion

2019-03-01 Thread Soeren Moch
DM_MMC activates BLK, so we have to convert dwc_ahsata to AHCI before. Soeren Moch (10): board: tbs2910: Fix default environment board: tbs2910: Remove efi loader support in defconfig to reduce u-boot size board: tbs2910: Add device tree board: tbs2910: Add pinctrl driver and convert g

Re: [U-Boot] [PATCH v3 4/8] reset: socfpga: add reset handling for old kernels

2019-03-01 Thread Marek Vasut
On 2/26/19 9:31 PM, Simon Goldschmidt wrote: > This adds code to take peripherals out of reset based on an environment > variable. This is in preparation for removing the code that does this from > SPL. > > However, some drivers even in current Linux cannot handle peripheral reset, > so until this

Re: [U-Boot] [PATCH v3 0/8] arm: socfpga: implement proper peripheral reset handling

2019-03-01 Thread Marek Vasut
On 2/26/19 9:31 PM, Simon Goldschmidt wrote: > This series implements peripheral reset handling for socfpga gen5. > > It moves from enabling all peripherals during SPL startup to using the > socfpga reset driver from all peripherals and enabling peripherals when > they are used. > > As Linux cann

Re: [U-Boot] [PATCH 3/3] arm: socfpga: put initial U-Boot stack into DDR

2019-03-01 Thread Marek Vasut
On 3/1/19 8:55 AM, Simon Goldschmidt wrote: > On Thu, Feb 28, 2019 at 10:44 PM Marek Vasut wrote: >> >> On 2/28/19 9:33 PM, Simon Goldschmidt wrote: >>> If SPL pre-reloc stage puts the stack into DDR, U-Boot should be able to >>> do that, too. >> >> Here you mention SPL pre-reloc stage, while abou

Re: [U-Boot] [PATCH 2/3] arm: socfpga: a10: move SPL stack size to Kconfig

2019-03-01 Thread Marek Vasut
On 3/1/19 8:48 AM, Simon Goldschmidt wrote: > On Thu, Feb 28, 2019 at 10:44 PM Marek Vasut wrote: >> >> On 2/28/19 9:33 PM, Simon Goldschmidt wrote: >>> Instead of fixing the SPL stack to 64 KiB in the board config header via >>> CONFIG_SYS_SPL_MALLOC_SIZE, let's just use CONFIG_SPL_SYS_MALLOC_F_L

[U-Boot] SUNXI : setenv video-mode not working

2019-03-01 Thread Arjan van Vught
Version: u-boot-2018.09 With reference to https://github.com/u-boot/u-boot/blob/master/doc/README.video I've set the following : video-mode=sunxi:800x480-24@60,monitor=hdmi,edid=0 I am would have expect that u-boot is always using 800x480 regardless the (higher) resolution of the attached H

Re: [U-Boot] iMX8QXP MEK: no ethernet

2019-03-01 Thread Stefano Babic
On 01/03/19 11:05, Anatolij Gustschin wrote: > Hi, > > On Fri, 1 Mar 2019 09:50:06 + > Andrejs Cainikovs andrejs.cainik...@netmodule.com wrote: > ... >> Thanks a lot! It works now. > > Great, thanks for testing! I don't like the patch however and I'm still > not sure how we should fix it in a

Re: [U-Boot] i.MX8MQ: u-boot-spl-ddr.bin not found

2019-03-01 Thread Stefano Babic
Hi Fabio, On 28/02/19 13:58, Fabio Estevam wrote: > Hi, > > I am not able to build top of tree U-Boot for imx8mq-evk: > > WARNING './spl/u-boot-spl-ddr.bin' not found, resulting binary is > not-functional > make[1]: Nothing to be done for 'SPL'. > CFGCHK u-boot.cfg > > It works fine when I

Re: [U-Boot] [PATCH] ARM: socfpga: Configure PL310 latencies

2019-03-01 Thread Marek Vasut
On 3/1/19 12:59 AM, Dinh Nguyen wrote: > Hi Marek, > > On 2/19/19 4:01 AM, Simon Goldschmidt wrote: >> On Tue, Feb 19, 2019 at 1:44 AM Marek Vasut wrote: >>> >>> Configure the PL310 tag and data latency registers, which slightly >>> improves performance and aligns the behavior with Linux. >>> >>>

Re: [U-Boot] [PATCH] spl: add debug print for early malloc usage

2019-03-01 Thread Simon Goldschmidt
On Fri, Mar 1, 2019 at 11:45 AM Marek Vasut wrote: > > On 3/1/19 11:37 AM, Simon Goldschmidt wrote: > > On Fri, Mar 1, 2019 at 11:30 AM Marek Vasut wrote: > >> > >> On 2/26/19 10:27 PM, Simon Goldschmidt wrote: > >>> To find out how big the early malloc heap must be in SPL, add a debug > >>> prin

Re: [U-Boot] [PATCH] spl: add debug print for early malloc usage

2019-03-01 Thread Marek Vasut
On 3/1/19 11:37 AM, Simon Goldschmidt wrote: > On Fri, Mar 1, 2019 at 11:30 AM Marek Vasut wrote: >> >> On 2/26/19 10:27 PM, Simon Goldschmidt wrote: >>> To find out how big the early malloc heap must be in SPL, add a debug >>> print statement that dumps its usage before switching to relocated hea

Re: [U-Boot] [PATCH] spl: add debug print for early malloc usage

2019-03-01 Thread Simon Goldschmidt
On Fri, Mar 1, 2019 at 11:30 AM Marek Vasut wrote: > > On 2/26/19 10:27 PM, Simon Goldschmidt wrote: > > To find out how big the early malloc heap must be in SPL, add a debug > > print statement that dumps its usage before switching to relocated heap > > in spl_relocate_stack_gd() via CONFIG_SPL_S

Re: [U-Boot] [PATCH] spl: add debug print for early malloc usage

2019-03-01 Thread Marek Vasut
On 2/26/19 10:27 PM, Simon Goldschmidt wrote: > To find out how big the early malloc heap must be in SPL, add a debug > print statement that dumps its usage before switching to relocated heap > in spl_relocate_stack_gd() via CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN. > > Signed-off-by: Simon Goldschmid

Re: [U-Boot] iMX8QXP MEK: no ethernet

2019-03-01 Thread Anatolij Gustschin
Hi, On Fri, 1 Mar 2019 09:50:06 + Andrejs Cainikovs andrejs.cainik...@netmodule.com wrote: ... > Thanks a lot! It works now. Great, thanks for testing! I don't like the patch however and I'm still not sure how we should fix it in a proper way for upcoming release. Unfortunately, currently I d

Re: [U-Boot] i.MX8MQ: u-boot-spl-ddr.bin not found

2019-03-01 Thread Peng Fan
> -Original Message- > From: Chris Spencer [mailto:spence...@gmail.com] > Sent: 2019年3月1日 16:34 > To: Peng Fan > Cc: Fabio Estevam ; Stefano Babic ; > Baruch Siach ; U-Boot-Denx > Subject: Re: i.MX8MQ: u-boot-spl-ddr.bin not found > > On Fri, 1 Mar 2019 at 01:49, Peng Fan wrote: > > >

Re: [U-Boot] iMX8QXP MEK: no ethernet

2019-03-01 Thread Andrejs Cainikovs
Hi, On 28/02/2019 23:45, Anatolij Gustschin wrote: > >> I cant get ethernet to work on iMX8QXP MEK board with latest sources >> (tried v2019.01 as well). Is this a bug or work in progress? > > This is probably due to the missing delay after PHY reset in fec_gpio_reset(). > > Please try with att

Re: [U-Boot] db-88f6820-amc doesn't boot on latest u-boot/master

2019-03-01 Thread Vignesh Raghavendra
On 01/03/19 1:42 PM, Chris Packham wrote: > On Fri, Mar 1, 2019 at 8:40 PM Chris Packham wrote: >> >> On Fri, Mar 1, 2019 at 5:12 PM Vignesh Raghavendra wrote: >>> >>> >>> >>> On 01/03/19 7:00 AM, Chris Packham wrote: On Fri, Mar 1, 2019 at 11:15 AM Chris Packham wrote: > >

Re: [U-Boot] i.MX8MQ: u-boot-spl-ddr.bin not found

2019-03-01 Thread Chris Spencer
On Fri, 1 Mar 2019 at 01:49, Peng Fan wrote: > > Hi Peng, > > > > On Thu, Feb 28, 2019 at 10:17 PM Peng Fan wrote: > > > > > > Did you execute `make flash.bin`? > > > > Yes, I did, but flash.bin is not generated for me in mainline U-Boot tree, > > only in > > u-boot-imx tree. > > That's weird, I

Re: [U-Boot] db-88f6820-amc doesn't boot on latest u-boot/master

2019-03-01 Thread Chris Packham
On Fri, Mar 1, 2019 at 8:40 PM Chris Packham wrote: > > On Fri, Mar 1, 2019 at 5:12 PM Vignesh Raghavendra wrote: > > > > > > > > On 01/03/19 7:00 AM, Chris Packham wrote: > > > On Fri, Mar 1, 2019 at 11:15 AM Chris Packham > > > wrote: > > >> > > >> Hi All, > > >> > > >> I was just testing out