Re: [U-Boot] [PATCH 2/2] rockchip: firefly-rk3399: enable SPL_ATF_NO_PLATFORM_PARAM

2018-01-03 Thread Michal Simek
Hi Kever, On 3.1.2018 03:34, Kever Yang wrote: > Hi Philipp, > > > On 01/03/2018 04:16 AM, Philipp Tomsich wrote: >> The Rockchip-released ATF for the Firefly apparently (i.e. Kever >> reported this) does not tolerate a FDT being passed as the platform >> parameter and will run into a hard

[U-Boot] [PATCH v2 2/2] zynqmp: zcu102: Add qspi driver support for ZynqMP zcu102 boards

2018-01-03 Thread Siva Durga Prasad Paladugu
This patch adds qspi driver support for all ZynqMP ZCU102 boards. Signed-off-by: Siva Durga Prasad Paladugu --- Changes for v2: - Rebased on top of latest master and enabled qspi for all zcu102 boards. --- configs/xilinx_zynqmp_zcu102_rev1_0_defconfig | 3 +++

[U-Boot] [PATCH v2 1/2] spi: zynqmp_qspi: Add support for ZynqMP qspi driver

2018-01-03 Thread Siva Durga Prasad Paladugu
This patch adds qspi driver support for ZynqMP SoC. This driver is responsible for communicating with qspi flash devices. Signed-off-by: Siva Durga Prasad Paladugu --- Changes from v1: - Rebased on top of latest master - Moved macro definitions to .h file as per comment -

[U-Boot] [PATCH v4 11/11] rockchip: evb-rk322x: update defconfig with tpl and optee support

2018-01-03 Thread Kever Yang
Enable all the options for TPL/SPL and OPTEE. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich --- Changes in v4: None Changes in v3: None Changes in v2: -

[U-Boot] [PATCH v4 07/11] spl: add support to booting with OP-TEE

2018-01-03 Thread Kever Yang
OP-TEE is an open source trusted OS, in armv7, its loading and running are like this: loading: - SPL load both OP-TEE and U-Boot running: - SPL run into OP-TEE in secure mode; - OP-TEE run into U-Boot in non-secure mode; More detail: https://github.com/OP-TEE/optee_os and search for 'boot

[U-Boot] [PATCH v4 08/11] rockchip: rk322x: dts: enable uart2 for SPL/TPL

2018-01-03 Thread Kever Yang
When we use DM_SERIAL for serial driver, we need enable the dts node for the debug console. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich --- Changes in

[U-Boot] [PATCH v4 10/11] rockchip: evb-rk3229: add README file for OP-TEE support

2018-01-03 Thread Kever Yang
Detail of step by step to bring up the board with OP-TEE support. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich --- Changes in v4: None Changes in v3:

[U-Boot] [PATCH v4 09/11] rockchip: add fit source file for pack itb with op-tee

2018-01-03 Thread Kever Yang
We package U-Boot and OP-TEE into one itb file for SPL, so that we can support OP-TEE in SPL. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich --- Changes

[U-Boot] [PATCH v4 06/11] image: add os type for OP-TEE

2018-01-03 Thread Kever Yang
OP-TEE is an open source trust OS maintained here: https://github.com/OP-TEE/optee_os Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich --- Changes in v4:

[U-Boot] [PATCH v4 05/11] sysreset: enable driver support in SPL/TPL

2018-01-03 Thread Kever Yang
SPL/TPL also need use sysreset for some feature like panic callback. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich --- Changes in v4: None Changes in v3:

[U-Boot] [PATCH v4 04/11] rockchip: rk322x: enable tpl support

2018-01-03 Thread Kever Yang
Move original spl to tpl, and add spl to load next stage firmware, adapt all the address and option for them. Serial-changes: 2 - update upon latest source Signed-off-by: Kever Yang --- Changes in v4: - remove non-used MACRO define Changes in v3: - do not init ddr

[U-Boot] [PATCH v4 03/11] arm: add a separate stack for TPL

2018-01-03 Thread Kever Yang
TPL stack may different from SPL and sys stack, add support for separate one when the board defines it. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich ---

[U-Boot] [PATCH v4 02/11] arm: add option for TPL ARCH_MEM in arm 32bit

2018-01-03 Thread Kever Yang
Some options like TPL_SYS_THUMB_BUILD, TPL_USE_ARCH_MEMCPY and TPL_USE_ARCH_MEMCPY are needed for TPL build in 32bit arm. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich

[U-Boot] [PATCH v4 01/11] lib: add TPL_OF_LIBFDT option for TPL

2018-01-03 Thread Kever Yang
TPL may need use libfdt for dt decode, add option for it. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich --- Changes in v4: None Changes in v3: None

Re: [U-Boot] [PATCH v10 24/27] env: add spi-nor environment

