[U-Boot] [PATCH 2/2] video: Support multiple lines version string display

2018-01-01 Thread Peng Fan
The calculation of left space for version string is not correct, should use VIDEO_COLS not VIDEO_LINE_LEN / 2, otherwise we will get larger space than actual have and cause string to overlay logo picture. Also current version string display only supports two lines words at max. This also causes

[U-Boot] [PATCH 1/2] video: ipu: Fix dereferencing NULL pointer problem

2018-01-01 Thread Peng Fan
The clk_set_rate function dereferences the clk pointer without checking whether it is NULL. This may cause problem when clk is NULL. Signed-off-by: Peng Fan --- drivers/video/ipu_common.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/video/ipu_common.c

[U-Boot] [PATCH 2/2] imx: mx6ull-14x14-evk: enable DM QSPI driver

2018-01-01 Thread Peng Fan
To support QSPI DM driver - Add spi0 alias for qspi node. Which is used for bus number 0. - Modify the n25q256a@0 compatible property to "spi-flash". - Modify spi4 (gpio_spi) node to spi5 - Define DM SPI/QSPI related config to enable QSPI Signed-off-by: Peng Fan ---

[U-Boot] [PATCH 1/2] spi: fsl_qspi: support i.MX6UL/7D

2018-01-01 Thread Peng Fan
The QSPI module on i.MX7D is modified from i.MX6SX. The module used on i.MX6UL is reused from i.MX7D. They share same tx buffer size. The endianness is not set at qspi driver initialization. So if we don't boot from QSPI, we will get wrong endianness when accessing from AHB address directly. Add

[U-Boot] [PATCH] Revert "Kconfig: mx6ull: Deselect MX6UL from CONFIG_MX6ULL"

2018-01-01 Thread Peng Fan
6ULL reuses as much as possible code from 6UL. Removing the selection will cause 6ULL could not boot up. So revert it. This reverts commit 051ba9e082f71f4709c32a69378192ca8964ca50. Signed-off-by: Peng Fan --- arch/arm/mach-imx/mx6/Kconfig | 3 +-- 1 file changed, 1

Re: [U-Boot] [PATCH v2] board: ti: dra7xx: Select MCAN instead of DCAN on DRA76 EVM

2018-01-01 Thread Faiz Abbas
Hi, On Tuesday 12 December 2017 05:14 PM, Faiz Abbas wrote: > From: Vignesh R > > MCAN can be accessed via DCAN1 or DCAN2. Determining which DCAN instance > to use if any at all is done through > CTRL_CORE_CONTROL_SPARE_RW.SEL_ALT_MCAN. Since general pinmuxing is > handled in

Re: [U-Boot] [PATCH] driver: net: ldpaa_eth: Add PHY-less SGMII support

2018-01-01 Thread Ashish Kumar
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Ashish > Kumar > Sent: Thursday, November 09, 2017 10:46 AM > To: York Sun ; u-boot@lists.denx.de; Prabhakar Kushwaha > > Cc: joe.hershber...@ni.com >

[U-Boot] [PATCH] armv8: ls1088aqds: Add IFC-NOR as boot source for LS1088

2018-01-01 Thread Ashish Kumar
IFC-NOR and QSPI-NOR pins are muxed on SoC,so they cannot be accessed simultaneously, but IFC-NOR can be accessed along with SD-BOOT. ls1088aqds_sdcard_ifc_defconfig: is defconfig for SD as boot source and IFC-NOR to be used as flash, this will be used to write IFC-NOR image on IFC flash. QSPI

[U-Boot] [PATCH] armv8: ls1088: Add USB and PCI configs in SD-BOOT defconfig

2018-01-01 Thread Ashish Kumar
Signed-off-by: Ashish Kumar --- depends on: https://patchwork.ozlabs.org/patch/853615/ Tested on 2018.01-rc3 configs/ls1088aqds_sdcard_qspi_defconfig | 12 configs/ls1088ardb_sdcard_qspi_defconfig | 12 2 files changed, 24 insertions(+) diff

[U-Boot] [PATCH] mmc: Poll for broken card detection case

2018-01-01 Thread Jun Nie
Poll for broken card detection case instead of return no card detected. Signed-off-by: Jun Nie --- drivers/mmc/Kconfig | 5 + drivers/mmc/mmc.c | 4 2 files changed, 9 insertions(+) diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index 8fbeaa7..ed194a3

[U-Boot] [PATCH 7/7] imx: mx6sxsabresd: enlarge ENV offset

