[U-Boot] [PATCH v2 4/5] gpt: part: Definition and declaration of GPT verification functions

2015-11-19 Thread Lukasz Majewski
This commit provides definition and declaration of GPT verification functions - namely gpt_verify_headers() and gpt_verify_partitions(). The former is used to only check CRC32 of GPT's header and PTEs. The latter examines each partition entry and compare attributes such as: name, start offset and s

[U-Boot] [PATCH v2 5/5] gpt: command: Extend gpt command to support GPT table verification

2015-11-19 Thread Lukasz Majewski
This commit adds support for "gpt verify" command, which verifies correctness of on-board stored GPT partition table. As the optional parameter one can provide '$partitons' environment variable to check if partition data (size, offset, name) is correct. This command should be regarded as complemen

[U-Boot] [PATCH v2 1/5] gpt: command: Remove duplicated check for empty partition description

2015-11-19 Thread Lukasz Majewski
Exactly the same check is performed in set_gpt_info() function executed just after this check. Signed-off-by: Lukasz Majewski Reviewed-by: Tom Rini --- Changes for v2: - None --- common/cmd_gpt.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/cmd_gpt.c b/common/cmd_gpt.c index e3

[U-Boot] [PATCH v2 2/5] gpt: doc: README: Update README entry for gpt verify extension

2015-11-19 Thread Lukasz Majewski
./doc/README.gpt entry has been updated to explain usage of "gpt verify" command. Signed-off-by: Lukasz Majewski Reviewed-by: Tom Rini --- Changes for v2: - Adjust README.gpt changes to the newest mainline --- doc/README.gpt | 27 ++- 1 file changed, 26 insertions(+), 1

[U-Boot] [PATCH 1/2] rockchip: add CONFIG_SPL_ROCKCHIP_SERIAL

2015-11-19 Thread Lin Huang
we can use this config to disable rockchip serial driver in SPL stage, since some rockchip soc sram size is small(rk3036 etc), so we don't want rockchip serial driver build in SPL, but we still want use common debug driver in SPL. Signed-off-by: Lin Huang --- arch/arm/mach-rockchip/Kconfig | 3

[U-Boot] [PATCH 2/2] rockchip: rk3036: enable CONFIG_DEBUG_UART, and use ns16550 uart driver

2015-11-19 Thread Lin Huang
enable this config so we use common uart function in SPL stage Signed-off-by: Lin Huang --- arch/arm/mach-rockchip/rk3036-board-spl.c | 6 ++ configs/evb-rk3036_defconfig | 5 + include/configs/rk3036_common.h | 1 + 3 files changed, 8 insertions(+), 4 deletions(-)

Re: [U-Boot] [U-Boot, V4, 10/13] spl: add support for alternative boot device

2015-11-19 Thread Stefan Roese
Hi Tom, On 19.11.2015 23:11, Tom Rini wrote: On Thu, Nov 19, 2015 at 12:46:58PM +0100, Stefan Roese wrote: On 19.11.2015 12:19, Nikita Kiryanov wrote: Hi Tom, On Wed, Nov 18, 2015 at 05:33:20PM -0500, Tom Rini wrote: On Sun, Nov 08, 2015 at 05:11:51PM +0200, Nikita Kiryanov wrote: Introduc

Re: [U-Boot] [PATCH v3 10/16] drivers: mtd: spi: sf_probe: add compatible for spansion spi flash

2015-11-19 Thread Mugunthan V N
Jagan On Thursday 19 November 2015 03:40 PM, Jagan Teki wrote: > On 19 November 2015 at 12:35, Mugunthan V N wrote: >> Add compatible for spansion 32MiB spi flash s25fl256s1. >> >> Signed-off-by: Mugunthan V N >> --- >> drivers/mtd/spi/sf_probe.c | 1 + >> 1 file changed, 1 insertion(+) >> >> d

Re: [U-Boot] [PATCH 2/2] usb: eth: add Realtek RTL8152B/RTL8153 driver

2015-11-19 Thread Anand Moon
Hi Ted, Stephen, On Tuesday, November 17, 2015 12:48 PM, Ted wrote: Hi Stephen, I am investigating how to modify this driver by Marek's comments, and will send you new patch ASAP. Thanks~ BRs Ted Just wanted to share why this device is failed to