2018-01-03 Thread Prabhakar Kushwaha
Hi Jagan, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Jagan Teki > Sent: Thursday, December 28, 2017 11:43 AM > To: u-boot@lists.denx.de > Cc: Tom Rini > Subject: [U-Boot] [PATCH v10 24/27] env: add spi-nor environment > >

[U-Boot] [PATCH] spl: include timezone in banner

2018-01-03 Thread Klaus Goger
Include the timezone in the SPL banner so the timestamp matches with that from u-boot proper. Signed-off-by: Klaus Goger Reviewed-by: Philipp Tomsich --- I know this is kind of a nitpick patch and we don't really have

[U-Boot] [PATCH 7/7] zynqmp: zcu102: Enable UHS support for ZCU102 Rev1.0 board

2018-01-03 Thread Siva Durga Prasad Paladugu
This patch enables UHS support for ZynqMP zcu102 rev 1.0 board. Signed-off-by: Siva Durga Prasad Paladugu --- configs/xilinx_zynqmp_zcu102_rev1_0_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/xilinx_zynqmp_zcu102_rev1_0_defconfig

[U-Boot] [PATCH 4/7] mmc: sdhci: Invoke platform specific tuning and delay routines

2018-01-03 Thread Siva Durga Prasad Paladugu
This patch adds support to invoke any platform specific tuning and delay routines if available. Signed-off-by: Siva Durga Prasad Paladugu --- drivers/mmc/sdhci.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/mmc/sdhci.c

[U-Boot] [PATCH 0/7] Add support of SD3.0 UHS modes for ZynqMP

2018-01-03 Thread Siva Durga Prasad Paladugu
This patch series is meant to add SD3.0 support for ZynqMP platform. The first five patches in the series mostly setting up things in sdhci layer to support SD3.0 , the sixth patch is to add SD3.0 support for ZynqMP platform and the last patch is to enable this support for ZynqMP zcu102 rev1.0

[U-Boot] [PATCH 1/7] mmc: sdhci: Add support for disabling clock

2018-01-03 Thread Siva Durga Prasad Paladugu
This patch adds support to disable clock if clk_disable was set and then enable or set clock if the clock was changed or clock was disabled when clock needs to be enabled. Signed-off-by: Siva Durga Prasad Paladugu --- drivers/mmc/sdhci.c | 7 ++- include/sdhci.h | 1

[U-Boot] [PATCH 2/7] mmc: sdhci: Handle execute tuning command in sdhci_send_command

2018-01-03 Thread Siva Durga Prasad Paladugu
This patch upadted sdhci_send_command to handle execute tuning command. Signed-off-by: Siva Durga Prasad Paladugu --- drivers/mmc/sdhci.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index

[U-Boot] [PATCH 6/7] mmc: zynq_sdhci: Add support for SD3.0

2018-01-03 Thread Siva Durga Prasad Paladugu
This patch adds support of SD3.0 for ZynqMP. Signed-off-by: Siva Durga Prasad Paladugu --- board/xilinx/zynqmp/Makefile | 2 + board/xilinx/zynqmp/tap_delays.c | 230 +++ drivers/mmc/zynq_sdhci.c | 230

[U-Boot] [PATCH 5/7] mmc : sdhci: Read capabilities register1 and update host caps

2018-01-03 Thread Siva Durga Prasad Paladugu
This patch reads the capabilities register1 and update the host caps accordingly for mmc layer usage. This patch mainly reads for UHS capabilities inorder to support SD3.0. Signed-off-by: Siva Durga Prasad Paladugu --- drivers/mmc/sdhci.c | 28 +++-

[U-Boot] [PATCH 3/7] sdhci: Add new sdhci ops for platform specific tuning and delays

2018-01-03 Thread Siva Durga Prasad Paladugu
This patch adds new hooks for any platform specific tuning and tap delays programing. These are needed for supporting SD3.0.Y Signed-off-by: Siva Durga Prasad Paladugu --- include/sdhci.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/sdhci.h b/include/sdhci.h

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

2018-01-03 Thread Jagan Teki
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 added to the mix a size check, which even though it's not > really optimal, is

Re: [U-Boot] [U-Boot, v3, 07/11] spl: add support to booting with OP-TEE

2018-01-03 Thread Kever Yang
On 01/03/2018 01:20 AM, Philipp Tomsich wrote: On Tue, 19 Dec 2017, Kever Yang wrote: OP-TEE is an open source trusted OS, in armv7, its loading and running are like this: loading: - SPL load both OP-TEE and U-Boot running: - SPL run into OP-TEE in secure mode; - OP-TEE run into U-Boot in

Re: [U-Boot] [PATCH v10 03/27] mtd: add SPI-NOR core support

2018-01-03 Thread Andy Yan
Hi Jagan: 2017-12-28 14:12 GMT+08:00 Jagan Teki : > Some of the SPI device drivers at drivers/spi not a real > spi controllers, Unlike normal/generic SPI controllers they > operates only with SPI-NOR flash devices. these were technically > termed as SPI-NOR

