[U-Boot] [PATCH] dm: ls1021a: Bring in ls1021a dts files from linux kernel

2015-03-23 Thread Haikun Wang
From: haikun haikun.w...@freescale.com Bring in device tree files for ls1021a from linux V3.19. In order to use it in u-boot, make some changes: 1. remove 'gic' node and interrupt related properties in every node. 2. remove 'clockgen' node and clock related properties in every node. 3. change

Re: [U-Boot] [PATCH v2 3/3] board/seco: Add mx6q-uq7 basic board support

2015-03-23 Thread Stefano Babic
On 04/03/2015 13:13, Boris Brezillon wrote: Add basic SECO MX6Q/uQ7 board support (Ethernet, UART, SD are supported). It also adds a Kconfig skeleton to later add more SECO board (supporting SoC and board variants). Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com ---

Re: [U-Boot] [PATCH 2/2] imx:mx6slevk support reading temperature

2015-03-23 Thread Stefano Babic
On 10/03/2015 08:33, Peng Fan wrote: This patch is to support reading temperature for mx6slevk board. Signed-off-by: Peng Fan peng@freescale.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- =

Re: [U-Boot] [PATCH 1/2] imx:mx6dlsabresd fix error detecting thermal

2015-03-23 Thread Stefano Babic
On 10/03/2015 08:33, Peng Fan wrote: Before add CONFIG_SYS_MALLOC_F and CONFIG_SYS_MALLOC_F_LEN, uboot will complains CPU: Temperature: Can't find sensor device. This is because DM and DM_THERMAL are enabled, but SYS_MALLOC_F is not configured. After applying this patch, uboot can

Re: [U-Boot] [PATCH v2 1/3] ARM: mx6: move to a standard arch/board approach

2015-03-23 Thread Stefano Babic
On 04/03/2015 13:13, Boris Brezillon wrote: Freescale boards are currently all defined in arch/arm/Kconfig, which makes them hard to detect. Moreover the MX6 SoC variant (Q, D, DL, S, SL) selection is currently done via the SYS_EXTRA_OPTIONS option which marked as deprecated. Move to a more

Re: [U-Boot] [PATCH v2 2/3] ARM: iMX: define an IMX_CONFIG Kconfig option

2015-03-23 Thread Stefano Babic
On 04/03/2015 13:13, Boris Brezillon wrote: IMX_CONFIG is currently passed via the SYS_EXTRA_OPTIONS which is marked as deprecated. Add a new Kconfig file under arch/arm/imx-common and define the IMX_CONFIG Kconfig in there. Each board is supposed to provide a default value pointing to

Re: [U-Boot] [PATCH] ARM: UniPhier: remove unnecessary CONFIG_SYS_SOC

