Re: [U-Boot] [RFC PATCH] USB: get rid of warning when compile with debug enabled

2014-08-26 Thread Marek Vasut
On Tuesday, August 26, 2014 at 03:11:13 AM, Bo Shen wrote: Hi Marek, On 08/25/2014 06:43 PM, Marek Vasut wrote: On Monday, August 25, 2014 at 11:23:19 AM, Bo Shen wrote: When compile with debug information is enabled, if call spin_lock_irqsave, it will give following warning information.

[U-Boot] [PATCH] omap3_beagle: Add boot script support to omap3 beagle board

2014-08-26 Thread Guillaume GARDET
This patch adds boot script support to omap3 beagle board. Signed-off-by: Guillaume GARDET guillaume.gar...@free.fr Cc: Tom Rini tr...@ti.com --- include/configs/omap3_beagle.h | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/include/configs/omap3_beagle.h

Re: [U-Boot] [PATCH v5 0/4] Implement fastboot flash for eMMC

2014-08-26 Thread Lukasz Majewski
Hi Steve, On 14-08-25 07:57 AM, Lukasz Majewski wrote: Hi Steve, This series implements the fastboot flash command for eMMC devices. It supports both raw and sparse images. NOTES: - the support for the fastboot flash command is enabled with CONFIG_FASTBOOT_FLASH - the

