Re: [U-Boot] [RFC PATCH 4/4 v3] mtd: sf: Add CONFIG_SPI_N25Q256A_RESET for software-reset

2014-10-02 Thread Stefan Roese
On 02.10.2014 01:07, Pavel Machek wrote: On Wed 2014-10-01 21:25:12, Stefan Roese wrote: On 01.10.2014 21:04, Jagan Teki wrote: This is needed for the SoCFPGA booting from SPI NOR flash e.g. (N25Q256A). With these changes, the SoCrates can boot and re-boot (reset) from SPI NOR flash without

Re: [U-Boot] [PATCH] ARM: mx6: Add support for Kosagi Novena

2014-10-02 Thread Sean Cross
On 28/09/2014 04:19, Marek Vasut wrote: On Wednesday, September 24, 2014 at 06:57:06 PM, Sean Cross wrote: [...] +#define NOVENA_AUDIO_PWRON IMX_GPIO_NR(5, 17) +#define NOVENA_HDMI_GHOST_HPD IMX_GPIO_NR(5, 4) +#define NOVENA_PCIE_RESET_GPIO IMX_GPIO_NR(3, 29)

Re: [U-Boot] [PATCH RESEND] vf610twr: Tune DDR initialization settings

2014-10-02 Thread Stefan Agner
Am 2014-09-09 17:19, schrieb Stefano Babic: Hi Stefan, Albert, On 09/09/2014 17:14, Stefan Agner wrote: Hi Albert, The RESEND version of the patch is actually an updated version (maybe I should have increased the version number?) For me, that patch applies cleanly on U-Boot master

Re: [U-Boot] [PATCH] sunxi: Add support for the Mele M3 board

