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

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

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

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

[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

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

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] [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

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 >

[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

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: >> >>

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

[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

[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

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 >>

[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

[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

[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

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

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:

[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

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

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

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 > ---

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 >

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

[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

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

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

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

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

Re: [U-Boot] buildman errors

2016-01-25 Thread Tom Rini
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 at 12:19 AM, Tom Rini

Re: [U-Boot] [PATCHv7 6/7] igep00x0: UBIize

2016-01-25 Thread Tom Rini
On Mon, Jan 25, 2016 at 07:39:10AM +0100, Heiko Schocher wrote: > Hello Enric, Ladislav, > > Am 22.01.2016 um 23:35 schrieb Enric Balletbo Serra: > >Hi Ladis, > > > >Many thanks for your work on this, see some comments below ... > > Sorry, pull request is sent with this patch, see: > >

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

2016-01-25 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! 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://www.denx.de/git/u-boot-imx.git master for you to fetch

[U-Boot] CONFIG_DISPLAY causes build error on microblaze-generic

2016-01-25 Thread Bin Meng
Hi Simon, Anatolij, At present CONFIG_DISPLAY is set to y by default when driver model is on. This causes the following building error on microblaze-generic. drivers/built-in.o: In function 'display_read_timing': drivers/video/display-uclass.c:45: undefined reference to 'edid_get_timing' I

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

2016-01-25 Thread Joe Hershberger
On Mon, Jan 25, 2016 at 3:26 AM, 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

Re: [U-Boot] CONFIG_DISPLAY causes build error on microblaze-generic

2016-01-25 Thread Tom Rini
On Mon, Jan 25, 2016 at 10:08:20PM +0800, Bin Meng wrote: > Hi Simon, Anatolij, > > At present CONFIG_DISPLAY is set to y by default when driver model is > on. This causes the following building error on microblaze-generic. > > drivers/built-in.o: In function 'display_read_timing': >

Re: [U-Boot] [PATCH] nand: mxs: fix error handling for mxs_nand_init

2016-01-25 Thread Peng Fan
Hi Scott, Gentle ping.. it's a few weeks since patch sent out. Thanks, Peng. On Sat, Jan 09, 2016 at 09:23:53PM +0800, Peng Fan wrote: >From: Peng Fan > >Fix error handling for mxs_nand_init. > >The original error handling is wrong for err2 and err1. >Should first free

Re: [U-Boot] [PATCH V2] net: bootp: Ignore packets whose yiaddr is 0

2016-01-25 Thread Joe Hershberger
On Thu, Jan 7, 2016 at 1:28 AM, Peng Fan wrote: > From: Peng Fan > > When doing `dhcp`, there is a bad dhcp server in my network > which always reply dhcp request with yiaddr 0, which cause > uboot can not successfully get ipaddr from the good dhcp

Re: [U-Boot] [GIT PULL] Microblaze changes

2016-01-25 Thread Tom Rini
On Mon, Jan 25, 2016 at 10:24:20AM +0100, Michal Simek wrote: > Hi, > > On 22.1.2016 19:34, Ricardo Ribalda Delgado wrote: > > Hi > > > > My main concern is that the support for the board is not removed. I have > > one active product based on virtex5 ppc440. > > > > Today I had to do some last

Re: [U-Boot] [PATCH v4 5/6] rockchip: kylin: Enable boot with android boot image

2016-01-25 Thread Tom Rini
On Fri, Jan 15, 2016 at 10:20:43AM +0800, Jeffy Chen wrote: > Hi Tom, > > On 2016-1-15 8:59, Tom Rini wrote: > >On Fri, Jan 15, 2016 at 08:53:06AM +0800, Jeffy Chen wrote: > >>Hi Tom, > >> > >>On 2016-1-15 0:22, Tom Rini wrote: > >>>On Thu, Jan 14, 2016 at 10:31:34AM +0800, Jeffy Chen wrote: >

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

2016-01-25 Thread 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 - add aarch64 - enable notifications via email

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

2016-01-25 Thread Simon Glass
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 build such that u-boot.bin includes a device tree, and the plain binary is in

[U-Boot] [PATCH 5/7] socfpga: Simplify Makefile filenames

2016-01-25 Thread Simon Glass
We don't need the -dtb suffix anymore, so drop it. Signed-off-by: Simon Glass --- Makefile | 10 +- scripts/Makefile.spl | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index fa55c71..66e96cb 100644 ---

[U-Boot] [PATCH 7/7] Makefile: Drop unnecessary -dtb suffixes

2016-01-25 Thread Simon Glass
When OF_CONTROL is enabled, u-boot-dtb.* files are the same as u-boot.* files. So we can use the latter for simplicity. Signed-off-by: Simon Glass --- Makefile | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index

[U-Boot] [PATCH 3/7] fdt: Build an SPL binary without device tree

2016-01-25 Thread Simon Glass
At present u-boot-spl.bin holds the plain SPL binary without the device tree. This is somewhat annoying since you need either u-boot-spl.bin or u-boot-spl-dtb.bin depending on whether device tree is used. Adjust the build such that u-boot-spl.bin includes a device tree, and the plain binary is in

[U-Boot] [PATCH 4/7] tegra: Always build a boot image with the same filename

2016-01-25 Thread Simon Glass
Adjust the Makefile to build u-boot-tegra.bin which contains a device tree if OF_CONTROL is enabled, and does not if not. This mirrors U-Boot's new approach of using u-boot.bin to handle both cases. Signed-off-by: Simon Glass --- Makefile | 12 +--- 1 file changed, 5

Re: [U-Boot] CONFIG_DISPLAY causes build error on microblaze-generic

2016-01-25 Thread Anatolij Gustschin
Hi Bin, > Hi Simon, Anatolij, > > At present CONFIG_DISPLAY is set to y by default when driver model is > on. This causes the following building error on microblaze-generic. > > drivers/built-in.o: In function 'display_read_timing': > drivers/video/display-uclass.c:45: undefined reference

Re: [U-Boot] [PATCH v4 5/6] rockchip: kylin: Enable boot with android boot image

2016-01-25 Thread Tom Rini
On Fri, Jan 15, 2016 at 04:42:21PM +0100, Daniel Schwierzeck wrote: > Am Freitag, den 15.01.2016, 09:42 -0500 schrieb Tom Rini: > > On Fri, Jan 15, 2016 at 10:20:43AM +0800, Jeffy Chen wrote: > > > Hi Tom, > > > > > > On 2016-1-15 8:59, Tom Rini wrote: > > > > On Fri, Jan 15, 2016 at 08:53:06AM

Re: [U-Boot] [PATCHv7 6/7] igep00x0: UBIize

2016-01-25 Thread Enric Balletbo Serra
Hi Ladis, 2016-01-25 16:56 GMT+01:00 Ladislav Michl : > Hi Enric, > > On Mon, Jan 25, 2016 at 08:26:23AM +0100, Enric Balletbo Serra wrote: >> The ROM boot on OMAP reads the first 4 blocks searching for the SPL, >> in production is a practice flash the SPL 4 times.

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

2016-01-25 Thread Simon Glass
It seems clear that the intent is to generate u-boot-nodtb-tegra.bin only when OF_CONTROL is not set. But due to the way the rules are set up, this file is always generated. Fix this. Signed-off-by: Simon Glass --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2

[U-Boot] [PATCH 6/7] Makefile: Make u-boot.img the same as u-boot-dtb.img

2016-01-25 Thread Simon Glass
When OF_CONTROL is enabled, u-boot.img has no purpose since it does not include the required device tree binary. The correct image to use is u-boot-dtb.img with OF_CONTROL but u-boot.img without OF_CONTROL. Create u-boot.img even when OF_CONTROL is enabled, so that this file can be used in both

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

2016-01-25 Thread Simon Glass
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 legacy UART. Since the name

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

2016-01-25 Thread Stephen Warren
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 in preference to memcpy() where appropriate. U-Boot doesn't contain ether_addr_copy(), so

[U-Boot] U-Boot as a next bootloader in a chain - reading the kernel boot args provided by the previous stage bootlader?

2016-01-25 Thread Wael Almattar
Hi, How do you suggest to implement such functionality? Do you want to make u-boot able to modify kernel args which has been sent by start.elf? or you want during u-boot stage to press a hotkey which give you the opportunity to edit previous bootargs? Please explain how do you expect u-boot to

Re: [U-Boot] [PATCH][v2] powerpc: mpc85xx: Move set_liodns, setup_portals to common boot seq

2016-01-25 Thread york sun
On 01/22/2016 01:05 AM, Prabhakar Kushwaha wrote: > Users migrating Freescale's PowerPC SoC U-Boot code to their custom > board, often overlook the need to execute set_liodns() and > setup_portals() being called by platform files. > > So Move set_liodns() and setup_portals() to common u-boot boot

Re: [U-Boot] [PATCH 2/2 v3] board/t4240rdb: VID support

2016-01-25 Thread york sun
On 01/21/2016 09:48 PM, ying.zh...@freescale.com wrote: > From: Ying Zhang > > The fuse status register provides the values from on-chip > voltage ID efuses programmed at the factory. > These values define the voltage requirements for > the chip. u-boot reads FUSESR and

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

2016-01-25 Thread york sun
On 01/25/2016 09:01 AM, Scott Wood wrote: > 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

[U-Boot] [PATCHv2 3/8] dm: lpuart: Drop the legacy code

2016-01-25 Thread Bhuvanchandra DV
All boards using this driver are with device tree support, hence drop the legacy code in driver to have a pure DT solution. Signed-off-by: Bhuvanchandra DV Reviewed-by: Bin Meng --- drivers/serial/serial_lpuart.c | 101

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

2016-01-25 Thread Stephen Warren
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:48, Stephen Warren wrote: On 01/22/2016 01:32 PM, Simon

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

2016-01-25 Thread york sun
On 12/24/2015 02:02 AM, Prabhakar Kushwaha wrote: > Check and compare version of management complex's object with the version > supported by Freescale ldpaa2 ethernet driver. > > Signed-off-by: Prabhakar Kushwaha > --- > drivers/net/fsl-mc/mc.c | 51 >

Re: [U-Boot] [PATCH] arm: cache: Implement cache range check for v7

2016-01-25 Thread Tom Rini
On Sun, Jan 24, 2016 at 06:28:12PM +0100, Marek Vasut wrote: > On Monday, December 28, 2015 at 04:23:46 PM, Marek Vasut wrote: > > On Friday, December 11, 2015 at 05:36:15 AM, Marek Vasut wrote: > > > On Tuesday, December 01, 2015 at 06:23:17 PM, Marek Vasut wrote: > > > > On Monday, July 27, 2015

[U-Boot] [PATCHv2 8/8] arm: vybrid: Update defconfig's

2016-01-25 Thread Bhuvanchandra DV
Let's go with pure DT solution for board's based on NXP/Freescale Vybrid platform. - Merge the DT defconfig with non-DT defconfig for Toradex Colibri VF50/VF61 and drop the non-DT defconfig. - Update the legacy defconfigs for NXP/Freescale VF610 Tower Board with DT. - Update the legacy

[U-Boot] [PATCHv2 7/8] arm: pcm052: Add device tree file's

2016-01-25 Thread Bhuvanchandra DV
- Add device tree files for Phytec phyCORE-Vybrid Board. - Enable lpuart support for Phytec phyCORE-Vybrid Board. - Use UART1 for stdout. Signed-off-by: Bhuvanchandra DV --- arch/arm/dts/Makefile | 3 ++- arch/arm/dts/pcm052.dts | 22 ++ 2

[U-Boot] [PATCHv2 5/8] arm: vybrid: Drop enabling GPIO, UART and SPI in legacy mode

2016-01-25 Thread Bhuvanchandra DV
Remove the legacy way of enabling UART, GPIO and SPI on Vybrid based boards since these driver's now only supports DT mode. Signed-off-by: Bhuvanchandra DV --- include/configs/colibri_vf.h | 13 - include/configs/pcm052.h | 3 ---

[U-Boot] [PATCHv2 0/8] Migrate NXP/Freescale Vybrid based boards to support pure DT

2016-01-25 Thread Bhuvanchandra DV
Changes since V1: - Update the license string in device tree's. - Update all lpuart's uart nodes in device tree. - Dropped *_dtb_defconfig and updated the default defconfig's with DT support. - Reordered defconfig's using defconfig via savedefconfig. - Use one patch to update all Vybrid based

[U-Boot] [PATCHv2 1/8] arm: vybrid: Enable lpuart support

2016-01-25 Thread Bhuvanchandra DV
- Add device tree node's for lpuart on Vybrid platform - Update the license string. Signed-off-by: Bhuvanchandra DV --- arch/arm/dts/vf.dtsi | 47 +- arch/arm/dts/vf500-colibri.dts | 5 -

Re: [U-Boot] [PATCHv7 6/7] igep00x0: UBIize

2016-01-25 Thread Heiko Schocher
Hello Tom, Am 25.01.2016 um 16:13 schrieb Tom Rini: On Mon, Jan 25, 2016 at 07:39:10AM +0100, Heiko Schocher wrote: Hello Enric, Ladislav, Am 22.01.2016 um 23:35 schrieb Enric Balletbo Serra: Hi Ladis, Many thanks for your work on this, see some comments below ... Sorry, pull request is

Re: [U-Boot] [PATCH v3 0/7] Determine Boot mode at run time

2016-01-25 Thread Tom Rini
On Fri, Jan 22, 2016 at 04:37:21PM +0530, Aneesh Bansal wrote: > There are two phases in Secure Boot > 1. ISBC: In BootROM, validate the BootLoader (U-Boot). > 2. ESBC: In U-Boot, continuing the Chain of Trust by > validating and booting LINUX. > > For ESBC phase, there is no difference

Re: [U-Boot] [PATCHv7 6/7] igep00x0: UBIize

2016-01-25 Thread Ladislav Michl
Hi Enric, On Mon, Jan 25, 2016 at 08:26:23AM +0100, Enric Balletbo Serra wrote: > The ROM boot on OMAP reads the first 4 blocks searching for the SPL, > in production is a practice flash the SPL 4 times. OneNAND/NAND > devices can have different block sizes and the OMAP ROM boot supports > block

[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 Gustschin

Re: [U-Boot] [PATCH] nds32: fix mmc rescan hang problem.

2016-01-25 Thread Tom Rini
On Mon, Jan 25, 2016 at 01:08:15PM +0800, Andes wrote: > From: rick > > When execute mmc rescan command, system will hang. > > Signed-off-by: rick > --- > common/cmd_mmc.c |9 + > common/env_common.c |3 +++ >

[U-Boot] [PATCHv2 6/8] arm: vf610-twr: Add device tree file's

2016-01-25 Thread Bhuvanchandra DV
- Add device tree files for NXP/Freescale VF610 Tower Board. - Enable lpuart support on NXP/Freescale VF610 Tower Board. - Use UART1 as stdout. Signed-off-by: Bhuvanchandra DV --- arch/arm/dts/Makefile | 3 ++- arch/arm/dts/vf610-twr.dts | 22

[U-Boot] [PATCHv2 4/8] dm: vybrid_gpio: Drop legacy code

2016-01-25 Thread Bhuvanchandra DV
All boards using this driver are with device tree support, hence drop the legacy code in driver to have a pure DT solution. Signed-off-by: Bhuvanchandra DV Reviewed-by: Bin Meng --- drivers/gpio/vybrid_gpio.c | 18 -- 1 file

Re: [U-Boot] [PATCHv2 3/8] dm: lpuart: Drop the legacy code

2016-01-25 Thread Stefan Agner
On 2016-01-25 09:03, Bhuvanchandra DV wrote: > All boards using this driver are with device tree support, > hence drop the legacy code in driver to have a pure DT solution. Hm, dropping the legacy code at this point probably leads to a broken state (bisectability...) I would recommend to first

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

2016-01-25 Thread york sun
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: Friday, January 22, 2016 3:30 AM > To: Qianyu

[U-Boot] [PATCHv2 2/8] arm: colibri-vf: Enable serial support

2016-01-25 Thread Bhuvanchandra DV
- Enable lpuart support on Toradex Colibri VF50/VF61 - Use UART0 for stdout. Signed-off-by: Bhuvanchandra DV --- arch/arm/dts/vf-colibri.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/dts/vf-colibri.dtsi b/arch/arm/dts/vf-colibri.dtsi

[U-Boot] [PATCH]: net: Wrong Initialization in davinci-emac driver

2016-01-25 Thread Vishwas Srivastava
Author: Vishwas Srivastava Date: Mon Jan 25 21:28:17 2016 +0530 Wrong Initialization in davinci emac driver emac module of the davinci platform supports only 8 tx and 8 rx channels (total 16). emac driver for davinci platform, however, while doing

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

2016-01-25 Thread Scott Wood
On Mon, 2016-01-25 at 19:37 +0800, Gong Qianyu wrote: > Both Freescale Layerscape and powerpc/mpc85xx platforms are using > fdt_fixup_fman_firmware() to insert Fman ucode blob into the device > tree. So move the function to driver code. > > Signed-off-by: Gong Qianyu > --- >

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

2016-01-25 Thread Stephen Warren
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 the U-Boot console interaction. On which boards did you test this feature? Eventually

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

2016-01-25 Thread york sun
On 12/24/2015 02:03 AM, Prabhakar Kushwaha wrote: > Management Complex FW 9.0 set the hardware depletion to be 20 buffers > in order to support multiple pools in DPNI. This requires driver to fill > the pool with at least 21 to be able to receive frames. > > So, Increase number of buffers for a

Re: [U-Boot] [PATCHv2 2/8] arm: colibri-vf: Enable serial support

2016-01-25 Thread Stefan Agner
On 2016-01-25 09:03, Bhuvanchandra DV wrote: > - Enable lpuart support on Toradex Colibri VF50/VF61 > - Use UART0 for stdout. Compared to the previous commit, I would say here it is fine, since those two changes are really connected. Acked-by: Stefan Agner -- Stefan

[U-Boot] Please pull u-boot-mpc85xx master

2016-01-25 Thread york sun
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-mpc85xx.git master for you to fetch changes up to

Re: [U-Boot] [PATCH v3] usb: add clock support for generic EHCI

2016-01-25 Thread Marek Vasut
On Monday, January 25, 2016 at 07:00:36 AM, Masahiro Yamada wrote: > This driver is designed in a generic manner, so clocks should be > handled genericly as well. > > Signed-off-by: Masahiro Yamada Applied, thanks! Best regards, Marek Vasut

Re: [U-Boot] [PATCH][v2] arch/powperpc: Fix start_align due to use of __ffs64() instead ffs64()

2016-01-25 Thread york sun
On 01/22/2016 02:20 AM, Ashish Kumar wrote: > Return value of ffs64() different to that of __ffs64(), > ffs64(0x8000) = 0x20 > __ffs64(0x8000) = 0x1f, >as result of this change -1 from start_align needs to be removed. > Incorrect DDR law was created in case of B4860qds > >

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 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 build such that u-boot.bin includes a device

Re: [U-Boot] [U-Boot, v2, 2/2] ns16550: zap the rockchip serial compatible string

2016-01-25 Thread Tom Rini
On Mon, Dec 14, 2015 at 08:45:09PM +0800, Thomas Chou wrote: > Zap the rockchip serial compatible string, because rockchip > serial has "snps,dw-apb-uart" compatible string in the dts. > > Signed-off-by: Thomas Chou > Acked-by: Simon Glass Applied to

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:

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 >

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! --

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

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

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 >

Re: [U-Boot] [PATCH 5/7] socfpga: Simplify Makefile filenames

2016-01-25 Thread Marek Vasut
On Monday, January 25, 2016 at 09:30:29 PM, Simon Glass wrote: > We don't need the -dtb suffix anymore, so drop it. > > Signed-off-by: Simon Glass > --- You should also fix the MCV: $ git grep u-boot-with-spl-dtb.sfp ... include/configs/socfpga_mcvevk.h:

Re: [U-Boot] [PATCH] usb: xhci: Fix vendor command error if the request type is USB_REQ_SET_ADDRESS or USB_REQ_SET_CONFIGURATION.

2016-01-25 Thread Marek Vasut
On Monday, January 25, 2016 at 12:11:59 PM, Ted wrote: > Hi Marek, Hi Ted, > > -Original Message- > > From: Marek Vasut [mailto:ma...@denx.de] > > Sent: Thursday, November 26, 2015 9:25 AM > > To: Ted > > Cc: swar...@nvidia.com; u-boot@lists.denx.de; > > linux.am...@gmail.com; Hans de

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

2016-01-25 Thread Stephen Warren
On 01/25/2016 01:30 PM, Simon Glass wrote: It seems clear that the intent is to generate u-boot-nodtb-tegra.bin only when OF_CONTROL is not set. But due to the way the rules are set up, this file is always generated. Fix this. Nak, this file is used by our flashing tools, so needs to be kept

Re: [U-Boot] [U-Boot, 1/2] checkpatch: ignore request to use ether_addr_copy()

2016-01-25 Thread Tom Rini
On Fri, Nov 13, 2015 at 09:03:00AM -0700, 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 in preference to

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

2016-01-25 Thread Tom Rini
On Mon, Jan 25, 2016 at 03:07:33PM +0100, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > 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

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

  1   2   >