2018-01-01 Thread Peng Fan
The u-boot-dtb.imx size is about 519KB, so 8 * 64KB conflicts with u-boot-dtb.imx. Enlarge the offset to 14 * 64KB to fix it. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- include/configs/mx6sxsabresd.h | 2 +- 1 file

[U-Boot] [PATCH 5/7] imx: mx6sxsabresd: Enable DM driver

2018-01-01 Thread Peng Fan
Enable I2C/MMC/GPIO/REGUALTOR/PMIC/USB DM drivers. There are some dependency, such as when DM MMC enabled, USB compile error. Also the i.MX I2C MMC DM driver does not support legacy GPIO interface. So enable them all together. Signed-off-by: Peng Fan Cc: Stefano Babic

[U-Boot] [PATCH 6/7] imx: mx6sxsabresd: config wdog pinmux

2018-01-01 Thread Peng Fan
Because kernel set WDOG_B mux before pad with the common pinctrl framwork now and wdog reset will be triggered once set WDOG_B mux with default pad setting, we set pad setting here to workaround this. Since imx_iomux_v3_setup_pad also set mux before pad setting, we set as GPIO mux firstly here to

[U-Boot] [PATCH 4/7] pci: imx: request gpio before use

2018-01-01 Thread Peng Fan
Before use GPIO, we need to request gpio first. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- drivers/pci/pcie_imx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pci/pcie_imx.c b/drivers/pci/pcie_imx.c

[U-Boot] [PATCH 3/7] board: freescale: common: add pfuze dm code

2018-01-01 Thread Peng Fan
Add pfuze dm code, this code could be enabled with CONFIG_DM_PMIC_PFUZE100. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- board/freescale/common/Makefile | 1 + board/freescale/common/pfuze.c | 79

[U-Boot] [PATCH 2/7] ARM: imx: Enable dts for i.MX6SX-SDB

2018-01-01 Thread Peng Fan
Enable DTS and OF_CONTROL for i.MX6SX-SDB. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- configs/mx6sxsabresd_defconfig | 3 ++- configs/mx6sxsabresd_spl_defconfig | 3 ++- 2 files changed, 4 insertions(+), 2

[U-Boot] [PATCH 1/7] ARM: imx: Introduce dts for i.MX6SX-SDB

2018-01-01 Thread Peng Fan
Introduce dts from Kernel commit commit 71ee203389f7cb1c("Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi") Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- arch/arm/dts/Makefile|

Re: [U-Boot] U-Boot and Builman Toolchains

2018-01-01 Thread Tom Rini
On Sat, Dec 30, 2017 at 08:08:39AM -0600, Adam Ford wrote: > Tom, > > I know that we need GCC 6 or newer to compile GCC, but buildman is > still using older toolchains. > > Do you know if there are plans to update buildman to use newer > toolchains? It seems to be linked to kernel.org, but it

Re: [U-Boot] [PATCH] mx6: ddr: Do not access MMDC_P1_BASE_ADDR on i.MX6ULL

2018-01-01 Thread Peng Fan
> -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: Tuesday, January 02, 2018 8:52 AM > To: sba...@denx.de > Cc: u-boot@lists.denx.de; ste...@agner.ch; Peng Fan ; > Fabio Estevam > Subject: [PATCH] mx6: ddr: Do not

[U-Boot] [PATCH] mx6: ddr: Do not access MMDC_P1_BASE_ADDR on i.MX6ULL

2018-01-01 Thread Fabio Estevam
From: Fabio Estevam i.MX6ULL also does not have a MMDC_P1_BASE_ADDR, so do not try to access it. Signed-off-by: Fabio Estevam --- arch/arm/mach-imx/mx6/ddr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [ANN] U-Boot v2018.01-rc3 released

2018-01-01 Thread Tom Rini
Hey all, It's late in the day, but it's still release day and I've put v2018.01-rc3 out. There's a few more fixes that are going to come in, but as things stand, release is looking to be on track for January 8th. Thanks all! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] configs: am335x_boneblack: Bring back missed bootcmd

2018-01-01 Thread Tom Rini
On Thu, Dec 28, 2017 at 11:03:25PM +0200, Sam Protsenko wrote: > Commit b6251db8c3f0 ("Kconfig: Introduce USE_BOOTCOMMAND and migrate > BOOTCOMMAND") removed CONFIG_BOOTCOMMAND option from > include/configs/am335x_evm.h file. But that option wasn't added to > defconfig files for BeagleBone Black