2014-10-02 Thread Ian Campbell
On Wed, 2014-10-01 at 16:23 +0200, Hans de Goede wrote: The Mele M3 is yet another Allwinnner based Android top set box from Mele. It uses a housing similar to the A2000, but without the USM sata storage slot at the top. It features an A20 SoC, 1G RAM, 4G eMMC (unique for Allwinner

Re: [U-Boot] Please sync u-boot-arm/master with u-boot/master

2014-10-02 Thread Albert ARIBAUD
Hi Masahiro, On Thu, 02 Oct 2014 12:53:05 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Ping? Albert, u-boot-arm/master is more than ten days old. I need to prepare my pull-request based on the latest commit. So, please update your repository. You do not need me to merge

Re: [U-Boot] UBI issues on SAMA5D31 NOR flash

2014-10-02 Thread Andy Pont
Hello Heiko, UBI error: vtbl_check: reserved_pebs 81, ubi-good_peb_count 80 UBI error: vtbl_check: too large reserved_pebs, good PEBs 80 Use of UBI is new to me so where are the PEBs configured? Good question ... looking into vtbl_check(), the reserved_pebs value is read from the

Re: [U-Boot] Please sync u-boot-arm/master with u-boot/master

2014-10-02 Thread Albert ARIBAUD
On Thu, 2 Oct 2014 09:35:02 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Masahiro, On Thu, 02 Oct 2014 12:53:05 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Ping? Albert, u-boot-arm/master is more than ten days old. I need to prepare my pull-request

Re: [U-Boot] Please sync u-boot-arm/master with u-boot/master

2014-10-02 Thread Masahiro Yamada
Hi Albert, On Thu, 2 Oct 2014 09:35:02 +0200 Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Masahiro, On Thu, 02 Oct 2014 12:53:05 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Ping? Albert, u-boot-arm/master is more than ten days old. I need to prepare my

Re: [U-Boot] UBI issues on SAMA5D31 NOR flash

2014-10-02 Thread Heiko Schocher
Hello Andy, Am 02.10.2014 10:16, schrieb Andy Pont: Hello Heiko, UBI error: vtbl_check: reserved_pebs 81, ubi-good_peb_count 80 UBI error: vtbl_check: too large reserved_pebs, good PEBs 80 Use of UBI is new to me so where are the PEBs configured? Good question ... looking into

Re: [U-Boot] UBI issues on SAMA5D31 NOR flash

2014-10-02 Thread Andy Pont
Hello Heiko, What says flinfo ? It seems you have protected sectors on your nor flash ... you must unprotect them before using it ... flinfo says that all sectors are read only as the flash device supports block locking and powers up with all sectors in their locked state. The board

Re: [U-Boot] UBI issues on SAMA5D31 NOR flash

2014-10-02 Thread Andy Pont
Hello Heiko, What says flinfo ? It seems you have protected sectors on your nor flash ... you must unprotect them before using it ... flinfo says that all sectors are read only as the flash device supports block locking and powers up with all sectors in their locked state. The board

Re: [U-Boot] Please sync u-boot-arm/master with u-boot/master

2014-10-02 Thread Albert ARIBAUD
Hi Masahiro, On Thu, 02 Oct 2014 17:33:48 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Albert, On Thu, 2 Oct 2014 09:35:02 +0200 Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Masahiro, On Thu, 02 Oct 2014 12:53:05 +0900, Masahiro Yamada

Re: [U-Boot] [PATCH] mmc: set correct block size value in bfin sdh driver

2014-10-02 Thread Pantelis Antoniou
Hi Sonic, On Aug 6, 2014, at 1:14 PM, Sonic Zhang sonic@gmail.com wrote: From: Sonic Zhang sonic.zh...@analog.com Wait data transfer till the data end bit other than the data block end bit is set. Signed-off-by: Sonic Zhang sonic.zh...@analog.com --- drivers/mmc/bfin_sdh.c | 7

Re: [U-Boot] Please sync u-boot-arm/master with u-boot/master

2014-10-02 Thread Masahiro Yamada
Hi Albert, On Thu, 2 Oct 2014 11:58:27 +0200 Albert ARIBAUD albert.u.b...@aribaud.net wrote: Never mind those additional commits: they are commits from u-boot/master which are needed by your branch (or more exactly, which you have based your branch upon) and which are not (yet) in

Re: [U-Boot] [PATCH v3 08/11] dm: imx: Use gpio_request() to request GPIOs

2014-10-02 Thread Nikita Kiryanov
Hi Simon, On 01/10/14 18:22, Simon Glass wrote: Hi Nikita, On 1 October 2014 05:58, Nikita Kiryanov nik...@compulab.co.il wrote: Hi Simon, On 17/09/14 18:02, Simon Glass wrote: GPIOs should be requested before use. Without this, driver model will not permit the GPIO to be used.

Re: [U-Boot] [PATCH] mmc: fix ERASE_GRP_DEF handling

2014-10-02 Thread Pantelis Antoniou
Hi Hannes, On Aug 12, 2014, at 8:47 AM, Hannes Petermaier hannes.peterma...@br-automation.com wrote: Hi, Hannes. Hi Jaehoon, diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index a26f3ce..52a8e36 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -1010,6 +1010,8 @@ static int

Re: [U-Boot] [PATCH 2/2] mmc: restore capacity when switching to partition 0

2014-10-02 Thread Pantelis Antoniou
Hi Tom, On Sep 11, 2014, at 8:45 PM, Tom Rini tr...@ti.com wrote: On Tue, Sep 02, 2014 at 06:31:23PM -0500, Peter A. Bigot wrote: The capacity and lba for an MMC device with part_num 0 reflects the whole device. When mmc_switch_part() successfully switches to a partition, the capacity is

Re: [U-Boot] [PATCH v3] env_mmc: correct fini partition to match init partition

2014-10-02 Thread Pantelis Antoniou
Hi Peter, On Sep 3, 2014, at 8:22 PM, Peter A. Bigot p...@pabigot.com wrote: The code to set the MMC partition uses an weak function to obtain the correct partition number. Use that instead of the compile-time default when deciding whether it needs to switch back. Fixes: 6e7b7df4df43574

Re: [U-Boot] [PATCH v2] mvebu_mmc: Driver addition

2014-10-02 Thread Pantelis Antoniou
Hi Mario, On Aug 25, 2014, at 3:12 PM, Mario Schuknecht mario.schukne...@dresearch-fe.de wrote: In function mvebu_mmc_write notice command timeout. It is possible that a command is done, but a timeout occurred. Enable timeout in set bus function. Set window registers. Without that I

Re: [U-Boot] [PATCH] mmc: Fix mmc bus width

2014-10-02 Thread Pantelis Antoniou
Hi Mario, On Sep 30, 2014, at 6:04 PM, Mario Schuknecht mario.schukne...@dresearch-fe.de wrote: After setting the bus width, the extended CSD register is read. Some selected fields are compared with previously read extended CSD register fields. In this comparison the EXT_CSD_ERASE_GROUP_DEF

[U-Boot] [PATCH v3] imx6: add Bachmann OT1200 board

2014-10-02 Thread Christian Gmeiner
This patch adds support for the OT1200 series of devices. Following components are used in u-boot: + ethernet + i2c + emmc + gpio For more details see README. Changes v1 v2 - make use of enable_cspi_clock(..) - fix usage of OUTPUT_40OHM define - added README Changes v2 v3 - improve

Re: [U-Boot] [PATCH v3] imx6: add Bachmann OT1200 board

2014-10-02 Thread Masahiro Yamada
Hi Christian, On Thu, 2 Oct 2014 13:33:46 +0200 Christian Gmeiner christian.gmei...@gmail.com wrote: --- /dev/null +++ b/board/bachmann/ot1200/Kconfig @@ -0,0 +1,23 @@ +if TARGET_OT1200 + +config SYS_CPU + string + default armv7 + +config SYS_BOARD + string +

Re: [U-Boot] [PATCH v3 09/10] kconfig: move CONFIG_OF_* to Kconfig

2014-10-02 Thread Masahiro Yamada
Hi. On Fri, 26 Sep 2014 09:49:01 -0400 Tom Rini tr...@ti.com wrote: On Thu, Sep 25, 2014 at 07:44:30AM -0600, Simon Glass wrote: Hi, On 25 September 2014 07:18, Tom Rini tr...@ti.com wrote: On Thu, Sep 25, 2014 at 04:38:09PM +0900, Masahiro Yamada wrote: Hi Simon, On

Re: [U-Boot] Boot reason in SPL for OMAP4

2014-10-02 Thread Tom Rini
On Wed, Oct 01, 2014 at 12:13:50PM -0700, Gregoire Gentil wrote: On 10/01/2014 10:34 AM, Tom Rini wrote: On Tue, Sep 30, 2014 at 10:26:08AM -0700, Gregoire Gentil wrote: Hello, In TI x-loader, the boot reason is copied to a scratchpad 0x4A326000 as shown here:

Re: [U-Boot] [PATCH v4 9/9] dm: imx: Move cm_fx6 to use driver model for serial and GPIO

2014-10-02 Thread Nikita Kiryanov
Hi Simon, On 02/10/14 04:57, Simon Glass wrote: Now that serial and GPIO are available for iMX.6, move cm_fx6 over as an example. Acked-by: Igor Grinberg grinb...@compulab.co.il Signed-off-by: Simon Glass s...@chromium.org Acked-by: Nikita Kiryanov nik...@compulab.co.il -- Regards, Nikita

[U-Boot] [PATCH 1/2] dm: imx: i2c: Use gpio_request() to request GPIOs

2014-10-02 Thread Nikita Kiryanov
From: Simon Glass s...@chromium.org GPIOs should be requested before use. Without this, driver model will not permit the GPIO to be used. Cc: Igor Grinberg grinb...@compulab.co.il Signed-off-by: Simon Glass s...@chromium.org Signed-off-by: Nikita Kiryanov nik...@compulab.co.il ---

[U-Boot] [PATCH 2/2] arm: mx6: cm_fx6: use gpio request

2014-10-02 Thread Nikita Kiryanov
Use gpio_request for all the gpios that are utilized by various subsystems in cm-fx6, and refactor the relevant init functions so that all gpios are requested during board_init(), not during subsystem init, thus avoiding the need to manage gpio ownership each time a subsystem is initialized. The

Re: [U-Boot] [PATCH v4 6/9] dm: imx: Use gpio_request() to request GPIOs

2014-10-02 Thread Nikita Kiryanov
Hi Simon, On 02/10/14 04:57, Simon Glass wrote: GPIOs should be requested before use. Without this, driver model will not permit the GPIO to be used. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Adjust error checking to permit calling gpio_request() multiple times - Avoid

[U-Boot] [PATCH 0/2] Split dm: imx: Use gpio_request() to request GPIOs

2014-10-02 Thread Nikita Kiryanov
This series splits the patch dm: imx: Use gpio_request() to request GPIOs into two patches, one for the i2c-mxv7.c stuff retaining Simon Glass as the author, and the other a rework of cm_fx6 subsystem init functions to accomodate calls to gpio_request(). Cc: Igor Grinberg grinb...@compulab.co.il

Re: [U-Boot] [PATCH v1 1/2] odroid: pmic77686: allow bucket voltage settings

2014-10-02 Thread Przemyslaw Marczak
Dear Suriyan, I will try to test it after the weekend. I'm working on a PMIC framework V3 with Trats2 as a base and the buck mode/voltage for Max77686 are yet implemented in my code. But this is okay because the new driver is fully reworked into new file and the support to the old PMIC

[U-Boot] [PATCH] tegra20: tamonten: Fix the early gpio init

2014-10-02 Thread Alban Bedel
To set gpio during the early init we now need to use tegra_spl_gpio_direction_output(), copied from seaboard. Change-Id: Id0aadb17a71b78e75e8c3f8de374102b3eab767b Signed-off-by: Alban Bedel alban.be...@avionic-design.de --- board/avionic-design/common/tamonten.c | 4 +++- 1 file changed, 3

[U-Boot] [PATCH] tegra20: display: Add support for flipped panels

2014-10-02 Thread Alban Bedel
Add support for two new panel properties, flip-vertical and flip-horizontal. If set the display controller will be setup to correctly flip the image. Change-Id: I324b5d2b0b7ebbde7e08e5f32509cf101c057c84 Signed-off-by: Alban Bedel alban.be...@avionic-design.de ---

[U-Boot] [PATCH] ARM: tegra: Use mem size from MC in combination with get_ram_size()

2014-10-02 Thread Marcel Ziswiler
On popular request this now completes the Warren's work started for TK1: aeb3fcb35956461077804720b8a252d50758d7e0 In addition to the move of using the Tegra memory controller (MC) register rather than ODMDATA for T20, T30 and T114 as well it further uses the generic get_ram_size() function (see

Re: [U-Boot] [PATCH] tegra20: tamonten: Fix the early gpio init

2014-10-02 Thread Stephen Warren
On 10/02/2014 09:14 AM, Alban Bedel wrote: To set gpio during the early init we now need to use tegra_spl_gpio_direction_output(), copied from seaboard. Change-Id: Id0aadb17a71b78e75e8c3f8de374102b3eab767b That shouldn't be present on upstream patches. Signed-off-by: Alban Bedel

[U-Boot] [U-boot] [Patch 0/5] keystone_net: use MDIO bus and eth PHY frameworks

2014-10-02 Thread Ivan Khoronzhuk
This patch series optimize keystone_net driver to use MDIO bus and eht PHY frameworks. Based on [U-boot] [Patch v2 0/5] keystone2: serdes: add seredes driver https://www.mail-archive.com/u-boot@lists.denx.de/msg148694.html Ivan Khoronzhuk (5): net: phy: print a number of phy that is not found

[U-Boot] [U-boot] [Patch 3/5] net: keystone_net: register MDIO bus

2014-10-02 Thread Ivan Khoronzhuk
Currently MDIO framework is not used to configure Ethernet PHY. As result some of already implemented functions are duplicated. So register MDIO bus in order to use it. On that stage it's just registered, it'll be used as we start to use PHY framework. Use mdio bus read/write/reset functions in

[U-Boot] [U-boot] [Patch 5/5] net: keystone_net: use general get link function

2014-10-02 Thread Ivan Khoronzhuk
The phy framework has function to get link, so use it instead of own implementation. There is no reason to check SGMII link while sending each packet, phy link is enough. Check SGMII link only while ethernet open. Acked-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Ivan Khoronzhuk

[U-Boot] [U-boot] [Patch 1/5] net: phy: print a number of phy that is not found

2014-10-02 Thread Ivan Khoronzhuk
In case when several Ethernet ports are supported it's convenient to see the number of phy that is not found. Acked-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com --- drivers/net/phy/phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[U-Boot] [U-boot] [Patch 4/5] net: keystone_net: register eth PHYs on MDIO bus

2014-10-02 Thread Ivan Khoronzhuk
As MDIO bus has been added we can register PHYs with it. After registration, the PHY driver will be probed according to the hardware on board. Startup PHY at the ethernet open. Use phy_startup() instead of keystone_get_link_status() when eth open, as it verifies PHY link inside and SGMII link is

[U-Boot] [U-boot] [Patch 2/5] net: keystone_net: use mdio_reset function

2014-10-02 Thread Ivan Khoronzhuk
Don't use mdio_enable twice while eth open. Also rename it to keystone2_mdio_reset as more appropriate name. Acked-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com --- drivers/net/keystone_net.c | 16 ++-- 1 file changed, 2 insertions(+), 14

Re: [U-Boot] [PATCH v3 08/11] dm: imx: Use gpio_request() to request GPIOs

2014-10-02 Thread Simon Glass
Hi Nikita, On 2 October 2014 04:28, Nikita Kiryanov nik...@compulab.co.il wrote: Hi Simon, On 01/10/14 18:22, Simon Glass wrote: Hi Nikita, On 1 October 2014 05:58, Nikita Kiryanov nik...@compulab.co.il wrote: Hi Simon, On 17/09/14 18:02, Simon Glass wrote: GPIOs should be requested

Re: [U-Boot] Call for participation in the U-Boot Mini Summit 2014

2014-10-02 Thread Detlev Zundel
Hi Alexey, thanks a lot for your willingness to do the presentation at the mini summit. As I personally thik your talk fits our agenda pretty well and nobody has said anything different, it is therefore accepted. Currently I plan for 20 minutes / 10 minutes QA slots, would this be ok for your

Re: [U-Boot] [PATCH v4 6/9] dm: imx: Use gpio_request() to request GPIOs

2014-10-02 Thread Simon Glass
Hi Nikita, On 2 October 2014 08:18, Nikita Kiryanov nik...@compulab.co.il wrote: Hi Simon, On 02/10/14 04:57, Simon Glass wrote: GPIOs should be requested before use. Without this, driver model will not permit the GPIO to be used. Signed-off-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] [PATCH] tegra20: tamonten: Fix the early gpio init