Re: [U-Boot] [PATCH 2/2] usb: eth: add Realtek RTL8152B/RTL8153 driver

2015-11-19 Thread Anand Moon
Hi Marek, On 19 November 2015 at 16:42, Marek Vasut wrote: > On Thursday, November 19, 2015 at 11:58:26 AM, Anand Moon wrote: > > Hi Ted, Stephen, > > > > > > > > > > > > On Tuesday, November 17, 2015 12:48 PM, Ted wrote: > > Hi Stephen, > > > > I am investigating how to modify this driver by M

Re: [U-Boot] [PATCH 2/2] usb: eth: add Realtek RTL8152B/RTL8153 driver

2015-11-19 Thread Anand Moon
Hi Ted/Stephen, On Tuesday, November 17, 2015 12:48 PM, Ted wrote: Hi Stephen, I am investigating how to modify this driver by Marek's comments, and will send you new patch ASAP. Thanks~ BRs Ted 從: Stephen Warren [swar...@wwwdotorg.org] 寄件日期: 2015年1

Re: [U-Boot] [PATCH v2 0/2] Add Xilinx Zynq boot.bin support

2015-11-19 Thread Michal Simek
On 17.11.2015 13:56, Nathan Rossi wrote: > This patch series adds support for the 'zynqimage' type to mkimage for > the Xilinx Zynq platform. As well as adding make targets to generate > the boot.bin image file containing SPL by default. > > Changes in v2: > * Remove test code > > Nathan Rossi (

[U-Boot] [PATCH] sunxi: clock: Set AHB1 clock frequency to 200MHz on Allwinner H3

2015-11-19 Thread Siarhei Siamashka
The 3.4 kernel from the Allwinner SDK is clocking AHB1 at 200MHz on Allwinner H3 and using PLL6 as the clock source (PLL6/3). This can be verified by reading the value of the AHB1_APB1_CFG_REG register via /dev/mem. It always reads as 0x3180 regardless of the current cpufreq operating point. So thi

Re: [U-Boot] [PATCH v2 10/26] dm: core: Add safe device iteration macros

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 09/26] usb: Refactor USB tree output code for testing

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 08/26] test: Record and silence console in tests

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 06/26] console: Add a console buffer

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Next for x86?

2015-11-19 Thread Bin Meng
Hi Simon, On Fri, Nov 20, 2015 at 11:09 AM, Simon Glass wrote: > Hi, > > I'm wondering what might come next for U-Boot x86 support. > > The PCI conversion to driver model is coming along nicely. The ACPI > support is only partially there but it is a good start. > > What else? More platforms? Othe

Re: [U-Boot] [PATCH v2 26/26] dm: test: usb: sandbox: Add keyboard tests for sandbox

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 25/26] sandbox: Enable USB keyboard

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 24/26] usb: sandbox: Add a USB emulation driver

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 23/26] usb: sandbox: Add support for interrupt operations

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 20/26] dm: test: usb: Add a test for device reordering

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 14/26] Revert "dm: usb: Rename usb_find_child to usb_find_emul_child"

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 11/26] sandbox: usb: Allow dynamic emulated USB device descriptors

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 15/26] Revert "dm: usb: Use device_unbind_children to clean up usb devs on stop"

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 12/26] sandbox: usb: Allow up to 4 emulated devices on a hub

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 13/26] sandbox: usb: Allow finding a USB emulator for a device

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 22/26] usb: Avoid open-coded USB constants in usb_kbd.c

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 21/26] usb: Drop unused code in usb_kbd.c

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 17/26] dm: usb: Deprecate usb_get_dev_index()

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 16/26] Revert "dm: Export device_remove_children / device_unbind_children"

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 02/26] dm: usb: Avoid time delays in sandbox tests

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 07/26] sandbox: Enable console recording and silent console

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 01/26] sandbox: Add a way to skip time delays

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] patman: fix series-notes handling for buildman

2015-11-19 Thread Simon Glass
Hi Albert, On 13 November 2015 at 19:35, Simon Glass wrote: > On 9 November 2015 at 14:36, Albert ARIBAUD wrote: >> Hello Simon, >> >> On Mon, 9 Nov 2015 12:24:55 -0800, Simon Glass wrote: >>> On 9 November 2015 at 06:19, Albert ARIBAUD >>> wrote: >>> > A patman series with a 'Series-notes' s