2015-03-23 Thread Masahiro Yamada
2015-03-16 13:46 GMT+09:00 Masahiro Yamada yamada.masah...@socionext.com: Since commit a86ac9540e20 (ARM: UniPhier: include mach/*.h instead of asm/arch/*.h), UniPhier platform does not need the symbolic link arch/arm/include/asm. This option is not necessary either. Signed-off-by: Masahiro

Re: [U-Boot] [PATCH 0/13] ARM: UniPhier: enable CONFIG_SPL_DM with some clean-ups

2015-03-23 Thread Masahiro Yamada
2015-03-23 0:07 GMT+09:00 Masahiro Yamada yamada.masah...@socionext.com: Masahiro Yamada (13): ARM: UniPhier: include PH1-LD4 Makefile from PH1-sLD8 ARM: UniPhier: move platform devices to SPL ARM: UniPhier: move UART pin settings to SPL ARM: UniPhier: enable CONFIG_PANIC_HANG

[U-Boot] Pull request: u-boot-uniphier

2015-03-23 Thread Masahiro Yamada
Hi Tom, The following changes since commit 21866c34a1b4098a8868c9250daf01baf84c2397: at91sam9rlek_mmc_defconfig: Add CONFIG_ARCH_AT91=y (2015-03-20 10:47:38 -0400) are available in the git repository at: git://git.denx.de/u-boot-uniphier.git master for you to fetch changes up to

Re: [U-Boot] question about software i2c multi instance

2015-03-23 Thread Lukasz Majewski
Hi Bo, Hi Heiko, After check the software i2c code, I found it can not support multi instances, although it has I2C_SOFT_DECLARATIONS2, I2C_SOFT_DECLARATIONS3, I2C_SOFT_DECLARATIONS4. Because, when do GPIO operation, there is only one pair of CONFIG_SOFT_I2C_GPIO_SCL and

Re: [U-Boot] [PATCH v2 7/7] sunxi: Ainol AW1 support

2015-03-23 Thread Hans de Goede
Hi, On 23-03-15 08:09, Chen-Yu Tsai wrote: Hi, On Mon, Mar 23, 2015 at 1:07 AM, Paul Kocialkowski cont...@paulk.fr wrote: Maybe a slight description of the board/device? Never mind I've just merged this in my local tree, adding a short description myself based on (and pointing to):

Re: [U-Boot] [PATCH v7 01/27] test: dm: Reorder the objects to build

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:08, Joe Hershberger joe.hershber...@ni.com wrote: Signed-off-by: Joe Hershberger joe.hershber...@ni.com Acked-by: Simon Glass s...@chromium.org --- Changes in v7: None Applied to u-boot-dm/next, thanks! ___ U-Boot mailing

Re: [U-Boot] [PATCH v2 7/7] sunxi: Ainol AW1 support

2015-03-23 Thread Hans de Goede
Hi, On 23-03-15 08:09, Chen-Yu Tsai wrote: Hi, On Mon, Mar 23, 2015 at 1:07 AM, Paul Kocialkowski cont...@paulk.fr wrote: Maybe a slight description of the board/device? Yes please, note no need to send a new version if you reply with a short description I can add that while merging these.

Re: [U-Boot] serial atag tag in devicetree ?

2015-03-23 Thread Hans de Goede
Hi, On 22-03-15 22:01, Rob Herring wrote: On Sun, Mar 22, 2015 at 6:26 AM, Hans de Goede hdego...@redhat.com wrote: Hi All, I'm sending this mail because Paul Kocialkowski (in the Cc) has submitted a patch for upstream u-boot to set the serial atag tag from u-boot for Allwinner SoCs, using

Re: [U-Boot] question about software i2c multi instance

2015-03-23 Thread Bo Shen
Hi Heiko, On 03/20/2015 06:10 PM, Heiko Schocher wrote: Hello Bo, Am 20.03.2015 10:44, schrieb Bo Shen: Hi Heiko, After check the software i2c code, I found it can not support multi instances, although it has I2C_SOFT_DECLARATIONS2, I2C_SOFT_DECLARATIONS3, I2C_SOFT_DECLARATIONS4.

[U-Boot] [PATCH] usb: dwc2: fix bulk transfers

2015-03-23 Thread Stephen Warren
When I created wait_for_chhltd(), I noticed that some instances of the code it replaced expected the ACK bit to be set and others didn't. I assumed this was an accidental inconsistency in the code, so wrote wait_for_chhltd() to always expect ACK to be set. This code appeared to work correctly for

[U-Boot] [PATCH] ARM: rpi: fix RPi1 board rev detection for warranty bit

2015-03-23 Thread Stephen Warren
Apparently the firmware's board rev response includes both the board revision and some other data even on the RPi1. In particular, the warranty bit is bit 24. We need to mask that out when looking up the board ID. Signed-off-by: Stephen Warren swar...@wwwdotorg.org ---

Re: [U-Boot] [PATCH 3/4] net: Add Intel Topcliff GMAC driver

2015-03-23 Thread Bin Meng
Hi Simon, On Tue, Mar 24, 2015 at 12:18 PM, Simon Glass s...@chromium.org wrote: Hi Bin, On Mar 23, 2015 7:24 PM, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Tue, Mar 24, 2015 at 5:57 AM, Simon Glass s...@chromium.org wrote: Hi Bin, On 20 March 2015 at 13:18, Joe Hershberger

Re: [U-Boot] [PATCH] common/board_f: make board_init_f_mem() independent on !CONFIG_X86

2015-03-23 Thread Alexey Brodkin
Hi Simon, On Mon, 2015-03-23 at 11:26 -0600, Simon Glass wrote: On 23 March 2015 at 10:40, Alexey Brodkin alexey.brod...@synopsys.com wrote: Hi Tom, Simon, On Mon, 2015-03-16 at 11:03 +0300, Alexey Brodkin wrote: Even though board_init_f_mem() is not used on x86 today there's no reason

Re: [U-Boot] [PATCH v4 20/28] armv8/ls2085ardb: Add support of LS2085ARDB platform

2015-03-23 Thread Scott Wood
On Fri, 2015-03-20 at 18:46 -0700, York Sun wrote: On 03/20/2015 05:33 PM, Scott Wood wrote: On Fri, 2015-03-20 at 17:29 -0700, York Sun wrote: diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index f4a7851..7478eb4 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -658,6

Re: [U-Boot] [PATCH 0/3] sunxi: Yones Toptech BD1078 support

2015-03-23 Thread Hans de Goede
Hi, p.s. On 22-03-15 18:12, Paul Kocialkowski wrote: This series goes on top of my previous series that concludes with Ainol AW1 support. Also, if you're interested by the idea of using sunxi_name_to_gpio_bank, this could be extended for UART as well, where *many* different pin mux setups

Re: [U-Boot] [PATCH] sunxi: axp221: Use vbus-available rather then vbus-usable for vbus-detect

2015-03-23 Thread Paul Kocialkowski
Le lundi 23 mars 2015 à 17:28 +0100, Hans de Goede a écrit : vbus-usable does not get set if power is provided through the power barrel connector, even if external 5v is also present on the otg connector. vbus-available correctly always reflects if there is 5v present on the otg connector.

Re: [U-Boot] [PATCH] sunxi: axp221: Use vbus-available rather then vbus-usable for vbus-detect

2015-03-23 Thread Hans de Goede
Hi, On 23-03-15 17:33, Paul Kocialkowski wrote: Le lundi 23 mars 2015 à 17:28 +0100, Hans de Goede a écrit : vbus-usable does not get set if power is provided through the power barrel connector, even if external 5v is also present on the otg connector. vbus-available correctly always reflects

Re: [U-Boot] [PATCH v7 07/27] net: Change return codes from net/eth.c to use errorno constants

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: Many functions returned -1 previously. Change them to return appropriate error codes. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reported-by: Simon Glass s...@chromium.org Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v7 03/27] net: Provide a function to get the current MAC address

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: The current implementation exposes the eth_device struct to code that needs to access the MAC address. Add a wrapper function for this to abstract away the pointer for this operation. Signed-off-by: Joe Hershberger

Re: [U-Boot] [PATCH v7 05/27] net: Remove unneeded extern in net.h

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: Many of the functions in net.h were preceded extern needlessly. Removing them to limit the number of checkpatch.pl complaints. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v7 02/27] common: Make sure arch-specific map_sysmem() is defined

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:08, Joe Hershberger joe.hershber...@ni.com wrote: In the case where the arch defines a custom map_sysmem(), make sure that including just mapmem.h is sufficient to have these functions as they are when the arch does not override it. Also split the non-arch specific

Re: [U-Boot] [PATCH v7 04/27] net: Rename helper function to be more clear

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: Make it clear that the helper is checking the addr, not setting it. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v7: None Applied to u-boot-dm/next,

Re: [U-Boot] [PATCH v7 06/27] net: Refactor in preparation for driver model

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: Move some things around and organize things so that the driver model implementation will fit in more easily. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] [PATCH v7 11/27] net: Access mapped physmem in net functions

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: Previously the net functions would access memory assuming physmem did not need to be mapped. In sandbox, that's not the case. Now we map the physmem specified by the user in loadaddr to the buffer that represents that

Re: [U-Boot] [PATCH v7 12/27] cmd: net: Clean up return codes

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: The return codes in common/cmd_net.c had a number of inconsistencies. Update them to all use the enum from command.h Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] [PATCH v7 15/27] dm: eth: Pass the packet pointer as a parameter to recv

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: Stop forcing drivers to call net_process_received_packet() - formerly called NetReceive(). Now the uclass will handle calling the driver for each packet until the driver errors or has nothing to return. The uclass will

Re: [U-Boot] [PATCH v7 14/27] net: Clean up network stack names used in DM drivers

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: Take the opportunity to enforce better names on newly written or retrofitted Ethernet drivers. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v7: None

Re: [U-Boot] [PATCH v7 08/27] net: Use int instead of u8 for boolean flag

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: On some archs masking the parameter is inefficient, so don't use u8. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reported-by: Simon Glass s...@chromium.org Reviewed-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] [PATCH v7 09/27] net: Remove the bd* parameter from net stack functions

2015-03-23 Thread Simon Glass
Hi Joe, On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: This value is not used by the network stack and is available in the global data, so stop passing it around. For the one legacy function that still expects it (init op on old Ethernet drivers) pass in the global

Re: [U-Boot] [PATCH v7 10/27] net: Make netretry actually do something

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: netretry previously would only retry in one specific case (your MAC address is not set) and no other. This is basically useless. In the DM implementation for eth it turns this into a completely useless case since an

Re: [U-Boot] [PATCH v7 13/27] dm: eth: Add basic driver model support to Ethernet stack

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: First just add support for MAC drivers. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v7: None Applied to u-boot-dm/next, thanks!

Re: [U-Boot] [PATCH v7 18/27] test: dm: eth: Add tests for the eth dm implementation

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: Add a test for the eth uclass using the sandbox eth driver. Verify basic functionality of the network stack / eth uclass by exercising the ping function. Signed-off-by: Joe Hershberger joe.hershber...@ni.com

Re: [U-Boot] [PATCH v7 19/27] dm: eth: Add support for aliases

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: Allow network devices to be referred to as eth0 instead of eth@12345678 when specified in ethact. Add tests to verify this behavior. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v7 17/27] sandbox: eth: Add ARP and PING response to sandbox driver

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: The sandbox driver will now generate response traffic to exercise the ping command even when no network exists. This allows the basic data pathways of the DM to be tested. Signed-off-by: Joe Hershberger

Re: [U-Boot] [PATCH v7 21/27] test: dm: eth: Add testing for ethrotate env var

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: Make sure that the ethrotate behavior occurs as expected. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v7: None Applied to u-boot-dm/next, thanks!

Re: [U-Boot] [PATCH v7 20/27] dm: eth: Add support for ethprime env var

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: The ethprime env var is used to indicate the starting device if none is specified in ethact. Also support aliases specified in the ethprime var. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon

Re: [U-Boot] [PATCH v7 22/27] sandbox: eth: Add ability to disable ping reply in sandbox eth driver

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: This is needed to test the netretry functionality (make the command fail on a sandbox eth device). Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v7:

Re: [U-Boot] [PATCH v7 16/27] sandbox: eth: Add network support to sandbox

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: Add basic network support to sandbox which includes a network driver. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v7: None Applied to

Re: [U-Boot] [PATCH v7 23/27] test: dm: net: Add a test of the netretry behavior

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: The effect of the netretry env var was recently changed. This test checks that behavior. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v7: None

Re: [U-Boot] [PATCH v7 24/27] sandbox: eth: Add a bridge to a real network for sandbox

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: Implement a bridge between U-Boot's network stack and Linux's raw packet API allowing the sandbox to send and receive packets using the host machine's network interface. This raw Ethernet API requires elevated

Re: [U-Boot] [PATCH v7 25/27] sandbox: Enable DHCP and IP defrag

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: This is now testable via the eth-raw interface Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v7: None Applied to u-boot-dm/next, thanks!

Re: [U-Boot] [PATCH v7 27/27] net: Improve error handling

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: Take a pass at plumbing errors through to the users of the network stack Currently only the start() function errors will be returned from NetLoop(). recv() tends not to have errors, so that is likely not worth adding.

Re: [U-Boot] [PATCH v7 26/27] sandbox: eth: Add support for using the 'lo' interface

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger joe.hershber...@ni.com wrote: The 'lo' interface on Linux doesn't support thinks like ARP or link-layer access like we use to talk to a normal network interface. A higher-level network API must be used to access localhost. As written, this interface

Re: [U-Boot] Rework the network stack

2015-03-23 Thread Simon Glass
Hi Jörg, On 22 March 2015 at 14:37, Jörg Krause joerg.krause@embedded.rocks wrote: Hi Joe, On Sa, 2015-03-21 at 22:59 -0500, Joe Hershberger wrote: Hi Jörg, On Sat, Mar 21, 2015 at 3:33 AM, Jörg Krause joerg.krause@embedded.rocks wrote: Hi all, there is an issue with the current

Re: [U-Boot] [PATCH] sunxi: axp221: Use vbus-available rather then vbus-usable for vbus-detect

2015-03-23 Thread Chen-Yu Tsai
Hi, On Mon, Mar 23, 2015 at 9:34 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 23-03-15 17:28, Hans de Goede wrote: vbus-usable does not get set if power is provided through the power barrel connector, even if external 5v is also present on the otg connector. vbus-available

Re: [U-Boot] [PATCH] ARM: tegra: fix colibri_t20 machine type

2015-03-23 Thread Stephen Warren
On 03/23/2015 11:43 AM, Marcel Ziswiler wrote: A while ago I got Russell to change the machine type of our Colibri T20 from COLIBRI_TEGRA2 to COLIBRI_T20 which is also reflected in his machine registry: http://www.arm.linux.org.uk/developer/machines/list.php?id=3323 Only half of the

Re: [U-Boot] [PATCH V2] Document config_distro_bootcmd environment variables for interactive booting.

2015-03-23 Thread Stephen Warren
On 03/21/2015 07:15 AM, Karsten Merker wrote: config_distro_bootcmd.h defines a common boot environment for multiple platforms, including several environment variables that are intended for interactive use by an end-user. Document which variables are considered public interfaces that must

Re: [U-Boot] [PATCH] config: Use booti instead of bootz on 64-bit ARM

2015-03-23 Thread Stephen Warren
On 03/20/2015 11:07 AM, Tom Rini wrote: On Fri, Mar 20, 2015 at 10:17:00AM -0600, Stephen Warren wrote: On 03/20/2015 05:56 AM, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com The bootz command doesn't work with Linux kernel images on 64-bit ARM. The replacement command with the

Re: [U-Boot] [PATCH 4/6] mmc: Continue polling MMC card for OCR only if it is still not ready

2015-03-23 Thread Troy Kisky
On 3/23/2015 12:38 AM, Andrew Gabbasov wrote: Hi Troy, From: Troy Kisky [mailto:troy.ki...@boundarydevices.com] Sent: Friday, March 20, 2015 9:39 PM To: peng@freescale.com; Gabbasov, Andrew; u-boot@lists.denx.de Cc: Eric Nelson Subject: Re: [U-Boot] [PATCH 4/6] mmc: Continue polling

Re: [U-Boot] [PATCH 4/5] ARM: tegra: rename colibri_t20 board folder

2015-03-23 Thread Stephen Warren
On 03/23/2015 11:28 AM, Marcel Ziswiler wrote: In accordance with our other modules supported by U-Boot and as agreed for Apalis/Colibri T30 get rid of the carrier board in the board folder naming. Please note that this temporarily breaks the build as Kconfig within this folder will require

Re: [U-Boot] [PATCH 3/5] ARM: tegra: get rid of colibri_t20-common

2015-03-23 Thread Stephen Warren
On 03/23/2015 11:28 AM, Marcel Ziswiler wrote: As a preparatory step to renaming the board folder as well first get rid of the colibri_t20-common after having integrated it into colibri_t20_iris for now. While at it also migrate to using NVIDIA's common.mk magic. Is it possible to separate

Re: [U-Boot] Rework the network stack

2015-03-23 Thread Simon Glass
Hi, On 23 March 2015 at 13:55, Jörg Krause joerg.krause@embedded.rocks wrote: Joe, Simon, On Mo, 2015-03-23 at 10:46 -0600, Simon Glass wrote: Hi Jörg, On 22 March 2015 at 14:37, Jörg Krause joerg.krause@embedded.rocks wrote: Hi Joe, On Sa, 2015-03-21 at 22:59 -0500, Joe

Re: [U-Boot] [PATCH] config: Define BOOTP client architecture and VCI for ARMv8

2015-03-23 Thread Stephen Warren
On 03/20/2015 11:08 AM, Tom Rini wrote: On Fri, Mar 20, 2015 at 10:22:59AM -0600, Stephen Warren wrote: On 03/20/2015 06:11 AM, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com Reuse the 32-bit ARM client architecture and identify ARMv8 specifically by setting the BOOTP VCI

Re: [U-Boot] Setting up MAC address for eth drivers

2015-03-23 Thread Simon Glass
Hi, On 17 March 2015 at 11:47, Michal Simek michal.si...@xilinx.com wrote: Hi Joe, On 03/17/2015 06:21 PM, Joe Hershberger wrote: Hi Michal, On Tue, Mar 17, 2015 at 11:57 AM, Michal Simek michal.si...@xilinx.com wrote: Hi Joe, On 03/17/2015 04:56 PM, Joe Hershberger wrote: Hi Michal,

Re: [U-Boot] [PATCH 1/2] kbuild: remove *_felconfig target

2015-03-23 Thread Simon Glass
On 13 March 2015 at 03:08, Masahiro Yamada yamada.masah...@socionext.com wrote: This target was added by commit cbdd9a9737cc (sunxi: kconfig: Add %_felconfig rule to enable FEL build of sunxi platforms.). At that time, U-Boot used separate .config files for U-Boot proper and SPL. I

Re: [U-Boot] [PATCH] power: pfuze100 correct macro definition

2015-03-23 Thread Przemyslaw Marczak
Hello Peng, On 03/23/2015 08:34 AM, Peng Fan wrote: Correct the macro PFUZE100_SW1ABC_SETP definition. We should add parenthese for 'x'. Signed-off-by: Peng Fan peng@freescale.com --- include/power/pfuze100_pmic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH 3/3] Kconfig: i2c: add entry for driver-model software i2c

2015-03-23 Thread Lukasz Majewski
Hi Przemyslaw, Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Masahiro Yamada yamad...@jp.panasonic.com Cc: Mike Frysinger vap...@gentoo.org Cc: Simon Glass s...@chromium.org Cc: Heiko Schocher h...@denx.de --- drivers/i2c/Kconfig | 43

Re: [U-Boot] question about software i2c multi instance

2015-03-23 Thread Przemyslaw Marczak
Hello Bo, On 03/23/2015 09:36 AM, Bo Shen wrote: Hi Lukasz, On 03/23/2015 04:28 PM, Lukasz Majewski wrote: Hi Bo, Hi Heiko, After check the software i2c code, I found it can not support multi instances, although it has I2C_SOFT_DECLARATIONS2, I2C_SOFT_DECLARATIONS3,

Re: [U-Boot] [PATCH v2 1/1] ARM: DRA7XX: Add config file for Android with fastboot support

2015-03-23 Thread Lukasz Majewski
Hi Dileep, - Added new configuration for Android fastboot - This is based on following patch modified accordingly http://git.omapzoom.org/?p=repo/u-boot.git;a=commit;h=b2e04f92b5d91c708b6fd6b79d2266966ac51f4b Signed-off-by: Angela Stegmaier angelaba...@ti.com Signed-off-by:

Re: [U-Boot] question about software i2c multi instance

2015-03-23 Thread Bo Shen
Hi Przemyslaw Marczak, On 03/23/2015 04:47 PM, Przemyslaw Marczak wrote: Please look into the Trats2 board code in: board/samsung/trats2/trats2.c lines 130-145 include/configs/trats2.h lines 180-185 It doesn't require i2c driver modifications. But anyway I recommend to use the code of my

[U-Boot] multi-image uImage with fitImage

2015-03-23 Thread fat loser
Hi all, I am currently attempting to port my combined uImage and ramdisk image + dtb over to the fitImage format. I am creating a linux kernel + ramdisk with buildroot and dt blob with buildroot. The .its I am using to create a fitImage is below: /dts-v1/; / { description = Linux kernel;

Re: [U-Boot] [PATCH] mmc: fix OCR Polling

2015-03-23 Thread Andrew Gabbasov
Hi Peng, From: Peng Fan [mailto:peng@freescale.com] Sent: Saturday, March 21, 2015 1:34 PM To: Gabbasov, Andrew; u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH] mmc: fix OCR Polling [skipped] After this patch, if the busy flag is indeed already set (so that the loop body is

Re: [U-Boot] [PATCH] fastboot: check for alias when looking up partition by name

2015-03-23 Thread Lukasz Majewski
Hi Steve, Hi Lukasz, On 15-03-20 12:50 AM, Lukasz Majewski wrote: Hi Steve, On 15-03-12 10:17 AM, Michael Scott wrote: On 03/12/2015 09:23 AM, Steve Rae wrote: [... snip ...] An interesting feature (which seems unnecessary to me...) However, A bit of background:

Re: [U-Boot] [PATCH] usb: ci_udc: fix warnings on 64-bit builds

2015-03-23 Thread Lukasz Majewski
Hi Rob, Change addresses to unsigned long to be compatible with 64-bit builds. Regardless of fixing warnings, the device is still only 32-bit capable. Signed-off-by: Rob Herring r...@kernel.org Cc: Łukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de ---

Re: [U-Boot] [PATCH 1/3] dm: i2c soft: enable driver model for software i2c driver

2015-03-23 Thread Lukasz Majewski
Hi Przemyslaw, This change adds driver model support to software emulated i2c bus driver. To bind the driver, proper device-tree node must be defined, with the following attributes: - alias: to keep proper bus order - compatible: 'soft-i2c' - clock-frequency [Hz] - clock-pin, data-pin:

[U-Boot] [PATCH 3/5] vexpress64: remove board late init, use smhload

2015-03-23 Thread Linus Walleij
This removes the kludgy late board init from the FVP simulator version of Versatile Express 64bit (ARMv8), and replace it with a default boot command using the new smhload command to load the files using semihosting. Tested on the Foundation Model. Signed-off-by: Linus Walleij

[U-Boot] [PATCH 5/5] vexpress64: cut config and defaults for unclear variant

2015-03-23 Thread Linus Walleij
This variant that is neither FVP / Base Model or Juno Versatile Express 64bit is confusing. Get rid of it unless someone can point out what machine that really is. Seems to be an evolutional artifact in the config base. Signed-off-by: Linus Walleij linus.wall...@linaro.org ---

[U-Boot] [PATCH 1/5] armv8: semihosting: do not inline trap call

2015-03-23 Thread Linus Walleij
The semihosting trap call does not like being inlined, probably because that will mean register reordering screwing up the return value in r0, so tag this function noinline. Signed-off-by: Linus Walleij linus.wall...@linaro.org --- arch/arm/lib/semihosting.c | 2 +- 1 file changed, 1

[U-Boot] [PATCH 2/5] armv8: semihosting: add a command to load semihosted images

2015-03-23 Thread Linus Walleij
Instead of sprinkling custom code and calls over the Vexpress64 boardfile, create a command that loads images using semihosting just like we would load from flash memory of over the network, using a special command: smhload image address This will make it possible to remove some custom calls

Re: [U-Boot] [PATCH 03/13] dfu: Build warning fixes for 64-bit

2015-03-23 Thread Lukasz Majewski
Hi Thierry, From: Thierry Reding tred...@nvidia.com Explicitly cast the result of a pointer arithmetic to unsigned int so that it matches the corresponding printf format string. While at it, use %p to print a buffer address rather than %x and an explicit cast (which causes a warning in

[U-Boot] [PATCH 4/5] armv8: semihosting: delete external interface

2015-03-23 Thread Linus Walleij
Now that loading files using semihosting can be done using a command in standard scripts, and we have rewritten the boardfile and added it to the Vexpress64, let's delete the external interface to the semihosting file retrieveal and rely solely on these commands, and staticize them inside that

Re: [U-Boot] [PATCH v2 7/7] sunxi: Ainol AW1 support

2015-03-23 Thread Chen-Yu Tsai
Hi, On Mon, Mar 23, 2015 at 1:07 AM, Paul Kocialkowski cont...@paulk.fr wrote: Maybe a slight description of the board/device? ChenYu Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- board/sunxi/MAINTAINERS | 5 + configs/Ainol_AW1_defconfig | 16 2 files

Re: [U-Boot] [PATCH 4/6] mmc: Continue polling MMC card for OCR only if it is still not ready

2015-03-23 Thread Andrew Gabbasov
Hi Troy, From: Troy Kisky [mailto:troy.ki...@boundarydevices.com] Sent: Friday, March 20, 2015 9:39 PM To: peng@freescale.com; Gabbasov, Andrew; u-boot@lists.denx.de Cc: Eric Nelson Subject: Re: [U-Boot] [PATCH 4/6] mmc: Continue polling MMC card for OCR only if it is still not ready

Re: [U-Boot] question about software i2c multi instance

2015-03-23 Thread Bo Shen
Hi Lukasz, On 03/23/2015 04:28 PM, Lukasz Majewski wrote: Hi Bo, Hi Heiko, After check the software i2c code, I found it can not support multi instances, although it has I2C_SOFT_DECLARATIONS2, I2C_SOFT_DECLARATIONS3, I2C_SOFT_DECLARATIONS4. Because, when do GPIO operation, there is

Re: [U-Boot] [PATCH v3] fastboot: add support for reboot-bootloader command

2015-03-23 Thread Lukasz Majewski
Hi Steve, On 15-02-25 06:10 AM, Alexey Firago wrote: The fastboot reboot-bootloader command is defined to re-enter into fastboot mode after rebooting into bootloader. This command is usually used after updating bootloader via fastboot. This commit implements only a generic side

Re: [U-Boot] [PATCH 10/13] usb: mass-storage: Build warning fixes for 64-bit

2015-03-23 Thread Lukasz Majewski
Hi Thierry, From: Thierry Reding tred...@nvidia.com Fix a printf format mismatch warning seen on 64-bit builds. Cc: Łukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de Signed-off-by: Thierry Reding tred...@nvidia.com --- drivers/usb/gadget/f_mass_storage.c | 2 +- 1

[U-Boot] [PATCH] power: pfuze100 correct macro definition

2015-03-23 Thread Peng Fan
Correct the macro PFUZE100_SW1ABC_SETP definition. We should add parenthese for 'x'. Signed-off-by: Peng Fan peng@freescale.com --- include/power/pfuze100_pmic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/power/pfuze100_pmic.h b/include/power/pfuze100_pmic.h

Re: [U-Boot] [PATCH v6 2/8] lpc32xx: mtd: nand: add MLC NAND controller

2015-03-23 Thread Albert ARIBAUD
Bonjour Scott, Le Fri, 20 Mar 2015 17:41:11 -0500, Scott Wood scottw...@freescale.com a écrit : On Fri, 2015-03-20 at 10:35 +0100, Albert ARIBAUD wrote: Hi Scott, Le Thu, 19 Mar 2015 16:39:42 -0500, Scott Wood scottw...@freescale.com a écrit : On Wed, 2015-03-18 at 10:04 +0100,

Re: [U-Boot] [PATCH 2/3] Kconfig: i2c: remove wrong help message related to dm i2c

2015-03-23 Thread Lukasz Majewski
Hi Przemyslaw, Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Masahiro Yamada yamad...@jp.panasonic.com Cc: Mike Frysinger vap...@gentoo.org Cc: Simon Glass s...@chromium.org Cc: Heiko Schocher h...@denx.de --- drivers/i2c/Kconfig | 11 +-- 1 file changed, 1

Re: [U-Boot] [PATCH 10/13] usb: mass-storage: Build warning fixes for 64-bit

2015-03-23 Thread Lukasz Majewski
Hi Thierry, From: Thierry Reding tred...@nvidia.com Fix a printf format mismatch warning seen on 64-bit builds. Cc: Łukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de Signed-off-by: Thierry Reding tred...@nvidia.com --- drivers/usb/gadget/f_mass_storage.c | 2 +- 1

Re: [U-Boot] [PATCH v3 3/7] m68k: remove arch/m68k/lib/board.c

2015-03-23 Thread Simon Glass
On 19 March 2015 at 04:42, Masahiro Yamada yamada.masah...@socionext.com wrote: All the M68000 boards have switched to Generic Board. This file is no longer necessary. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Cc: Huan Wang alison.w...@freescale.com Cc: Angelo Dureghello

Re: [U-Boot] [PATCH 3/4] net: Add Intel Topcliff GMAC driver

2015-03-23 Thread Simon Glass
Hi Bin, On 20 March 2015 at 13:18, Joe Hershberger joe.hershber...@gmail.com wrote: On Fri, Mar 20, 2015 at 4:12 AM, Bin Meng bmeng...@gmail.com wrote: Add a new driver for the Gigabit Ethernet MAC found on Intel Topcliff Platform Controller Hub. Tested under 10/100 half/full duplex and 1000

Re: [U-Boot] [PATCH 14/28] drivers/fsl-mc: Changed MC firmware loading for new boot architecture

2015-03-23 Thread Kim Phillips
On Mon, 23 Mar 2015 15:06:11 -0500 Rivera Jose-B46482 german.riv...@freescale.com wrote: From: Kim Phillips [mailto:kim.phill...@freescale.com] Sent: Thursday, March 19, 2015 12:53 PM On Thu, 19 Mar 2015 09:45:45 -0700 York Sun york...@freescale.com wrote: From: J. German Rivera

Re: [U-Boot] [PATCH] config: peach: Correct memory layout environment settings

2015-03-23 Thread Simon Glass
Hi Sjoerd, On 12 March 2015 at 15:33, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote: The peach boards have their SDRAM start address at 0x2000 instead of 0x4000 which seems common for all other exynos5 based boards. This means the layout set in exynos5-common.h causes the kernel be

Re: [U-Boot] Rework the network stack

2015-03-23 Thread Jörg Krause
Joe, Simon, On Mo, 2015-03-23 at 10:46 -0600, Simon Glass wrote: Hi Jörg, On 22 March 2015 at 14:37, Jörg Krause joerg.krause@embedded.rocks wrote: Hi Joe, On Sa, 2015-03-21 at 22:59 -0500, Joe Hershberger wrote: Hi Jörg, On Sat, Mar 21, 2015 at 3:33 AM, Jörg Krause

Re: [U-Boot] [PATCH v4 20/28] armv8/ls2085ardb: Add support of LS2085ARDB platform

2015-03-23 Thread Scott Wood
On Mon, 2015-03-23 at 15:04 -0700, York Sun wrote: On 03/23/2015 03:02 PM, Scott Wood wrote: On Fri, 2015-03-20 at 18:46 -0700, York Sun wrote: On 03/20/2015 05:33 PM, Scott Wood wrote: On Fri, 2015-03-20 at 17:29 -0700, York Sun wrote: diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig

Re: [U-Boot] [PATCH] autoboot.c: Add feature to stop autobooting via SHA256 encrypted password

2015-03-23 Thread Simon Glass
Hi Stefan, On 13 March 2015 at 01:15, Stefan Roese s...@denx.de wrote: Hi Simon, On 13.03.2015 03:48, Simon Glass wrote: This patch adds the feature to only stop the autobooting, and therefor boot into the U-Boot prompt, when the input string / password matches a values that is encypted

Re: [U-Boot] [PATCH v4 20/28] armv8/ls2085ardb: Add support of LS2085ARDB platform

2015-03-23 Thread York Sun
On 03/23/2015 03:02 PM, Scott Wood wrote: On Fri, 2015-03-20 at 18:46 -0700, York Sun wrote: On 03/20/2015 05:33 PM, Scott Wood wrote: On Fri, 2015-03-20 at 17:29 -0700, York Sun wrote: diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index f4a7851..7478eb4 100644 --- a/arch/arm/Kconfig

Re: [U-Boot] [PATCH 14/28] drivers/fsl-mc: Changed MC firmware loading for new boot architecture

2015-03-23 Thread Kim Phillips
On Mon, 23 Mar 2015 16:15:56 -0500 Rivera Jose-B46482 german.riv...@freescale.com wrote: -Original Message- From: Kim Phillips [mailto:kim.phill...@freescale.com] Sent: Monday, March 23, 2015 3:34 PM To: Rivera Jose-B46482 Cc: Sun York-R58495; u-boot@lists.denx.de Subject: Re:

Re: [U-Boot] [PATCH 2/2] kbuild: remove scripts/multiconfig.sh

2015-03-23 Thread Simon Glass
On 13 March 2015 at 03:08, Masahiro Yamada yamada.masah...@socionext.com wrote: We have switched to the single .config configuration system, the same one as used in Linux Kernel. The necessary glue code is small enough now, so move it to the top-level Makefile and scripts/kconfig/Makefile,

Re: [U-Boot] [PATCH] common/board_f: make board_init_f_mem() independent on !CONFIG_X86

2015-03-23 Thread Simon Glass
Hi Alexey, On 23 March 2015 at 15:17, Alexey Brodkin alexey.brod...@synopsys.com wrote: Hi Simon, On Mon, 2015-03-23 at 11:26 -0600, Simon Glass wrote: On 23 March 2015 at 10:40, Alexey Brodkin alexey.brod...@synopsys.com wrote: Hi Tom, Simon, On Mon, 2015-03-16 at 11:03 +0300, Alexey

Re: [U-Boot] [PATCH 14/28] drivers/fsl-mc: Changed MC firmware loading for new boot architecture

2015-03-23 Thread Jose Rivera
-Original Message- From: Kim Phillips [mailto:kim.phill...@freescale.com] Sent: Monday, March 23, 2015 3:34 PM To: Rivera Jose-B46482 Cc: Sun York-R58495; u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH 14/28] drivers/fsl-mc: Changed MC firmware loading for new boot architecture

Re: [U-Boot] [PATCH v2 1/7] sunxi: gpio: Indentation fix

2015-03-23 Thread Paul Kocialkowski
Le lundi 23 mars 2015 à 17:21 +0100, Hans de Goede a écrit : Hi, Thanks for the patches, I had to make this fixup (squashed) to fix vbus detect to work on axp221: -- drivers/gpio/sunxi_gpio.c -- index 6296092..670af0c 100644 @@ -21,6

Re: [U-Boot] [PATCH] sunxi: axp221: Use vbus-available rather then vbus-usable for vbus-detect

2015-03-23 Thread Hans de Goede
Hi, On 23-03-15 17:28, Hans de Goede wrote: vbus-usable does not get set if power is provided through the power barrel connector, even if external 5v is also present on the otg connector. vbus-available correctly always reflects if there is 5v present on the otg connector. Except that it

  1   2   >