2014-10-02 Thread Alban Bedel
On Thu, 02 Oct 2014 09:42:18 -0600 Stephen Warren swar...@wwwdotorg.org wrote: On 10/02/2014 09:14 AM, Alban Bedel wrote: To set gpio during the early init we now need to use tegra_spl_gpio_direction_output(), copied from seaboard. Change-Id: Id0aadb17a71b78e75e8c3f8de374102b3eab767b

[U-Boot] [PATCH 42/42] ARM: tegra: colibri_t30: comment style fix

2014-10-02 Thread Marcel Ziswiler
Signed-off-by: Marcel Ziswiler mar...@ziswiler.com --- arch/arm/dts/tegra30-colibri.dts | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/tegra30-colibri.dts b/arch/arm/dts/tegra30-colibri.dts index 43d03ca..8ede0c0 100644 ---

[U-Boot] [U-boot] [Patch 0/5] keystone2: add network support for K2E SoC and EVM

2014-10-02 Thread Ivan Khoronzhuk
These patches add network support for Keystne2 Edison SoC boards. Based on [U-boot] [Patch 0/5] keystone_net: use MDIO bus and eth PHY frameworks https://www.mail-archive.com/u-boot@lists.denx.de/msg148974.html Hao Zhang (1): board: k2e_evm: add network support Ivan Khoronzhuk (4): ARM:

[U-Boot] [U-boot] [Patch 5/5] board: k2e_evm: add network support

2014-10-02 Thread Ivan Khoronzhuk
From: Hao Zhang hzh...@ti.com This patch adds network support code and enables keystone_net driver usage for k2e_evm evaluation board. Acked-by: Vitaly Andrianov vita...@ti.com Acked-by: Murali Karicheri m-kariche...@ti.com Signed-off-by: Hao Zhang hzh...@ti.com Signed-off-by: Ivan Khoronzhuk

[U-Boot] [U-boot] [Patch 3/5] net: keystone_net: add Keystone2 K2E SoC support

2014-10-02 Thread Ivan Khoronzhuk
The Keystone2 Edison SoC uses the same keystone net driver. This patch adds opportunity to use it by K2E SoCs. Acked-by: Vitaly Andrianov vita...@ti.com Acked-by: Murali Karicheri m-kariche...@ti.com Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com ---

[U-Boot] [U-boot] [Patch 4/5] net: keystone_net: increase PHY auto negotiate time

2014-10-02 Thread Ivan Khoronzhuk
The new Marvel PHY (88E1514) used on K2L/K2E EVM requires longer time to auto negotiate with SoC's SGMII port. It can take about 3 sec to up the PHY after reset, so add code to expose sgmii auto negotiation waiting process. Acked-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Ivan Khoronzhuk