[U-Boot] [PATCH v5 7/8] dm: pci: Add a function to find the regions for a PCI bus

2015-11-19 Thread Simon Glass
This function looks up the controller and returns a pointer to each region type. Signed-off-by: Simon Glass Acked-by: Stephen Warren --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None drivers/pci/pci-uclass.c | 30 ++ include/pci.h

[U-Boot] [PATCH v5 1/8] dm: tegra: pci: Move CONFIG_PCI_TEGRA to Kconfig

2015-11-19 Thread Simon Glass
Move this option to Kconfig and fix up all users. Signed-off-by: Simon Glass --- Changes in v5: None Changes in v4: - Fix Kconig typo in commit message Changes in v3: None Changes in v2: None configs/apalis_t30_defconfig | 1 + configs/beaver_defconfig | 1 + configs/cardhu_defconfig

[U-Boot] [PATCH v5 6/8] dm: pci: Add a function to get the controller for a bus

2015-11-19 Thread Simon Glass
A PCI bus may be a bridge device where the controller is the bridge's parent. Add a function to return the controller device, given a PCI device. Signed-off-by: Simon Glass Acked-by: Stephen Warren --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Use the device_i

Re: [U-Boot] [PATCH v2 19/26] dm: test: usb: Add tests for the 'usb tree' command

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 05/26] Add a circular memory buffer implementation

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 03/26] Move console definitions into a new console.h file

2015-11-19 Thread Simon Glass
Rebased to master and: Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 04/26] Drop config.h header from display_options.c

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v5 3/8] dm: pci: Set up the SDRAM mapping correctly

2015-11-19 Thread Simon Glass
SDRAM doesn't always start at 0. Adjust the region mapping so that it works on platforms where SDRAM is somewhere else. This needs testing on other platforms. Signed-off-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Rename 'addr' to 'size' - Co

[U-Boot] [PATCH v5 8/8] dm: tegra: pci: Convert tegra boards to driver model for PCI

2015-11-19 Thread Simon Glass
Adjust the Tegra PCI driver to support driver model and move all boards over at the same time. This can make use of some generic driver model code, such as the range-decoding logic. Signed-off-by: Simon Glass --- Changes in v5: - Squash in Stephen's fixes from https://patchwork.ozlabs.org/patch/

[U-Boot] [PATCH v5 5/8] dm: pci: Add functions to emulate 8- and 16-bit access

2015-11-19 Thread Simon Glass
Provide a few functions to support using 32-bit access to emulate 8- and 16-bit access. Signed-off-by: Simon Glass Reviewed-by: Stephen Warren --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None drivers/pci/pci-uclass.c | 39

[U-Boot] [PATCH v5 4/8] dm: pci: Support decoding ranges with duplicate entries

2015-11-19 Thread Simon Glass
At present we add a new resource entry for every range entry. But some range entries refer to configuration regions. To make this work, avoid adding two regions of the same type. The later ranges will overwrite the earlier (configuration) ones. There does not seem to be a way to distinguish the co

[U-Boot] [PATCH v5 2/8] dm: pci: Avoid a driver model build error with CONFIG_CMD_PCI_ENUM

2015-11-19 Thread Simon Glass
This is not supported with driver model, so print a message instead of generating a build error. Rescanning PCI is not yet implemented. This function will be implemented later once some additional PCI driver model improvements are merged. It was confirmed on the mailing list that no one on the teg

[U-Boot] [PATCH v5 0/8] dm: pci: tegra: Convert Tegra PCI to driver model

2015-11-19 Thread Simon Glass
This series converts all Tegra boards to use driver model for PCI. The net effect should be no change in functionality. A few additional features are added to make this possible: - Helper functions to support accessing 8- and 16-bit values within a 32-bit word - Fixing a build error for CONFIG_C

[U-Boot] Next for x86?

2015-11-19 Thread Simon Glass
Hi, I'm wondering what might come next for U-Boot x86 support. The PCI conversion to driver model is coming along nicely. The ACPI support is only partially there but it is a good start. What else? More platforms? Other features? Better support for existing platforms? Regards, Simon ___

Re: [U-Boot] [PATCH v6 00/23] Bring up rk3036 uboot