[U-Boot] U-boot on Acer Chromebook R13

2018-01-03 Thread Arthur Autin
Hello, I don't know if this is the place to ask that, but I'm having some trouble with my chromebook. My goal is to completly delete chromeOS and replace it with Archlinux. I successfully installed it on the internal storage but now I want to remove the boot message to directly boot into arch. So

Re: [U-Boot] [U-Boot, v3, 04/11] rockchip: rk322x: enable tpl support

2018-01-03 Thread Kever Yang
On 01/03/2018 01:17 AM, Philipp Tomsich wrote: On Tue, 19 Dec 2017, Kever Yang wrote: Move original spl to tpl, and add spl to load next stage firmware, adapt all the address and option for them. Serial-changes: 2 - update upon latest source Signed-off-by: Kever Yang

Re: [U-Boot] [RFC 0/5] sf: Update spi-nor framework

2018-01-03 Thread Yang, Wenyou
Hi, On this topic, Cyrille has a patches here, as a reference. https://lists.denx.de/pipermail/u-boot/2017-July/299409.html On 2017/12/11 13:57, Prabhakar Kushwaha wrote: SPI-NOR framework currently supports- - (1-1-1, 1-1-2, 1-1-4) read protocols - read latency(dummy bytes) are hardcoded

Re: [U-Boot] [PULL] Please pull u-boot-rockchip/master

2018-01-03 Thread Tom Rini
On Wed, Jan 03, 2018 at 06:07:57PM +0100, Dr. Philipp Tomsich wrote: > Tom, > > As mentioned earlier, we had another round of last-minute stabilisation fixes > in-flight > for the Rockchip tree. > > Here’s the (hopefully final) pull-request with these fixes for inclusion in > 2018.1, which >

Re: [U-Boot] Please pull u-boot-video/master

2018-01-03 Thread Tom Rini
On Wed, Jan 03, 2018 at 03:56:48PM +0100, Anatolij Gustschin wrote: > Hi Tom, > > please pull two fixes for video drivers. With these patches applied the > full build passed: https://travis-ci.org/vdsao/u-boot-video/builds/324540944 > > The following changes since commit

Re: [U-Boot] Pull request: u-boot-net.git master

2018-01-03 Thread Tom Rini
On Wed, Jan 03, 2018 at 03:32:31PM -0600, Joe Hershberger wrote: > Hi Tom, > > The following changes since commit 1314bd1192b4c67d28bdae7eee639588e88090cd: > > boards: amlogic: khadas-vim: Typo fixup (2018-01-02 07:57:34 -0500) > > are available in the git repository at: > >

Re: [U-Boot] [PATCH 1/4] ARM: tegra: don't use CONFIG_SPL_TEXT_BASE when no SPL

2018-01-03 Thread Tom Warren
-Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Wednesday, January 3, 2018 3:44 PM To: Tom Warren Cc: Simon Glass ; Tom Rini ; U-Boot Mailing List ; Stephen Warren

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

2018-01-03 Thread Duncan Hare
> >>>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 advice on the preferred > > procedure. > > Remember that the goal

Re: [U-Boot] [PATCH 1/4] ARM: tegra: don't use CONFIG_SPL_TEXT_BASE when no SPL

2018-01-03 Thread Stephen Warren
On 01/03/2018 03:43 PM, Tom Warren wrote: Stephen, -Original Message- From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: Thursday, December 28, 2017 8:14 PM To: Stephen Warren Cc: Tom Warren ; Tom Rini

Re: [U-Boot] [PATCH 1/4] ARM: tegra: don't use CONFIG_SPL_TEXT_BASE when no SPL

2018-01-03 Thread Tom Warren
Stephen, -Original Message- From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: Thursday, December 28, 2017 8:14 PM To: Stephen Warren Cc: Tom Warren ; Tom Rini ; U-Boot Mailing List

Re: [U-Boot] [PATCH v4 0/4] net: phy: Add Broadcom BCM53xx switch driver

2018-01-03 Thread Joe Hershberger
On Wed, Dec 27, 2017 at 1:55 PM, Florian Fainelli wrote: > > > On 12/09/2017 03:02 PM, Joe Hershberger wrote: >> On Sat, Dec 9, 2017 at 4:59 PM, Florian Fainelli >> wrote: >>> Hi all, >>> >>> This patch series adds support for the Broadcom BCM53xx

[U-Boot] Pull request: u-boot-net.git master

2018-01-03 Thread Joe Hershberger
Hi Tom, The following changes since commit 1314bd1192b4c67d28bdae7eee639588e88090cd: boards: amlogic: khadas-vim: Typo fixup (2018-01-02 07:57:34 -0500) are available in the git repository at: git://git.denx.de/u-boot-net.git master for you to fetch changes up to

[U-Boot] [PATCH 3/3] ARM: tegra: p2771-000: increase max DRAM bank count

