Re: [U-Boot] [linux-sunxi] [PATCH v2 6/6] sunxi: store DRAM size in SPL header

2018-10-25 Thread Icenowy Zheng
于 2018年10月26日 GMT+08:00 下午1:54:44, Jagan Teki 写到: >On Thu, Oct 25, 2018 at 2:53 PM Icenowy Zheng wrote: >> >> From: Andre Przywara >> >> At the moment we rely on the infamous get_ram_size() function to >learn >> the actual DRAM size in U-Boot proper. This function has two issues: >> 1) It

Re: [U-Boot] [linux-sunxi] [PATCH v2 1/6] sunxi: disable Pine A64 model detection code on other boards

2018-10-25 Thread Jagan Teki
On Thu, Oct 25, 2018 at 2:53 PM Icenowy Zheng wrote: > > The Pine A64 Plus/non-Plus model detection code is now built on all > 64-bit ARM SoCs, even if the code cannot be triggered when H5/H6 is in > use. > > Disable them when the board is Pine A64 by adding a Kconfig option that > is only

Re: [U-Boot] [linux-sunxi] [PATCH v2 6/6] sunxi: store DRAM size in SPL header

2018-10-25 Thread Jagan Teki
On Thu, Oct 25, 2018 at 2:53 PM Icenowy Zheng wrote: > > From: Andre Przywara > > At the moment we rely on the infamous get_ram_size() function to learn > the actual DRAM size in U-Boot proper. This function has two issues: > 1) It only works if the DRAM size is a power of two. We start to see >

[U-Boot] [PATCH 4/7] driver: net: ti: cpsw: update to use SPDX identifier

2018-10-25 Thread Grygorii Strashko
Update to use SPDX license identifier. Signed-off-by: Grygorii Strashko --- drivers/net/ti/cpsw.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/net/ti/cpsw.c b/drivers/net/ti/cpsw.c index 8e2a48c..fe43d14 100644 --- a/drivers/net/ti/cpsw.c +++

[U-Boot] [PATCH 3/7] drivers: net: keystone_net: drop non dm code

2018-10-25 Thread Grygorii Strashko
Networking support for all TI K2 boards converted to use DM model and CONFIG_DM_ETH enabled in all corresponding defconfig files, hence drop unused non DM K2 networking code. Signed-off-by: Grygorii Strashko --- arch/arm/include/asm/ti-common/keystone_net.h | 14 -- board/ti/ks2_evm/board.c

[U-Boot] [PATCH 0/7] driver: net: ti: clean up and code optimization

2018-10-25 Thread Grygorii Strashko
This series contains set of code clean up and optimizations for TI networking drivers. Patch 1 - Adds drivers/net/ti/ folder and moves all TI's networking code in this folder. Patches 2,3 - keystone2 clean up Patch 5 - introduces common TI MDIO support library as existing TI SoCs network HW IPs

[U-Boot] [PATCH 7/7] driver: net: ti: keystone_net: switch to use common mdio lib

2018-10-25 Thread Grygorii Strashko
Update TI Keystone 2 driver to re-use common mdio lib. Signed-off-by: Grygorii Strashko --- arch/arm/include/asm/ti-common/keystone_net.h | 13 --- drivers/net/ti/Makefile | 2 +- drivers/net/ti/keystone_net.c | 118 -- 3 files

[U-Boot] [PATCH 2/7] configs: net: convert DRIVER_TI_KEYSTONE_NET kconfig

2018-10-25 Thread Grygorii Strashko
Convert DRIVER_TI_KEYSTONE_NET to Kconfig. Signed-off-by: Grygorii Strashko --- configs/k2e_evm_defconfig| 1 + configs/k2e_hs_evm_defconfig | 1 + configs/k2g_evm_defconfig| 1 + configs/k2g_hs_evm_defconfig | 1 + configs/k2hk_evm_defconfig |

[U-Boot] [PATCH 1/7] driver: net: consolidate ti's code in separate folder

2018-10-25 Thread Grygorii Strashko
Add drivers/net/ti/ folder and move all TI's code in this folder for better maintenance. Signed-off-by: Grygorii Strashko --- arch/arm/mach-davinci/dp83848.c | 2 +- arch/arm/mach-davinci/et1011c.c | 2 +- arch/arm/mach-davinci/ksz8873.c | 2 +- arch/arm/mach-davinci/lxt972.c

[U-Boot] [PATCH 5/7] driver: net: ti: introduce common mdio support library

2018-10-25 Thread Grygorii Strashko
All existing TI SoCs network HW have similar MDIO implementation, so introduce common mdio support library which can be reused by TI networking drivers. Signed-off-by: Grygorii Strashko --- drivers/net/ti/Makefile| 2 +- drivers/net/ti/cpsw_mdio.c | 205

[U-Boot] [PATCH 6/7] driver: net: ti: cpsw: switch to use common mdio lib

2018-10-25 Thread Grygorii Strashko
Update TI CPSW driver to re-use common mdio lib Signed-off-by: Grygorii Strashko --- drivers/net/ti/cpsw.c | 134 +++--- 1 file changed, 6 insertions(+), 128 deletions(-) diff --git a/drivers/net/ti/cpsw.c b/drivers/net/ti/cpsw.c index

Re: [U-Boot] [PATCH v2 0/6] sunxi: extend SPL header to propagate DRAM size and H6 3GiB DRAM support

2018-10-25 Thread Icenowy Zheng
于 2018年10月25日 GMT+08:00 下午5:23:01, Icenowy Zheng 写到: >This series tries to solve three issues we currently have on >Allwinner boards: >- The DRAM sizing routine can only cope with power-of-two sized DRAM. >- The DRAM sizing routine steps through all DRAM, possibly hitting >secure > memory. >-

[U-Boot] [PATCH] MAINTAINERS: add NXP linux team maillist as i.MX reviewer

2018-10-25 Thread Peng Fan
Add NXP linux team upstream maillist as reviewer Signed-off-by: Peng Fan --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index cf8f73f200..b39b6fc739 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -121,6 +121,7 @@ F: drivers/spi/bcmstb_spi.c ARM