2015-11-19 Thread hl
Hi Simon, On 19/11/15 22:24, Simon Glass wrote: +Tom Hi Lin, On 18 November 2015 at 22:49, hl wrote: Hi Simon, On 19/11/15 12:44, Simon Glass wrote: Hi Lin, On 17 November 2015 at 18:19, hl wrote: Hi Simon, On 18/11/15 01:38, Simon Glass wrote: Hi Lin, On 16 November 2015 at 23:

Re: [U-Boot] Is patchwork down?

2015-11-19 Thread Simon Glass
Hi Bin, On 19 November 2015 at 19:48, Bin Meng wrote: > Hi Simon, > > On Fri, Nov 20, 2015 at 10:34 AM, Simon Glass wrote: >> Hi, >> >> I haven't been able to connect for quite a few hours. Is anyone else >> having a problem? >> > > Just tried, and I am able to connect patchwork. Yes it is back

Re: [U-Boot] Is patchwork down?

2015-11-19 Thread Bin Meng
Hi Simon, On Fri, Nov 20, 2015 at 10:34 AM, Simon Glass wrote: > Hi, > > I haven't been able to connect for quite a few hours. Is anyone else > having a problem? > Just tried, and I am able to connect patchwork. Regards, Bin ___ U-Boot mailing list U-

[U-Boot] Is patchwork down?

2015-11-19 Thread Simon Glass
Hi, I haven't been able to connect for quite a few hours. Is anyone else having a problem? Regards, Simon ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-19 Thread Dinh Nguyen
On 11/19/2015 04:45 PM, Marek Vasut wrote: > On Thursday, November 19, 2015 at 10:35:47 PM, dingu...@opensource.altera.com > wrote: >> From: Dinh Nguyen >> >> Update Makefile to build Arria 10. >> >> Signed-off-by: Dinh Nguyen >> --- >> arch/arm/mach-socfpga/Makefile | 7 +-- >> arc

Re: [U-Boot] [PATCH 05/10] ARM: socfpga: arria10: add misc functions for Arria10

2015-11-19 Thread Marek Vasut
On Thursday, November 19, 2015 at 10:35:42 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Add miscellaneous functions(arch_early_init_r, print_cpuinfo, > overwrite_console, enable_caches, and cpu_mmc_init). Also, the Arria10 > has a firewall protection around the SDRAM and OCR

Re: [U-Boot] [PATCH 06/10] ARM: socfpga: arria10: add socfpga_arria10_socdk config

2015-11-19 Thread Marek Vasut
On Thursday, November 19, 2015 at 10:35:43 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Add config for the Arria10 SoC Development Kit. > > Signed-off-by: Dinh Nguyen > --- > include/configs/socfpga_arria10_socdk.h | 292 > 1 file changed,

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-19 Thread Marek Vasut
On Thursday, November 19, 2015 at 10:35:47 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Update Makefile to build Arria 10. > > Signed-off-by: Dinh Nguyen > --- > arch/arm/mach-socfpga/Makefile | 7 +-- > arch/arm/mach-socfpga/arria10/Makefile | 7 +++ > 2

Re: [U-Boot] [PATCH 01/10] ARM: socfpga: arria10: add base address map for Arria10

2015-11-19 Thread Marek Vasut
On Thursday, November 19, 2015 at 10:35:38 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Add the base address map for Arria10. > > Signed-off-by: Dinh Nguyen > --- > .../include/mach/socfpga_a10_base_addrs.h | 45 Reviewed-by: Marek Vasut btw. it'd be nice if we

Re: [U-Boot] [PATCH 03/10] ARM: socfpga: arria10: add reset manager for Arria10

2015-11-19 Thread Marek Vasut
On Thursday, November 19, 2015 at 10:35:40 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Add the defines for the reset manager and some basic reset functionality. > > Signed-off-by: Dinh Nguyen > --- > arch/arm/mach-socfpga/arria10/reset_manager_a10.c | 83 +++ >

Re: [U-Boot] [PATCH 02/10] ARM: socfpga: arria10: add system manager defines

2015-11-19 Thread Marek Vasut
On Thursday, November 19, 2015 at 10:35:39 PM, dingu...@opensource.altera.com wrote: Hi! [...] > +/* Input buffer enable */ > +#define INPUT_BUF_DISABLE(0) > +#define INPUT_BUF_1P8V (1) > +#define INPUT_BUF_2P5V3V (2) You can drop those parenthesis around the number > +/

[U-Boot] [PATCH 00/10] ARM: socfpga: Add minimal support for Arria10