2018-01-03 Thread Stephen Warren
From: Stephen Warren On this platform, there may be up to 1024 unusable chunks of memory. Increase CONFIG_NR_DRAM_BANKS so that U-Boot can remember all the banks required to represent such fragmented memory. Signed-off-by: Stephen Warren ---

[U-Boot] [PATCH 2/3] ARM: Tegra186: search for best RAM bank

2018-01-03 Thread Stephen Warren
From: Stephen Warren In the future, the list of DRAM regions passed to U-Boot in the DTB may be quite long and fragmented. Due to this, U-Boot must search through the regions to find the best region to relocate into, rather than relying on the current assumption that the top

[U-Boot] [PATCH 1/3] ARM: Tegra186: mem parsing fixes from downstream

2018-01-03 Thread Stephen Warren
From: Stephen Warren Apply a few small fixes for the DTB /memory node parsing from NVIDIA's downstream U-Boot: - Allow arbitrary number of DRAM banks. - Correctly calculate the number of DRAM banks. - Clip PCIe memory in the same way as U-Boot CPU memory use. Signed-off-by:

[U-Boot] [PATCH V2 1/2] ARMv8: add optional Linux kernel image header

2018-01-03 Thread Stephen Warren
From: Stephen Warren Allow placing a Linux kernel image header at the start of the U-Boot binary. This is useful since the image header reports the amount of memory (BSS and similar) that U-Boot needs to use, but that isn't part of the binary size. This can be used by the

[U-Boot] [PATCH V2 2/2] ARM: tegra: use LINUX_KERNEL_IMAGE_HEADER

2018-01-03 Thread Stephen Warren
From: Stephen Warren Enable CONFIG_LINUX_KERNEL_IMAGE_HEADER for all 64-bit Tegra boards. cboot (the boot SW that runs before U-Boot) will eventually use this information. Signed-off-by: Stephen Warren --- v2: No change. --- arch/arm/mach-tegra/Kconfig

Re: [U-Boot] [PATCH 1/2] ARMv8: add optional Linux kernel image header

2018-01-03 Thread Stephen Warren
On 01/03/2018 10:56 AM, Tom Rini wrote: On Wed, Jan 03, 2018 at 10:42:56AM -0700, Stephen Warren wrote: On 01/03/2018 06:45 AM, Tom Rini wrote: On Tue, Jan 02, 2018 at 04:54:21PM -0700, Stephen Warren wrote: From: Stephen Warren Allow placing a Linux kernel image header

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

2018-01-03 Thread Joe Hershberger
On Wed, Jan 3, 2018 at 3:07 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 advice on the

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

2018-01-03 Thread Duncan Hare
>>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 advice on the preferred procedure. (1) cmd/Kconfig cmd/net.c net/Kconfig net/net.c net/ping.c

Re: [U-Boot] [PATCH v4 08/25] arm: imx: hab: Fix authenticate image lockup on MX7

2018-01-03 Thread Bryan O'Donoghue
On 03/01/18 01:25, Breno Matheus Lima wrote: Hi Bryan, 2018-01-02 14:43 GMT-02:00 Bryan O'Donoghue : The i.MX6 has some pretty explicit code associated with informing the IROM about flushing caches during authenticate_image(). Looking at various pieces of

Re: [U-Boot] [PATCH 1/2] ARMv8: add optional Linux kernel image header

2018-01-03 Thread Tom Rini
On Wed, Jan 03, 2018 at 10:42:56AM -0700, Stephen Warren wrote: > On 01/03/2018 06:45 AM, Tom Rini wrote: > >On Tue, Jan 02, 2018 at 04:54:21PM -0700, Stephen Warren wrote: > > > >>From: Stephen Warren > >> > >>Allow placing a Linux kernel image header at the start of the

Re: [U-Boot] [PATCH 1/2] ARMv8: add optional Linux kernel image header

2018-01-03 Thread Stephen Warren
On 01/03/2018 06:45 AM, Tom Rini wrote: On Tue, Jan 02, 2018 at 04:54:21PM -0700, Stephen Warren wrote: From: Stephen Warren Allow placing a Linux kernel image header at the start of the U-Boot binary. This is useful since the image header reports the amount of memory

Re: [U-Boot] [PATCH] toradex: imx6: Rework PF0100 fuse programming commands to not be in SPL

2018-01-03 Thread Max Krummenacher
> On Wed, Jan 3, 2018 at 12:19 PM, Tom Rini wrote: >> The code for programming the OTP fuses on the PMIC PF0100 can only be >> used in full U-Boot, so do not build / link it into SPL. >> >> Cc: Max Krummenacher >> Cc: Stefano Babic

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

2018-01-03 Thread Tom Rini
On Wed, Jan 03, 2018 at 02:32:44PM -0200, Fabio Estevam wrote: > Hi Tom, > > On Wed, Dec 20, 2017 at 8:08 PM, Clemens Gruber > wrote: > > The blob_encap and blob_decap functions were not flushing the dcache > > before passing data to CAAM/DMA and not invalidating the