[U-Boot] [U-boot] [Patch 1/5] ARM: keystone2: keysonte_nav: add support for K2E SoC

2014-10-02 Thread Ivan Khoronzhuk
Keystone2 Edison SoC uses the same keystone navigator, but uses different NETCP PktDMA definitions. This patch adds required definitions. Acked-by: Vitaly Andrianov vita...@ti.com Acked-by: Murali Karicheri m-kariche...@ti.com Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com ---

[U-Boot] [U-boot] [Patch 2/5] net: keystone_serdes: add keystone K2E SoC support

2014-10-02 Thread Ivan Khoronzhuk
Keystone2 Edison SoC uses the same keystone SerDes driver. This patch adds support for K2E SoCs. Acked-by: Vitaly Andrianov vita...@ti.com Acked-by: Murali Karicheri m-kariche...@ti.com Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com --- arch/arm/include/asm/arch-keystone/hardware-k2e.h |

Re: [U-Boot] [PATCH 1/3] usb: gadget: fastboot: add max-download-size variable

2014-10-02 Thread Steve Rae
On 14-10-01 07:37 PM, Marek Vasut wrote: On Wednesday, October 01, 2014 at 10:38:57 PM, Steve Rae wrote: On 14-09-30 12:05 PM, Eric Nelson wrote: Current Android Fastboot seems to use 'max-download-size' instead of 'downloadsize' variable to indicate the maximum size of sparse segments. See

[U-Boot] U-Boot Mini Summit

2014-10-02 Thread Detlev Zundel
Hi, the agenda for the U-Boot Mini Summit in a few days in Düsseldorf has now been finalized[1]. It is very encouraging to see such a lot of high-class content and I'm very excited to also meet a lot of new people. Please note that we would like to have as many custodians present as possible at

Re: [U-Boot] [RFC PATCH 4/4 v3] mtd: sf: Add CONFIG_SPI_N25Q256A_RESET for software-reset

2014-10-02 Thread Pavel Machek
On Thu 2014-10-02 04:47:23, Marek Vasut wrote: On Wednesday, October 01, 2014 at 09:04:48 PM, Jagan Teki wrote: On 2 October 2014 00:27, Stefan Roese s...@denx.de wrote: On 01.10.2014 20:25, Marek Vasut wrote: On Wednesday, October 01, 2014 at 05:13:11 PM, Stefan Roese wrote: This is

[U-Boot] [PATCH v1 2/2] odroid: usb: add support for usb host including ethernet

2014-10-02 Thread Suriyan Ramasami
This change adds support for enabling the USB host features of the board. This includes the USB3503A hub and the SMC LAN9730 ethernet controller as well. Credit goes to Tushar Behera (Linaro) for the function set_usb_ethaddr(). Signed-off-by: Suriyan Ramasami suriya...@gmail.com ---

[U-Boot] [PATCH v1 1/2] odroid: pmic77686: allow bucket voltage settings

2014-10-02 Thread Suriyan Ramasami
Allow to set the bucket voltage for the max77686. This will be used to reset the SMC LAN9730 ethernet on the odroids. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- drivers/power/pmic/pmic_max77686.c | 48 +- include/power/max77686_pmic.h | 3

Re: [U-Boot] [RFC PATCH 4/4 v3] mtd: sf: Add CONFIG_SPI_N25Q256A_RESET for software-reset

2014-10-02 Thread Marek Vasut
On Thursday, October 02, 2014 at 10:40:52 AM, Pavel Machek wrote: On Thu 2014-10-02 04:47:23, Marek Vasut wrote: On Wednesday, October 01, 2014 at 09:04:48 PM, Jagan Teki wrote: On 2 October 2014 00:27, Stefan Roese s...@denx.de wrote: On 01.10.2014 20:25, Marek Vasut wrote: On

Re: [U-Boot] [PATCH] tegra20: tamonten: Fix the early gpio init

2014-10-02 Thread Stephen Warren
On 10/02/2014 10:12 AM, Alban Bedel wrote: On Thu, 02 Oct 2014 09:42:18 -0600 Stephen Warren swar...@wwwdotorg.org wrote: On 10/02/2014 09:14 AM, Alban Bedel wrote: To set gpio during the early init we now need to use tegra_spl_gpio_direction_output(), copied from seaboard. Change-Id:

Re: [U-Boot] [PATCH] tegra20: tamonten: Fix the early gpio init

2014-10-02 Thread Simon Glass
Hi Alban, On 2 October 2014 10:12, Alban Bedel alban.be...@avionic-design.de wrote: On Thu, 02 Oct 2014 09:42:18 -0600 Stephen Warren swar...@wwwdotorg.org wrote: On 10/02/2014 09:14 AM, Alban Bedel wrote: To set gpio during the early init we now need to use