2015-11-19 Thread dinguyen
From: Dinh Nguyen Hi, This patchset adds the foundation support for Arria10. The series builds for the Altera Arria10 SoCDK, but is not entirely functional on the hardware yet. This series really just add the defines, build and Kconfig layout for Arria10. There are few TODO after this series: -

[U-Boot] [PATCH 03/10] ARM: socfpga: arria10: add reset manager for Arria10

2015-11-19 Thread dinguyen
From: Dinh Nguyen Add the defines for the reset manager and some basic reset functionality. Signed-off-by: Dinh Nguyen --- arch/arm/mach-socfpga/arria10/reset_manager_a10.c | 83 +++ .../mach-socfpga/include/mach/reset_manager_a10.h | 162 + 2 files changed, 245

Re: [U-Boot] [U-Boot, V4, 10/13] spl: add support for alternative boot device

2015-11-19 Thread Tom Rini
On Thu, Nov 19, 2015 at 12:46:58PM +0100, Stefan Roese wrote: > On 19.11.2015 12:19, Nikita Kiryanov wrote: > >Hi Tom, > > > >On Wed, Nov 18, 2015 at 05:33:20PM -0500, Tom Rini wrote: > >>On Sun, Nov 08, 2015 at 05:11:51PM +0200, Nikita Kiryanov wrote: > >> > >>>Introduce spl_boot_list array, which

Re: [U-Boot] [U-Boot, V4, 10/13] spl: add support for alternative boot device

2015-11-19 Thread Tom Rini
On Thu, Nov 19, 2015 at 01:19:39PM +0200, Nikita Kiryanov wrote: > Hi Tom, > > On Wed, Nov 18, 2015 at 05:33:20PM -0500, Tom Rini wrote: > > On Sun, Nov 08, 2015 at 05:11:51PM +0200, Nikita Kiryanov wrote: > > > > > Introduce spl_boot_list array, which defines a list of boot devices > > > that SP

Re: [U-Boot] [U-Boot, 1/2] rockchip: Turn on CONFIG_DEBUG_UART_NS16550 in defconfigs

2015-11-19 Thread Tom Rini
On Mon, Nov 16, 2015 at 08:15:50AM -0300, Ariel D'Alessandro wrote: > No UART driver was specified in defconfig, thus > DEBUG_UART_ALTERA_JTAGUART was incorrectly selected by default since > commit 220e8021af96741bd7149ca9895e1f0c8a38d0bb added a new Altera UART > driver. > > Signed-off-by: Ariel

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

2015-11-19 Thread Tom Rini
On Thu, Nov 19, 2015 at 11:16:40PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > thanks! > Jagan. > > The following changes since commit 3d4825446e4258192e1f2302d691a8c0c82a0975: > > Prepare v2016.01-rc1 (2015-11-16 20:29:51 -0500) > > are available in the git repository a

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

2015-11-19 Thread Tom Rini
On Thu, Nov 19, 2015 at 03:09:59PM +0100, Michal Simek wrote: > Hi Tom, > > please pull these changes to your tree. Network patches have been Ack by > Joe. mkimage, mii patches were reviewed by you. > > There is one problem with U-Boot SPL for Zynq because one patch break it > (not compilation)

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

2015-11-19 Thread Tom Rini
On Thu, Nov 19, 2015 at 01:21:29PM +0100, Michal Simek wrote: > Hi, > > please pull these patches to your tree. I have added there 3 dm patches > which were Acked-by Simon which fixing manual relocation which is used > by Microblaze (others are probably without DM now). > > Thanks, > Michal > >

Re: [U-Boot] [PATCH v6 00/23] Bring up rk3036 uboot

2015-11-19 Thread Tom Rini
On Thu, Nov 19, 2015 at 01:05:25PM -0700, Simon Glass wrote: > Hi Tom, > > On 19 November 2015 at 09:28, Tom Rini wrote: > > On Thu, Nov 19, 2015 at 07:24:45AM -0700, Simon Glass wrote: > >> +Tom > >> > >> Hi Lin, > >> > >> On 18 November 2015 at 22:49, hl wrote: > >> > Hi Simon, > >> > > >> > >

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