Re: [U-Boot] [PULL] Please pull u-boot-rockchip/master

2018-01-03 Thread Dr. Philipp Tomsich
Travis-CI result: https://travis-ci.org/ptomsich/u-boot-rockchip/builds/324578340 > On 3 Jan 2018, at 18:07, Dr. Philipp Tomsich > wrote: > > Tom, > > As mentioned earlier, we had another round of last-minute stabilisation fixes > in-flight > for the

[U-Boot] [PULL] Please pull u-boot-rockchip/master

2018-01-03 Thread Dr. Philipp Tomsich
Tom, As mentioned earlier, we had another round of last-minute stabilisation fixes in-flight for the Rockchip tree. Here’s the (hopefully final) pull-request with these fixes for inclusion in 2018.1, which includes the following changes: (a) a config adjustment for the RK3368-uQ7 (Lion)

Re: [U-Boot] [PATCH] phy: atheros: set auto-negotiation for AR8021

2018-01-03 Thread Joe Hershberger
On Wed, Dec 13, 2017 at 7:50 PM, Zhao Qiang wrote: > Signed-off-by: Zhao Qiang Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] net: sh-eth: Add to Kconfig and convert

2018-01-03 Thread Joe Hershberger
On Sun, Dec 10, 2017 at 1:26 PM, Joe Hershberger wrote: > On Fri, Dec 1, 2017 at 1:08 AM, Nobuhiro Iwamatsu > wrote: >> This adds SH_ETHER to drivers/net/Kconfig and convert to Kconfig. >> >> Signed-off-by: Nobuhiro Iwamatsu >

Re: [U-Boot] [PATCH] patman: Unquote output from get_maintainer.pl

2018-01-03 Thread Simon Glass
On 31 December 2017 at 15:21, Stefan Brüns wrote: > get_maintainer.pl quotes names which it considers unsafe, i.e. anything > containing [^a-zA-Z0-9_ \-]. This confuses patman, it will duplicate > addresses which are also in Series-to/cc. Strip the quotes. > >

Re: [U-Boot] [PATCH 1/1] fs: remove distractive message in fs_read()

2018-01-03 Thread Simon Glass
On 1 January 2018 at 13:15, Heinrich Schuchardt wrote: > The message > "** %s shorter than offset + len **\n" > may be interesting when debugging but it does not indicate an > error. > > So we should not write it if we are not in debug mode. > > Fixes: 7a3e70cfd88c fs/fs.c:

Re: [U-Boot] [PATCH 1/1] fs/fat: remove distractive message in file_fat_read_at()

2018-01-03 Thread Simon Glass
On 1 January 2018 at 13:31, Heinrich Schuchardt wrote: > The message "reading %s\n" may be interesting when > debugging but otherwise it is superfluous. > > Only output the message when debugging. > > Signed-off-by: Heinrich Schuchardt > --- >

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

2018-01-03 Thread Fabio Estevam
Hi Tom, On Wed, Dec 20, 2017 at 8:08 PM, Clemens Gruber wrote: > The blob_encap and blob_decap functions were not flushing the dcache > before passing data to CAAM/DMA and not invalidating the dcache when > getting data back. > Therefore, blob encapsulation and

Re: [U-Boot] [PATCH] toradex: imx6: Rework PF0100 fuse programming commands to not be in SPL

2018-01-03 Thread Fabio Estevam
On Wed, Jan 3, 2018 at 12:19 PM, Tom Rini wrote: > The code for programming the OTP fuses on the PMIC PF0100 can only be > used in full U-Boot, so do not build / link it into SPL. > > Cc: Max Krummenacher > Cc: Stefano Babic >

Re: [U-Boot] [PATCH] imx: ventana: Rework CONFIG_CMD_GSC code to not be included in SPL

2018-01-03 Thread Fabio Estevam
On Wed, Jan 3, 2018 at 12:16 PM, Tom Rini wrote: > The command can only be used from full U-Boot, so do not build it into > SPL. > > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: Tim Harvey > Signed-off-by: Tom

Re: [U-Boot] [PATCH] imx: ventana: Rework CONFIG_CMD_EECONFIG code to not be included in SPL

2018-01-03 Thread Fabio Estevam
On Wed, Jan 3, 2018 at 12:15 PM, Tom Rini wrote: > The command can only be used from full U-Boot, so do not build it into > SPL. > > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: Tim Harvey > Signed-off-by: Tom

Re: [U-Boot] [PATCH] arm: imx: Rework i.MX specific commands to be excluded from SPL

2018-01-03 Thread Fabio Estevam
On Wed, Jan 3, 2018 at 11:52 AM, Tom Rini wrote: > The "clocks" and "bootaux" commands are only usable in full U-Boot, not > SPL, so do not link them inside of SPL. Rework a little of the bootaux > related code to make use of __weak and declare parts of it static as > it's