Re: [U-Boot] [PATCH] tegra20: tamonten: Fix the early gpio init

2014-10-02 Thread Stephen Warren
On 10/02/2014 01:05 PM, Simon Glass wrote: Hi Alban, On 2 October 2014 10:12, Alban Bedel alban.be...@avionic-design.de wrote: On Thu, 02 Oct 2014 09:42:18 -0600 Stephen Warren swar...@wwwdotorg.org wrote: On 10/02/2014 09:14 AM, Alban Bedel wrote: To set gpio during the early init we now

Re: [U-Boot] [PATCH] tegra20: tamonten: Fix the early gpio init

2014-10-02 Thread Simon Glass
Hi Stephen, On 2 October 2014 12:39, Stephen Warren swar...@wwwdotorg.org wrote: On 10/02/2014 10:12 AM, Alban Bedel wrote: On Thu, 02 Oct 2014 09:42:18 -0600 Stephen Warren swar...@wwwdotorg.org wrote: On 10/02/2014 09:14 AM, Alban Bedel wrote: To set gpio during the early init we now

Re: [U-Boot] [PATCH] tegra20: tamonten: Fix the early gpio init

2014-10-02 Thread Simon Glass
Hi Stephen, On 2 October 2014 13:08, Stephen Warren swar...@wwwdotorg.org wrote: On 10/02/2014 01:05 PM, Simon Glass wrote: Hi Alban, On 2 October 2014 10:12, Alban Bedel alban.be...@avionic-design.de wrote: On Thu, 02 Oct 2014 09:42:18 -0600 Stephen Warren swar...@wwwdotorg.org wrote:

[U-Boot] [PATCH 01/32] nitrogen6x: implement board_cfb_skip() to disable text output

2014-10-02 Thread Eric Nelson
Several customers have asked to leave the display quiet during boot, so allow the user to express this request by the presence of environment variable novideo. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- board/boundary/nitrogen6x/nitrogen6x.c | 5 + 1 file changed, 5

[U-Boot] [PATCH 00/32] ARM: i.MX: nitrogen6x clean up

2014-10-02 Thread Eric Nelson
This collection of patches comprises a set of updates that have been lingering in our Github repository. We're pushing them to main-line in preparation for the addition of a couple of boards that have also been lingering for a while. Patches 1-9 are tweaks to the mx6qsabrelite/nitrogen6x

[U-Boot] [PATCH 03/32] nitrogen6x: configure SD2 pads for SDIO on USDHC2

2014-10-02 Thread Eric Nelson
Pads SD2_CLK/CMD/DAT0-3 are connected to an SDIO WiFi device on Nitrogen and unconnected on BD-SL-i.MX6 (sabre lite). Configure them as SDIO pins to prevent them from being in a state that confuses the WiFi part. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com ---

[U-Boot] [PATCH 05/32] nitrogen6x: configure SGTL5000, CSI camera clock outputs

2014-10-02 Thread Eric Nelson
From: Troy Kisky troy.ki...@boundarydevices.com Configure CLKO outputs for SGTL5000, CSI camera. The sys_mclk output for the SGTL500 in particular prevents Windows CE from properly driving audio. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com Signed-off-by: Eric Nelson

[U-Boot] [PATCH 02/32] nitrogen6x: simplify board_mmc_getcd

2014-10-02 Thread Eric Nelson
From: Troy Kisky troy.ki...@boundarydevices.com The same logic applies to both SD card slots, only with different GPIOs and the code should make that easier to see. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- board/boundary/nitrogen6x/nitrogen6x.c | 14 -- 1 file

[U-Boot] [PATCH 04/32] nitrogen6x: power-down miscellanous peripherals

2014-10-02 Thread Eric Nelson
Ensure that cameras and USB OTG power are in a stable (reset) state at reset by configuring their pads and toggling GPIOs. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- board/boundary/nitrogen6x/nitrogen6x.c | 47

[U-Boot] [PATCH 06/32] nitrogen6x: staticize board file

2014-10-02 Thread Eric Nelson
Declare locally-used data structures and functions as static and pull in header files to prevent compiler warnings of Should it be static? when building with make C=1. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- board/boundary/nitrogen6x/nitrogen6x.c | 30

[U-Boot] [PATCH 07/32] nitrogen6x: Allow U-Boot to be silent on UART2

2014-10-02 Thread Eric Nelson
Several customers are using UART2 (normally the serial console for U-Boot) as connections to printers or other peripherals that are not tolerant of stray inputs during reset. Provide a simple way to eliminate output on the serial port by conditionally configuring these pads as GPIOs during

[U-Boot] [PATCH 08/32] nitrogen6x: phy: add 100 us delay after phy reset

2014-10-02 Thread Eric Nelson
From: Troy Kisky troy.ki...@boundarydevices.com Testing shows that the Micrel PHY may not be completely out of reset if accessed immediately. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com ---

[U-Boot] [PATCH 09/32] nitrogen6x: prevent warnings about board_ehci* callbacks

2014-10-02 Thread Eric Nelson
Include declarations of board_ehci callbacks to prevent compiler warnings and enforce function prototypes. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- board/boundary/nitrogen6x/nitrogen6x.c | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH 10/32] nitrogen6x: display: add support lvds jeida screen