2015-11-19 Thread Tom Rini
On Thu, Nov 19, 2015 at 07:37:07AM +0100, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-ubi master > > The following changes since commit 736d1746fb7b8f7cd70657a4a72db2b6bd8de40e: > > itest: add missing break statements to evalexp() (2015-11-18 15:29:00 -0500) > > are availa

[U-Boot] [PATCH 04/10] ARM: socfpga: arria10: add stub sdram init for Arria10

2015-11-19 Thread dinguyen
From: Dinh Nguyen For now, sdram_a10.c will only have sdram_init() function, but this will get populated in the near future with more functionality. Also add the structures for the SDRAM controller on Arria10. Signed-off-by: Dinh Nguyen --- arch/arm/mach-socfpga/arria10/sdram_a10.c | 15

[U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-19 Thread dinguyen
From: Dinh Nguyen Update Makefile to build Arria 10. Signed-off-by: Dinh Nguyen --- arch/arm/mach-socfpga/Makefile | 7 +-- arch/arm/mach-socfpga/arria10/Makefile | 7 +++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 arch/arm/mach-socfpga/arria10/Makefi

[U-Boot] [PATCH 07/10] ARM: socfpga: arria10: add board files for the Arria10 SoCDK

2015-11-19 Thread dinguyen
From: Dinh Nguyen Add minimal support for the Arria10 SoCDK. Signed-off-by: Dinh Nguyen --- board/altera/arria10-socdk/Kconfig | 18 ++ board/altera/arria10-socdk/Makefile | 9 + board/altera/arria10-socdk/socfpga.c | 24 3 files changed, 51

[U-Boot] [PATCH 06/10] ARM: socfpga: arria10: add socfpga_arria10_socdk config

2015-11-19 Thread dinguyen
From: Dinh Nguyen Add config for the Arria10 SoC Development Kit. Signed-off-by: Dinh Nguyen --- include/configs/socfpga_arria10_socdk.h | 292 1 file changed, 292 insertions(+) create mode 100644 include/configs/socfpga_arria10_socdk.h diff --git a/include/c

[U-Boot] [PATCH 09/10] ARM: socfpga: arria10: add config option build for arria10

2015-11-19 Thread dinguyen
From: Dinh Nguyen Signed-off-by: Dinh Nguyen --- arch/arm/Kconfig | 4 ++-- arch/arm/mach-socfpga/Kconfig | 10 ++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 5ab0254..1d78e40 100644 --- a/arch/arm/Kconfig +++ b

[U-Boot] [PATCH 08/10] ARM: socfpga: arria10: add socfpga_arria10_defconfig

2015-11-19 Thread dinguyen
From: Dinh Nguyen Add a defconfig file for Arria10, which does not include enabling SPL. Signed-off-by: Dinh Nguyen --- configs/socfpga_arria10_defconfig | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 configs/socfpga_arria10_defconfig diff --git a/configs/socfpga_arria

[U-Boot] [PATCH 02/10] ARM: socfpga: arria10: add system manager defines

2015-11-19 Thread dinguyen
From: Dinh Nguyen Add system manager defines for Arria10. Signed-off-by: Dinh Nguyen --- .../mach-socfpga/include/mach/system_manager_a10.h | 157 + 1 file changed, 157 insertions(+) create mode 100644 arch/arm/mach-socfpga/include/mach/system_manager_a10.h diff --git a/a

[U-Boot] [PATCH 01/10] ARM: socfpga: arria10: add base address map for Arria10

2015-11-19 Thread dinguyen
From: Dinh Nguyen Add the base address map for Arria10. Signed-off-by: Dinh Nguyen --- .../include/mach/socfpga_a10_base_addrs.h | 45 ++ 1 file changed, 45 insertions(+) create mode 100644 arch/arm/mach-socfpga/include/mach/socfpga_a10_base_addrs.h diff --git a/

Re: [U-Boot] [PATCH v6 5/6] iomux-v3: Take MX6D in consideration for imx_iomux_v3_setup_pad()

2015-11-19 Thread Fabio Estevam
On Thu, Nov 19, 2015 at 7:02 PM, Otavio Salvador wrote: > We should also take MX6D option in consideration when defining > imx_iomux_v3_setup_pad(). > > Signed-off-by: Otavio Salvador Reviewed-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.den

Re: [U-Boot] [PATCH v6 6/6] cgtqmx6eval: Add DFU support

2015-11-19 Thread Fabio Estevam
On Thu, Nov 19, 2015 at 7:02 PM, Otavio Salvador wrote: > Add MMC and SPI DFU support. > > Signed-off-by: Otavio Salvador Reviewed-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v6 4/6] cgtqmx6eval: Add SPL support