[U-Boot] [PATCH 3/3] pci: layerscape: Add the dts fixup for EP and RC

2018-10-25 Thread Xiaowei Bao
Add the dts fixup when PCI controller work diffferent mode. Signed-off-by: Xiaowei Bao --- drivers/pci/pcie_layerscape_fixup.c | 25 +++-- 1 files changed, 23 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pcie_layerscape_fixup.c

[U-Boot] [PATCH 1/3] pci: layerscape: Modify the EP and RC mode judge method

2018-10-25 Thread Xiaowei Bao
Modify the RC and EP mode judge method, save the mode as a variable, the variable will be used by other function. Signed-off-by: Xiaowei Bao --- drivers/pci/pcie_layerscape.c | 18 -- drivers/pci/pcie_layerscape.h |1 + 2 files changed, 9 insertions(+), 10 deletions(-)

[U-Boot] [PATCH 2/3] pci: layerscape: Do not scan when PEX work in EP mode

2018-10-25 Thread Xiaowei Bao
Don't scan the bus when the PEX work in EP mode. Signed-off-by: Xiaowei Bao --- drivers/pci/pcie_layerscape.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/pci/pcie_layerscape.c b/drivers/pci/pcie_layerscape.c index 17cba46..db1375a 100644 ---

Re: [U-Boot] [PATCH] ARM: dts: fsl-imx8qxp-mek: Move regulator outside "simple-bus"

2018-10-25 Thread Peng Fan
> -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2018年10月26日 8:57 > To: Peng Fan > Cc: Stefano Babic ; U-Boot-Denx > Subject: Re: [PATCH] ARM: dts: fsl-imx8qxp-mek: Move regulator outside > "simple-bus" > > Hi Peng, > > On Thu, Oct 25, 2018 at 9:54 PM

Re: [U-Boot] [PATCH] ARM: dts: fsl-imx8qxp-mek: Move regulator outside "simple-bus"

