[U-Boot] [PATCH] test, tools: introduce tbot README

2016-01-25 Thread Heiko Schocher
introduce a README how to use tbot for testing U-Boot and/or linux kernels. Signed-off-by: Heiko Schocher --- Stephen, I try to find time to try also your testcode in test. I am sorry to say, I had not yet time for it ... tools/tbot/README | 185 tools/tbo

Re: [U-Boot] [ANN] U-Boot v2016.01-rc4 released

2016-01-25 Thread Anatolij Gustschin
Hello Wolfgang, On Tue, 26 Jan 2016 09:09:57 +0800 Bin Meng bmeng...@gmail.com wrote: ... > Looks git://git.denx.de/u-boot.git is severely behind > https://github.com/u-boot/u-boot/commits/master. The denx repo still > shows contents 3 days ago, but definitely Tom has applied quite a lot > of stuf

[U-Boot] [PATCH] net : null check after pointer dereference

2016-01-25 Thread Vishwas Srivastava
Author: Vishwas Srivastava Date: Tue Jan 26 12:46:42 2016 +0530 null check after pointer dereference NULL check is made after the pointer dereference is davinci- emac driver. This patch fixes this issue. CC: Sergey Kubushyn ;Joe Hershberger < joe.hershber...@ni.com> Signed

Re: [U-Boot] [Patch V5 2/4] spi: fsl_qspi: Fix qspi_op_rdid memcpy issue

2016-01-25 Thread Qianyu Gong
> -Original Message- > From: york sun > Sent: Tuesday, January 26, 2016 1:02 AM > To: Scott Wood ; Yao Yuan ; > Qianyu Gong > Cc: b48...@freescale.com; u-boot@lists.denx.de; wenbin.s...@freescale.com; > jt...@openedev.com > Subject: Re: [U-Boot] [Patch V5 2/4] spi: fsl_qspi: Fix qspi_op_r

[U-Boot] [Patch V7 4/4] dm: env_sf: fix saveenv() to use driver model

2016-01-25 Thread Gong Qianyu
From: Gong Qianyu It might be missed when converting spi_flash_probe() in cmd_sf.c. This patch refers to commit fbb099183e3a ("dm: Convert spi_flash_probe() and 'sf probe' to use driver model"). Signed-off-by: Gong Qianyu --- V6-V7: - No change. V5: - Revise commit message. V4: - Use CONFIG

[U-Boot] [Patch V7 2/4] spi: fsl_qspi: Fix qspi_op_rdid memcpy issue

2016-01-25 Thread Gong Qianyu
From: Gong Qianyu In current driver everytime we memcpy 4 bytes to the dest memory regardless of the remaining length. This patch adds checking the remaining length before memcpy. If the length is shorter than 4 bytes, memcpy the actual length of data to the dest memory. Signed-off-by: Gong Qian

[U-Boot] [Patch V7 1/4] spi: fsl_qspi: fix compile warning for 64-bit platform