Re: [U-Boot] [PATCH] imx: ventana: Rework CONFIG_CMD_EECONFIG code to not be included in SPL

2018-01-03 Thread Tim Harvey
On Wed, Jan 3, 2018 at 6:15 AM, Tom Rini wrote: > The command can only be used from full U-Boot, so do not build it into > SPL. > > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: Tim Harvey > Signed-off-by: Tom Rini

Re: [U-Boot] [PATCH] imx: ventana: Rework CONFIG_CMD_GSC code to not be included in SPL

2018-01-03 Thread Tim Harvey
On Wed, Jan 3, 2018 at 6:16 AM, Tom Rini wrote: > The command can only be used from full U-Boot, so do not build it into > SPL. > > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: Tim Harvey > Signed-off-by: Tom Rini

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

2018-01-03 Thread Goldschmidt Simon
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 status of these fixes? I can search >> for the patchwork items related if you

[U-Boot] [PATCH 1/1] configs: x86: allow to override CONFIG_BOOTCOMMAND

2018-01-03 Thread Heinrich Schuchardt
Allow to override CONFIG_BOOTCOMMAND in .config. Signed-off-by: Heinrich Schuchardt --- include/configs/x86-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h index 064c546403..3d536dc9d5 100644 ---

Re: [U-Boot] [PATCH V2] mx6: Support SKS-Kinkel sksimx6 Board

2018-01-03 Thread Fabio Estevam
Hi Stefano, On Wed, Jan 3, 2018 at 1:11 PM, Stefano Babic wrote: > Board has 1GB RAM and boots from SD Card > > U-Boot SPL 2018.01-rc3-5-ga1898b8 (Jan 02 2018 - 13:48:54) > BT_FUSE_SEL already fused, will do nothing > Trying to boot from MMC1 > > U-Boot

[U-Boot] [PATCH V2] mx6: Support SKS-Kinkel sksimx6 Board

2018-01-03 Thread Stefano Babic
Board has 1GB RAM and boots from SD Card U-Boot SPL 2018.01-rc3-5-ga1898b8 (Jan 02 2018 - 13:48:54) BT_FUSE_SEL already fused, will do nothing Trying to boot from MMC1 U-Boot 2018.01-rc3-5-ga1898b8 (Jan 02 2018 - 13:48:54 +0100) CPU: Freescale i.MX6DL rev1.2 996 MHz (running at 792

Re: [U-Boot] [PATCH] mx6: Support SKS-Kinkel sksimx6 Board

2018-01-03 Thread Stefano Babic
On 02/01/2018 23:51, Fabio Estevam wrote: > Hi Stefano, > > Looks good. Only two minor nits: > > On Tue, Jan 2, 2018 at 12:41 PM, Stefano Babic wrote: > >> +int board_mmc_getcd(struct mmc *mmc) >> +{ >> + struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv; >> +

[U-Boot] Please pull u-boot-video/master

2018-01-03 Thread Anatolij Gustschin
Hi Tom, please pull two fixes for video drivers. With these patches applied the full build passed: https://travis-ci.org/vdsao/u-boot-video/builds/324540944 The following changes since commit 1314bd1192b4c67d28bdae7eee639588e88090cd: boards: amlogic: khadas-vim: Typo fixup (2018-01-02

[U-Boot] [PATCH 3/3] mx6memcal: spl: Disambiguate the error message

2018-01-03 Thread Fabio Estevam
Currently mmdc_do_dqs_calibration() and mmdc_do_write_level_calibration() show the same error message, which is confusing for debugging. Disambiguate the mmdc_do_dqs_calibration() error message. Signed-off-by: Fabio Estevam --- board/freescale/mx6memcal/spl.c | 2 +- 1

[U-Boot] [PATCH 2/3] mx6memcal: spl: Also take i.MX6ULL into account

2018-01-03 Thread Fabio Estevam
i.MX6ULL also does not support 64-bit DDR bus, so add it to the check logic. Signed-off-by: Fabio Estevam --- board/freescale/mx6memcal/spl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freescale/mx6memcal/spl.c b/board/freescale/mx6memcal/spl.c index

[U-Boot] [PATCH 1/3] mx6memcal: Fix the UART ports for mx6sabresd/auto boards

2018-01-03 Thread Fabio Estevam
mx6sabresd board uses the following pins for console: PAD_CSI0_DAT10__UART1_TX_DATA PAD_CSI0_DAT11__UART1_RX_DATA ,so put it in the same config option as wandboard. mx6sabreauto board uses the following pins for console: PAD_KEY_COL0__UART4_TX_DATA PAD_KEY_ROW0__UART4_RX_DATA So do not

Re: [U-Boot] [PATCH v2 32/78] net: phy: marvell: Fix style violations

2018-01-03 Thread Joe Hershberger
On Wed, Dec 13, 2017 at 1:19 AM, Mario Six wrote: > Fix some style violations (mostly wrong indentions) in the Marvell PHY > driver. > > Signed-off-by: Mario Six Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v2 67/78] cmd: mdio: Fix style violations

2018-01-03 Thread Joe Hershberger
On Wed, Dec 13, 2017 at 1:19 AM, Mario Six wrote: > Fix some style violations in the MDIO command. > > Signed-off-by: Mario Six Acked-by: Joe Hershberger ___ U-Boot mailing list

Re: [U-Boot] [PATCH v2 22/78] net: tsec: Fix style violations

2018-01-03 Thread Joe Hershberger
On Wed, Dec 13, 2017 at 1:18 AM, Mario Six wrote: > Signed-off-by: Mario Six Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2 74/78] phy: Fix style violations