Re: [U-Boot] [U-Boot, v4, 2/3] ARM: dts: omap3-evm: Enable DM and devicetree for TMDSEVM{3530, 3730}

2018-01-01 Thread Tom Rini
On Wed, Dec 27, 2017 at 09:40:16AM -0600, Derald D. Woods wrote: > This commit updates the configuration files needed to support OF_CONTROL > on the OMAP3 EVM baseboard. > > Additionally: > - CONFIG_SYS_THUMB_BUILD is enabled > - CONFIG_SPL_ENV_SUPPORT is enabled > > Tested using GCC 7.2.0

Re: [U-Boot] ARM: omap3: evm: Do not relocate FDT address

2018-01-01 Thread Tom Rini
On Thu, Dec 28, 2017 at 01:25:43AM -0600, Derald D. Woods wrote: > This commit keeps the 'fdtaddr' as provided by DEFAULT_LINUX_BOOT_ENV. > > Signed-off-by: Derald D. Woods Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] power: tps65910: replace error() by pr_err()

2018-01-01 Thread Tom Rini
On Mon, Dec 18, 2017 at 03:38:28PM +0100, Felix Brack wrote: > The patch replaces the former error() by the new pr_err(). > This makes the TPS65910 driver conform to Masahiro's patch > 'treewide:replace with error() with pr_err()' introduced > October 2017. > > Signed-off-by: Felix Brack

Re: [U-Boot] [U-Boot, 1/1] dm: core: remove orphaned parameter description in platdata.h

2018-01-01 Thread Tom Rini
On Sun, Dec 24, 2017 at 01:14:12PM +0100, Heinrich Schuchardt wrote: > struct driver_info has no field 'flags'. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [U-Boot, 3/3] ARM: omap3: evm: Refactor 'board_eth_init'

2018-01-01 Thread Tom Rini
On Sat, Dec 16, 2017 at 02:14:50PM -0600, Derald D. Woods wrote: > This commit clears 'ethaddr' before calling 'smc911x_initialize' to > allow the SROM MAC address to be assigned properly. > > Signed-off-by: Derald D. Woods Applied to u-boot/master, thanks! -- Tom

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

2018-01-01 Thread Tom Rini
On Mon, Jan 01, 2018 at 02:50:47PM +0100, Dr. Philipp Tomsich wrote: > Tom, > > We have two minor config-fixes for the upcoming release on the Rockchip side > for you. > Travis-CI (prior to the rebase): > https://travis-ci.org/ptomsich/u-boot-rockchip/builds/322304850 > > I expect to send

Re: [U-Boot] [U-Boot, 1/3] ARM: dts: omap3-evm: Add support for TMDSEVM{3530, 3730}

2018-01-01 Thread Tom Rini
On Sat, Dec 16, 2017 at 02:14:48PM -0600, Derald D. Woods wrote: > This commit adds OMAP3 EVM devicetree files from Linux v4.15-rc3. Note > that this is the first addition of OMAP34XX devicetree files. > > Signed-off-by: Derald D. Woods Applied to u-boot/master,

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

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

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

2018-01-01 Thread Stefan Agner
Signed-off-by: Stefan Agner --- arch/arm/mach-imx/Kconfig | 3 +++ arch/arm/mach-imx/mx7/Kconfig | 1 + include/configs/mx7_common.h | 1 - scripts/config_whitelist.txt | 1 - 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/Kconfig

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

2018-01-01 Thread Stefan Agner
Introduce a new config symbol to select the i.MX General Purpose Timer (GPT). Signed-off-by: Stefan Agner --- arch/arm/mach-imx/Kconfig | 3 +++ arch/arm/mach-imx/Makefile| 3 ++- arch/arm/mach-imx/mx5/Kconfig | 1 + arch/arm/mach-imx/mx6/Kconfig | 1 + 4 files

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

2018-01-01 Thread Fabio Estevam
On Mon, Jan 1, 2018 at 10:01 PM, Stefan Agner wrote: > Found one more: Thanks, Stefan. Sent a v2 with your feedback into account. ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

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

2018-01-01 Thread Fabio Estevam
From: 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. Reported-by: Stefan Agner

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

2018-01-01 Thread Stefan Agner
On 2018-01-01 23:29, Fabio Estevam wrote: > From: 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.

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

2018-01-01 Thread Stefan Agner
Hi Fabio, On 2018-01-01 23:29, Fabio Estevam wrote: > From: 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