2015-11-19 Thread Fabio Estevam
On Thu, Nov 19, 2015 at 7:02 PM, Otavio Salvador wrote: > Congatec has several MX6 boards based on quad, dual, dual-lite and solo. > > Add SPL support so that all the variants can be supported > > Signed-off-by: Otavio Salvador Reviewed-by: Fabio Estevam

Re: [U-Boot] [PATCH v6 3/6] cgtqmx6eval: Add fastboot support

2015-11-19 Thread Fabio Estevam
On Thu, Nov 19, 2015 at 7:02 PM, Otavio Salvador wrote: > Tested basic fastboot commands, such as: > > On the U-boot prompt: > > => fastboot 0 > > On the host PC: > > $ fastboot getvar bootloader-version -i 0x0525 > bootloader-version: U-Boot 2015.10-rc2-09654-g8f41d27 > finished. total time: 0.00

Re: [U-Boot] [PATCH v6 1/6] cgtqmx6eval: Add SPI NOR flash support

2015-11-19 Thread Fabio Estevam
On Thu, Nov 19, 2015 at 7:02 PM, Otavio Salvador wrote: > Add SPI NOR support: > > => sf probe > SF: Detected SST25VF032B with page size 256 Bytes, erase size 4 KiB, total 4 > MiB > > Signed-off-by: Otavio Salvador Reviewed-by: Fabio Estevam ___ U-Bo

Re: [U-Boot] [PATCH v6 2/6] cgtqmx6eval: Use SPI NOR to store the environment

2015-11-19 Thread Fabio Estevam
On Thu, Nov 19, 2015 at 7:02 PM, Otavio Salvador wrote: > Congatec boards boot from SPI NOR, so it makes more sense to use > SPI NOR to store the environment variables. > > Signed-off-by: Otavio Salvador Reviewed-by: Fabio Estevam ___ U-Boot mailing l

[U-Boot] [PATCH v6 6/6] cgtqmx6eval: Add DFU support

2015-11-19 Thread Otavio Salvador
Add MMC and SPI DFU support. Signed-off-by: Otavio Salvador --- Changes in v6: None Changes in v5: None Changes in v4: None include/configs/cgtqmx6eval.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/cgtqmx6eval.h b/include/configs/cgtqmx6eval.h index 79fc0f6.

[U-Boot] [PATCH v6 3/6] cgtqmx6eval: Add fastboot support

2015-11-19 Thread Otavio Salvador
Tested basic fastboot commands, such as: On the U-boot prompt: => fastboot 0 On the host PC: $ fastboot getvar bootloader-version -i 0x0525 bootloader-version: U-Boot 2015.10-rc2-09654-g8f41d27 finished. total time: 0.000s $ fastboot reboot -i 0x0525 --> board reboots fine. Signed-off-by: Ota

[U-Boot] [PATCH v6 5/6] iomux-v3: Take MX6D in consideration for imx_iomux_v3_setup_pad()

2015-11-19 Thread Otavio Salvador
We should also take MX6D option in consideration when defining imx_iomux_v3_setup_pad(). Signed-off-by: Otavio Salvador --- Changes in v6: None Changes in v5: None Changes in v4: None arch/arm/include/asm/imx-common/iomux-v3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[U-Boot] [PATCH v6 2/6] cgtqmx6eval: Use SPI NOR to store the environment

2015-11-19 Thread Otavio Salvador
Congatec boards boot from SPI NOR, so it makes more sense to use SPI NOR to store the environment variables. Signed-off-by: Otavio Salvador --- Changes in v6: None Changes in v5: None Changes in v4: None include/configs/cgtqmx6eval.h | 18 ++ 1 file changed, 14 insertions(+), 4

[U-Boot] [PATCH v6 1/6] cgtqmx6eval: Add SPI NOR flash support

2015-11-19 Thread Otavio Salvador
Add SPI NOR support: => sf probe SF: Detected SST25VF032B with page size 256 Bytes, erase size 4 KiB, total 4 MiB Signed-off-by: Otavio Salvador --- Changes in v6: - use ifdef CONFIG_MXC_SPI (Jagan) Changes in v5: None Changes in v4: None board/congatec/cgtqmx6eval/cgtqmx6eval.c | 29 +++