2018-01-03 Thread Joe Hershberger
On Wed, Dec 13, 2017 at 1:19 AM, Mario Six wrote: > Fix some style violations in the generic PHY management code. > > Signed-off-by: Mario Six > --- > > v1 -> v2: > * Fixed comment style according to Joe's comments Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v2 24/78] net: tsec: Make live-tree compatible

2018-01-03 Thread Joe Hershberger
On Wed, Dec 13, 2017 at 1:18 AM, Mario Six wrote: > Make the tsec ethernet driver compatible with a live device tree. > > Reviewed-by: Simon Glass > Signed-off-by: Mario Six Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v2 23/78] net: tsec: Fix memory leak in error path

2018-01-03 Thread Joe Hershberger
On Wed, Dec 13, 2017 at 1:18 AM, Mario Six wrote: > tsec_initialize allocates a private driver structure using malloc. > Should the memory allocation of this private structure fail, the > function execution is aborted with a return 0, but the previously > allocated device

[U-Boot] [PATCH v3] mx6ull: Handle the CONFIG_MX6ULL cases correctly

2018-01-03 Thread Fabio Estevam
Since commit 051ba9e082f7 ("Kconfig: mx6ull: Deselect MX6UL from CONFIG_MX6ULL") CONFIG_MX6ULL does not select CONFIG_MX6UL anymore, so take this into consideration in all the checks for CONFIG_MX6UL. This fixes a boot regression. Reported-by: Stefan Agner Signed-off-by: Fabio

Re: [U-Boot] [PATCH v1 03/10] mmc: remove unneeded verification in mmc_set_card_speed()

2018-01-03 Thread Jean-Jacques Hiblot
Hi Jaehoon, On 26/12/2017 11:36, Jaehoon Chung wrote: On 12/21/2017 08:53 PM, Jean-Jacques Hiblot wrote: mmc_set_card_speed() reads the ext csd to check if switch has been OK. But it does it only for MMC_HS and MMC_HS_52. Moreover this check is not really required as there will be a ext csd

[U-Boot] [PATCH] GPIO: tca642x: Rework to not include commands in SPL

2018-01-03 Thread Tom Rini
The command portion of the GPIO driver can only be used in full SPL so re-work to guard the command related portions and mark it as static. Cc: Dan Murphy Signed-off-by: Tom Rini --- drivers/gpio/tca642x.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[U-Boot] [PATCH] GPIO: pca953x: Rework to not include commands in SPL

2018-01-03 Thread Tom Rini
The command portion of the GPIO driver can only be used in full SPL so re-work to guard the command related portions and mark it as static. Cc: Bin Meng Cc: Simon Glass Cc: Philipp Tomsich Signed-off-by: Tom Rini

[U-Boot] [PATCH] toradex: imx6: Rework PF0100 fuse programming commands to not be in SPL

2018-01-03 Thread Tom Rini
The code for programming the OTP fuses on the PMIC PF0100 can only be used in full U-Boot, so do not build / link it into SPL. Cc: Max Krummenacher Cc: Stefano Babic Cc: Fabio Estevam Signed-off-by: Tom Rini

[U-Boot] [PATCH] imx: ventana: Rework CONFIG_CMD_GSC code to not be included in SPL

2018-01-03 Thread Tom Rini
The command can only be used from full U-Boot, so do not build it into SPL. Cc: Stefano Babic Cc: Fabio Estevam Cc: Tim Harvey Signed-off-by: Tom Rini --- board/gateworks/gw_ventana/gsc.c | 2 +- 1 file

[U-Boot] [PATCH] imx: ventana: Rework CONFIG_CMD_EECONFIG code to not be included in SPL

2018-01-03 Thread Tom Rini
The command can only be used from full U-Boot, so do not build it into SPL. Cc: Stefano Babic Cc: Fabio Estevam Cc: Tim Harvey Signed-off-by: Tom Rini --- board/gateworks/gw_ventana/eeprom.c | 4 ++-- 1 file

[U-Boot] [PATCH] powerpc: P1010RDB: Rework local command to not be included in SPL