2014-10-02 Thread Eric Nelson
From: Robert Winkler robert.wink...@boundarydevices.com Add support for Boundary Devices 7 and 10.1 1280x800 displays with integrated FocalTech ft5x06 10-point touch controller. Because they share the touch controller with the 1024x600 displays, auto-detection is disabled and you must explicitly

[U-Boot] [PATCH 11/32] nitrogen6x: display: add qvga panel

2014-10-02 Thread Eric Nelson
Add support for a 1/4 VGA panel with a 24-bit RGB interface. No auto-detection is enabled, so you must configure the 'panel' environment variable to use this display: U-Boot setenv panel qvga U-Boot saveenv reset Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com ---

[U-Boot] [PATCH 12/32] nitrogen6x: display: add support for LG-9.7 LVDS display

2014-10-02 Thread Eric Nelson
Add support for LG 9.7 LVDS panel (1024x768) with integrated eGalax touch screen. Note that this panel differs only slightly from the Hannstar XGA panel (margins). No auto-detection is available because it shares the same touch controller as the Hannstar-XGA display, so you'll need to configure

[U-Boot] [PATCH 14/32] nitrogen6x: display: add support for fusion 7 display

2014-10-02 Thread Eric Nelson
Add support for the Touch Revolution Fusion7 display: 800x480 RGB with a custom F0710A resistive touch controller. Auto-detection of this panel is supported so no configuration is required. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- board/boundary/nitrogen6x/nitrogen6x.c |

[U-Boot] [PATCH 15/32] nitrogen6x: display: add svga display (800x600)

2014-10-02 Thread Eric Nelson
Add support for 800x600 18-bit RGB displays using VESA GTF timings. No auto-detection is supported, so you must configure this panel manually through the 'panel' environment variable: U-Boot setenv panel svga U-Boot saveenv reset Signed-off-by: Eric Nelson

[U-Boot] [PATCH 13/32] nitrogen6x: display: add LDB-WXGA-S for SPWG 1280x800 displays

2014-10-02 Thread Eric Nelson
This patch adds support for LVDS WXGA displays that use the SPWG encoding standard instead of JEIDA. No auto-detection is enabled and you must explicitly set the 'panel' environment variable: U-Boot setenv panel LDB-WXGA-S U-Boot saveenv reset Signed-off-by: Eric Nelson

[U-Boot] [PATCH 16/32] nitrogen6x: display: add Ampire 1024x600 panel

2014-10-02 Thread Eric Nelson
Add support for an Ampire 1024x600 LVDS panel with integrated Ilitek capacitive touch screen. Auto-detection is enabled, so no explicit configuration is needed. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- board/boundary/nitrogen6x/nitrogen6x.c | 20 1

[U-Boot] [PATCH 17/32] nitrogen6x: display: add wvga-lvds panel

2014-10-02 Thread Eric Nelson
Add support for WVGA (800x480) panels using VESA GTF timings over LVDS. No auto-detection is supported, so you must configure this panel manually through the 'panel' environment variable: U-Boot setenv panel svga U-Boot saveenv reset Signed-off-by: Eric Nelson

[U-Boot] [PATCH 20/32] nitrogen6x: config: allow boot to USB stick

2014-10-02 Thread Eric Nelson
From: Diego Rondini diego.rond...@kynetics.it This patch enables boot to USB storage devices by expanding on the list of boot devices. Because the USB startup currently takes a long time, it places USB at the end of the list of supported devices. You can over-ride the boot order using the

[U-Boot] [PATCH 21/32] nitrogen6x: config: use FS_GENERIC load command

2014-10-02 Thread Eric Nelson
From: Kevin Mihelich ke...@archlinuxarm.org Remove the individual attempts to load using ext2 and fat, replace with the generic load command supporting available filesystem types. Signed-off-by: Kevin Mihelich ke...@archlinuxarm.org --- include/configs/nitrogen6x.h | 20 1

[U-Boot] [PATCH 18/32] nitrogen6x: display use I2C detect for HDMI

2014-10-02 Thread Eric Nelson
The HPD pin and RX_SENSE registers have proven to be less reliable than using I2C on the EDID pins for detection of an HDMI monitor. In particular, when the HDMI output is reset through a reboot cycle, the detect_hdmi() routine often bounces, resulting in a failure to detect a connected monitor.

[U-Boot] [PATCH 19/32] nitrogen6x: config: add USB Mass Storage (ums) support

2014-10-02 Thread Eric Nelson
Add support for the USB mass storage to enable access to on-board storage (especially eMMC and SATA). Details at: http://boundarydevices.com/u-boot-usb-mass-storage-gadget/ Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- include/configs/nitrogen6x.h | 13 + 1

[U-Boot] [PATCH 25/32] nitrogen6x: config: add CONFIG_CMD_MEMTEST

2014-10-02 Thread Eric Nelson
Enable the 'mtest' command on Nitrogen6x and SABRE Lite boards. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- include/configs/nitrogen6x.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h index d505191..82dc0fc

[U-Boot] [PATCH 23/32] nitrogen6x: config: expose SATA, then MMC over USB

2014-10-02 Thread Eric Nelson
If no boot script was found, expose internal storage over the USB mass storage gadget to allow easy programming. This is especially useful when SD cards are inaccessible or when loading SATA drives. More details are available in this blog post:

[U-Boot] [PATCH 22/32] nitrogen6x: config: add initrd_high

2014-10-02 Thread Eric Nelson
Support RAM disks by setting initrd_high. See commit 7e9603e Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- include/configs/nitrogen6x.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h index 2167d77..3c24443 100644

[U-Boot] [PATCH 24/32] nitrogen6x: config: enable USB keyboard support

2014-10-02 Thread Eric Nelson
Enable the use of USB keyboards on SABRE Lite and Nitrogen6x boards. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- include/configs/nitrogen6x.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h index

[U-Boot] [PATCH 30/32] nitrogen6x: config: add gpio command

2014-10-02 Thread Eric Nelson
Enable the 'gpio' command to allow reading and toggling of GPIO pins. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- include/configs/nitrogen6x.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h index 8afbded..df3e2bb

[U-Boot] [PATCH 27/32] nitrogen6x: config: allow more bootargs parameters

2014-10-02 Thread Eric Nelson
From: Troy Kisky troy.ki...@boundarydevices.com Increase the maximum number of arguments allowed by the Hush parser. This prevents errors when users or scripts aren't quoting parameters when setting the bootargs variable et al. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com

[U-Boot] [PATCH 28/32] nitrogen6x: config: disable logo

2014-10-02 Thread Eric Nelson
Some users (QNX and Windows CE users in particular) have asked to disable the Penguin shown on the display at boot time. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- include/configs/nitrogen6x.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/nitrogen6x.h

[U-Boot] [PATCH 29/32] nitrogen6x: config: configure usb_ether

2014-10-02 Thread Eric Nelson
Provide fixed USB networking mac addresses for host and client to enable static configuration of host network stacks. Include a command 'usbrecover' both to illustrate the use of the USB ethernet gadget and also to allow quick booting of a kernel (uImage) and ram disk (uramdisk). Details and

[U-Boot] [PATCH 26/32] nitrogen6x: config: enable i2c edid

2014-10-02 Thread Eric Nelson
Enable the i2c edid command to query data from an attached HDMI monitor. Usage is typically this: U-Boot i2c dev 1 U-Boot i2c edid 0x50 ... Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- include/configs/nitrogen6x.h | 1 + 1 file changed, 1

[U-Boot] [PATCH 31/32] nitrogen6x: config: enable Android fastboot

2014-10-02 Thread Eric Nelson
Enable 'fastboot' command. This is currently enabled but not yet functional. Including it in the configuration will ease further testing and development as discussed on the mailing list. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- include/configs/nitrogen6x.h | 5 + 1

[U-Boot] [PATCH 32/32] nitrogen6x: config: enable EXT4 filesystem

2014-10-02 Thread Eric Nelson
From: Kevin Mihelich ke...@archlinuxarm.org Support reading/writing ext4 partitions. Signed-off-by: Kevin Mihelich ke...@archlinuxarm.org Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- include/configs/nitrogen6x.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [U-Boot] [PATCH 2/2] arm: mx6: cm_fx6: use gpio request

2014-10-02 Thread Simon Glass
Hi Nikita, On 2 October 2014 08:17, Nikita Kiryanov nik...@compulab.co.il wrote: Use gpio_request for all the gpios that are utilized by various subsystems in cm-fx6, and refactor the relevant init functions so that all gpios are requested during board_init(), not during subsystem init, thus

Re: [U-Boot] [PATCH v1 1/2] odroid: pmic77686: allow bucket voltage settings

2014-10-02 Thread Albert ARIBAUD
Hi Suriyan, On Thu, 2 Oct 2014 06:45:58 -0700, Suriyan Ramasami suriya...@gmail.com wrote: Allow to set the bucket voltage for the max77686. This will be used to reset the SMC LAN9730 ethernet on the odroids. I believe the correct term is buck, not bucket. Signed-off-by: Suriyan Ramasami

Re: [U-Boot] U-Boot Mini Summit

2014-10-02 Thread Albert ARIBAUD
Hi Detlev, On Thu, 02 Oct 2014 19:09:07 +0200, Detlev Zundel d...@denx.de wrote: Hi, the agenda for the U-Boot Mini Summit in a few days in Düsseldorf has now been finalized[1]. It is very encouraging to see such a lot of high-class content and I'm very excited to also meet a lot of new

Re: [U-Boot] [PATCH v1 1/2] odroid: pmic77686: allow bucket voltage settings

2014-10-02 Thread Suriyan Ramasami
On Thu, Oct 2, 2014 at 2:03 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Suriyan, On Thu, 2 Oct 2014 06:45:58 -0700, Suriyan Ramasami suriya...@gmail.com wrote: Allow to set the bucket voltage for the max77686. This will be used to reset the SMC LAN9730 ethernet on the odroids.

Re: [U-Boot] [PATCH v1 1/2] odroid: pmic77686: allow bucket voltage settings

2014-10-02 Thread Suriyan Ramasami
On Thu, Oct 2, 2014 at 7:31 AM, Przemyslaw Marczak p.marc...@samsung.com wrote: Dear Suriyan, I will try to test it after the weekend. I'm working on a PMIC framework V3 with Trats2 as a base and the buck mode/voltage for Max77686 are yet implemented in my code. But this is okay because

  1   2   >