[U-Boot] [PATCH v6 4/6] cgtqmx6eval: Add SPL support

2015-11-19 Thread Otavio Salvador
Congatec has several MX6 boards based on quad, dual, dual-lite and solo. Add SPL support so that all the variants can be supported Signed-off-by: Otavio Salvador --- Changes in v6: None Changes in v5: - Add missing CONFIG_BOARD_LATE_INIT - Fix checkpatch error - Use erase/write as update seems

Re: [U-Boot] [PATCH] LCD: Add an option to skip registration as an stdio output

2015-11-19 Thread Anatolij Gustschin
Hello Stephane, On Thu, 19 Nov 2015 08:41:44 -0500 Stephane Ayotte wrote: ... > Does this patch have a chance to get to the release even if it has missed > RC1? yes, I've queued it in my tree. Thanks, Anatolij ___ U-Boot mailing list U-Boot@lists.den

Re: [U-Boot] [PATCH] LCD: Add an option to skip registration as an stdio output

2015-11-19 Thread Anatolij Gustschin
On Tue, 3 Nov 2015 11:14:49 -0500 sayotte.t...@gmail.com wrote: > From: Stephane Ayotte > > This patch adds an option to skip the registration of LCD stdio ouput for > boards that want to show different text on LCD than on serial output (or > the active stdout selected by the environment variab

Re: [U-Boot] [PATCH v3 03/13] ns16550: add generic binding to unify the drivers

2015-11-19 Thread Simon Glass
On 19 November 2015 at 06:48, Thomas Chou wrote: > Add generic binding to unify ns16550 drivers. There are > several drivers using almost the same code, such as serial_dw, > serial_keystone, serial_omap, serial_ppc, serial_rockchip, > serial_tegra.c, and serial_x86. But each is platform specific.

Re: [U-Boot] [PATCH v3 01/13] debug_uart: restore ns16550 as default

2015-11-19 Thread Simon Glass
On 19 November 2015 at 06:48, Thomas Chou wrote: > Since commit 220e8021af96 ("nios2: convert altera_jtag_uart to > driver model"), the default debug uart was changed. Most people > use ns16550 UART, so restore it as default. > > Signed-off-by: Thomas Chou > Reported-by: Ezequiel Garcia > Report

Re: [U-Boot] [PATCH v3 02/13] ns16550: change map_sysmem to map_physmem

2015-11-19 Thread Simon Glass
On 19 November 2015 at 06:48, Thomas Chou wrote: > Change map_sysmem() to map_physmem(,,MAP_NOCACHE). Though map_sysmem() > can be used to map system memory, it might be wrong to use it for I/O > ports. The map_physmem() serves the same purpose to translate physical > address to virtual address w

Re: [U-Boot] [PATCH v6 00/23] Bring up rk3036 uboot

2015-11-19 Thread Simon Glass
Hi Tom, On 19 November 2015 at 09:28, Tom Rini wrote: > On Thu, Nov 19, 2015 at 07:24:45AM -0700, Simon Glass wrote: >> +Tom >> >> Hi Lin, >> >> On 18 November 2015 at 22:49, hl wrote: >> > Hi Simon, >> > >> > >> > >> > On 19/11/15 12:44, Simon Glass wrote: >> >> >> >> Hi Lin, >> >> >> >> >> >>

Re: [U-Boot] [PATCH] pci: fix address range check in __pci_hose_phys_to_bus()

2015-11-19 Thread Simon Glass
On 19 November 2015 at 09:40, Stephen Warren wrote: > On 11/18/2015 07:05 AM, Marcel Ziswiler wrote: >> >> The address range check may overflow if the memory region is located at >> the top of the 32-bit address space. This can e.g. be seen on TK1 if >> using the E1000 gigabit Ethernet driver wher

Re: [U-Boot] [PATCH] Implement pytest-based test infrastructure

2015-11-19 Thread Stephen Warren
On 11/19/2015 10:00 AM, Stephen Warren wrote: On 11/19/2015 07:45 AM, Simon Glass wrote: Hi Stephen, On 14 November 2015 at 23:53, Stephen Warren wrote: This tool aims to test U-Boot by executing U-Boot shell commands using the console interface. A single top-level script exists to execute or

  1   2   >