Re: [U-Boot] [PATCH v5 1/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-26 Thread Lukasz Majewski
Hi Steve, - add support for 'fastboot flash' command for eMMC devices Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v5: None Changes in v4: - rearranged this patchset so that sparse_format.h can be dropped (if we cannot resolve the copyright/licensing issues) - update

Re: [U-Boot] [PATCH v5 1/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-26 Thread Marek Vasut
On Tuesday, August 26, 2014 at 11:28:43 AM, Lukasz Majewski wrote: Hi Steve, - add support for 'fastboot flash' command for eMMC devices Signed-off-by: Steve Rae s...@broadcom.com If those are only small things, I think we can fix them up ourselves before applying, no? Let's do just

Re: [U-Boot] [PATCH v2] arm: tegra: initial support for apalis t30

2014-08-26 Thread Marcel Ziswiler
On Mon, 2014-08-25 at 10:09 -0600, Stephen Warren wrote: This sounds like, if we enable it, it should be part of one of include/configs/tegra*.h, not just one board-specific file. I think we should drop it from this patch, and add it to an appropriate common file in a separate patch. OK,

[U-Boot] [PATCH] arm: tegra: use architecture specific memcpy

2014-08-26 Thread Marcel Ziswiler
Use architecture specific memcpy to speed up things. Signed-off-by: Marcel Ziswiler mar...@ziswiler.com --- include/configs/tegra-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h index 16f45f5..be1c7f5 100644 ---

[U-Boot] [PATCH v3] arm: tegra: initial support for apalis t30

2014-08-26 Thread Marcel Ziswiler
This patch adds board support for the Toradex Apalis T30 a computer on module which can be used on different carrier boards. For the sake of ease of use we do not distinguish between different carrier boards for now as the base module features are deemed sufficient enough for regular booting.

[U-Boot] [PATCH] imx: nitrogen6x: Replace 'fatload' by 'load' command in env settings to be filesystem independent

2014-08-26 Thread Guillaume GARDET
nitrogen6x.h file defines CONFIG_CMD_FS_GENERIC, so we are able to use generic 'load' command instead of 'fatload'. It allows to use ext filesystem and keep compatibilty with fat filesystem. Signed-off-by: Guillaume GARDET guillaume.gar...@free.fr Cc: Stefano Babic sba...@denx.de ---

Re: [U-Boot] [U-Boot,1/2] e1000: Implement dcache support

2014-08-26 Thread Vasili Galka
Hi Marek, On Fri, Aug 8, 2014 at 5:41 PM, Tim Harvey thar...@gateworks.com wrote: From: Marek Vasut ma...@denx.de Implement proper support for cache flushing and invalidation into the Intel e1000 NIC driver. Signed-off-by: Marek Vasut ma...@denx.de Acked-by: Tim Harvey

Re: [U-Boot] [U-Boot,1/2] e1000: Implement dcache support

2014-08-26 Thread Marek Vasut
On Tuesday, August 26, 2014 at 12:38:44 PM, Vasili Galka wrote: Hi Marek, On Fri, Aug 8, 2014 at 5:41 PM, Tim Harvey thar...@gateworks.com wrote: From: Marek Vasut ma...@denx.de Implement proper support for cache flushing and invalidation into the Intel e1000 NIC driver.

[U-Boot] [PATCH] axs101: Fix type mismatch warning

2014-08-26 Thread Vasili Galka
Initialization of pointer from integer shall be designated by explicit type cast. Signed-off-by: Vasili Galka vvv...@gmail.com Cc: Alexey Brodkin alexey.brod...@synopsys.com --- board/synopsys/axs101/nand.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [U-Boot,1/2] e1000: Implement dcache support

2014-08-26 Thread Marek Vasut
On Tuesday, August 26, 2014 at 12:44:31 PM, Marek Vasut wrote: On Tuesday, August 26, 2014 at 12:38:44 PM, Vasili Galka wrote: Hi Marek, On Fri, Aug 8, 2014 at 5:41 PM, Tim Harvey thar...@gateworks.com wrote: From: Marek Vasut ma...@denx.de Implement proper support for cache

[U-Boot] [PATCH] openrisc: Fix a few type cast related warnings

2014-08-26 Thread Vasili Galka
Use size_t type for positive offsets instead of the loff_t type. The later is defined as long long, which is larger than the pointer type on OpenRISC architecture and therefore the following warning was generated: warning: cast to pointer from integer of different size Signed-off-by: Vasili

[U-Boot] [PATCH] arc: Fix printf size_t format related warnings (again...)

2014-08-26 Thread Vasili Galka
The basic idea: Define size_t using the __SIZE_TYPE__ compiler-defined type. For detailed explanation see similar patch for the nios2 arch: http://patchwork.ozlabs.org/patch/379938/ Signed-off-by: Vasili Galka vvv...@gmail.com Cc: Alexey Brodkin alexey.brod...@synopsys.com ---

[U-Boot] [PATCH] Fix a few printf argument verification warnings

2014-08-26 Thread Vasili Galka
The parameters of size_t type shall be formatted using %zu and not using %d. Precision argument for the %.*s parameters shall be of int type. Signed-off-by: Vasili Galka vvv...@gmail.com --- common/bouncebuf.c|2 +- common/cmd_mtdparts.c |4 ++-- common/spl/spl.c |2 +- 3

[U-Boot] [PATCH] microblaze: Fix printf size_t format related warnings (again...)

2014-08-26 Thread Vasili Galka
The basic idea: Define size_t using the __SIZE_TYPE__ compiler-defined type. For detailed explanation see similar patch for the nios2 arch: http://patchwork.ozlabs.org/patch/379938/ Signed-off-by: Vasili Galka vvv...@gmail.com Cc: Michal Simek mon...@monstr.eu ---

[U-Boot] [PATCH] mpc5xxx: Add stub implementation of cache functions

2014-08-26 Thread Vasili Galka
Some drivers (e.g. net/e1000) reference these functions. So, this fixes the build of MVBC_P board. I'm not familiar with the MPC5xxx platform, maybe a full implementation shall be implemented instead of this stub in the future. Signed-off-by: Vasili Galka vvv...@gmail.com Cc: Wolfgang Denk

[U-Boot] socfpga: immediate hang when accessing memory at 0x10000

2014-08-26 Thread Pavel Machek
Hi! I got networking and MMC card to work on recent u-boot, but now I'm hitting DRAM region where any access just hangs the system. Any idea what could be there / why is it hanging? I tried reset_assert_all_bridges(), but no change. Memory from md 10 works ok, again, so it seems the only

Re: [U-Boot] [PATCH] sun7i: Add support for Olimex A20-OLinuXino-LIME

2014-08-26 Thread Naoki FUKAUMI
hi On Mon, Aug 25, 2014 at 2:01 AM, Ian Campbell i...@hellion.org.uk wrote: On Sun, 2014-08-24 at 22:24 +0900, Naoki FUKAUMI wrote: Looks good but please also add an entry to board/sunxi/MAINTAINERS. I see, but sorry, who should maintain this board? You, I hope! I'm not sure what u-boot

Re: [U-Boot] [PATCH v5 3/4] usb/gadget: fastboot: minor cleanup

2014-08-26 Thread Lukasz Majewski
Hi Steve, - update static function - additional debugging statements - update fastboot command information - add missing include file - update spelling Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v5: None Changes in v4: - update debug string as per feedback Changes

Re: [U-Boot] [PATCH v5 4/4] usb/gadget: fastboot: implement sparse format

2014-08-26 Thread Lukasz Majewski
Hi Steve, - add capability to fastboot flash with sparse format images Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v5: - use the common/aboot.c for the sparse format handling Changes in v4: - rearranged sparse format support in this patchset, in order to isolate...

[U-Boot] MMC interfaces on AM335x

2014-08-26 Thread Andy Pont
Hello, I am working on a port of U-Boot to a custom hardware platform based on the TI AM3354. According to the schematics from the hardware design company, the AM3354 has a 4bit MMC interface (MMC0) which has been connected to a uSD card connector. There is a second interface (8bit) connected to

[U-Boot] Should ARM custodian tree pull-reqs still go through the ARM tree ?

2014-08-26 Thread Hans de Goede
Hi All, Albert lately seems quite busy, and has a somewhat largish turn around time for things like pull-reqs. This mail is in no way intended as a complaint against Albert, we all have personal lives, and we all have periods were we are more busy then other periods in our lives. But now that

Re: [U-Boot] [PATCH] axs101: Fix type mismatch warning

2014-08-26 Thread Alexey Brodkin
Hi Vasili, On Tue, 2014-08-26 at 13:46 +0300, Vasili Galka wrote: Initialization of pointer from integer shall be designated by explicit type cast. Signed-off-by: Vasili Galka vvv...@gmail.com Cc: Alexey Brodkin alexey.brod...@synopsys.com --- board/synopsys/axs101/nand.c |4 ++--

Re: [U-Boot] [PATCH] axs101: Fix type mismatch warning

2014-08-26 Thread Vasili Galka
Hi Alexey, On Tue, Aug 26, 2014 at 4:52 PM, Alexey Brodkin alexey.brod...@synopsys.com wrote: Hi Vasili, On Tue, 2014-08-26 at 13:46 +0300, Vasili Galka wrote: Initialization of pointer from integer shall be designated by explicit type cast. Signed-off-by: Vasili Galka vvv...@gmail.com

[U-Boot] [PATCH] common: fix compiler warning on wrong printf format

2014-08-26 Thread Alexey Brodkin
bounce_buffer-len_aligned is of type size_t, but on some arches/compilers size_t might be an alias to whether int, long or their signed/unsigned flavors. So to make compiler happy we explicitly cast to int which is expected in printf for %d format. this fixes following warning: --

Re: [U-Boot] [PATCH v9 11/14] buildman: Add an option to show which boards caused which errors

2014-08-26 Thread Tom Rini
On Mon, Aug 25, 2014 at 03:14:38PM -0400, Tom Rini wrote: On Mon, Aug 25, 2014 at 09:58:32AM -0600, Simon Glass wrote: Add a -l option to display a list of offending boards against each error/warning line. The information will be shown in brackets as below: 02: wip sandbox: +

Re: [U-Boot] [PATCH v9 10/14] buildman: Remove the directory prefix from each error line

2014-08-26 Thread Tom Rini
On Mon, Aug 25, 2014 at 09:58:31AM -0600, Simon Glass wrote: The full path is long and also includes buildman private directories. Clean this up, so that only a relative U-Boot path is shown. This is missing a global somewhere perhaps? I do buildman ... -o /tmp/username/toolchain/ and see

[U-Boot] [PATCH v2] axs101: Fix type mismatch warning

2014-08-26 Thread Vasili Galka
Initialization of pointer from integer shall be designated by explicit type cast. Signed-off-by: Vasili Galka vvv...@gmail.com Cc: Alexey Brodkin alexey.brod...@synopsys.com --- Changes for v2: - Verified complience with checkpatch.pl (wrapped long lines) board/synopsys/axs101/nand.c | 6

Re: [U-Boot] [PATCH] net: cpsw: am335x: Drop constant link checking from rx/tx path's

2014-08-26 Thread Tom Rini
On Mon, Aug 25, 2014 at 11:26:19AM +0200, Stefan Roese wrote: We noticed on the DXR2 platform (AM335x with a SMSC LAN9303 switch connected to the CPSW MAC) that the network performance in U-Boot is quite poor. Only when the transfer is started without a cable connected, and the cable is

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

2014-08-26 Thread Alexey Brodkin
Hi Tom, The following changes since commit 7bee1c91a94db19bd26f92cc67be35d3592c6429: Merge branch 'ag...@denx.de' of git://git.denx.de/u-boot-staging (2014-08-25 08:34:39 -0400) are available in the git repository at: git://git.denx.de/u-boot-arc.git master for you to fetch changes up to

Re: [U-Boot] MMC interfaces on AM335x

2014-08-26 Thread Tom Rini
On Tue, Aug 26, 2014 at 01:57:23PM +0100, Andy Pont wrote: Hello, I am working on a port of U-Boot to a custom hardware platform based on the TI AM3354. According to the schematics from the hardware design company, the AM3354 has a 4bit MMC interface (MMC0) which has been connected to a uSD

Re: [U-Boot] [GENERIC_BOARD] env problems before relocation with ppc8360

2014-08-26 Thread Valentin Longchamp
Hello, Here is the outcome of my debug session today: On 08/25/2014 05:42 PM, Valentin Longchamp wrote: Hello, I am currently porting all the Keymile boards to CONFIG_SYS_GENERIC_BOARD. On u-boot 2014.10-rc1 I have all of them working quite well (at least booting and showing no obvious

Re: [U-Boot] [PATCH v2] axs101: Fix type mismatch warning

2014-08-26 Thread Alexey Brodkin
Hi Vasili, On Tue, 2014-08-26 at 17:50 +0300, Vasili Galka wrote: Initialization of pointer from integer shall be designated by explicit type cast. Signed-off-by: Vasili Galka vvv...@gmail.com Cc: Alexey Brodkin alexey.brod...@synopsys.com --- Changes for v2: - Verified complience

Re: [U-Boot] [PATCH] arc: Fix printf size_t format related warnings (again...)

2014-08-26 Thread Alexey Brodkin
Hi Vasili, On Tue, 2014-08-26 at 13:44 +0300, Vasili Galka wrote: The basic idea: Define size_t using the __SIZE_TYPE__ compiler-defined type. For detailed explanation see similar patch for the nios2 arch: http://patchwork.ozlabs.org/patch/379938/ Signed-off-by: Vasili Galka

[U-Boot] [PATCH v2 00/40] ARM: tegra: Add PCIe support

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com This series adds PCIe support for Tegra20, Tegra30 and Tegra124. The size is mostly due to the large number of infrastructure that's added (libfdt, Tegra specific drivers required by the PCIe driver). In this version I've included all patches that were

[U-Boot] [PATCH v2 02/40] fdt: Add a function to count strings

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Given a device tree node and a property name, the fdt_count_strings() function counts the number of strings found in the property value. Signed-off-by: Thierry Reding tred...@nvidia.com --- include/libfdt.h| 9 + lib/libfdt/fdt_ro.c | 20

[U-Boot] [PATCH v2 01/40] vsprintf: Add modifier for phys_addr_t

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Provide a new modifier to vsprintf() to print phys_addr_t variables to avoid having to cast or #ifdef when printing them out. The %pa modifier is used for this purpose, so phys_addr_t variables need to be passed by reference, like so: phys_addr_t

[U-Boot] [PATCH v2 03/40] fdt: Add a function to get the index of a string

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Given a device tree node and a property name, the new fdt_find_string() function will look up a given string in the string list contained in the property's value and return its index. Signed-off-by: Thierry Reding tred...@nvidia.com --- Changes in v2: -

[U-Boot] [PATCH v2 04/40] fdt: Add functions to retrieve strings

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Given a device tree node, a property name and an index, the new function fdt_get_string_index() will return in an output argument a pointer to the index'th string in the property's value. The fdt_get_string() is a shortcut for the above with the index

[U-Boot] [PATCH v2 06/40] fdt: Add a function to return PCI BDF triplet

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com The fdtdec_pci_get_bdf() function returns the bus, device, function triplet of a PCI device by parsing the reg property according to the PCI device tree binding. Acked-by: Simon Glass s...@chromium.org Signed-off-by: Thierry Reding tred...@nvidia.com ---

[U-Boot] [PATCH v2 07/40] fdt: Add a subnodes iterator macro

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com The fdt_for_each_subnode() iterator macro provided by this patch can be used to iterate over a device tree node's subnodes. At each iteration a loop variable will be set to the next subnode. Acked-by: Simon Glass s...@chromium.org Signed-off-by: Thierry

[U-Boot] [PATCH v2 10/40] Add pr_fmt() macro

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com This macro can be overridden in source files (before including common.h) and can be used to specify a prefix for debug and error messages. An example of how to use this is shown below: #define pr_fmt(fmt) foo: fmt #include common.h

[U-Boot] [PATCH v2 08/40] pci: Abort early if bus does not exist

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com When listing the devices on a PCI bus, the current code will blindly try to access all devices. Internally this causes pci_bus_to_hose() to be repeatedly called and output an error message every time. Prevent this by calling pci_bus_to_hose() once and abort

[U-Boot] [PATCH v2 11/40] i2c: Initialize the correct bus

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com i2c_bus_init() takes a bus number but relies on the currently selected bus to determine which adapter to initialize. Make the function use the bus passed in as parameter rather than the currently selected bus. While at it, keep a pointer to the specified

[U-Boot] [PATCH v2 09/40] pci: Honour pci_skip_dev()

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com When enumerating devices, honour the pci_skip_dev() function. This can be used by PCI controller drivers to restrict which devices will be probed. This is required by the NVIDIA Tegra PCIe controller driver, which will fail with a data abort exception if

[U-Boot] [PATCH v2 13/40] i2c: Add high-level API

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com This API operates on I2C adapters or I2C clients (a new type of object that refers to a particular slave connected to an adapter). This is useful to avoid having to call i2c_set_bus_num() whenever a device is being accessed. Drivers for I2C devices are

[U-Boot] [PATCH v2 14/40] i2c: tegra: Implement i2c_get_bus_num_fdt()

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com This is useful to retrieve the U-Boot bus number of an I2C controller given a device tree node. Signed-off-by: Thierry Reding tred...@nvidia.com --- drivers/i2c/tegra_i2c.c | 13 + 1 file changed, 13 insertions(+) diff --git

[U-Boot] [PATCH v2 12/40] i2c: Refactor adapter initialization

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com A subsequent patch will introduce a new API to access I2C adapters directly rather than going through the bus number and constantly looking up the same adapter. In order to share the adapter initialization code, move it into a separate function and make

[U-Boot] [PATCH v2 16/40] ARM: tegra: Implement tegra_plle_enable()

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com This function is required by PCIe and SATA. This patch implements it on Tegra20, Tegra30 and Tegra124. It isn't implemented for Tegra114 because it doesn't support PCIe or SATA. Acked-by: Stephen Warren swar...@nvidia.com Signed-off-by: Thierry Reding

[U-Boot] [PATCH v2 17/40] ARM: tegra: Provide PCIEXCLK reset ID

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com This reset is required for PCIe and the corresponding ID therefore needs to be defined. The enumeration value for this was properly defined on some SoCs but not on others. Similarly, some contained it in the mapping of peripheral IDs to clock IDs, other

[U-Boot] [PATCH v2 15/40] power: Add AMS AS3722 PMIC support

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com The AS3722 provides a number of DC/DC converters and LDOs as well as 8 GPIOs. Signed-off-by: Thierry Reding tred...@nvidia.com --- drivers/power/Makefile | 1 + drivers/power/as3722.c | 300 +

[U-Boot] [PATCH v2 18/40] ARM: tegra: Implement powergate support

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Implement the powergate API that allows various power partitions to be power up and down. Signed-off-by: Thierry Reding tred...@nvidia.com --- Changes in v2: - wait for power-up/off operation to complete before returning - document PCIE/VDEC mixup in

[U-Boot] [PATCH v2 20/40] ARM: tegra: Add XUSB pad controller on Tegra124

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com The XUSB pad controller is used for pinmuxing of the XUSB, PCIe and SATA lanes. Acked-by: Stephen Warren swar...@nvidia.com Signed-off-by: Thierry Reding tred...@nvidia.com --- arch/arm/dts/tegra124.dtsi | 10 ++ 1 file changed, 10 insertions(+)

[U-Boot] [PATCH v2 19/40] ARM: tegra: Implement XUSB pad controller

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com This controller was introduced on Tegra114 to handle XUSB pads. On Tegra124 it is also used for PCIe and SATA pin muxing and PHY control. Only the Tegra124 PCIe and SATA functionality is currently implemented, with weak symbols on Tegra114. Tegra20 and

[U-Boot] [PATCH v2 22/40] pci: tegra: Add Tegra PCIe driver

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Add support for the PCIe controller found on some generations of Tegra. Tegra20 has 2 root ports with a total of 4 lanes, Tegra30 has 3 root ports with a total of 6 lanes and Tegra124 has 2 root ports with a total of 5 lanes. This is based on the Linux

[U-Boot] [PATCH v2 23/40] ARM: tegra: Add Tegra20 PCIe device tree node

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Add the device tree node for the PCIe controller found on Tegra20 SoCs. Acked-by: Stephen Warren swar...@nvidia.com Signed-off-by: Thierry Reding tred...@nvidia.com --- Changes in v2: - add missing interrupt-map-mask and interrupt-map properties - include

[U-Boot] [PATCH v2 21/40] ARM: tegra: Enable XUSB pad controller on Jetson TK1

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Add the PCIe and SATA lane configuration to the Jetson TK1 device tree, so that the XUSB pad controller can be appropriately configured. Acked-by: Stephen Warren swar...@nvidia.com Signed-off-by: Thierry Reding tred...@nvidia.com ---

[U-Boot] [PATCH v2 24/40] ARM: tegra: Enable PCIe on TrimSlice

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com The TrimSlice has an ethernet NIC connected to the PCIe bus. Enable the PCIe controller and the network driver so that the device can boot over the network. Signed-off-by: Thierry Reding tred...@nvidia.com --- Changes in v2: - add all regulators from Linux

[U-Boot] [PATCH v2 26/40] ARM: tegra: Add Tegra30 PCIe device tree node

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Add the device tree node for the PCIe controller found on Tegra30 SoCs. Signed-off-by: Thierry Reding tred...@nvidia.com --- Changes in v2: - include unit address in device tree node name - add missing interrupt-map-mask and interrupt-map properties

[U-Boot] [PATCH v2 27/40] ARM: tegra: Enable PCIe on Cardhu

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com The PCIe bus on Cardhu is routed to the dock connector. An ethernet NIC is available on the dock over the PCIe bus. Enable the PCIe controller and the network device driver so that the device can boot over the network. Signed-off-by: Thierry Reding

[U-Boot] [PATCH v2 25/40] ARM: tegra: Add GIC for Tegra30

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Add a device tree node for the GIC found on Tegra30. U-Boot doesn't use it directly but subsequent patches will add device tree nodes that reference it by phandle. Signed-off-by: Thierry Reding tred...@nvidia.com --- arch/arm/dts/tegra30.dtsi | 9

[U-Boot] [PATCH v2 30/40] ARM: tegra: Add Tegra124 PCIe device tree node

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Add the device tree node for the PCIe controller found on Tegra124 SoCs. Acked-by: Stephen Warren swar...@nvidia.com Signed-off-by: Thierry Reding tred...@nvidia.com --- arch/arm/dts/tegra124.dtsi | 67 ++

[U-Boot] [PATCH v2 28/40] ARM: tegra: Enable PCIe on Beaver

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com The Beaver has an ethernet NIC connected to the PCIe bus. Enable the PCIe controller and the network device driver so that the device can boot over the network. In addition the board has a mini-PCIe expansion slot. Signed-off-by: Thierry Reding

[U-Boot] [PATCH v2 33/40] ARM: cache-cp15: Use more accurate types

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com size_t is the canonical type to represent variables that contain a size. Use it instead of signed integer. Physical addresses can be larger than 32-bit, so use a more appropriate type for them as well. phys_addr_t is a type that is 32-bit on systems that

[U-Boot] [PATCH v2 29/40] ARM: tegra: Add GIC for Tegra124

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Add a device tree node for the GIC v2 found on the Cortex-A15 CPU complex of Tegra124. U-Boot doesn't use this but subsequent patches will add device tree nodes that reference it by phandle. Acked-by: Stephen Warren swar...@nvidia.com Signed-off-by:

[U-Boot] [PATCH v2 31/40] ARM: tegra: Enable PCIe on Jetson TK1

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com The Jetson TK1 has an ethernet NIC connected to the PCIe bus and routes the second root port to a miniPCIe slot. Enable the PCIe controller and the network driver to allow the device to boot over the network. Signed-off-by: Thierry Reding

[U-Boot] [PATCH v2 34/40] malloc: Output region when debugging

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com When DEBUG is set, output memory region used for malloc(). Signed-off-by: Thierry Reding tred...@nvidia.com --- common/dlmalloc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/dlmalloc.c b/common/dlmalloc.c index f9873393c183..3d6391e60acf

[U-Boot] [PATCH v2 32/40] ARM: cache_v7: Various minor cleanups

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Remove two gratuituous blank lines, uses u32 (instead of int) as the type for values that will be written to a register, moves the beginning of the variable declaration section to a separate line (rather than the one with the opening brace) and keeps the

[U-Boot] [PATCH v2 38/40] net: rtl8169: Properly align buffers

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com RX and TX descriptor rings should be aligned to 256 byte boundaries. Use the DEFINE_ALIGN_BUFFER() macro to define the buffers so that they don't have to be manually aligned later on. Also make sure that the buffers do align to cache-line boundaries in case

[U-Boot] [PATCH v2 37/40] net: rtl8169: Honor CONFIG_SYS_RX_ETH_BUFFER

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com According to the top-level README file, this configuration setting can be used to override the number of receive buffers that an ethernet NIC uses. Signed-off-by: Thierry Reding tred...@nvidia.com --- drivers/net/rtl8169.c | 6 +- 1 file changed, 5

[U-Boot] [PATCH v2 36/40] ARM: tegra: Enable non-cached memory

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Some boards, most notably those with a PCIe ethernet NIC, require this to avoid cache coherency problems. Since the option adds very little code and overhead enable it across all Tegra generations. Other drivers may also start supporting this functionality

[U-Boot] [PATCH v2 35/40] ARM: Implement non-cached memory support

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Implement an API that can be used by drivers to allocate memory from a pool that is mapped uncached. This is useful if drivers would otherwise need to do extensive cache maintenance (or explicitly maintaining the cache isn't safe). The API is protected

[U-Boot] [PATCH v2 05/40] fdt: Add resource parsing functions

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Add the fdt_get_resource() and fdt_get_named_resource() functions which can be used to parse resources (memory regions) from an FDT. A helper to compute the size of a region is also provided. Signed-off-by: Thierry Reding tred...@nvidia.com --- Changes in

[U-Boot] [PATCH v2 40/40] net: rtl8169: Add support for RTL-8168/8111g

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com This network interface card in found on the NVIDIA Jetson TK1. Signed-off-by: Thierry Reding tred...@nvidia.com --- drivers/net/rtl8169.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c index

[U-Boot] [PATCH v2 39/40] net: rtl8169: Use non-cached memory if available

2014-08-26 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com To work around potential issues with explicit cache maintenance of the RX and TX descriptor rings, allocate them from a pool of uncached memory if the architecture supports it. Signed-off-by: Thierry Reding tred...@nvidia.com --- Changes in v2: - if

Re: [U-Boot] [PATCH v3] arm: tegra: initial support for apalis t30

2014-08-26 Thread Stephen Warren
On 08/26/2014 03:59 AM, Marcel Ziswiler wrote: This patch adds board support for the Toradex Apalis T30 a computer on module which can be used on different carrier boards. For the sake of ease of use we do not distinguish between different carrier boards for now as the base module features are

Re: [U-Boot] [PATCH v5 0/4] Implement fastboot flash for eMMC

2014-08-26 Thread Steve Rae
On 14-08-26 02:14 AM, Lukasz Majewski wrote: Hi Steve, On 14-08-25 07:57 AM, Lukasz Majewski wrote: Hi Steve, This series implements the fastboot flash command for eMMC devices. It supports both raw and sparse images. NOTES: - the support for the fastboot flash command is enabled with

Re: [U-Boot] [PATCH] arm: tegra: use architecture specific memcpy

2014-08-26 Thread Stephen Warren
On 08/26/2014 03:49 AM, Marcel Ziswiler wrote: Use architecture specific memcpy to speed up things. Tested-by: Stephen Warren swar...@nvidia.com On Jetson TK1, this makes my dhcp zImage on my USB ethernet dongle got from ~1.7MiB/s to ~2.8MiB/s :-)

Re: [U-Boot] [PATCH v2 01/40] vsprintf: Add modifier for phys_addr_t

2014-08-26 Thread Stephen Warren
On 08/26/2014 09:33 AM, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com Provide a new modifier to vsprintf() to print phys_addr_t variables to avoid having to cast or #ifdef when printing them out. The %pa modifier is used for this purpose, so phys_addr_t variables need to be

[U-Boot] [PATCH v6 0/4] Implement fastboot flash for eMMC

2014-08-26 Thread Steve Rae
This series implements the fastboot flash command for eMMC devices. It supports both raw and sparse images. NOTES: - the support for the fastboot flash command is enabled with CONFIG_FASTBOOT_FLASH - the support for eMMC is enabled with CONFIG_FASTBOOT_FLASH_MMC_DEV - (future) the support for

[U-Boot] [PATCH v6 2/4] usb/gadget: fastboot: add support for flash command

2014-08-26 Thread Steve Rae
- implement 'fastboot flash' for eMMC devices Signed-off-by: Steve Rae s...@broadcom.com Acked-by: Lukasz Majewski l.majew...@samsung.com Reviewed-by: Marek Vasut ma...@denx.de --- Changes in v6: - fix spelling Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - update

[U-Boot] [PATCH v6 4/4] usb/gadget: fastboot: implement sparse format

2014-08-26 Thread Steve Rae
- add capability to fastboot flash with sparse format images Signed-off-by: Steve Rae s...@broadcom.com Acked-by: Lukasz Majewski l.majew...@samsung.com --- Changes in v6: - remove excess braces Changes in v5: - use the common/aboot.c for the sparse format handling Changes in v4: - rearranged

[U-Boot] [PATCH v6 3/4] usb/gadget: fastboot: minor cleanup

2014-08-26 Thread Steve Rae
- update static function - additional debugging statements - update fastboot command information - add missing include file - update spelling Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v6: - printf() to error() Changes in v5: None Changes in v4: - update debug string as per

[U-Boot] [PATCH v6 1/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-26 Thread Steve Rae
- add support for 'fastboot flash' command for eMMC devices Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v6: - printf() to error() Changes in v5: None Changes in v4: - rearranged this patchset so that sparse_format.h can be dropped (if we cannot resolve the copyright/licensing

Re: [U-Boot] [PATCH v5 1/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-26 Thread Steve Rae
Steve agrees!!! -- I have fixed them this time, see v6, However, I have no issue with you cleaning up the minor issues THANKS, Steve On 14-08-26 02:41 AM, Marek Vasut wrote: On Tuesday, August 26, 2014 at 11:28:43 AM, Lukasz Majewski wrote: Hi Steve, - add support for 'fastboot flash'

Re: [U-Boot] [PATCH] mpc5xxx: Add stub implementation of cache functions

2014-08-26 Thread Marek Vasut
On Tuesday, August 26, 2014 at 01:05:31 PM, Vasili Galka wrote: Some drivers (e.g. net/e1000) reference these functions. So, this fixes the build of MVBC_P board. I'm not familiar with the MPC5xxx platform, maybe a full implementation shall be implemented instead of this stub in the future.

Re: [U-Boot] [PATCH] mpc5xxx: Add stub implementation of cache functions

2014-08-26 Thread Scott Wood
On Tue, 2014-08-26 at 21:45 +0200, Marek Vasut wrote: On Tuesday, August 26, 2014 at 01:05:31 PM, Vasili Galka wrote: Some drivers (e.g. net/e1000) reference these functions. So, this fixes the build of MVBC_P board. I'm not familiar with the MPC5xxx platform, maybe a full

Re: [U-Boot] [PATCH] mpc5xxx: Add stub implementation of cache functions

2014-08-26 Thread Marek Vasut
On Tuesday, August 26, 2014 at 09:48:26 PM, Scott Wood wrote: On Tue, 2014-08-26 at 21:45 +0200, Marek Vasut wrote: On Tuesday, August 26, 2014 at 01:05:31 PM, Vasili Galka wrote: Some drivers (e.g. net/e1000) reference these functions. So, this fixes the build of MVBC_P board. I'm

Re: [U-Boot] [PATCH] common: fix compiler warning on wrong printf format

2014-08-26 Thread Chris Packham
On Wed, Aug 27, 2014 at 2:02 AM, Alexey Brodkin alexey.brod...@synopsys.com wrote: bounce_buffer-len_aligned is of type size_t, but on some arches/compilers size_t might be an alias to whether int, long or their signed/unsigned flavors. So to make compiler happy we explicitly cast to int

Re: [U-Boot] [PATCH v2 01/40] vsprintf: Add modifier for phys_addr_t

2014-08-26 Thread Simon Glass
Hi Thierry, On 26 August 2014 09:33, Thierry Reding thierry.red...@gmail.com wrote: From: Thierry Reding tred...@nvidia.com Provide a new modifier to vsprintf() to print phys_addr_t variables to avoid having to cast or #ifdef when printing them out. The %pa modifier is used for this

Re: [U-Boot] [PATCH v6 03/12] tegra: Convert tegra GPIO driver to use driver model

2014-08-26 Thread Simon Glass
Hi Stephen, On 25 August 2014 14:19, Tom Warren twar...@nvidia.com wrote: Sorry, very low priority for me right now. Try to get someone else to do it, as it may be a long while until I can get to it. Are you able to test it on your board? I can pull it through the DM tree but would like some

Re: [U-Boot] [PATCH V4 0/9] peach_pit: Add support for FIMD, DP and parade chip

2014-08-26 Thread Simon Glass
Hi Minkyu, On 4 August 2014 05:39, Ajay kumar ajayn...@gmail.com wrote: +Minkyu On Mon, Aug 4, 2014 at 4:49 PM, Simon Glass s...@chromium.org wrote: Hi, On 30 July 2014 03:11, Ajay Kumar ajaykumar...@samsung.com wrote: Patchset V1:

Re: [U-Boot] [PATCH v9 0/14] Add some missing buildman features and deprecate MAKEALL

2014-08-26 Thread Simon Glass
Hi Tom, On 25 August 2014 14:21, Tom Rini tr...@ti.com wrote: On Mon, Aug 25, 2014 at 01:00:05PM -0600, Simon Glass wrote: Hi Tom, On 25 August 2014 12:54, Tom Rini tr...@ti.com wrote: On Mon, Aug 25, 2014 at 09:58:21AM -0600, Simon Glass wrote: Buildman has been around for a little

Re: [U-Boot] [PATCH v9 11/14] buildman: Add an option to show which boards caused which errors

2014-08-26 Thread Simon Glass
Hi Tom, On 25 August 2014 13:14, Tom Rini tr...@ti.com wrote: On Mon, Aug 25, 2014 at 09:58:32AM -0600, Simon Glass wrote: Add a -l option to display a list of offending boards against each error/warning line. The information will be shown in brackets as below: 02: wip sandbox: +

Re: [U-Boot] [PATCH v9 10/14] buildman: Remove the directory prefix from each error line

2014-08-26 Thread Simon Glass
Hi Tom, On 26 August 2014 08:13, Tom Rini tr...@ti.com wrote: On Mon, Aug 25, 2014 at 09:58:31AM -0600, Simon Glass wrote: The full path is long and also includes buildman private directories. Clean this up, so that only a relative U-Boot path is shown. This is missing a global somewhere

[U-Boot] Questions on lthor usage

2014-08-26 Thread S Durga Prasad Paladugu
Hi, I have a query on lthor usage. How do i specify the altsetting while sending the lthor download from host. In dfu we are specifying that with -a altnum/altname. I have alt setting to copy the linux images(uImage.devicetree and ramdisk) to DDR at prescribed locations in my device side. Also

Re: [U-Boot] [PATCH v2 11/40] i2c: Initialize the correct bus

2014-08-26 Thread Heiko Schocher
Hello Thierry, Am 26.08.2014 17:33, schrieb Thierry Reding: From: Thierry Redingtred...@nvidia.com i2c_bus_init() takes a bus number but relies on the currently selected bus to determine which adapter to initialize. Make the function use the bus passed in as parameter rather than the currently

[U-Boot] [PATCH] tools/genboardscfg.py: change shebang into /usr/bin/env python2

2014-08-26 Thread Masahiro Yamada
This tool only works on python 2 (python 2.6 or lator). Change the shebang to make sure the script is run by python 2 and clearly say the supported version in the comment block. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- tools/genboardscfg.py | 4 +++- 1 file changed, 3

  1   2   >