Re: [U-Boot] [PATCH 4/5] Kconfig: mx6ull: Deselect MX6UL from CONFIG_MX6ULL

2018-01-01 Thread Fabio Estevam
Hi Stefan, On Mon, Jan 1, 2018 at 7:53 PM, Stefan Agner wrote: > > While I agree with the idea of the change in general, it must be done > more carefully! There are several places where we rely that > CONFIG_MX6ULL selects CONFIG_MX6ULL, e.g. > include/configs/mx6_common.h >

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

2018-01-01 Thread Fabio Estevam
From: 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. Reported-by: Stefan Agner

[U-Boot] uboot img

2018-01-01 Thread Ivan Yakymenko
Could you share img for jtag flash (my rigol HW da07) ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 4/5] Kconfig: mx6ull: Deselect MX6UL from CONFIG_MX6ULL

2018-01-01 Thread Stefan Agner
On 2017-11-28 00:07, Breno Lima wrote: > From: Breno Lima > > MX6UL contains features that MX6ULL doesn't support. > Deselect CONFIG_MX6UL and select SYS_L2CACHE_OFF and ROM_UNIFIED_SECTIONS. > > The motivation for doing this change is that MX6UL supports CAAM and > MX6ULL

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

2018-01-01 Thread Heinrich Schuchardt
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 --- fs/fat/fat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fat/fat.c

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

2018-01-01 Thread Heinrich Schuchardt
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: read up to EOF when len would read past EOF Signed-off-by: Heinrich Schuchardt

Re: [U-Boot] [PATCH] ARM: omap3: evm: Do not relocate FDT address

2018-01-01 Thread Derald Woods
On Mon, Jan 1, 2018 at 7:29 AM, Tom Rini wrote: > On Thu, Dec 28, 2017 at 05:17:13PM -0600, Derald D. Woods wrote: > > On Thu, Dec 28, 2017 at 02:24:08PM -0500, Tom Rini wrote: > > > On Thu, Dec 28, 2017 at 01:21:05PM -0600, Derald D. Woods wrote: > > > > On Thu, Dec 28, 2017

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

2018-01-01 Thread Dr. Philipp Tomsich
Tom, We have two minor config-fixes for the upcoming release on the Rockchip side for you. Travis-CI (prior to the rebase): https://travis-ci.org/ptomsich/u-boot-rockchip/builds/322304850 I expect to send another pull-request later this week with two more stabilisation fixes (RK3368-uQ7

Re: [U-Boot] [PATCH] wait_bit: add big endian version of wait_for_bit function

2018-01-01 Thread Tom Rini
On Sat, Dec 30, 2017 at 11:12:36AM +0100, Álvaro Fernández Rojas wrote: > The only difference with the existing wait_for_bit function is the fact that > wait_for_bit_be expects the register size to be read. > > Signed-off-by: Álvaro Fernández Rojas > --- > include/wait_bit.h

Re: [U-Boot] [PATCH v3 6/6] board: ti: k2g: Make ddr3* declarations as static

2018-01-01 Thread Tom Rini
On Thu, Dec 28, 2017 at 08:40:03PM +0530, Lokesh Vutla wrote: > All ddr3_emif declarations are not used outside ddr3_k2g.c > file. So make all of them as static. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description:

Re: [U-Boot] [PATCH] Travis-CI: Split 't208xrdb t4qds t102*'-job into separate jobs

2018-01-01 Thread Tom Rini
On Thu, Dec 28, 2017 at 08:13:57PM -0700, Simon Glass wrote: > Hi Philipp, > > On 20 December 2017 at 03:06, Philipp Tomsich > wrote: > > The 't208xrdb t4qds t102*' job is close to the time limit and > > sometimes fails, so this splits it into 3 separate

Re: [U-Boot] [PATCH] ARM: omap3: evm: Do not relocate FDT address

2018-01-01 Thread Tom Rini
On Thu, Dec 28, 2017 at 05:17:13PM -0600, Derald D. Woods wrote: > On Thu, Dec 28, 2017 at 02:24:08PM -0500, Tom Rini wrote: > > On Thu, Dec 28, 2017 at 01:21:05PM -0600, Derald D. Woods wrote: > > > On Thu, Dec 28, 2017 at 01:43:43PM -0500, Tom Rini wrote: > > > > On Thu, Dec 28, 2017 at

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

2018-01-01 Thread Stefan Brüns
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. Signed-off-by: Stefan Brüns --- tools/patman/get_maintainer.py