2016-01-25 Thread Gong Qianyu
From: Gong Qianyu This patch fixes the following compile warning: drivers/spi/fsl_qspi.c: In function 'fsl_qspi_probe': drivers/spi/fsl_qspi.c:937:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] priv->regs = (struct

[U-Boot] [Patch V7 3/4] spi: fsl_qspi: Fix qspi_op_rdsr memcpy issue

2016-01-25 Thread Gong Qianyu
From: Gong Qianyu In current driver, we always copy 4 bytes to the dest memory. Actually the dest memory may be shorter than 4 bytes. Add an argument to indicate the dest memory length. Avoid writing memory outside of the bounds. Signed-off-by: Gong Qianyu --- V3-V7: - No change. V2: - New pa

[U-Boot] Pull request: u-boot-video/master

2016-01-25 Thread Anatolij Gustschin
Hi Tom, The following changes since commit 12f229ea8f6c8e20f8fd07906eafc853c4c354a9: Merge git://git.denx.de/u-boot-fdt (2016-01-22 17:01:22 -0500) are available in the git repository at: git://git.denx.de/u-boot-video.git master for you to fetch changes up to 7588c312528eea9e24ef5c1b9a29

Re: [U-Boot] [PATCH] video: add CONFIG_I2C_EDID and disable CONFIG_DISPLAY by default

2016-01-25 Thread Anatolij Gustschin
> Enabling CONFIG_DISPLAY breaks building for some architectures > (microblaze-generic), so we disable CONFIG_DISPLAY in Kconfig > by default and enable this option in defconfigs. CONFIG_DISPLAY > depends on CONFIG_I2C_EDID, so add and enable it in defconfigs, too. > > Signed-off-by: Anatolij Gust

[U-Boot] unable to enumerate USB device on port 2

2016-01-25 Thread Felix Zheng
Hi guys, I was using a combination of Gumstix overo and TOBI board. A USB HUB with external power was connected to the TOBI, so I can use mouse and keyboard at the same time. After I updated the uboot (MLO and u-boot.img) recently, the USB port stopped working. During the boot, I captured some in

[U-Boot] [PATCH] rpi: fix up Model B entries

2016-01-25 Thread Lubomir Rintel
It seems like the P5 header was not present on "Model B" any board prior to Revision 2.0, there's no need for a separate device tree. Also, it looks like "rev2" is incorrectly used to only cover the 512MiB memory models; there also were 256MiB 2.0 boards. I don't have all of the boards to check t

Re: [U-Boot] [Patch V5 2/4] spi: fsl_qspi: Fix qspi_op_rdid memcpy issue

2016-01-25 Thread Scott Wood
On 01/25/2016 10:47 AM, york sun wrote: > On 01/24/2016 08:09 PM, Yao Yuan wrote: >> On 01/25/2016 04:16 AM, York Sun wrote: >>> On 01/22/2016 07:43 AM, Scott Wood wrote: On 01/21/2016 09:35 PM, Qianyu Gong wrote: > >> -Original Message- >> From: Scott Wood >> Sent: Fri

Re: [U-Boot] [PATCH v3 4/4] x86: config option for loading ACPI table from QEMU

2016-01-25 Thread Bin Meng
On Wed, Jan 20, 2016 at 5:57 PM, Miao Yan wrote: > This patch adds a config option for loading ACPI table from QEMU. When > enabled, > U-Boot won't generate ACPI tables, but use those provided by QEMU. > > Signed-off-by: Miao Yan > Reviewed-by: Bin Meng > Tested-by: Bin Meng > --- applied to

Re: [U-Boot] [PATCH v3 3/4] x86: qemu: add the ability to load and link ACPI tables from QEMU

2016-01-25 Thread Bin Meng
On Wed, Jan 20, 2016 at 5:57 PM, Miao Yan wrote: > This patch adds the ability to load and link ACPI tables provided by QEMU. > QEMU tells guests how to load and patch ACPI tables through its fw_cfg > interface, by adding a firmware file 'etc/table-loader'. Guests are > supposed to parse this file

Re: [U-Boot] [PATCH v3 2/4] x86: qemu: setup PM IO base for ACPI in southbridge

2016-01-25 Thread Bin Meng
On Wed, Jan 20, 2016 at 5:57 PM, Miao Yan wrote: > Enable ACPI IO space for piix4 (for pc board) and ich9 (for q35 board) > > Signed-off-by: Miao Yan > Reviewed-by: Bin Meng > Tested-by: Bin Meng > --- applied to u-boot-x86/master, thanks! ___ U-Boot

Re: [U-Boot] [PATCH v3 1/4] x86: qemu: re-structure qemu_fwcfg_list_firmware()

2016-01-25 Thread Bin Meng
On Wed, Jan 20, 2016 at 5:57 PM, Miao Yan wrote: > Re-write the logic in qemu_fwcfg_list_firmware(), add a function > qemu_fwcfg_read_firmware_list() to handle reading firmware list. > > Signed-off-by: Miao Yan > Reviewed-by: Bin Meng > Tested-by: Bin Meng > --- applied to u-boot-x86/master, t

Re: [U-Boot] [PATCH 2/2 v2] x86: BayTrail: Add option to disable the internal UART to setup_early_uart()

2016-01-25 Thread Bin Meng
On Tue, Jan 26, 2016 at 4:37 AM, Simon Glass wrote: > On 24 January 2016 at 19:50, Bin Meng wrote: >> Hi Simon, >> >> On Tue, Jan 19, 2016 at 9:24 PM, Stefan Roese wrote: >>> This patch adds a parameter to the function setup_early_uart() to either >>> enable or disable the internal BayTrail lega

Re: [U-Boot] [PATCH 2/2] x86: x86-common.h: Add generic FS commands

2016-01-25 Thread Bin Meng
On Tue, Jan 19, 2016 at 2:19 PM, Bin Meng wrote: > On Mon, Jan 18, 2016 at 9:49 PM, Stefan Roese wrote: >> This patch adds the generic FS commands (ls, load) to all x86 boards. >> >> Signed-off-by: Stefan Roese >> Cc: Miao Yan >> Cc: Bin Meng >> Cc: Simon Glass >> --- >> include/configs/x86-

Re: [U-Boot] [PATCH 1/2 v2] misc: Add simple driver to enable the legacy UART on Winbond Super IO chips

2016-01-25 Thread Bin Meng
On Tue, Jan 19, 2016 at 9:15 PM, Bin Meng wrote: > On Tue, Jan 19, 2016 at 9:05 PM, Stefan Roese wrote: >> On most x86 boards, the legacy serial ports (io address 0x3f8/0x2f8) >> are provided by a superio chip connected to the LPC bus. We must >> program the superio chip so that serial ports are

Re: [U-Boot] [PATCH] x86: baytrail: Add documentation for FSP memory-down values

2016-01-25 Thread Bin Meng
On Tue, Jan 19, 2016 at 2:39 PM, Bin Meng wrote: > On Mon, Jan 18, 2016 at 6:55 PM, Stefan Roese wrote: >> This patch adds the documentation for the memory-down parameters >> of the Intel FSP. To configure a board without SPD DDR DIMM but >> with onboard DDR chips. The values are taken from the c

Re: [U-Boot] [PATCH 1/2] x86: x86-common.h: Add CONFIG_BOOTDELAY

2016-01-25 Thread Bin Meng
Hi Stefan, On Tue, Jan 19, 2016 at 2:19 PM, Bin Meng wrote: > On Mon, Jan 18, 2016 at 9:49 PM, Stefan Roese wrote: >> Without this CONFIG_BOOTDELAY, autobooting does not work at all. As >> autoboot_command() from common/* will not get called. So lets define >> CONFIG_BOOTDELAY, so that auto-boot

Re: [U-Boot] [PATCH] armv8/ls1043a: Implement workaround for erratum A009660

2016-01-25 Thread Mingkai Hu
> -Original Message- > From: york sun > Sent: Saturday, January 23, 2016 1:44 AM > To: Mingkai Hu; Mingkai Hu; u-boot@lists.denx.de > Subject: Re: [PATCH] armv8/ls1043a: Implement workaround for erratum > A009660 > > On 01/21/2016 11:50 PM, Mingkai Hu wrote: > > > > > >> -Original Me

Re: [U-Boot] [PATCH] .travis.yml: rework according to new travis-ci infra

2016-01-25 Thread Heiko Schocher
Hello Roger, Am 25.01.2016 um 20:22 schrieb Roger Meier: - install using addons.apt - remove MAKEALL - split mpc85xx boards - remove TEST_CONFIG_CMD, just info - fetch mips toolchain via buildman - remove --list-error-boards param - conditional script - use TOOLCHAIN instead of INSTALL_TOOLCHAIN

Re: [U-Boot] [Patch V3 2/3] fm: fdt: Move fman ucode fixup to Fman driver code

2016-01-25 Thread Qianyu Gong
> -Original Message- > From: Scott Wood [mailto:o...@buserror.net] > Sent: Tuesday, January 26, 2016 1:17 AM > To: Qianyu Gong ; u-boot@lists.denx.de > Cc: b07...@freescale.com; Shaohui Xie > Subject: Re: [U-Boot] [Patch V3 2/3] fm: fdt: Move fman ucode fixup to Fman > driver code > > On

Re: [U-Boot] [PATCH v2 3/3] QE: assgin pins to QE-HDLC

2016-01-25 Thread Qiang Zhao
> -Original Message- > From: Mingkai Hu > Sent: Tuesday, January 26, 2016 12:23 PM > To: Qiang Zhao > Cc: tr...@konsulko.com; york sun ; u-boot@lists.denx.de; > Qiang Zhao > Subject: RE: [PATCH v2 3/3] QE: assgin pins to QE-HDLC > > > > > -Original Message- > > From: Zhao Qian

Re: [U-Boot] buildman errors

2016-01-25 Thread Marek Vasut
On Tuesday, January 26, 2016 at 05:26:07 AM, Bin Meng wrote: > Hi Tom, > > On Mon, Jan 25, 2016 at 10:12 PM, Tom Rini wrote: > > On Mon, Jan 25, 2016 at 11:18:26AM +0800, Bin Meng wrote: > >> Hi Tom, > >> > >> On Mon, Jan 25, 2016 at 11:05 AM, Tom Rini wrote: > >> > On Mon, Jan 25, 2016 at 10:3

Re: [U-Boot] [PATCH v7 0/7] add support for atheros ath79 based SOCs

2016-01-25 Thread Marek Vasut
On Saturday, January 16, 2016 at 07:13:46 PM, Wills Wang wrote: > These series of patch add support for atheros ath79 based SOCs in u-boot, > at the present moment it's just available for ar933x and qca953x chip. > > This patch serises is based on mips_io_v4 branch on u-boot-mips repository > [1]

Re: [U-Boot] buildman errors

2016-01-25 Thread Bin Meng
Hi Tom, On Mon, Jan 25, 2016 at 10:12 PM, Tom Rini wrote: > On Mon, Jan 25, 2016 at 11:18:26AM +0800, Bin Meng wrote: >> Hi Tom, >> >> On Mon, Jan 25, 2016 at 11:05 AM, Tom Rini wrote: >> > On Mon, Jan 25, 2016 at 10:34:16AM +0800, Bin Meng wrote: >> >> Hi Tom, >> >> >> >> On Mon, Jan 25, 2016 a

Re: [U-Boot] [PATCH v2 3/3] QE: assgin pins to QE-HDLC

2016-01-25 Thread Mingkai Hu
> -Original Message- > From: Zhao Qiang [mailto:qiang.z...@nxp.com] > Sent: Tuesday, January 26, 2016 9:20 AM > To: Mingkai Hu > Cc: tr...@konsulko.com; york sun; u-boot@lists.denx.de; Qiang Zhao > Subject: [PATCH v2 3/3] QE: assgin pins to QE-HDLC > > qe-hdlc and usb multi-use the pins,

Re: [U-Boot] [PATCH] video: add CONFIG_I2C_EDID and disable CONFIG_DISPLAY by default

2016-01-25 Thread Bin Meng
On Tue, Jan 26, 2016 at 12:17 AM, Anatolij Gustschin wrote: > Enabling CONFIG_DISPLAY breaks building for some architectures > (microblaze-generic), so we disable CONFIG_DISPLAY in Kconfig > by default and enable this option in defconfigs. CONFIG_DISPLAY > depends on CONFIG_I2C_EDID, so add and en

Re: [U-Boot] [PATCH 1/7] driver: net: fsl-mc: Add version check for MC objects

2016-01-25 Thread Prabhakar Kushwaha
> -Original Message- > From: york sun [mailto:york@nxp.com] > Sent: Monday, January 25, 2016 10:49 PM > To: Prabhakar Kushwaha ; u-boot@lists.denx.de > Cc: Yusong Sun > Subject: Re: [PATCH 1/7] driver: net: fsl-mc: Add version check for MC > objects > > On 12/24/2015 02:02 AM, Prabha

Re: [U-Boot] [PATCH 5/7] driver: net: ldpaa: Increase num of buffers for a pool

2016-01-25 Thread Prabhakar Kushwaha
> -Original Message- > From: york sun [mailto:york@nxp.com] > Sent: Monday, January 25, 2016 10:50 PM > To: Prabhakar Kushwaha ; u-boot@lists.denx.de > Cc: Yusong Sun > Subject: Re: [PATCH 5/7] driver: net: ldpaa: Increase num of buffers for a > pool > > On 12/24/2015 02:03 AM, Prabh

Re: [U-Boot] [PATCH 3/4] spi: omap3: Convert to DM

2016-01-25 Thread Peng Fan
On Mon, Jan 25, 2016 at 09:45:47PM -0500, Tom Rini wrote: >On Tue, Jan 26, 2016 at 09:55:43AM +0800, Peng Fan wrote: >> Hi Simon, >> >> On Mon, Jan 25, 2016 at 06:11:24PM -0700, Simon Glass wrote: >> >+Hans >> > >> >Hi Tom, >> > >> >On 21 January 2016 at 05:24, Tom Rini wrote: >> >> On Wed, Jan 2

Re: [U-Boot] env_mmc: support overriding mmc dev from board code

2016-01-25 Thread Peng Fan
On Mon, Jan 25, 2016 at 09:13:00PM -0500, Tom Rini wrote: >On Tue, Jan 26, 2016 at 09:42:38AM +0800, Peng Fan wrote: >> On Mon, Jan 25, 2016 at 04:28:55PM -0500, Tom Rini wrote: >> >On Wed, Jan 20, 2016 at 03:43:37PM +0100, Clemens Gruber wrote: >> > >> >> This enables boards to choose where to/fro

Re: [U-Boot] [PATCH 3/4] spi: omap3: Convert to DM

2016-01-25 Thread Tom Rini
On Tue, Jan 26, 2016 at 09:55:43AM +0800, Peng Fan wrote: > Hi Simon, > > On Mon, Jan 25, 2016 at 06:11:24PM -0700, Simon Glass wrote: > >+Hans > > > >Hi Tom, > > > >On 21 January 2016 at 05:24, Tom Rini wrote: > >> On Wed, Jan 20, 2016 at 07:46:15PM -0700, Simon Glass wrote: > >>> +Mugunthan, To

Re: [U-Boot] [PATCH 00/17] arm: ls1021atwr: Convert to use driver model TSEC driver

2016-01-25 Thread Bin Meng
On Wed, Jan 20, 2016 at 1:16 AM, york sun wrote: > On 01/17/2016 09:16 PM, Bin Meng wrote: >> Joe, York, >> >> On Tue, Jan 12, 2016 at 2:41 PM, Bin Meng wrote: >>> This series adds driver model ethernet support to the Freescale >>> TSEC ethernet driver and convert ls1021atwr board to use it. >>>

Re: [U-Boot] [PATCH 3/4] spi: omap3: Convert to DM

2016-01-25 Thread Simon Glass
Hi Peng, On 25 January 2016 at 18:55, Peng Fan wrote: > Hi Simon, > > On Mon, Jan 25, 2016 at 06:11:24PM -0700, Simon Glass wrote: >>+Hans >> >>Hi Tom, >> >>On 21 January 2016 at 05:24, Tom Rini wrote: >>> On Wed, Jan 20, 2016 at 07:46:15PM -0700, Simon Glass wrote: +Mugunthan, Tom >>>

Re: [U-Boot] env_mmc: support overriding mmc dev from board code

2016-01-25 Thread Tom Rini
On Tue, Jan 26, 2016 at 09:42:38AM +0800, Peng Fan wrote: > On Mon, Jan 25, 2016 at 04:28:55PM -0500, Tom Rini wrote: > >On Wed, Jan 20, 2016 at 03:43:37PM +0100, Clemens Gruber wrote: > > > >> This enables boards to choose where to/from the environment should be > >> saved/loaded. They can then fo

Re: [U-Boot] [PATCH 3/4] spi: omap3: Convert to DM

2016-01-25 Thread Peng Fan
Hi Simon, On Mon, Jan 25, 2016 at 06:11:24PM -0700, Simon Glass wrote: >+Hans > >Hi Tom, > >On 21 January 2016 at 05:24, Tom Rini wrote: >> On Wed, Jan 20, 2016 at 07:46:15PM -0700, Simon Glass wrote: >>> +Mugunthan, Tom >>> >>> On 17 January 2016 at 03:56, Christophe Ricard >>> wrote: >>> > Con

[U-Boot] [PATCH v2 1/3] QE: mask the codes not used for micro QE

2016-01-25 Thread Zhao Qiang
use "#ifdef CONFIG_QE" to mask the codes not used for micro QE Signed-off-by: Zhao Qiang --- Changes for v2: - this patch is new added to this patchset drivers/qe/qe.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c index 08620b2..2a9e61b 1006

[U-Boot] [PATCH v2 2/3] QE: add QE support on ls1043ardb

2016-01-25 Thread Zhao Qiang
Upload qe microcode on ls1043ardb Signed-off-by: Zhao Qiang --- Changes for v2: - get qe_immr and qe_immr directly instead of from qe_base board/freescale/ls1043ardb/ls1043ardb.c | 8 drivers/qe/qe.c | 6 ++ include/configs/ls1043ardb.h|

Re: [U-Boot] env_mmc: support overriding mmc dev from board code

2016-01-25 Thread Peng Fan
On Mon, Jan 25, 2016 at 04:28:55PM -0500, Tom Rini wrote: >On Wed, Jan 20, 2016 at 03:43:37PM +0100, Clemens Gruber wrote: > >> This enables boards to choose where to/from the environment should be >> saved/loaded. They can then for example support using the same device >> (dynamically) from which

[U-Boot] [PATCH v2 3/3] QE: assgin pins to QE-HDLC

2016-01-25 Thread Zhao Qiang
qe-hdlc and usb multi-use the pins, when set hwconfig=qe-hdlc, assign the pins to qe-hdlc, if not, assgin it to usb Signed-off-by: Zhao Qiang --- Changes for v2: - NA board/freescale/ls1043ardb/ls1043ardb.c | 54 - 1 file changed, 39 insertions(+), 15 de

Re: [U-Boot] [PATCH] test/py: make crash detection more robust

2016-01-25 Thread Simon Glass
Hi Stephen, On 25 January 2016 at 18:11, Stephen Warren wrote: > On 01/25/2016 06:07 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 25 January 2016 at 15:07, Stephen Warren wrote: >>> >>> From: Stephen Warren >>> >>> test/py contains logic to detect the target crashing and rebooting by >>> s

Re: [U-Boot] [PATCH 1/2] test/py: move find_ram_base() into u_boot_utils

2016-01-25 Thread Simon Glass
Hi Stephen, On 25 January 2016 at 18:09, Stephen Warren wrote: > On 01/25/2016 06:03 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 25 January 2016 at 09:50, Stephen Warren wrote: >>> >>> On 01/22/2016 03:30 PM, Wolfgang Denk wrote: Dear Stephen, In message <145341753

Re: [U-Boot] [PATCH 2/2] test/py: add a networking test

2016-01-25 Thread Simon Glass
On 21 January 2016 at 20:36, Simon Glass wrote: > On 21 January 2016 at 16:05, Stephen Warren wrote: >> From: Stephen Warren >> >> This tests: >> - dhcp (if indicated by boardenv file). >> - Static IP network setup (if provided by boardenv file). >> - Ping. >> - TFTP get. >> >> Signed-off-by: St

Re: [U-Boot] [PATCH] dm: Remove device_probe_child()

2016-01-25 Thread Bin Meng
On Tue, Jan 26, 2016 at 5:58 AM, Simon Glass wrote: > This function is not used as the use case for it did not eventuate. Remove > it to avoid confusion. > > Signed-off-by: Simon Glass > --- > > drivers/core/device.c| 9 + > include/dm/device-internal.h | 13 - > 2 f

Re: [U-Boot] [PATCH] test/py: make crash detection more robust

2016-01-25 Thread Stephen Warren
On 01/25/2016 06:07 PM, Simon Glass wrote: Hi Stephen, On 25 January 2016 at 15:07, Stephen Warren wrote: From: Stephen Warren test/py contains logic to detect the target crashing and rebooting by searching the console output for a U-Boot signon message, which will presumably be emitted when

Re: [U-Boot] [PATCH 3/4] spi: omap3: Convert to DM

2016-01-25 Thread Simon Glass
+Hans Hi Tom, On 21 January 2016 at 05:24, Tom Rini wrote: > On Wed, Jan 20, 2016 at 07:46:15PM -0700, Simon Glass wrote: >> +Mugunthan, Tom >> >> On 17 January 2016 at 03:56, Christophe Ricard >> wrote: >> > Convert omap3_spi driver to DM and keep compatibility with previous >> > mode. >> > >>

Re: [U-Boot] [ANN] U-Boot v2016.01-rc4 released

2016-01-25 Thread Bin Meng
Hi, On Tue, Jan 12, 2016 at 6:20 AM, Tom Rini wrote: > On Mon, Jan 11, 2016 at 04:19:49PM -0200, Fabio Estevam wrote: >> Hi Wolfgang, >> >> On Thu, Jan 7, 2016 at 2:43 PM, Wolfgang Denk wrote: >> >> > Sorry for the delay. I used the Xmas break to update our machines to >> > FC23, and for some un

Re: [U-Boot] [PATCH 1/2] test/py: move find_ram_base() into u_boot_utils

2016-01-25 Thread Stephen Warren
On 01/25/2016 06:03 PM, Simon Glass wrote: Hi Stephen, On 25 January 2016 at 09:50, Stephen Warren wrote: On 01/22/2016 03:30 PM, Wolfgang Denk wrote: Dear Stephen, In message <1453417531-23669-1-git-send-email-swar...@wwwdotorg.org> you wrote: find_ram_base() is a shared utility functio

Re: [U-Boot] [PATCH] test/py: make crash detection more robust

2016-01-25 Thread Simon Glass
Hi Stephen, On 25 January 2016 at 15:07, Stephen Warren wrote: > From: Stephen Warren > > test/py contains logic to detect the target crashing and rebooting by > searching the console output for a U-Boot signon message, which will > presumably be emitted when the system boots after the crash/res

Re: [U-Boot] [PATCH 1/2] test/py: move find_ram_base() into u_boot_utils

2016-01-25 Thread Simon Glass
Hi Stephen, On 25 January 2016 at 09:50, Stephen Warren wrote: > On 01/22/2016 03:30 PM, Wolfgang Denk wrote: >> >> Dear Stephen, >> >> In message <1453417531-23669-1-git-send-email-swar...@wwwdotorg.org> you >> wrote: >>> >>> >>> find_ram_base() is a shared utility function, not a core part of t

Re: [U-Boot] [PATCH] pci: restore initialization for DM_PCI

2016-01-25 Thread Simon Glass
Hi Stephen, On 25 January 2016 at 10:11, Stephen Warren wrote: > On 01/22/2016 03:00 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 22 January 2016 at 14:58, Stephen Warren wrote: >>> >>> On 01/22/2016 02:50 PM, Simon Glass wrote: Hi Stephen, On 22 January 2016 at 14:

Re: [U-Boot] [PATCH v2 5/5] tools: Add tool to add crc8 to a mac address

2016-01-25 Thread Joe Hershberger
On Mon, Dec 14, 2015 at 6:41 AM, Olliver Schinagl wrote: > This patch adds a little tool that takes a generic MAC address and > generates a CRC byte for it. The output is the full MAC address without > any separators, ready written into an EEPROM. > > Signed-off-by: Olliver Schinagl > --- > tool

Re: [U-Boot] [PATCH] .travis.yml: rework according to new travis-ci infra

2016-01-25 Thread Daniel Schwierzeck
2016-01-25 20:22 GMT+01:00 Roger Meier : > - install using addons.apt > - remove MAKEALL > - split mpc85xx boards > - remove TEST_CONFIG_CMD, just info > - fetch mips toolchain via buildman > - remove --list-error-boards param > - conditional script > - use TOOLCHAIN instead of INSTALL_TOOLCHAIN >

Re: [U-Boot] [PATCH v3 1/4] x86: qemu: re-structure qemu_fwcfg_list_firmware()

2016-01-25 Thread Simon Glass
Hi Bin, On 24 January 2016 at 19:54, Bin Meng wrote: > > Hi Simon, > > On Wed, Jan 20, 2016 at 5:57 PM, Miao Yan wrote: > > Re-write the logic in qemu_fwcfg_list_firmware(), add a function > > qemu_fwcfg_read_firmware_list() to handle reading firmware list. > > > > Signed-off-by: Miao Yan > > R

Re: [U-Boot] [PATCH 2/7] fdt: Build a U-Boot binary without device tree

2016-01-25 Thread Stephen Warren
On 01/25/2016 02:14 PM, Stephen Warren wrote: On 01/25/2016 01:30 PM, Simon Glass wrote: At present u-boot.bin holds the plain U-Boot binary without the device tree. This is somewhat annoying since you need either u-boot.bin or u-boot-dtb.bin depending on whether device tree is used. Adjust the

Re: [U-Boot] [PATCH v2 4/5] tools: Allow crc8 to be used

2016-01-25 Thread Joe Hershberger
On Mon, Dec 14, 2015 at 6:41 AM, Olliver Schinagl wrote: > This patch enables crc8 to be used from within the tools directory using > u-boot/crc.h. > > Signed-off-by: Olliver Schinagl Reviewed-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.d

Re: [U-Boot] [PATCH v2 3/5] sunxi: net: Enable eeprom on OLinuXino Lime2 boards

2016-01-25 Thread Joe Hershberger
Hi Olliver, On Mon, Dec 14, 2015 at 6:41 AM, Olliver Schinagl wrote: > This patch enables the I2C EEPROM to be probed for a MAC address on the > OLinuXino board. > > Signed-off-by: Olliver Schinagl > --- You should use patman so that you can keep track of changes in revisions of your patches.

Re: [U-Boot] [PATCH v2 2/5] sunxi: net: Allow the sunxi to set the MAC from an EEPROM

2016-01-25 Thread Joe Hershberger
On Mon, Dec 14, 2015 at 6:41 AM, Olliver Schinagl wrote: > This patch uses the newly introduced Kconfig options to set the MAC > address from an EEPROM, this will be especially useful for the Olimex > OLinuXino series of sunxi boards as they all have an 2k i2c eeprom chip. > > The MAC address is i

[U-Boot] [PATCH] mips: asm/io.h: Add in

2016-01-25 Thread Tom Rini
As part of the bug.h / BUILD_BUG_* clean up, this file was missed. Signed-off-by: Tom Rini --- arch/mips/include/asm/io.h |1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h index b8ac5a5..f71e342 100644 --- a/arch/mips/include/asm/io.h

Re: [U-Boot] [PATCH v2 1/5] net: Add ability to set MAC address via EEPROM to Kconfig

2016-01-25 Thread Joe Hershberger
On Mon, Dec 14, 2015 at 6:41 AM, Olliver Schinagl wrote: > This patch allows Kconfig to enable and set parameters to make it > possible to read the MAC address from an EEPROM. This patch only sets up > some environment variables, it is up to the specific boards to actually > use these defines. > >

[U-Boot] [PULL] u-boot-usb/master

2016-01-25 Thread Marek Vasut
The following changes since commit 12f229ea8f6c8e20f8fd07906eafc853c4c354a9: Merge git://git.denx.de/u-boot-fdt (2016-01-22 17:01:22 -0500) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to bdbcbe752e93357226cba12a6ce00bbe54cb5db8

Re: [U-Boot] [PATCH] malloc: work around some memalign fragmentation issues

2016-01-25 Thread Tom Rini
On Mon, Jan 25, 2016 at 02:03:42PM -0700, Stephen Warren wrote: > From: Stephen Warren > > Use of memalign can trigger fragmentation issues such as: > > // Internally, this needs to find a free block quite bit larger than s. > // Once the free region is found, any unaligned "padding" immediatel

[U-Boot] [PATCH] test/py: make crash detection more robust

2016-01-25 Thread Stephen Warren
From: Stephen Warren test/py contains logic to detect the target crashing and rebooting by searching the console output for a U-Boot signon message, which will presumably be emitted when the system boots after the crash/reset. Currently, this logic only searches for the exact signon message that

Re: [U-Boot] [PATCH] dm: Remove device_probe_child()

2016-01-25 Thread Tom Rini
On Mon, Jan 25, 2016 at 02:58:42PM -0700, Simon Glass wrote: > This function is not used as the use case for it did not eventuate. Remove > it to avoid confusion. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH 0/7] fdt: Replace u-boot-dtb.bin with u-boot.bin

2016-01-25 Thread Simon Glass
Hi Otavio, On 25 January 2016 at 14:57, Otavio Salvador wrote: > Hello Simon, > > On Mon, Jan 25, 2016 at 6:30 PM, Simon Glass wrote: >> At present u-boot.bin holds the plain U-Boot binary without the device tree. >> This is somewhat annoying since you need either u-boot.bin or u-boot-dtb.bin >>

Re: [U-Boot] [PATCH 1/7] tegra: Drop generation of -nodtb file with OF_CONTROL

2016-01-25 Thread Simon Glass
Hi Stephen, On 25 January 2016 at 14:26, Stephen Warren wrote: > On 01/25/2016 02:18 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 25 January 2016 at 14:08, Stephen Warren wrote: >>> >>> >>> On 01/25/2016 01:30 PM, Simon Glass wrote: It seems clear that the intent is to genera

[U-Boot] [PATCH] dm: Remove device_probe_child()

2016-01-25 Thread Simon Glass
This function is not used as the use case for it did not eventuate. Remove it to avoid confusion. Signed-off-by: Simon Glass --- drivers/core/device.c| 9 + include/dm/device-internal.h | 13 - 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/drivers/c

Re: [U-Boot] [PATCH 0/7] fdt: Replace u-boot-dtb.bin with u-boot.bin

2016-01-25 Thread Otavio Salvador
Hello Simon, On Mon, Jan 25, 2016 at 6:30 PM, Simon Glass wrote: > At present u-boot.bin holds the plain U-Boot binary without the device tree. > This is somewhat annoying since you need either u-boot.bin or u-boot-dtb.bin > depending on whether device tree is used. > > This series adjusts the bu

Re: [U-Boot] [PATCH] video: add CONFIG_I2C_EDID and disable CONFIG_DISPLAY by default

2016-01-25 Thread Simon Glass
On 25 January 2016 at 09:17, Anatolij Gustschin wrote: > Enabling CONFIG_DISPLAY breaks building for some architectures > (microblaze-generic), so we disable CONFIG_DISPLAY in Kconfig > by default and enable this option in defconfigs. CONFIG_DISPLAY > depends on CONFIG_I2C_EDID, so add and enable

Re: [U-Boot] [PATCH REPOST] checkpatch: ignore request to use ether_addr_copy()

2016-01-25 Thread Marek Vasut
On Monday, January 25, 2016 at 10:34:40 PM, Stephen Warren wrote: > On 01/25/2016 01:43 PM, Marek Vasut wrote: > > On Monday, January 25, 2016 at 05:48:00 PM, Stephen Warren wrote: > >> From: Stephen Warren > >> > >> The Linux kernel, from which checkpatch originates, contains function > >> ether

Re: [U-Boot] [PATCH REPOST] checkpatch: ignore request to use ether_addr_copy()

2016-01-25 Thread Stephen Warren
On 01/25/2016 01:43 PM, Marek Vasut wrote: On Monday, January 25, 2016 at 05:48:00 PM, Stephen Warren wrote: From: Stephen Warren The Linux kernel, from which checkpatch originates, contains function ether_addr_copy() to copy Ethernet MAC addresses, and checkpatch warns that it should be used

Re: [U-Boot] [PATCH] usb: kbd: Prevent out of bound access

2016-01-25 Thread Tom Rini
On Mon, Jan 25, 2016 at 10:08:50PM +0100, Marek Vasut wrote: > Scan code 0x39 is CapsLock, which is not a printable character and thus > is not covered by either usb_kbd_numkey_shifted[] or usb_kbd_numkey[]. > Fix the scan code check to avoid looking it up in either of the arrays. > > Signed-off-

Re: [U-Boot] openrisc: Fix build errors

2016-01-25 Thread Tom Rini
On Mon, Jan 25, 2016 at 01:53:13AM -0800, Bin Meng wrote: > With kernel.org toolchain, it reports: > > CC arch/openrisc/lib/board.o > arch/openrisc/lib/board.c:56:2: error: 'console_init_f' undeclared here > (not in a function) > arch/openrisc/lib/board.c: In function 'board_init': >

Re: [U-Boot] powerpc: tqm834x: Fix build warnings in initdram()

2016-01-25 Thread Tom Rini
On Mon, Jan 25, 2016 at 12:29:55AM -0800, Bin Meng wrote: > With gcc 4.9, it produces the following warnings: > > CC board/tqc/tqm834x/tqm834x.o > board/tqc/tqm834x/tqm834x.c: In function 'initdram': > board/tqc/tqm834x/tqm834x.c:325:12: warning: iteration 3u invokes undefined > behav

Re: [U-Boot] [PATCH] video: add CONFIG_I2C_EDID and disable CONFIG_DISPLAY by default

2016-01-25 Thread Tom Rini
On Mon, Jan 25, 2016 at 05:17:22PM +0100, Anatolij Gustschin wrote: > Enabling CONFIG_DISPLAY breaks building for some architectures > (microblaze-generic), so we disable CONFIG_DISPLAY in Kconfig > by default and enable this option in defconfigs. CONFIG_DISPLAY > depends on CONFIG_I2C_EDID, so ad

Re: [U-Boot] [U-Boot, v2] bug.h: move BUILD_BUG_* defines to include/linux/bug.h

2016-01-25 Thread Tom Rini
On Sun, Jan 24, 2016 at 11:27:48PM +0900, Masahiro Yamada wrote: > BUILD_BUG_* macros have been defined in several headers. It would > be nice to collect them in include/linux/bug.h like Linux. > > This commit is cherry-picking useful macros from include/linux/bug.h > of Linux 4.4. > > I did no

Re: [U-Boot] net: eepro100: Fix build warnings

2016-01-25 Thread Tom Rini
On Mon, Jan 25, 2016 at 01:26:26AM -0800, Bin Meng wrote: > When building katmai, it reports quite a lot > > warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > > Fix this by casting the dev->iobase with u_long. > > Signed-off-by: Bin Meng > Acked-by: Joe Her

Re: [U-Boot] sh: sh7753evb: Fix build error

2016-01-25 Thread Tom Rini
On Sun, Jan 24, 2016 at 09:45:46PM -0800, Bin Meng wrote: > Currently buildman fails to build sh7753evb and reports the following: > > board/renesas/sh7753evb/built-in.o: In function 'init_gether_mdio': > board/renesas/sh7753evb/sh7753evb.c:94: undefined reference to > 'PMB_ADDR_BASE' > bo

Re: [U-Boot] Revert "devicetree: use wildcard to clean arch subdir"

2016-01-25 Thread Tom Rini
On Sun, Jan 24, 2016 at 03:50:02AM +0900, Masahiro Yamada wrote: > This reverts commit 67871a595873930a0a536b1685e5caac53766701. > > Since that commit, out-of-tree cleaning emits lots of warnings. > > $ make O=foo clean > make[1]: Entering directory `/home/masahiro/workspace/u-boot/foo' > ../dts

Re: [U-Boot] igep00x0: remove #undef CONFIG_BOOTDELAY

2016-01-25 Thread Tom Rini
On Thu, Jan 21, 2016 at 11:35:58AM +0100, Ladislav Michl wrote: > Do not undefine CONFIG_BOOTDELAY, so board can boot without user > intervention. > > Signed-off-by: Ladislav Michl > Acked-by: Enric Balletbo i Serra Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digita

Re: [U-Boot] env_mmc: support overriding mmc dev from board code

2016-01-25 Thread Tom Rini
On Wed, Jan 20, 2016 at 03:43:37PM +0100, Clemens Gruber wrote: > This enables boards to choose where to/from the environment should be > saved/loaded. They can then for example support using the same device > (dynamically) from which the bootloader was launched to load and save > env data and do

Re: [U-Boot] [U-Boot,v4,2/5] usb: dwc2: Use shared wait_for_bit

2016-01-25 Thread Tom Rini
On Sat, Jan 23, 2016 at 11:54:30AM +0100, Mateusz Kulikowski wrote: > Use existing library function to poll bit(s). > > Signed-off-by: Mateusz Kulikowski Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-B

Re: [U-Boot] [U-Boot,2/2] serial: Remove serial_putc_raw_dev

2016-01-25 Thread Tom Rini
On Wed, Jan 20, 2016 at 07:23:05AM -0500, Tom Rini wrote: > clang-3.8 reports that serial_putc_raw_dev in serial_ns16550.c is > unused. Further investigation shows that we have 3 places that > implement this function and no callers, remove. > > Signed-off-by: Tom Rini > Reviewed-by: Bin Meng

Re: [U-Boot] [U-Boot, v4, 3/5] usb: ohci-lpc32xx: Use shared wait_for_bit

2016-01-25 Thread Tom Rini
On Sat, Jan 23, 2016 at 11:54:31AM +0100, Mateusz Kulikowski wrote: > Use existing library function to poll bit(s). > > Signed-off-by: Mateusz Kulikowski > Tested-by: Sylvain Lemieux Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v4, 5/5] net: zynq_gem: Use shared wait_for_bit

2016-01-25 Thread Tom Rini
On Sat, Jan 23, 2016 at 11:54:33AM +0100, Mateusz Kulikowski wrote: > Use existing library function to poll bit(s). > Signed-off-by: Mateusz Kulikowski Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] [U-Boot, v4, 4/5] usb: ehci-mx6: Use shared wait_for_bit

2016-01-25 Thread Tom Rini
On Sat, Jan 23, 2016 at 11:54:32AM +0100, Mateusz Kulikowski wrote: > Use existing library function to poll bit(s). > > Signed-off-by: Mateusz Kulikowski Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-B

Re: [U-Boot] [U-Boot,v4,1/5] lib: Add wait_for_bit

2016-01-25 Thread Tom Rini
On Sat, Jan 23, 2016 at 11:54:29AM +0100, Mateusz Kulikowski wrote: > Add function to poll register waiting for specific bit(s). > Similar functions are implemented in few drivers - they are almost > identical and can be generalized. > Signed-off-by: Mateusz Kulikowski > Reviewed-by: Tom Rini A

Re: [U-Boot] [U-Boot, v2] common/console.c: Remove unused inline functions

2016-01-25 Thread Tom Rini
On Thu, Jan 21, 2016 at 09:10:26AM -0500, Tom Rini wrote: > clang-3.8 reports that these functions are unused, remove them. As this > is the last part of CONFIG_MODEM_SUPPORT_DEBUG, drop that from README. > > Reviewed-by: Bin Meng > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -

Re: [U-Boot] OMAP: Define CONFIG_OMAP3_GPIO_6 on omap3_logic

2016-01-25 Thread Tom Rini
On Fri, Jan 22, 2016 at 04:40:58AM -0600, Adam Ford wrote: > Since we are manipulating GPIO 189 to determine the board type, we > need to enable the GPIO Bank 6. > > Signed-off-by: Adam Ford > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] part: Drop duplication declaration of block_dev_desc_t

2016-01-25 Thread Tom Rini
On Wed, Jan 20, 2016 at 08:12:07PM -0700, Simon Glass wrote: > This is already defined in ide.h, which part.h includes. So we don't need > the duplicate typedef. At least with my old blackfin gcc 4.3.5 tool chain, > this causes an error. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng >

Re: [U-Boot] bootm: fix size arg of flush_cache() in bootm_load_os().

2016-01-25 Thread Tom Rini
On Wed, Jan 20, 2016 at 02:07:39PM +0530, Purna Chandra Mandal wrote: > Variable _load_end_ points to end address of uncompressed buffer > (*not* uncomress_buffer_end / sizeof(ulong)), so multipling uncompressed > size with sizeof(ulong) is grossly incorrect in flush_cache(). > It might lead to ac

Re: [U-Boot] [U-Boot,1/2] kbuild: Add clang detection

2016-01-25 Thread Tom Rini
On Tue, Jan 19, 2016 at 08:39:01PM -0500, Tom Rini wrote: > Adapted from: > > >From 5631d9c429857194bd55d7bcd8fa5bdd1a9899a3 Mon Sep 17 00:00:00 2001 > From: Michal Marek > Date: Wed, 19 Aug 2015 17:36:41 +0200 > Subject: [PATCH 1/1] kbuild: Fix clang detection > > We cannot detect clang before

Re: [U-Boot] [U-Boot, 2/2] arm, powerpc: Update cc-version tests to check for cc-name as well

2016-01-25 Thread Tom Rini
On Tue, Jan 19, 2016 at 08:39:02PM -0500, Tom Rini wrote: > For compatibility clang will report some gcc version. However since we > are checking gcc versions in order to then fail to build, we should > limit these tests only to when we are using gcc and not clang. > > Signed-off-by: Tom Rini

Re: [U-Boot] [U-Boot, 1/2] Move all command code into its own directory

2016-01-25 Thread Tom Rini
On Sun, Jan 17, 2016 at 08:53:51PM -0700, Simon Glass wrote: > There are a lot of unrelated files in common, including all of the commands. > Moving them into their own directory makes them easier to find and is more > logical. > > Some commands include non-command code, such as cmd_scsi.c. This

Re: [U-Boot] [U-Boot, 2/2] Remove the cmd_ prefix from command files

2016-01-25 Thread Tom Rini
On Sun, Jan 17, 2016 at 08:53:52PM -0700, Simon Glass wrote: > Now that they are in their own directory, we can remove this prefix. > This makes it easier to find a file since the prefix does not get in the > way. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > Reviewed-by: Heiko Schoc

Re: [U-Boot] [U-Boot, v2, 1/2] ns16550: replace with binding files from Linux kernel

2016-01-25 Thread Tom Rini
On Mon, Dec 14, 2015 at 08:45:08PM +0800, Thomas Chou wrote: > Replace ns16550.txt with binding files from Linux kernel. As suggested > by Stephen Warren, we should keep the directory structure, filenames, > and file content identical to the bindings in the Linux kernel. > > Signed-off-by: Thomas

  1   2   >