2018-01-03 Thread Tom Rini
Add a CONFIG_SPL_BUILD guard around the code for the "mux" command so it is not included in SPL. Cc: Qiang Zhao Cc: York Sun Signed-off-by: Tom Rini --- board/freescale/p1010rdb/p1010rdb.c | 2 ++ 1 file changed, 2 insertions(+) diff

[U-Boot] [PATCH] arm: ls1021atwr: Rework local commands to not be included in SPL

2018-01-03 Thread Tom Rini
Move some of the code for the "lane_bank" and "cpld" code local commands so that they are not built for SPL as they can only be used in full U-Boot. This means we can mark a few functions as static as well now. Cc: Alison Wang Cc: Sumit Garg Cc:

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

2018-01-03 Thread Joe Hershberger
On Tue, Dec 19, 2017 at 11:02 AM, Duncan Hare wrote: >>I'd like to see the shim and all changes to existing stack as a >>separate patch to make review simpler. > > In this patch. > >>Also please make TCP and wget into 2 other separate patches. > > Yes, following. > >> Yes it

Re: [U-Boot] [PATCH 1/2] imx7: spl: Use SPL boot device MMC1 for all of the SOCs MMC/SD boot devices

2018-01-03 Thread Eran Matityahu
Hi Uri. > Hello Eran, > > On 01/03/2018 12:53 PM, Eran Matityahu wrote: >> >> Use only one SPL MMC device, similarly to the iMX6 code > > > What is the reason for not using MMC2? The reason is so that you won't have to initialize more than one MMC device in SPL. Also, to be consistent with the

[U-Boot] [PATCH] freescale; Ensure common commands are not included in SPL binary

2018-01-03 Thread Tom Rini
Both the "qixis_reset" and esbc_validate" commands can only be used in full U-Boot so do not build them in SPL. As part of this rework the qixis code to declare things as static and make use of __weak for function aliases. Cc; York Sun Signed-off-by: Tom Rini

[U-Boot] [PATCH v2] x86: Move commands from under arch/x86 to cmd/x86/

2018-01-03 Thread Tom Rini
We only need to compile and link these files when building for full U-Boot. Move them to under cmd/x86/ to make sure they aren't linked in and undiscarded due to u_boot_list_2_cmd_* being included). Cc: Bin Meng Signed-off-by: Tom Rini --- Changes in v2:

[U-Boot] [PATCH] arm: imx: Rework i.MX specific commands to be excluded from SPL

2018-01-03 Thread Tom Rini
The "clocks" and "bootaux" commands are only usable in full U-Boot, not SPL, so do not link them inside of SPL. Rework a little of the bootaux related code to make use of __weak and declare parts of it static as it's local to the file. Cc: Stefano Babic Cc: Fabio Estevam

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

2018-01-03 Thread Jagan Teki
On Wed, Jan 3, 2018 at 7:08 PM, Goldschmidt Simon wrote: > + Jagan > > On Wed, 03/01/2018, Mr. goldenstreet wrote: >> hey, i have looked at this thread: >> http://u-boot.10912.n7.nabble.com/QSPI-quot-sf-probe-quot-quot-sf-read-quot-on- >>

Re: [U-Boot] [PATCH 1/2] ARMv8: add optional Linux kernel image header

2018-01-03 Thread Tom Rini
On Tue, Jan 02, 2018 at 04:54:21PM -0700, Stephen Warren wrote: > From: Stephen Warren > > Allow placing a Linux kernel image header at the start of the U-Boot > binary. This is useful since the image header reports the amount of memory > (BSS and similar) that U-Boot needs

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

2018-01-03 Thread Goldschmidt Simon
+ Jagan On Wed, 03/01/2018, Mr. goldenstreet wrote: > hey, i have looked at this thread: > http://u-boot.10912.n7.nabble.com/QSPI-quot-sf-probe-quot-quot-sf-read-quot-on- > Altera-SoC-FPGA-td304882.html > > i'm having the same problem with Arria 5, when i try to use the "sf probe" > command on

Re: [U-Boot] [U-Boot, 2/2] rockchip: firefly-rk3399: enable SPL_ATF_NO_PLATFORM_PARAM

2018-01-03 Thread Philipp Tomsich
> The Rockchip-released ATF for the Firefly apparently (i.e. Kever > reported this) does not tolerate a FDT being passed as the platform > parameter and will run into a hard stop. > > To work around this limitation in the ATF parameter handling, we > enable SPL_ATF_NO_PLATFORM_PARAM (which will

Re: [U-Boot] rockchip: board: lion-rk3368: reduce env-size default to 8KiB

2018-01-03 Thread Philipp Tomsich
> We want to have the same configuration defaults for the RK3368-uQ7 > as for the RK3399-Q7: this change reduces the default env-size to > 8KiB to ensure that it does not overlap the boot-payload on SD/MMC > configurations. > > References: commit fe529e6597c0 ("rockchip: rk3399-puma: reduce env

  1   2   >