2018-10-25 Thread Fabio Estevam
Hi Peng, On Thu, Oct 25, 2018 at 9:54 PM Peng Fan wrote: > > - regulators { > > Will it be better to keep regulators node? Currently it only has the usdhc2, > but in future, > the usb regulator will also be added. When USB regulator gets added it will stay below the usdhc2 regulator. No

Re: [U-Boot] [PATCH] ARM: dts: fsl-imx8qxp-mek: Move regulator outside "simple-bus"

2018-10-25 Thread Peng Fan
Hi Fabio, > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2018年10月26日 8:50 > To: sba...@denx.de > Cc: Peng Fan ; u-boot@lists.denx.de; Fabio Estevam > > Subject: [PATCH] ARM: dts: fsl-imx8qxp-mek: Move regulator outside > "simple-bus" > > Commit

[U-Boot] [PATCH] ARM: dts: fsl-imx8qxp-mek: Move regulator outside "simple-bus"

2018-10-25 Thread Fabio Estevam
Commit 3c28576bb0f0 ("arm: dts: imx8qxp: fix build warining") fixed the dts warning by removing the unnecessary #address-cells/#size-cells, but the recommendation for regulators is not to place them under "simple-bus", so move the reg_usdhc2_vmmc regulator accordingly. Signed-off-by: Fabio

Re: [U-Boot] [PATCH] mx8mq_evk: README: Delete file introduced by mistake

2018-10-25 Thread Peng Fan
> -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2018年10月26日 8:23 > To: sba...@denx.de > Cc: u-boot@lists.denx.de; thar...@gateworks.com; Peng Fan > ; Fabio Estevam > Subject: [PATCH] mx8mq_evk: README: Delete file introduced by mistake > >

Re: [U-Boot] [PATCH] arm: dts: imx8qxp: fix build warining

2018-10-25 Thread Peng Fan
> -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2018年10月26日 8:41 > To: Peng Fan > Cc: Stefano Babic ; U-Boot-Denx > Subject: Re: [U-Boot] [PATCH] arm: dts: imx8qxp: fix build warining > > Hi Peng, > > On Thu, Oct 25, 2018 at 5:37 AM Peng Fan wrote: > >

Re: [U-Boot] [PATCH v6 34/34] imx: add i.MX8QXP MEK board support

2018-10-25 Thread Peng Fan
Hi Tim, > -Original Message- > From: Tim Harvey [mailto:thar...@gateworks.com] > Sent: 2018年10月26日 5:10 > To: Anatolij Gustschin ; Peng Fan > Cc: u-boot ; Stefano Babic ; Fabio > Estevam > Subject: Re: [U-Boot] [PATCH v6 34/34] imx: add i.MX8QXP MEK board support > > On Thu, Oct 18,

[U-Boot] i6300esb watchdog

2018-10-25 Thread Jaap Crezee
Hi all, Anybody has experience here with the i6300esb watchdog and u-boot (running under qemu-system-arm -M virt)? U-boot has no driver support for it (yet) and I couldn't get it armed yet using simple pci write commands from the u-boot command line. If someone has more information I am

Re: [U-Boot] [PATCH] arm: dts: imx8qxp: fix build warining

2018-10-25 Thread Fabio Estevam
Hi Peng, On Thu, Oct 25, 2018 at 5:37 AM Peng Fan wrote: > > Fix below build warning. > > arch/arm/dts/fsl-imx8qxp-mek.dtb: Warning (avoid_unnecessary_addr_size): > /regulators: unnecessary #address-cells/#size-cells without "ranges" > or child "reg" property > > Signed-off-by: Peng Fan > --- >

Re: [U-Boot] [PULL] Please pull u-boot-imx: u-boot-imx-20181025

2018-10-25 Thread Tom Rini
following changes since commit 0a60a81ba3860946551cb79aa6486aa076e357f3: > > Kconfig: sandbox: enable cmd_avb and dependencies (2018-10-07 13:34:19 > -0400) > > are available in the Git repository at: > > git://www.denx.de/git/u-boot-imx.git tags/u

[U-Boot] [PATCH] mx8mq_evk: README: Delete file introduced by mistake

2018-10-25 Thread Fabio Estevam
board/freescale/mx8mq_evk/README has been introduced by mistake in commit d0dd73974c61 ("imx: add i.MX8QXP MEK board support") Remove it for now as this should be introduced when mx8mq_evk support is in place. Reported-by: Tim Harvey Signed-off-by: Fabio Estevam ---

Re: [U-Boot] [PATCH v6 34/34] imx: add i.MX8QXP MEK board support

2018-10-25 Thread Tim Harvey
On Thu, Oct 18, 2018 at 5:52 AM Anatolij Gustschin wrote: > > From: Peng Fan > > Add i.MX8QXP MEK board support > Enabled pinctrl/clk/power-domain/mmc/i2c/fec driver. > Added README file. > > Signed-off-by: Peng Fan > Reviewed-by: Anatolij Gustschin > Cc: Stefano Babic > Cc: Fabio Estevam >

Re: [U-Boot] [PATCH v2] net: e1000: support 'write_hwaddr' in DM

2018-10-25 Thread Hannes Schmelzer
On 10/25/2018 08:41 PM, Joe Hershberger wrote: On Thu, Oct 25, 2018 at 9:26 AM Hannes Schmelzer wrote: Hi Joe, +* reading the current address failed +*/ + if (!ret_val && memcmp(current_mac, mac, 6) == 0) + return 0; + + for (i = 0; i < 3; ++i) +

Re: [U-Boot] [PATCH v2] net: e1000: support 'write_hwaddr' in DM

2018-10-25 Thread Joe Hershberger
On Thu, Oct 25, 2018 at 9:26 AM Hannes Schmelzer wrote: > > This commit ports the existing (non-DM) function for writing the MAC- > address into the shadow ram (and flash) for DM. > > Signed-off-by: Hannes Schmelzer > --- > > Changes in v2: > - fix build for non-DM board > - rebase on current

Re: [U-Boot] [PATCH] x86: Fix car_uninit weak symbol definition

2018-10-25 Thread Hannes Schmelzer
On 10/25/18 12:05 PM, Bin Meng wrote: Since commit 80df194f0165 ("x86: detect unsupported relocation types"), an error message is seen on QEMU x86 target during boot: do_elf_reloc_fixups32: unsupported relocation type 0x1 at fff841f0, offset = 0xfff00087 do_elf_reloc_fixups32: unsupported

[U-Boot] [PATCH v2] ARM: mvebu: dts: add Clearfog GT-8K

2018-10-25 Thread Baruch Siach
From: Rabeeh Khoury The SolidRun Clearfog GT-8K is based on Armada 8040. https://wiki.solid-run.com/doku.php?id=products:a8040:clearfoggt8k The config file is identical to the Macchiatobin one (mvebu_mcbin-88f8040_defconfig) with only the default device-tree changed. Signed-off-by: Rabeeh

Re: [U-Boot] [PATCH] x86: Fix car_uninit weak symbol definition

2018-10-25 Thread Heinrich Schuchardt
On 10/25/2018 12:05 PM, Bin Meng wrote: > Since commit 80df194f0165 ("x86: detect unsupported relocation types"), > an error message is seen on QEMU x86 target during boot: > > do_elf_reloc_fixups32: unsupported relocation type 0x1 at fff841f0, offset = > 0xfff00087 > do_elf_reloc_fixups32:

Re: [U-Boot] [PATCH v3] sf: Add auto detection of 4-byte mode (vs standard 3-byte mode)

2018-10-25 Thread York Sun
On 10/25/18 08:59, Stefan Roese wrote: > Hi York, > > On 25.10.18 17:49, York Sun wrote: >> Guys, >> >> Let get back to the original thread. Since Rajat's first reply, the >> message id has been changed. All the comments were not captured by >> patchwork. > > I also wondered about this. Seems to

Re: [U-Boot] [PATCH 29/30] dm: core: add missing prototype for ofnode_read_u64

2018-10-25 Thread Auer, Lukas
Hi Bin, On Mon, 2018-10-22 at 17:35 +0800, Bin Meng wrote: > Hi Lukas, > > On Sat, Oct 20, 2018 at 6:11 AM Lukas Auer > wrote: > > > > Signed-off-by: Lukas Auer > > --- > > > > include/dm/ofnode.h | 10 ++ > > 1 file changed, 10 insertions(+) > > > > diff --git

Re: [U-Boot] [PATCH v3] sf: Add auto detection of 4-byte mode (vs standard 3-byte mode)

2018-10-25 Thread Stefan Roese
Hi York, On 25.10.18 17:49, York Sun wrote: Guys, Let get back to the original thread. Since Rajat's first reply, the message id has been changed. All the comments were not captured by patchwork. I also wondered about this. Seems to have happened at some top-posting quite at the beginning of

Re: [U-Boot] [PATCH 22/30] riscv: remove unused labels in start.S

2018-10-25 Thread Auer, Lukas
Hi Rick, On Thu, 2018-10-25 at 09:16 +0800, Rick Chen wrote: > Auer, Lukas 於 2018年10月24日 週三 > 下午10:14寫道: > > > > Hi Rick, > > > > On Wed, 2018-10-24 at 13:47 +0800, Rick Chen wrote: > > > Rick Chen 於 2018年10月24日 週三 下午1:20寫道: > > > > > > > > Bin Meng 於 2018年10月24日 週三 上午11:34寫道: > > > > > >

Re: [U-Boot] [PATCH v4 18/27] drivers: qe: add TFABOOT support

2018-10-25 Thread York Sun
On 10/25/18 01:34, Rajesh Bhagat wrote: > > >> -Original Message- >> From: York Sun >> Sent: Monday, October 22, 2018 9:55 PM >> To: Rajesh Bhagat ; u-boot@lists.denx.de >> Cc: Prabhakar Kushwaha ; Pankit Garg >> >> Subject: Re: [PATCH v4 18/27] drivers: qe: add TFABOOT support >> >> On

Re: [U-Boot] [PATCH v3] sf: Add auto detection of 4-byte mode (vs standard 3-byte mode)

2018-10-25 Thread York Sun
Guys, Let get back to the original thread. Since Rajat's first reply, the message id has been changed. All the comments were not captured by patchwork. On 10/11/18 07:50, Stefan Roese wrote: > Some SPI NOR chips only support 4-byte mode addressing. Here the default > 3-byte mode does not work

Re: [U-Boot] [PATCH v3] sf: Add auto detection of 4-byte mode (vs standard 3-byte mode)

2018-10-25 Thread Stefan Roese
Hi Rajat, On 25.10.18 11:28, Rajat Srivastava wrote: Simply adding SPI_FLASH_USE_SFDP flag is not enough to make SFDP work. You'll need to add the driver code corresponding to the mtd layer code (in spi_flash.c) which will send the actual READ SFDP command to flash. The patch-set I

Re: [U-Boot] [PATCH 21/30] riscv: remove CONFIG_INIT_CRITICAL

2018-10-25 Thread Auer, Lukas
Hi Bin, On Thu, 2018-10-25 at 10:57 +0800, Bin Meng wrote: > Hi Lukas, > > On Mon, Oct 22, 2018 at 5:19 PM Bin Meng wrote: > > > > Hi Lukas, > > > > On Sat, Oct 20, 2018 at 6:10 AM Lukas Auer > > wrote: > > > > > > CONFIG_INIT_CRITICAL is deprecated and not used for RISC-V. > > > Remove it.

Re: [U-Boot] [BUG] efi-x86_app_defconfig does not build with gcc 8.2

2018-10-25 Thread Bin Meng
Hi Andy, On Thu, Oct 11, 2018 at 5:36 PM Andy Shevchenko wrote: > > On Tue, Oct 09, 2018 at 07:28:36AM +0800, Bin Meng wrote: > > Hi Andy, > > > > On Tue, Oct 9, 2018 at 12:31 AM Andy Shevchenko > > wrote: > > > > > > On Mon, Oct 08, 2018 at 11:31:32PM +0800, Bin Meng wrote: > > > > +Andy > > >

[U-Boot] [PATCH] cmd: remove CONFIG_SOURCE support in Makefile

2018-10-25 Thread Patrick Delaunay
This line is no more needed and can be removed. Only CONFIG_CMD_SOURCE is defined in Kconfig and used in defconfig files. CONFIG_SOURCE if not defined in source code and "config SOURCE" is not present in any Kconfig. Signed-off-by: Patrick Delaunay --- cmd/Makefile | 1 - 1 file changed, 1

Re: [U-Boot] [PATCH V2] imx: mkimage: avoid stop CI when required files not exists

2018-10-25 Thread Anatolij Gustschin
On Thu, 25 Oct 2018 08:32:40 + Peng Fan peng@nxp.com wrote: ... > diff --git a/tools/imx_cntr_image.sh b/tools/imx_cntr_image.sh > new file mode 100755 > index 00..4c629e8694 > --- /dev/null > +++ b/tools/imx_cntr_image.sh > @@ -0,0 +1,29 @@ > +#!/bin/sh > +#

Re: [U-Boot] [PATCH] net: e1000: support 'write_hwaddr' in DM

2018-10-25 Thread Hannes Schmelzer
On 24.10.2018 20:42, Joseph Hershberger wrote: Hi Hannes, Hi Joe, This seems to break many boards. Please build boards that failed and address the break. https://travis-ci.org/jhershbe/u-boot/builds/444858982 Sorry for inconvenience, i fixed that and sent a V2 to the mailinglist. Made

[U-Boot] [PATCH v2] net: e1000: support 'write_hwaddr' in DM

2018-10-25 Thread Hannes Schmelzer
This commit ports the existing (non-DM) function for writing the MAC- address into the shadow ram (and flash) for DM. Signed-off-by: Hannes Schmelzer --- Changes in v2: - fix build for non-DM board - rebase on current master drivers/net/e1000.c | 89

Re: [U-Boot] [PATCH] drivers: serial: probe all serial devices

2018-10-25 Thread Bin Meng
Hi Simon, On Fri, Oct 19, 2018 at 11:26 AM Simon Glass wrote: > > Hi Bin, > > On 15 October 2018 at 06:28, Bin Meng wrote: > > On Mon, Oct 15, 2018 at 8:15 PM Vabhav Sharma wrote: > >> > >> Serial subsystem search and probe only one first serial > >> device and unable to use remaining

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

2018-10-25 Thread Tom Rini
On Wed, Oct 24, 2018 at 08:33:01AM -0600, Simon Glass wrote: > Hi Tom, > > On 24 October 2018 at 08:28, Bin Meng wrote: > > Hi Simon, > > > > On Wed, Oct 24, 2018 at 10:14 PM Simon Glass wrote: > >> > >> Hi Tom, > >> > >> On 19 October 2018 at 06:10, Tom Rini wrote: > >> > On Thu, Oct 18, 2018

Re: [U-Boot] [U-Boot-DM] [PATCH] drivers: serial: probe all serial devices

2018-10-25 Thread Vabhav Sharma
> -Original Message- > From: Wolfgang Denk > Sent: Thursday, October 25, 2018 7:35 PM > To: Vabhav Sharma > Cc: Marek Vasut ; u-boot@lists.denx.de; u-boot- > d...@lists.denx.de; s...@chromium.org; yamada.masah...@socionext.com; > bmeng...@gmail.com > Subject: Re: [U-Boot-DM] [PATCH]

Re: [U-Boot] [U-Boot-DM] [PATCH] drivers: serial: probe all serial devices

2018-10-25 Thread Wolfgang Denk
Dear Vabhav, In message you wrote: > > > You can also use setenv stdin/stdout/stderr to alternate between stdio > > devices. So what is the problem ? > Problem is seen with PL011 driver using DM model, Only boot console baud rate > is set. U-Boot can talk to only one serial device at a time

Re: [U-Boot] [PATCH] drivers: serial: probe all serial devices

2018-10-25 Thread Vabhav Sharma
> -Original Message- > From: s...@google.com On Behalf Of Simon Glass > Sent: Friday, October 19, 2018 8:56 AM > To: Bin Meng > Cc: Vabhav Sharma ; U-Boot Mailing List b...@lists.denx.de>; u-boot...@lists.denx.de; Andreas Dannenberg > ; Masahiro Yamada > ; Stefan Roese > Subject: Re:

Re: [U-Boot] [U-Boot-DM] [PATCH] drivers: serial: probe all serial devices

2018-10-25 Thread Vabhav Sharma
Hi Marek Vasut, Apology for delayed reply, Occupied with other work > -Original Message- > From: Marek Vasut > Sent: Tuesday, October 16, 2018 2:39 PM > To: Vabhav Sharma ; u-boot@lists.denx.de; u- > boot...@lists.denx.de; s...@chromium.org > Cc: yamada.masah...@socionext.com;

Re: [U-Boot] [PATCH] riscv: ax25-ae350: Pass dtb address to u-boot with a1 register

2018-10-25 Thread Bin Meng
Hi Rick, On Thu, Oct 25, 2018 at 11:27 AM Rick Chen wrote: > > Bin Meng 於 2018年10月25日 週四 上午11:16寫道: > > > > Hi Rick, > > > > On Thu, Oct 25, 2018 at 11:11 AM Rick Chen wrote: > > > > > > Bin Meng 於 2018年10月25日 週四 上午10:33寫道: > > > > > > > > Hi Rick, > > > > > > > > On Thu, Oct 25, 2018 at 9:20

Re: [U-Boot] [PATCH 09/30] riscv: move target selection into separate file

2018-10-25 Thread Bin Meng
Hi Lukas, On Thu, Oct 25, 2018 at 7:39 PM Auer, Lukas wrote: > > Hi Bin, > > On Mon, 2018-10-22 at 15:22 +0800, Bin Meng wrote: > > Hi Lukas, > > > > On Sat, Oct 20, 2018 at 6:10 AM Lukas Auer > > wrote: > > > > > > Move the target selection into a separate file (Kconfig.board) to > > > avoid >

Re: [U-Boot] [PATCH v2 01/18] tools: MediaTek: add MTK boot header generation to mkimage

2018-10-25 Thread Ryder Lee
On Wed, 2018-10-24 at 21:29 -0600, Simon Glass wrote: > Hi Ryder, > > On 12 October 2018 at 01:00, Ryder Lee wrote: > > This patch adds support for MTK boot image generation. > > > > Signed-off-by: Weijie Gao > > Signed-off-by: Ryder Lee > > --- > > Makefile | 22 ++ > >

Re: [U-Boot] [PATCH 3/4] x86: theadorable-x86: Generate and pass root=PARTUUID instead of /dev/sdaX

2018-10-25 Thread Bin Meng
On Tue, Oct 23, 2018 at 12:54 PM Bin Meng wrote: > > On Mon, Oct 22, 2018 at 8:08 PM Stefan Roese wrote: > > > > To enable the root device selection (kernel cmd-line) via PARTUUID, this > > patch enables CMD_PART on all missing theadorable-x86 boards and > > changes the default environment to

Re: [U-Boot] [PATCH 4/4] x86: theadorable-x86-xxx_defconfig: Move VGA BIOS to make room for U-Boot

2018-10-25 Thread Bin Meng
On Tue, Oct 23, 2018 at 12:54 PM Bin Meng wrote: > > On Mon, Oct 22, 2018 at 8:09 PM Stefan Roese wrote: > > > > The build breaks because its not fitting the U-Boot binary into the ROM > > image. So lets move VGA BIOS a bit to make room for the grown U-Boot > > binary. > > > > Signed-off-by:

Re: [U-Boot] [PATCH 2/4] x86: theadorable-x86-common: Change pci hotplug cmdline parameters (again)

2018-10-25 Thread Bin Meng
On Tue, Oct 23, 2018 at 12:54 PM Bin Meng wrote: > > On Mon, Oct 22, 2018 at 8:08 PM Stefan Roese wrote: > > > > This is needed for the PCIe hotplug to work correctly on some boards > > with the newer Linux kernel versions. > > > > Signed-off-by: Stefan Roese > > Cc: Bin Meng > > --- > >

Re: [U-Boot] [PATCH 1/4] x86: BayTrail: southcluster.asl: Change PCI 64 bit address range / region

2018-10-25 Thread Bin Meng
On Tue, Oct 23, 2018 at 12:54 PM Bin Meng wrote: > > On Mon, Oct 22, 2018 at 8:08 PM Stefan Roese wrote: > > > > To allow bigger 64 bit prefetchable PCI regions in Linux, this patch > > changes the base address and range of the ACPI area passed to Linux. > > BayTrail can only physically access

Re: [U-Boot] U-Boot and The Boot Loader Specification

2018-10-25 Thread Dennis Gilmore
El vie, 19-10-2018 a las 12:12 +0200, Wolfgang Denk escribió: > Dear Alexander, > > In message <118460556.a0Y5euKZZ7@ada> you wrote: > > > 864 /* > > > 865 * Keywords recognized. > > > 866 */ > > > 867 static const struct token keywords[] = { > > > 868 {"menu", T_MENU}, > > > 869

Re: [U-Boot] [PATCH 13/30] riscv: do not reimplement generic io functions

2018-10-25 Thread Auer, Lukas
Hi Bin, On Mon, 2018-10-22 at 15:36 +0800, Bin Meng wrote: > Hi Lukas, > > On Sat, Oct 20, 2018 at 6:10 AM Lukas Auer > wrote: > > > > RISC-V u-boot reimplements the generic io functions from > > nits: U-Boot > Fixed in v2. Thanks, Lukas > > asm-generic/io.h. Remove the redundant

Re: [U-Boot] [PATCH 12/30] riscv: make use of the barrier functions from Linux

2018-10-25 Thread Auer, Lukas
Hi Bin, On Mon, 2018-10-22 at 15:36 +0800, Bin Meng wrote: > Hi Lukas, > > On Sat, Oct 20, 2018 at 6:10 AM Lukas Auer > wrote: > > > > Replace the barrier functions in arch/riscv/include/asm/io.h with > > those > > defined in barrier.h, which is imported from Linux. This version is > >

Re: [U-Boot] [PATCH 11/30] riscv: fix use of incorrectly sized variables

2018-10-25 Thread Auer, Lukas
Hi Rick and Bin, On Tue, 2018-10-23 at 13:52 +0800, Rick Chen wrote: > > > -static void _exit_trap(int code, uint epc, struct pt_regs *regs) > > > +static void _exit_trap(ulong code, ulong epc, struct pt_regs > > > *regs) > > > { > > > static const char * const exception_code[] = { > > >

Re: [U-Boot] [PATCH 09/30] riscv: move target selection into separate file

2018-10-25 Thread Auer, Lukas
Hi Bin, On Mon, 2018-10-22 at 15:22 +0800, Bin Meng wrote: > Hi Lukas, > > On Sat, Oct 20, 2018 at 6:10 AM Lukas Auer > wrote: > > > > Move the target selection into a separate file (Kconfig.board) to > > avoid > > clutter once we support more boards. > > > > Signed-off-by: Lukas Auer > >

Re: [U-Boot] [PATCH 09/30] riscv: move target selection into separate file

2018-10-25 Thread Auer, Lukas
Hi Bin, On Thu, 2018-10-25 at 10:50 +0800, Bin Meng wrote: > On Tue, Oct 23, 2018 at 10:48 AM Rick Chen > wrote: > > > > > > Subject: Re: [PATCH 09/30] riscv: move target selection into > > > > separate file > > > > > > > > Hi Lukas, > > > > > > > > On Sat, Oct 20, 2018 at 6:10 AM Lukas Auer

Re: [U-Boot] [PATCH] arm: mvebu: Move PCI(e) MBUS window to end of RAM

2018-10-25 Thread Владислав
Ok, no problem Tested-by: VlaoMao Stefan Roese 23 октября 2018 г. 13:21:52 написал: On 23.10.18 12:19, Владислав wrote: I checked this patch, and seems to work for me on clearfog base and silicon motion pcie video card Thats good, thanks for checking. Could you please send a proper git

[U-Boot] [PATCH] Kconfig: Convert CONFIG_IMX_WATCHDOG to Kconfig

2018-10-25 Thread Xiaoliang Yang
Move this option to Kconfig and tidy up the config file of eight boards which use it. Signed-off-by: Xiaoliang Yang --- configs/aristainetos2_defconfig |1 + configs/aristainetos2b_defconfig |1 + configs/aristainetos_defconfig|1 + configs/dh_imx6_defconfig

Re: [U-Boot] sunxi: add custom board

2018-10-25 Thread Giulio Benetti
Hello Maxime, Il 24/10/2018 19:59, Maxime Ripard ha scritto: On Wed, Oct 24, 2018 at 03:59:56PM +0200, Giulio Benetti wrote: Hello Jagan and Maxime, I've looked around a lot, but I can't find a way to use the board/sunxi:

Re: [U-Boot] [PATCH] net: e1000: support 'write_hwaddr' in DM

2018-10-25 Thread Joseph Hershberger
Hi Hannes, > -Original Message- > From: Hannes Schmelzer > Sent: Thursday, October 11, 2018 12:42 AM > To: u-boot@lists.denx.de > Cc: Hannes Schmelzer ; Joseph > Hershberger > Subject: [PATCH] net: e1000: support 'write_hwaddr' in DM > > This commit ports the existing (non-DM) function

Re: [U-Boot] [PATCH 2/3] net: phy: aquantia: add firmware loading support

2018-10-25 Thread Jeremy Gebben
On Wed, Oct 24, 2018 at 3:34 AM Prabhakar Kushwaha wrote: > > > > -Original Message- > > From: U-Boot On Behalf Of Jeremy > > Gebben > > Sent: Wednesday, September 19, 2018 3:20 AM > > To: u-boot@lists.denx.de > > Cc: Joe Hershberger ; Shaohui Xie > > ; York Sun > > Subject: [U-Boot]

[U-Boot] sunxi: add custom board

2018-10-25 Thread Giulio Benetti
Hello Jagan and Maxime, I've looked around a lot, but I can't find a way to use the board/sunxi: http://git.denx.de/?p=u-boot.git;a=tree;f=board/sunxi;h=304ee6b4cc8e075759d3bd0beb250b56f6901702;hb=HEAD to fit what we need. We have 5 gpios that control the max current setting on current-driver

Re: [U-Boot] [PATCH] riscv: ax25-ae350: Pass dtb address to u-boot with a1 register

2018-10-25 Thread Auer, Lukas
Hi Rick, On Thu, 2018-10-25 at 11:28 +0800, Rick Chen wrote: > Bin Meng 於 2018年10月25日 週四 上午11:16寫道: > > > > Hi Rick, > > > > On Thu, Oct 25, 2018 at 11:11 AM Rick Chen > > wrote: > > > > > > Bin Meng 於 2018年10月25日 週四 上午10:33寫道: > > > > > > > > Hi Rick, > > > > > > > > On Thu, Oct 25, 2018

Re: [U-Boot] [PATCH v2 0/6] sunxi: extend SPL header to propagate DRAM size and H6 3GiB DRAM support

2018-10-25 Thread Maxime Ripard
On Thu, Oct 25, 2018 at 05:23:01PM +0800, Icenowy Zheng wrote: > This series tries to solve three issues we currently have on > Allwinner boards: > - The DRAM sizing routine can only cope with power-of-two sized DRAM. > - The DRAM sizing routine steps through all DRAM, possibly hitting secure >

[U-Boot] [PATCH] x86: tsc: Add support for APL soc

2018-10-25 Thread Bernhard Messerklinger
Signed-off-by: Bernhard Messerklinger --- drivers/timer/tsc_timer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/timer/tsc_timer.c b/drivers/timer/tsc_timer.c index da7c812908..b2a982812a 100644 --- a/drivers/timer/tsc_timer.c +++ b/drivers/timer/tsc_timer.c @@ -64,6 +64,8 @@

[U-Boot] [PATCH 2/2] spi: ich-spi: Add DT spi-max-frequency support

2018-10-25 Thread Bernhard Messerklinger
Signed-off-by: Bernhard Messerklinger --- drivers/spi/ich.c | 7 +++ drivers/spi/ich.h | 1 + 2 files changed, 8 insertions(+) diff --git a/drivers/spi/ich.c b/drivers/spi/ich.c index d84bbdb2e5..4ec107d323 100644 --- a/drivers/spi/ich.c +++ b/drivers/spi/ich.c @@ -213,6 +213,10 @@ static

[U-Boot] [PATCH 1/2] spi: ich-spi: Add APL support

2018-10-25 Thread Bernhard Messerklinger
Signed-off-by: Bernhard Messerklinger --- drivers/spi/ich.c | 168 +- drivers/spi/ich.h | 46 - 2 files changed, 178 insertions(+), 36 deletions(-) diff --git a/drivers/spi/ich.c b/drivers/spi/ich.c index 03531a8c0c..d84bbdb2e5 100644

Re: [U-Boot] [PATCH v2 5/6] sunxi: add Kconfig option for the maximum accessible DRAM

2018-10-25 Thread André Przywara
On 10/25/18 10:23 AM, Icenowy Zheng wrote: > Allwinner 64-bit SoCs can use 4GiB DRAM chip, however their memory map > has only allocated 3GiB for DRAM, so only 3GiB of the DRAM is > accessible. > > Add a Kconfig option for the maximum accessible DRAM. > > For A80 it should be a much higher value

Re: [U-Boot] [PATCH v2 1/6] sunxi: disable Pine A64 model detection code on other boards

2018-10-25 Thread André Przywara
On 10/25/18 10:23 AM, Icenowy Zheng wrote: > The Pine A64 Plus/non-Plus model detection code is now built on all > 64-bit ARM SoCs, even if the code cannot be triggered when H5/H6 is in > use. > > Disable them when the board is Pine A64 by adding a Kconfig option that > is only selected on Pine

Re: [U-Boot] [PATCH v2 4/6] sunxi: map DRAM part with 3G size

2018-10-25 Thread André Przywara
On 10/25/18 10:23 AM, Icenowy Zheng wrote: > All Allwinner 64-bit SoCs now are known to be able to access 3GiB of > external DRAM, however the size of DRAM part in the MMU translation > table is still 2GiB. > > Change the size of DRAM part in MMU table to 3GiB. > > Signed-off-by: Icenowy Zheng

Re: [U-Boot] [PATCH v2 0/6] sunxi: extend SPL header to propagate DRAM size and H6 3GiB DRAM support

2018-10-25 Thread Icenowy Zheng
于 2018年10月25日 GMT+08:00 下午6:15:11, "André Przywara" 写到: >On 10/25/18 10:23 AM, Icenowy Zheng wrote: > >Hi Icenowy, > >thanks for picking this up, resending and adapting this! > >> This series tries to solve three issues we currently have on >> Allwinner boards: >> - The DRAM sizing routine can

Re: [U-Boot] [PATCH v2 0/6] sunxi: extend SPL header to propagate DRAM size and H6 3GiB DRAM support

2018-10-25 Thread André Przywara
On 10/25/18 10:23 AM, Icenowy Zheng wrote: Hi Icenowy, thanks for picking this up, resending and adapting this! > This series tries to solve three issues we currently have on > Allwinner boards: > - The DRAM sizing routine can only cope with power-of-two sized DRAM. > - The DRAM sizing routine

[U-Boot] [PULL] Please pull u-boot-imx: u-boot-imx-20181025

2018-10-25 Thread Stefano Babic
and dependencies (2018-10-07 13:34:19 -0400) are available in the Git repository at: git://www.denx.de/git/u-boot-imx.git tags/u-boot-imx-20181025 for you to fetch changes up to 3c28576bb0f0990d699fd330089412e620706941: arm: dts: imx8qxp: fix build warining (2018-10-25 11:48:13 +0200

[U-Boot] [PATCH] x86: Fix car_uninit weak symbol definition

2018-10-25 Thread Bin Meng
Since commit 80df194f0165 ("x86: detect unsupported relocation types"), an error message is seen on QEMU x86 target during boot: do_elf_reloc_fixups32: unsupported relocation type 0x1 at fff841f0, offset = 0xfff00087 do_elf_reloc_fixups32: unsupported relocation type 0x2 at fff841f8, offset =

[U-Boot] [question] need help with mmc-env-addr

2018-10-25 Thread Frank Wunderlich
Hi, i hope questions are also allowed on this mailing list :) i try to port environment-saving from 2014-04 to 2018-11...and in 2014 i see that an offset of 1 MB is added to address when booting from SD-Card. I have the boot-device-detection ready, but i'm unsure how to implement the

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

2018-10-25 Thread Lukasz Majewski
Hi Xiaoliang, > Move this option to Kconfig and tidy up the config file of eight > boards which use it. Reviewed-by: Łukasz Majewski > > Signed-off-by: Xiaoliang Yang > --- > configs/aristainetos2_defconfig |1 + > configs/aristainetos2b_defconfig |1 + >

Re: [U-Boot] [PATCH] imx: mkimage: avoid stop CI when required files not exists

2018-10-25 Thread Stefano Babic
Hi Peng, On 25/10/18 10:45, Peng Fan wrote: > Hi Stefano, > >> -Original Message- >> From: Stefano Babic [mailto:sba...@denx.de] >> Sent: 2018年10月25日 16:35 >> To: Peng Fan ; Stefano Babic ; Anatolij >> Gustschin >> Cc: u-boot@lists.denx.de >> Subject: Re: [U-Boot] [PATCH] imx: mkimage:

Re: [U-Boot] [PATCH v2 15/18] ram: MediaTek: add DDR3 driver for MT7629 SoC

2018-10-25 Thread Ryder Lee
On Wed, 2018-10-24 at 21:30 -0600, Simon Glass wrote: > On 12 October 2018 at 01:01, Ryder Lee wrote: > > This patch adds a DDR3 driver for MT7629 SoC. > > > > Signed-off-by: Wu Zou > > Signed-off-by: Ryder Lee > > --- > > drivers/ram/Makefile | 1 + > >

[U-Boot] [PATCH V2 4/6] doc: uImage.FIT: signature.txt: add option padding

2018-10-25 Thread Philippe Reynes
Signed-off-by: Philippe Reynes Reviewed-by: Simon Glass --- doc/uImage.FIT/signature.txt | 3 +++ 1 file changed, 3 insertions(+) Changelog: v2: - no change diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt index a765722..bfff6fd 100644 ---

[U-Boot] [PATCH V2 6/6] test: vboot: add padding pss for rsa signature

2018-10-25 Thread Philippe Reynes
The padding pss is now supported for rsa signature. This add test with padding pss on vboot test. Signed-off-by: Philippe Reynes --- test/py/tests/test_vboot.py | 10 +++--- test/py/tests/vboot/sign-configs-sha1-pss.its | 46 +

[U-Boot] [PATCH V2 5/6] configs: sandbox: enable padding pss for rsa signature

2018-10-25 Thread Philippe Reynes
Signed-off-by: Philippe Reynes --- configs/sandbox_defconfig | 1 + 1 file changed, 1 insertion(+) Changelog: v2: - new patch in the serie diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 2ce336f..b2565e1 100644 --- a/configs/sandbox_defconfig +++

[U-Boot] [PATCH V2 2/6] rsa: add a structure for the padding

2018-10-25 Thread Philippe Reynes
The rsa signature use a padding algorithm. By default, we use the padding pkcs-1.5. In order to add some new padding algorithm, we add a padding framework to manage several padding algorithm. The choice of the padding is done in the file .its. Signed-off-by: Philippe Reynes Reviewed-by: Simon

[U-Boot] [PATCH V2 3/6] rsa: add support of padding pss

2018-10-25 Thread Philippe Reynes
We add the support of the padding pss for rsa signature. This new padding is often recommended instead of pkcs-1.5. Signed-off-by: Philippe Reynes --- Kconfig | 8 +++ common/image-sig.c | 6 ++ include/image.h | 1 + include/u-boot/rsa.h | 15 lib/rsa/rsa-sign.c

[U-Boot] [PATCH V2 1/6] rsa: use new openssl API to create signature

2018-10-25 Thread Philippe Reynes
Previous implementation of the rsa signature was using the openssl API EVP_Sign*, but the new openssl API EVP_DigestSign* is more flexible. So we move to this new API. Signed-off-by: Philippe Reynes Reviewed-by: Simon Glass --- lib/rsa/rsa-sign.c | 17 +++-- 1 file changed, 11

Re: [U-Boot] [PATCH v3] sf: Add auto detection of 4-byte mode (vs standard 3-byte mode)

2018-10-25 Thread Rajat Srivastava
Hi Stefan > -Original Message- > From: Stefan Roese > Sent: Tuesday, October 23, 2018 10:31 PM > To: Rajat Srivastava ; ja...@openedev.com; > simon.k.r.goldschm...@gmail.com > Cc: Ashish Kumar ; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH v3] sf: Add auto detection of 4-byte mode

[U-Boot] [PATCH v2 6/6] sunxi: store DRAM size in SPL header

2018-10-25 Thread Icenowy Zheng
From: Andre Przywara At the moment we rely on the infamous get_ram_size() function to learn the actual DRAM size in U-Boot proper. This function has two issues: 1) It only works if the DRAM size is a power of two. We start to see boards which have 3GB of (usable) DRAM, so this does not fit

[U-Boot] [PATCH v2 4/6] sunxi: map DRAM part with 3G size

2018-10-25 Thread Icenowy Zheng
All Allwinner 64-bit SoCs now are known to be able to access 3GiB of external DRAM, however the size of DRAM part in the MMU translation table is still 2GiB. Change the size of DRAM part in MMU table to 3GiB. Signed-off-by: Icenowy Zheng --- This used to be in another patchset targeting 3GiB

[U-Boot] [PATCH v2 5/6] sunxi: add Kconfig option for the maximum accessible DRAM

2018-10-25 Thread Icenowy Zheng
Allwinner 64-bit SoCs can use 4GiB DRAM chip, however their memory map has only allocated 3GiB for DRAM, so only 3GiB of the DRAM is accessible. Add a Kconfig option for the maximum accessible DRAM. For A80 it should be a much higher value (8GiB), but as I have no A80 device to test and

[U-Boot] [PATCH v2 2/6] sunxi: Extend SPL header versioning

2018-10-25 Thread Icenowy Zheng
From: Andre Przywara On Allwinner SoCs we use some free bytes at the beginning of the SPL image to store various information. We have a version byte to allow updates, but changing this always requires all tools to be updated as well. Introduce the concept of semantic versioning [1] to the SPL

[U-Boot] [PATCH v2 3/6] sunxi: board.c: refactor SPL header checks

2018-10-25 Thread Icenowy Zheng
From: Andre Przywara So far we have two users which want to look at the SPL header. We will get more in the future. Refactor the existing SPL header checks into a common function, to simplify reusing the code. Now that this is easy, add proper version checks to the DT name parsing.

[U-Boot] [PATCH v2 1/6] sunxi: disable Pine A64 model detection code on other boards

2018-10-25 Thread Icenowy Zheng
The Pine A64 Plus/non-Plus model detection code is now built on all 64-bit ARM SoCs, even if the code cannot be triggered when H5/H6 is in use. Disable them when the board is Pine A64 by adding a Kconfig option that is only selected on Pine A64. On GCC 7.3.1 this makes the size of the function

  1   2   >