Re: [U-Boot] [PATCH v6 4/5] Build arch/$ARCH/lib/bootm.o depending on CONFIG_CMD_BOOTM

2013-06-20 Thread Dirk Eibach
Hi Andy, >> From: Dirk Eibach >> >> MAKEALL is fine for ppc4xx and mpc85xx. >> Run checks were done on our controlcenterd hardware. >> >> Signed-off-by: Dirk Eibach >> >> >> Signed-off-by: Dirk Eibach > > > You don't need two sign-offs. patman puts and additional SOB to some of my patches. I'm

Re: [U-Boot] [PATCH v2] exynos5250: move board specific configs to board specific config file

2013-06-20 Thread Inderpal Singh
Hi Simon, Thanks for review. On 11 June 2013 19:57, Simon Glass wrote: > Hi, > > On Fri, Jun 7, 2013 at 4:56 AM, Inderpal Singh > wrote: > >> Not all boards based on exynos5250 have SPI flash, same serial port and >> might >> not require display and the same lds script. Hence move them to boa

Re: [U-Boot] [PATCH v3 0/9] Bring in new I2C framework

2013-06-20 Thread Heiko Schocher
Hello Piotr, Am 20.06.2013 08:41, schrieb Piotr Wilczek: > Dear Heiko, > >> -Original Message- >> From: Minkyu Kang [mailto:mk7.k...@samsung.com] >> Sent: Thursday, June 20, 2013 7:51 AM >> To: Heiko Schocher >> Cc: Simon Glass; Piotr Wilczek; U-Boot Mailing List; Dirk Eibach; >> Stefan R

[U-Boot] [PATCH] gpio: spear_gpio: Fix gpio_set_value() implementation

2013-06-20 Thread Axel Lin
In current gpio_set_value() implementation, it always sets the gpio control bit no matter the value argument is 0 or 1. Thus the GPIOs never set to low. This patch fixes this bug. Signed-off-by: Axel Lin --- drivers/gpio/spear_gpio.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) dif

Re: [U-Boot] [PATCH] gpio: omap_gpio: Remove check_gpio() function

2013-06-20 Thread Axel Lin
2013/6/20 Nikita Kiryanov > Hi Axel, > > > On 06/20/2013 04:03 AM, Axel Lin wrote: > >> check_gpio() and gpio_is_valid() are both used to check if a gpio is >> valid or >> not. It looks pointless to have both function because we can just call >> gpio_is_valid() instead of check_gpio(). Thus remov

Re: [U-Boot] [PATCH] gpio: spear_gpio: Fix gpio_set_value() implementation

2013-06-20 Thread Stefan Roese
On 20.06.2013 09:13, Axel Lin wrote: > In current gpio_set_value() implementation, it always sets the gpio control > bit > no matter the value argument is 0 or 1. Thus the GPIOs never set to low. > This patch fixes this bug. > > Signed-off-by: Axel Lin Acked-by: Stefan Roese Thanks, Stefan _

Re: [U-Boot] [PATCH] gpio: omap_gpio: Remove check_gpio() function

2013-06-20 Thread Nikita Kiryanov
On 06/20/2013 10:20 AM, Axel Lin wrote: 2013/6/20 Nikita Kiryanov Hi Axel, On 06/20/2013 04:03 AM, Axel Lin wrote: check_gpio() and gpio_is_valid() are both used to check if a gpio is valid or not. It looks pointless to have both function because we can just call gpio_is_valid() instead of

Re: [U-Boot] Flash not Erased

2013-06-20 Thread Jan Schunke
Hello, it turns out that setting #define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT solves my problem because it skips x8 detection. I took me some time because I have not found it anywhere in the README. Thanks for your help. Jan On 20.06.2013 08:00, Stefan Roese wrote: > Hi Jan, > > On 19

Re: [U-Boot] [PATCH v3 0/9] Bring in new I2C framework

2013-06-20 Thread Heiko Schocher
Hello Dirk, Am 20.06.2013 08:52, schrieb Dirk Eibach: > Hello Heiko, > >>> What is the status of this series now please? >> >> I heared nothing negatives for the new i2c multibus framework, >> so I plan to merge it into mainline, if the next merge widow is >> open. > > actually I thought it woul

Re: [U-Boot] [PATCH v2] exynos5250: remove redundant SPI and PMIC related configs

2013-06-20 Thread Inderpal Singh
Hi Jagan, On 13 June 2013 01:08, Jagan Teki wrote: > Hi, > > Can you separate the PMIC and SPI changes into two different patches. > > Since its a minor clean up patch. I feel there is no need to split it into two. > Also may i know why you remove the SPI from configs, does it defined some >

[U-Boot] [PATCH v4 3/3] Tegra: Config: Enable Tegra30/Tegra114 USB function

2013-06-20 Thread Jim Lin
Add USB EHCI, storage and network support. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Signed-off-by: Jim Lin --- Changes in v2: - Add support for Beaver board. Changes in v3: - None Changes in v4: - None include/configs/beaver.h | 14

[U-Boot] [PATCH v4 2/3] ARM: Tegra: USB: EHCI: Add support for Tegra30/Tegra114

2013-06-20 Thread Jim Lin
Tegra30 and Tegra114 are compatible except PLL parameters. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Signed-off-by: Jim Lin --- Changes in v2: - Move common definitions into arch-tegra/usb.h and chip specific definitions into arch-tegraXX(X)/usb.h - In ehci-t

[U-Boot] [PATCH v4 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-20 Thread Jim Lin
Add DT node for USB EHCI function. Add support for T30-Cardhu, T30-Beaver, T114-Dalmore boards. Signed-off-by: Jim Lin --- Changes in v2: - Remove PLL parameters from dt file Changes in v3: - Change VBus GPIO from H.05 to DD.04 for Beaver board. Changes in v4: - Change Beaver VBus GPIO to H.05

Re: [U-Boot] [PATCH v3 0/9] Bring in new I2C framework

2013-06-20 Thread Dirk Eibach
Hello Heiko, 2013/6/20 Heiko Schocher : > Hello Dirk, > > Am 20.06.2013 08:52, schrieb Dirk Eibach: >> Hello Heiko, >> What is the status of this series now please? >>> >>> I heared nothing negatives for the new i2c multibus framework, >>> so I plan to merge it into mainline, if the next merg

Re: [U-Boot] [PATCH v3 0/9] Bring in new I2C framework

2013-06-20 Thread Piotr Wilczek
Dear Minkyu and Heiko, > -Original Message- > From: Heiko Schocher [mailto:h...@denx.de] > Sent: Thursday, June 20, 2013 9:14 AM > To: Piotr Wilczek > Cc: 'Minkyu Kang'; 'Simon Glass'; 'U-Boot Mailing List'; 'Dirk Eibach'; > 'Stefan Roese'; 'Holger Brunck'; 'Mike Frysinger'; 'Stephen Warre

[U-Boot] AM335x: enabling datacache in SPL slows down system?

2013-06-20 Thread Bas van den Berg
I'm trying to optimize the boottime for an AM335x based board. Currently we're loading the kernel from SPL directly (falcon mode). Loading the kernel from flash to ram takes roughly 3 seconds. When doing this from U-boot itself with 'nand read .., it only takes 1.8 seconds. It seems that U-boot ha

Re: [U-Boot] Pull request for u-boot-marvell.git

2013-06-20 Thread Albert ARIBAUD
Hi Prafulla, On Wed, 19 Jun 2013 22:38:17 -0700, Prafulla Wadaskar wrote: > The following changes since commit c2543a21df335484fa86bd652b5564d0ca90d5f6: > Albert ARIBAUD (1): > Merge branch 'u-boot-ti/master' into 'u-boot-arm/master' > > are available in the git repository at: > >

[U-Boot] Not abled to upload binary using "dfu-util"

2013-06-20 Thread Sumit Gemini
Hi All, I am trying to upload images from dfu devices to PC, but "Copying data from DFU device to PC Starting upload: [] finished! Received a total of 1 bytes" error i got, do not know why i getting this kind of error because downloading of files is made but uploading not. Any help will

[U-Boot] [PATCH 04/10 v5] Makefile: move the common makefile line to public area

2013-06-20 Thread ying.zhang
From: Ying Zhang Move the common makefile line shared by the SPL and non-SPL to the public area, so that we can avoid excessive SPL symbols. Some of them will be used by the SPL later. This patch is on top of the patch "common/Makefile: Add new symbol CONFIG_SPL_ENV_SUPPORT for environment in SP

[U-Boot] [PATCH 02/10 v5] powerpc/mpc85xx: modify the functionality clear_bss and aligning the end address of the BSS

2013-06-20 Thread ying.zhang
From: Ying Zhang There will clear the BSS in the function clear_bss(), the reset address of the BSS started from the __bss_start, and increased by four-byte increments, finally stoped depending on the address is equal to the _bss_end. If the end address __bss_end is not alignment to 4byte, it wil

[U-Boot] [PATCH 03/10 v5] common/Makefile: Add new symbol CONFIG_SPL_ENV_SUPPORT for environment in SPL

2013-06-20 Thread ying.zhang
From: Ying Zhang There will need the environment in SPL for reasons other than network support (in particular, hwconfig contains info for how to set up DDR). Add a new symbol CONFIG_SPL_ENV_SUPPORT to replace CONFIG_SPL_NET_SUPPORT for environment in common/Makefile. Signed-off-by: Ying Zhang

[U-Boot] [PATCH 05/10 v5] powerpc: deleted unused symbol CONFIG_SPL_NAND_MINIMAL and enabled some functionality for common SPL

2013-06-20 Thread ying.zhang
From: Ying Zhang 1. The symbol CONFIG_SPL_NAND_MINIMAL is unused, so deleted it. 2. Some functions were unused in the minimal SPL, but it is useful in the common SPL. So, enabled some functionality for common SPL. Signed-off-by: Ying Zhang --- Compared with the original version, Changed as bel

[U-Boot] [PATCH 06/10 v5] spl: env_common.c: make CONFIG_SPL_BUILD contain function env_import

2013-06-20 Thread ying.zhang
From: Ying Zhang The functionality env_import will be used in the SPL. They had been excluded by ifndef CONFIG_SPL_BUILD. Now, put it into the SPL. Signed-off-by: Ying Zhang --- Compared with the original version, Changed as below: 1. Split from "boot from SD card/SPI flash with SPL". 2. Split

[U-Boot] [PATCH 01/10 v5] powerpc/mpc85xx: support application without resetvec segment in the linker script

2013-06-20 Thread ying.zhang
From: Ying Zhang For SD/SPI 2-stage bootloader, the On-Chip Rom code loads the SPL into L2 SRAM, then jump to it to begin execution. After that, the SPL loads the final uboot image into DDR, then jump to it to begin execution. The segment .resetvec in the SPL and in final U-boot is useless. So,

[U-Boot] [PATCH 07/10 v5] powerpc/p1022ds: boot from SD Card with SPL

2013-06-20 Thread ying.zhang
From: Ying Zhang This patch introduces SPL to enable a loader stub that runs in the L2 SRAM, after being loaded by the code from the internal on-chip ROM. It loads the final uboot image into DDR, then jump to it to begin execution. The SPL's size is sizeable, the maximum size must not exceed the

[U-Boot] [PATCH 08/10 v5] powerpc/p1022ds: boot from spi flash with SPL

2013-06-20 Thread ying.zhang
From: Ying Zhang Support to boot from spi flash. This patch is on top of the patch: powerpc/p1022ds: boot from SD Card with SPL Signed-off-by: Ying Zhang --- Compared with the original version, Changed as below: 1. Split from "boot from SD card/SPI flash with SPL". 2. No change. 3. No change.

[U-Boot] [PATCH 10/10 v5] powerpc: p1022ds: support TPL on the P1022DS

2013-06-20 Thread ying.zhang
From: Ying Zhang Support TPL on the P1022DS. The TPL's size is sizeable, the maximum size must not exceed the size of L2 SRAM. It initializes the DDR through SPD code, and copys final uboot image to DDR. So there are three stage uboot images: * spl_boot, 4KB size, pad to 128K byte.

[U-Boot] [PATCH 09/10 v5] nand: tpl : introduce the TPL based on the SPL

2013-06-20 Thread ying.zhang
From: Ying Zhang Due to the nand SPL on some board(e.g. P1022DS)has a size limit, it can not be more than 4K. So, the SPL cannot initialize the DDR with the SPD code. This patch introduces TPL to enable a loader stub that runs in the L2 SRAM, after being loaded by the code from the SPL. It initia

Re: [U-Boot] [PATCH v3 0/9] Bring in new I2C framework

2013-06-20 Thread Heiko Schocher
Hello Dirk, Am 20.06.2013 10:20, schrieb Dirk Eibach: > Hello Heiko, > > 2013/6/20 Heiko Schocher : >> Hello Dirk, >> >> Am 20.06.2013 08:52, schrieb Dirk Eibach: >>> Hello Heiko, >>> > What is the status of this series now please? I heared nothing negatives for the new i2c multibus

Re: [U-Boot] [PATCH v3 0/9] Bring in new I2C framework

2013-06-20 Thread Heiko Schocher
Hello Piotr, Am 20.06.2013 10:34, schrieb Piotr Wilczek: > Dear Minkyu and Heiko, > >> -Original Message- >> From: Heiko Schocher [mailto:h...@denx.de] >> Sent: Thursday, June 20, 2013 9:14 AM >> To: Piotr Wilczek >> Cc: 'Minkyu Kang'; 'Simon Glass'; 'U-Boot Mailing List'; 'Dirk Eibach';

Re: [U-Boot] Not abled to upload binary using "dfu-util"

2013-06-20 Thread Heiko Schocher
Hello Sumit, Am 20.06.2013 10:44, schrieb Sumit Gemini: > Hi All, > > I am trying to upload images from dfu devices to PC, but > > "Copying data from DFU device to PC > Starting upload: [] finished! > Received a total of 1 bytes" > > error i got, > > > do not know why i getting this kind

Re: [U-Boot] [PATCH v3 17/21] arm: Implement the 'fake' go command

2013-06-20 Thread Albert ARIBAUD
Hi Simon, On Wed, 19 Jun 2013 21:15:10 -0700, Simon Glass wrote: > Implement this feature on ARM for tracing. > > It would be nice to have generic bootm support so that it is easily > implemented on any arch. > > Signed-off-by: Simon Glass > --- > Changes in v3: > - Revert to using 'images' i

[U-Boot] Not able to boot using zImage

2013-06-20 Thread Enric Balletbo Serra
Hi all, I've some problems trying to boot a zImage with following command after load the zImage and the fdt file on memory: U-Boot > fdt addr ${dtbaddr}; fdt resize; bootz ${loadaddr} - ${dtbaddr} But the sistem stops at Starting kernel ... File transfer via NFS from server 192.168.2.245; our

Re: [U-Boot] Not abled to upload binary using "dfu-util"

2013-06-20 Thread Sumit Gemini
HI Heiko, Thanks for reply and for links, i raised a request for membership. Here I want to share regarding dfu, when i apply dfu-util -v -a SPL -U dfu-SPL from my host machine, I got such log on Host machine :- Device returned transfer size 4096 bytes_per_hash=4096 Copying

Re: [U-Boot] [PATCH v4 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-20 Thread Thierry Reding
On Thu, Jun 20, 2013 at 04:13:38PM +0800, Jim Lin wrote: > Add DT node for USB EHCI function. > Add support for T30-Cardhu, T30-Beaver, T114-Dalmore boards. > > Signed-off-by: Jim Lin > --- > Changes in v2: > - Remove PLL parameters from dt file > Changes in v3: > - Change VBus GPIO from H.05 t

[U-Boot] [PATCH 1/2] PHY: micrel: helper function for KSZ9031

2013-06-20 Thread SARTRE Leo
micrel.c: Add function ksz9031_phy_extended_write, helper to MDD register write micrel.h: Prototype and define MDD registers Signed-off-by: Leo Sartre --- drivers/net/phy/micrel.c | 29 +++-- include/micrel.h |7 +++ 2 files changed, 34

[U-Boot] [PATCH 0/2] Add ethernet support for Congatec qmx6qeval

2013-06-20 Thread SARTRE Leo
These patchs add ethernet support for congatec cgtqmx6qeval that uses Micrel's KSZ9031. The first patch adds KSZ9031's helper function to access extended registers, it apply on top of David Andrey's patch (http://patchwork.ozlabs.org/patch/218793/). Leo Sartre (2): PHY: micrel: helper function f

[U-Boot] [PATCH 2/2] ARM: Congatec: Ethernet: Add support for cgtqmx6qeval

2013-06-20 Thread SARTRE Leo
cgtqmx6eval.c: add Micrel KSZ9031 Ethernet transceiver README : U-boot works both on SPI-NOR and SDcard Signed-off-by: Leo Sartre --- board/congatec/cgtqmx6eval/README|3 +- board/congatec/cgtqmx6eval/cgtqmx6eval.c | 112 ++ include/configs/cgtqmx6

Re: [U-Boot] [PATCH 1/2] PHY: micrel: helper function for KSZ9031

2013-06-20 Thread Otavio Salvador
On Thu, Jun 20, 2013 at 8:26 AM, SARTRE Leo wrote: > micrel.c: Add function ksz9031_phy_extended_write, helper to MDD > register write > micrel.h: Prototype and define MDD registers > > Signed-off-by: Leo Sartre > --- > drivers/net/phy/micrel.c | 29 ++

Re: [U-Boot] [PATCH 2/2] ARM: Congatec: Ethernet: Add support for cgtqmx6qeval

2013-06-20 Thread Otavio Salvador
On Thu, Jun 20, 2013 at 8:26 AM, SARTRE Leo wrote: > cgtqmx6eval.c: add Micrel KSZ9031 Ethernet transceiver > README : U-boot works both on SPI-NOR and SDcard > > Signed-off-by: Leo Sartre > --- > board/congatec/cgtqmx6eval/README|3 +- > board/congatec/cgtqmx6eval/cgtqmx6eval

Re: [U-Boot] [PATCH v6 4/5] Build arch/$ARCH/lib/bootm.o depending on CONFIG_CMD_BOOTM

2013-06-20 Thread Dirk Eibach
2013/6/20 Dirk Eibach : > Hi Andy, > >>> From: Dirk Eibach >>> >>> MAKEALL is fine for ppc4xx and mpc85xx. >>> Run checks were done on our controlcenterd hardware. >>> >>> Signed-off-by: Dirk Eibach >>> >>> >>> Signed-off-by: Dirk Eibach >> >> >> You don't need two sign-offs. > > patman puts and

Re: [U-Boot] [PATCH] gpio: spear_gpio: Fix gpio_set_value() implementation

2013-06-20 Thread Michael Trimarchi
Hi Il giorno 20/giu/2013 09:14, "Axel Lin" ha scritto: > > In current gpio_set_value() implementation, it always sets the gpio control bit > no matter the value argument is 0 or 1. Thus the GPIOs never set to low. > This patch fixes this bug. > > Signed-off-by: Axel Lin > --- > drivers/gpio/spea

[U-Boot] [PATCH v4 0/6] Update gdsys ppc4xx-based boards

2013-06-20 Thread dirk . eibach
From: Dirk Eibach This series depends on the "Bring in new I2C framework" series by Heiko Schocher. Patch "powerpc/ppc4xx: Add bitbang i2c interface for gdsys boards" was dropped in favor of using the new framework. Changes in v4: - Move changes ins osd.c to proper commit - Move unrelated cha

[U-Boot] [PATCH v4 2/6] powerpc/ppc4xx: Add gdsys mclink interface

2013-06-20 Thread dirk . eibach
From: Dirk Eibach mclink is a serial interface for communication between gdsys FPGA. Signed-off-by: Dirk Eibach --- Changes in v4: None Changes in v3: - adapt to "powerpc/ppc4xx: Use generic accessor functions for gdsys FPGA" - squashed with "powerpc/ppc4xx: Increase timeout for gdsys mclink bu

[U-Boot] [PATCH v4 6/6] powerpc/ppc4xx: Remove CONFIG_SYS_FLASH_PROTECTION from gdsys boards

2013-06-20 Thread dirk . eibach
From: Dirk Eibach CONFIG_SYS_FLASH_PROTECTION was active on most gdsys boards by default, while hardware flash protection was not implemented. Hardware support was added recently and we get into trouble because backward compatibility is broken (u-boot can't unprotect the protected flash after a d

[U-Boot] [PATCH v4 4/6] powerpc/ppc4xx: Support gdsys multichannel iocon hardware

2013-06-20 Thread dirk . eibach
From: Dirk Eibach Signed-off-by: Dirk Eibach --- Changes in v4: - Move changes ins osd.c to proper commit - do not use common FPGA register accessors here Changes in v3: - adapt to "powerpc/ppc4xx: Use generic accessor functions for gdsys FPGA" - squashed with powerpc/ppc4xx: Fixup phy erratum

[U-Boot] [PATCH v4 3/6] powerpc/ppc4xx: Add fpgad command for dumping gdsys fpga registers

2013-06-20 Thread dirk . eibach
From: Dirk Eibach Signed-off-by: Dirk Eibach --- Changes in v4: None Changes in v3: - adapt to "powerpc/ppc4xx: Use generic accessor functions for gdsys FPGA" Changes in v2: - move cmd_fpgad to common and fix whitespace issues - update email account common/Makefile| 1 + common/cmd_fpga

[U-Boot] [PATCH v4 1/6] powerpc/ppc4xx: Use generic accessor functions for gdsys FPGA

2013-06-20 Thread dirk . eibach
From: Dirk Eibach A set of accessor functions was added to be able to access not only memory mapped FPGA in a generic way. Thanks to Wolfgang Denk for getting this sorted properly. Signed-off-by: Dirk Eibach --- Changes in v4: - Move unrelated changes ins osd.c to proper commit - explain why f

[U-Boot] [PATCH v4 5/6] powerpc/ppc4xx: Consider gdsys FPGA OSD size

2013-06-20 Thread dirk . eibach
From: Dirk Eibach OSD size was constant 32x16 characters. Now the size is set as announced by the FPGA. Signed-off-by: Dirk Eibach --- Changes in v4: None Changes in v3: None Changes in v2: None board/gdsys/common/osd.c | 34 ++ 1 file changed, 18 insertions(+)

Re: [U-Boot] [PATCH v2] Add support for Wandboard quad.

2013-06-20 Thread Otavio Salvador
Hello Tapani, On Tue, May 28, 2013 at 5:04 AM, Tapani Utriainen wrote: > > Add support for Wandboard quad. > > Signed-off-by: Tapani Utriainen Can you handle the comments done by Wolfgang and Stefano? It'd be very good to have it merged for 2013.07 but we're getting short on time. -- Otavio S

Re: [U-Boot] [PATCH] gpio: spear_gpio: Fix gpio_set_value() implementation

2013-06-20 Thread Marek Vasut
Dear Axel Lin, > In current gpio_set_value() implementation, it always sets the gpio control > bit no matter the value argument is 0 or 1. Thus the GPIOs never set to > low. This patch fixes this bug. > > Signed-off-by: Axel Lin > --- > drivers/gpio/spear_gpio.c | 5 - > 1 file changed, 4 i

Re: [U-Boot] [uBoot] [PATCH v2] musb: Move linux and usb compat files to include/linux/usb

2013-06-20 Thread Marek Vasut
Dear Dan Murphy, > + Marek > and a bump > > On 06/13/2013 02:07 PM, Dan Murphy wrote: > > Move the linux and usb compat files to the > > include/linux/usb directory in order for the files to be > > reused. > > > > Added GPLv2 license to the linux and usb compat as well. > > > > Signed-off-by: D

[U-Boot] [PATCH v2 2/3] ARM: Congatec: Ethernet: Add support for cgtqmx6qeval

2013-06-20 Thread SARTRE Leo
cgtqmx6eval.c: add Micrel KSZ9031 Ethernet transceiver Signed-off-by: Leo Sartre --- board/congatec/cgtqmx6eval/cgtqmx6eval.c | 111 ++ include/configs/cgtqmx6eval.h| 13 2 files changed, 124 insertions(+) diff --git a/board/congatec/cgtqmx6eval/

[U-Boot] [PATCH v2 0/3] Add ethernet support for Congatec qmx6qeval

2013-06-20 Thread SARTRE Leo
Changes in v2: -micrel.c : drop two unneeded changes in comments. -cgtqmx6eval.c: #ifdef CONFIG_FEC_MXC now covers the whole function board_eth_init. -README : placed in a separate patch. Leo

[U-Boot] [PATCH v2 1/3] PHY: micrel: helper function for KSZ9031

2013-06-20 Thread SARTRE Leo
micrel.c: Add function ksz9031_phy_extended_write, helper to MDD register write micrel.h: Prototype and define MDD registers Signed-off-by: Leo Sartre --- drivers/net/phy/micrel.c | 25 + include/micrel.h |7 +++ 2 files changed, 32 ins

[U-Boot] [PATCH v2 3/3] ARM: Congatec: README update

2013-06-20 Thread SARTRE Leo
README: U-boot works both on SPI-NOR and SDcard Signed-off-by: Leo Sartre --- board/congatec/cgtqmx6eval/README |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/board/congatec/cgtqmx6eval/README b/board/congatec/cgtqmx6eval/README index bbf0f75..5e76d2a 100644 --- a/boar

Re: [U-Boot] [PATCH v6 0/2] pxa: add support for palmtreo680 board

2013-06-20 Thread Marek Vasut
Dear Mike Dunn, > These two patches add support for the Palm Treo 680 phone. The second > patch provides a userspace utility that is needed to program u-boot to the > docg4 nand flash in the manner required by the phone's IPL. > > Marek, I thought that these patches were in your tree when you is

Re: [U-Boot] [PATCH] arm: fix memory coherency problem after relocation

2013-06-20 Thread Marek Vasut
Dear Mike Dunn, > On the xscale, the icache must be invalidated and the write buffers drained > after writing code over the data bus, even if the caches are disabled. > After rebasing with the main git repository, u-boot began crashing in odd > places on my pxa270 board (palmtreo680) after the co

Re: [U-Boot] [PATCH] gpio: spear_gpio: Fix gpio_set_value() implementation

2013-06-20 Thread Marek Vasut
Dear Michael Trimarchi, > Hi > > Il giorno 20/giu/2013 09:14, "Axel Lin" ha scritto: > > In current gpio_set_value() implementation, it always sets the gpio > > control bit > > > no matter the value argument is 0 or 1. Thus the GPIOs never set to low. > > This patch fixes this bug. > > > > Si

Re: [U-Boot] [PATCH] gpio: spear_gpio: Fix gpio_set_value() implementation

2013-06-20 Thread Axel Lin
2013/6/20 Marek Vasut > > Dear Axel Lin, > > > In current gpio_set_value() implementation, it always sets the gpio control > > bit no matter the value argument is 0 or 1. Thus the GPIOs never set to > > low. This patch fixes this bug. > > > > Signed-off-by: Axel Lin > > --- > > drivers/gpio/spea

Re: [U-Boot] [uBoot] [PATCH v2] musb: Move linux and usb compat files to include/linux/usb

2013-06-20 Thread Dan Murphy
Marek On 06/20/2013 08:49 AM, Marek Vasut wrote: > Dear Dan Murphy, > >> + Marek >> and a bump >> >> On 06/13/2013 02:07 PM, Dan Murphy wrote: >>> Move the linux and usb compat files to the >>> include/linux/usb directory in order for the files to be >>> reused. >>> >>> Added GPLv2 license to the l

Re: [U-Boot] [uBoot] [PATCH v2] musb: Move linux and usb compat files to include/linux/usb

2013-06-20 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/20/2013 09:49 AM, Marek Vasut wrote: > Dear Dan Murphy, > >> + Marek and a bump >> >> On 06/13/2013 02:07 PM, Dan Murphy wrote: >>> Move the linux and usb compat files to the include/linux/usb >>> directory in order for the files to be reused.

Re: [U-Boot] [PATCH v2 3/3] ARM: Congatec: README update

2013-06-20 Thread Otavio Salvador
On Thu, Jun 20, 2013 at 10:46 AM, SARTRE Leo wrote: > README: U-boot works both on SPI-NOR and SDcard > > Signed-off-by: Leo Sartre Acked-by: Otavio Salvador -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://projetos.ossystems.com.br Mobile:

Re: [U-Boot] [PATCH v2 1/3] PHY: micrel: helper function for KSZ9031

2013-06-20 Thread Otavio Salvador
On Thu, Jun 20, 2013 at 10:46 AM, SARTRE Leo wrote: > micrel.c: Add function ksz9031_phy_extended_write, helper to MDD > register write > micrel.h: Prototype and define MDD registers > > Signed-off-by: Leo Sartre Acked-by: Otavio Salvador -- Otavio Salvador

Re: [U-Boot] [PATCH v2 2/3] ARM: Congatec: Ethernet: Add support for cgtqmx6qeval

2013-06-20 Thread Otavio Salvador
On Thu, Jun 20, 2013 at 10:46 AM, SARTRE Leo wrote: > cgtqmx6eval.c: add Micrel KSZ9031 Ethernet transceiver > > Signed-off-by: Leo Sartre Acked-by: Otavio Salvador -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://projetos.ossystems.com.br

Re: [U-Boot] [PATCH 1/2] PHY: micrel: helper function for KSZ9031

2013-06-20 Thread Stefano Babic
Hi Joe, On 20/06/2013 13:26, SARTRE Leo wrote: > micrel.c: Add function ksz9031_phy_extended_write, helper to MDD > register write > micrel.h: Prototype and define MDD registers > > Signed-off-by: Leo Sartre > --- > drivers/net/phy/micrel.c | 29 +++-- >

Re: [U-Boot] Not able to boot using zImage

2013-06-20 Thread Tom Rini
On Thu, Jun 20, 2013 at 12:27:02PM +0200, Enric Balletbo Serra wrote: > Hi all, > > I've some problems trying to boot a zImage with following command after > load the zImage and the fdt file on memory: > > U-Boot > fdt addr ${dtbaddr}; fdt resize; bootz ${loadaddr} - ${dtbaddr} [snip] > The same

Re: [U-Boot] Not abled to upload binary using "dfu-util"

2013-06-20 Thread Tom Rini
On Thu, Jun 20, 2013 at 04:14:04PM +0530, Sumit Gemini wrote: > HI Heiko, > > Thanks for reply and for links, i raised a request for membership. > Here I want to share regarding dfu, > > > when i apply > > dfu-util -v -a SPL -U dfu-SPL from my host machine, > > > I got such

Re: [U-Boot] [uBoot] [PATCH v2] musb: Move linux and usb compat files to include/linux/usb

2013-06-20 Thread Marek Vasut
Dear Dan Murphy, > Marek > > On 06/20/2013 08:49 AM, Marek Vasut wrote: > > Dear Dan Murphy, > > > >> + Marek > >> and a bump > >> > >> On 06/13/2013 02:07 PM, Dan Murphy wrote: > >>> Move the linux and usb compat files to the > >>> include/linux/usb directory in order for the files to be > >>>

Re: [U-Boot] [PATCH] gpio: spear_gpio: Fix gpio_set_value() implementation

2013-06-20 Thread Michael Trimarchi
Hi Il giorno 20/giu/2013 15:57, "Marek Vasut" ha scritto: > > Dear Michael Trimarchi, > > > Hi > > > > Il giorno 20/giu/2013 09:14, "Axel Lin" ha scritto: > > > In current gpio_set_value() implementation, it always sets the gpio > > > > control bit > > > > > no matter the value argument is 0 or 1

Re: [U-Boot] [PATCH] gpio: spear_gpio: Fix gpio_set_value() implementation

2013-06-20 Thread Marek Vasut
Dear Michael Trimarchi, > Hi > > Il giorno 20/giu/2013 15:57, "Marek Vasut" ha scritto: > > Dear Michael Trimarchi, > > > > > Hi > > > > > > Il giorno 20/giu/2013 09:14, "Axel Lin" ha > > scritto: > > > > In current gpio_set_value() implementation, it always sets the gpio > > > > > > contro

Re: [U-Boot] [PATCH] gpio: omap_gpio: Fix valid gpio range for AM33XX

2013-06-20 Thread Tom Rini
On Thu, Jun 20, 2013 at 11:26:56PM +0800, Axel Lin wrote: > AM33XX has 4 gpio banks, thus the valid gpio range should be 0 ... 127. > > Signed-off-by: Axel Lin Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot m

[U-Boot] [PATCH] gpio: omap_gpio: Fix valid gpio range for AM33XX

2013-06-20 Thread Axel Lin
AM33XX has 4 gpio banks, thus the valid gpio range should be 0 ... 127. Signed-off-by: Axel Lin --- drivers/gpio/omap_gpio.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpio/omap_gpio.c b/drivers/gpio/omap_gpio.c index a30d7f0..9aa6d41 100644 --- a/drivers/gpio/omap_gpio.c ++

Re: [U-Boot] [PATCH] gpio: omap_gpio: Fix valid gpio range for AM33XX

2013-06-20 Thread Stefan Roese
On 20.06.2013 17:26, Axel Lin wrote: > AM33XX has 4 gpio banks, thus the valid gpio range should be 0 ... 127. > > Signed-off-by: Axel Lin > --- > drivers/gpio/omap_gpio.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/gpio/omap_gpio.c b/drivers/gpio/omap_gpio.c > index a3

Re: [U-Boot] [PATCH v4 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-20 Thread Stephen Warren
On 06/20/2013 05:17 AM, Thierry Reding wrote: > On Thu, Jun 20, 2013 at 04:13:38PM +0800, Jim Lin wrote: >> Add DT node for USB EHCI function. Add support for T30-Cardhu, >> T30-Beaver, T114-Dalmore boards. >> >> Signed-off-by: Jim Lin --- Changes in v2: - >> Remove PLL parameters from dt file Ch

Re: [U-Boot] [PATCH v4 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-20 Thread Stephen Warren
On 06/20/2013 02:13 AM, Jim Lin wrote: > Add DT node for USB EHCI function. > Add support for T30-Cardhu, T30-Beaver, T114-Dalmore boards. > diff --git a/arch/arm/dts/tegra114.dtsi b/arch/arm/dts/tegra114.dtsi > + usb@7d004000 { > + compatible = "nvidia,tegra114-ehci"; > +

Re: [U-Boot] [PATCH v3 12/12] Add verified boot information and test

2013-06-20 Thread Tom Rini
On Thu, Jun 13, 2013 at 03:33:19PM -0700, Simon Glass wrote: > Hi Tom, > > On Thu, Jun 13, 2013 at 3:10 PM, Simon Glass wrote: > > > Add a description of how to implement verified boot using signed FIT > > images, > > and a simple test which verifies operation on sandbox. > > > > The test signs

[U-Boot] [PATCH] README: align default commands with code

2013-06-20 Thread Vincent Stehlé
Align the list of default commands mentioned in the configuration options paragraph of the README with the actual definitions found in include/config_cmd_default.h Signed-off-by: Vincent Stehlé --- README | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README

Re: [U-Boot] [PATCH v3 12/12] Add verified boot information and test

2013-06-20 Thread Simon Glass
Hi Tom, On Thu, Jun 20, 2013 at 9:07 AM, Tom Rini wrote: > On Thu, Jun 13, 2013 at 03:33:19PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Thu, Jun 13, 2013 at 3:10 PM, Simon Glass wrote: > > > > > Add a description of how to implement verified boot using signed FIT > > > images, > > > and

Re: [U-Boot] [PATCH v4 2/3] ARM: Tegra: USB: EHCI: Add support for Tegra30/Tegra114

2013-06-20 Thread Stephen Warren
On 06/20/2013 02:13 AM, Jim Lin wrote: > Tegra30 and Tegra114 are compatible except PLL parameters. > > Tested on Tegra30 Cardhu, and Tegra114 Dalmore > platforms. All works well. > Changes in v4: > - In pinmux-config-cardhu.h, chnage GMI_AD13 pinmux state to be OUTPUT >in order to be drive

Re: [U-Boot] [PATCH 1/3] arm: spl: Fix SPL booting for OMAP3

2013-06-20 Thread Albert ARIBAUD
Hi Stefan, On Fri, 14 Jun 2013 10:54:59 +0200, Stefan Roese wrote: > SPL already has GD set to the correct location (in s_init), we mustn't > move it around now since some data (clocks etc) is already present. > > This error was detected on the SPL port for the Compulab CM-T35 board > (OMAP3530

Re: [U-Boot] [PATCH 1/3] arm: spl: Fix SPL booting for OMAP3

2013-06-20 Thread Stefan Roese
Hi Albert, On 20.06.2013 18:42, Albert ARIBAUD wrote: >> diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S >> index a9657d1..b05f66a 100644 >> --- a/arch/arm/lib/crt0.S >> +++ b/arch/arm/lib/crt0.S >> @@ -85,7 +85,13 @@ ENTRY(_main) >> bic sp, sp, #7 /* 8-byte alignment for ABI

Re: [U-Boot] [PATCH] arm: fix memory coherency problem after relocation

2013-06-20 Thread Mike Dunn
On 06/20/2013 06:56 AM, Marek Vasut wrote: > Dear Mike Dunn, > >> On the xscale, the icache must be invalidated and the write buffers drained >> after writing code over the data bus, even if the caches are disabled. >> After rebasing with the main git repository, u-boot began crashing in odd >> p

Re: [U-Boot] [PATCH v4 2/3] ARM: Tegra: USB: EHCI: Add support for Tegra30/Tegra114

2013-06-20 Thread Jim Lin
>On 06/20/2013 02:13 AM, Jim Lin wrote: >> Tegra30 and Tegra114 are compatible except PLL parameters. >> >> Tested on Tegra30 Cardhu, and Tegra114 Dalmore >> platforms. All works well. >> Changes in v4: > >> - In pinmux-config-cardhu.h, chnage GMI_AD13 pinmux state to be OUTPUT >>in order to

Re: [U-Boot] [PATCH v2] dfu, nand: before write a buffer to nand, erase the nand sectors

2013-06-20 Thread Scott Wood
On 06/19/2013 11:36:17 PM, Heiko Schocher wrote: Hello Scott, Am 18.06.2013 02:51, schrieb Scott Wood: > Maybe we need an opts.limit? Yes, I think so ... whats with the following proposal: diff --git a/drivers/mtd/nand/nand_util.c b/drivers/mtd/nand/nand_util.c index d81972c..b877c7d 100644

Re: [U-Boot] [PATCH v4 2/3] ARM: Tegra: USB: EHCI: Add support for Tegra30/Tegra114

2013-06-20 Thread Stephen Warren
On 06/20/2013 11:20 AM, Jim Lin wrote: > >> On 06/20/2013 02:13 AM, Jim Lin wrote: >>> Tegra30 and Tegra114 are compatible except PLL parameters. >>> >>> Tested on Tegra30 Cardhu, and Tegra114 Dalmore >>> platforms. All works well. >>> Changes in v4: >> >>> - In pinmux-config-cardhu.h, chnage GMI

Re: [U-Boot] [PATCH 1/3] arm: spl: Fix SPL booting for OMAP3

2013-06-20 Thread Albert ARIBAUD
Hi Stefan, On Thu, 20 Jun 2013 19:01:22 +0200, Stefan Roese wrote: > Hi Albert, > > On 20.06.2013 18:42, Albert ARIBAUD wrote: > >> diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S > >> index a9657d1..b05f66a 100644 > >> --- a/arch/arm/lib/crt0.S > >> +++ b/arch/arm/lib/crt0.S > >> @@ -85

[U-Boot] [PATCH] nand: Don't call adjust_size_for_badblocks for erase

2013-06-20 Thread Scott Wood
adjust_size_for_badblocks reduces the the operation size to account for the block skipping done by the read/write functions when an interval (partition name or whole chip) is specified rather than a data amount. Erase does not do block skipping, except for erase.spread which takes a data amount ra

Re: [U-Boot] bootm does not work if netconsole is enabled

2013-06-20 Thread Michael Walle
Am Mittwoch, 10. April 2013, 18:13:57 schrieb Joe Hershberger: > > disabling the network console before control is handed over to an > > operating system sounds reasonable. > > > > If i understand you correctly, the network will only be halted once the > > bootloader starts an operating system. Th

Re: [U-Boot] [PATCH 1/3] arm: spl: Fix SPL booting for OMAP3

2013-06-20 Thread Stefan Roese
Hi Albert, On 20.06.2013 19:51, Albert ARIBAUD wrote: >>> The correct fix (read: the one I won't NAK) is thus to add a #else >>> clause in the code above, in which r8 will be set to =gdata, and to >>> remove the corresponding assignments in the various places where they >>> reside. >> >> Here's th

Re: [U-Boot] AM335x: enabling datacache in SPL slows down system?

2013-06-20 Thread Jeroen Hofstee
Hallo Bas, On 06/20/2013 10:05 AM, Bas van den Berg wrote: I'm trying to optimize the boottime for an AM335x based board. Currently we're loading the kernel from SPL directly (falcon mode). Loading the kernel from flash to ram takes roughly 3 seconds. When doing this from U-boot itself with 'nan

Re: [U-Boot] [PATCH 1/3] arm: spl: Fix SPL booting for OMAP3

2013-06-20 Thread Albert ARIBAUD
Hi Stefan, On Thu, 20 Jun 2013 20:28:01 +0200, Stefan Roese wrote: > Hi Albert, > > On 20.06.2013 19:51, Albert ARIBAUD wrote: > >>> The correct fix (read: the one I won't NAK) is thus to add a #else > >>> clause in the code above, in which r8 will be set to =gdata, and to > >>> remove the corr

Re: [U-Boot] [PATCH] gpio: omap_gpio: Fix valid gpio range for AM33XX

2013-06-20 Thread Marek Vasut
Dear Stefan Roese, > On 20.06.2013 17:26, Axel Lin wrote: > > AM33XX has 4 gpio banks, thus the valid gpio range should be 0 ... 127. > > > > Signed-off-by: Axel Lin > > --- > > > > drivers/gpio/omap_gpio.c | 4 > > 1 file changed, 4 insertions(+) > > > > diff --git a/drivers/gpio/omap_g

Re: [U-Boot] [PATCH v4] usb: omap: ulpi: fix ulpi transceiver access

2013-06-20 Thread Michael Trimarchi
Hi Tom Should I need to repost? Michael On 06/10/2013 06:18 PM, Michael Trimarchi wrote: > This patch fix the omap access to the transceiver > configuration registers using the ulpi bus. As reported by > the documentation the bit31 is used only to check if the > transaction is done or still runn

Re: [U-Boot] [PATCH v4] usb: omap: ulpi: fix ulpi transceiver access

2013-06-20 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/20/2013 03:53 PM, Michael Trimarchi wrote: > Hi Tom > > Should I need to repost? Nope, we're good. Just had this assigned to Marek in patchwork when I did my last pull request, despite telling Marek I'd do it via u-boot-ti on IRC before. I'll

Re: [U-Boot] [PATCH] gpio: spear_gpio: Fix gpio_set_value() implementation

2013-06-20 Thread Michael Trimarchi
Hi On 06/20/2013 03:56 PM, Axel Lin wrote: > 2013/6/20 Marek Vasut >> >> Dear Axel Lin, >> >>> In current gpio_set_value() implementation, it always sets the gpio control >>> bit no matter the value argument is 0 or 1. Thus the GPIOs never set to >>> low. This patch fixes this bug. >>> >>> Signed

Re: [U-Boot] [PATCH v4] usb: omap: ulpi: fix ulpi transceiver access

2013-06-20 Thread Marek Vasut
Dear Tom Rini, > On 06/20/2013 03:53 PM, Michael Trimarchi wrote: > > Hi Tom > > > > Should I need to repost? > > Nope, we're good. Just had this assigned to Marek in patchwork when I > did my last pull request, despite telling Marek I'd do it via > u-boot-ti on IRC before. I'll pick this up s

Re: [U-Boot] [PATCH] gpio: spear_gpio: Fix gpio_set_value() implementation

2013-06-20 Thread Marek Vasut
Dear Michael Trimarchi, > Hi > > On 06/20/2013 03:56 PM, Axel Lin wrote: > > 2013/6/20 Marek Vasut > > > >> Dear Axel Lin, > >> > >>> In current gpio_set_value() implementation, it always sets the gpio > >>> control bit no matter the value argument is 0 or 1. Thus the GPIOs > >>> never set to

Re: [U-Boot] [PATCH] arm: fix memory coherency problem after relocation

2013-06-20 Thread Marek Vasut
Dear Mike Dunn, > On 06/20/2013 06:56 AM, Marek Vasut wrote: > > Dear Mike Dunn, > > > >> On the xscale, the icache must be invalidated and the write buffers > >> drained after writing code over the data bus, even if the caches are > >> disabled. After rebasing with the main git repository, u-boo

Re: [U-Boot] [PATCH v3 17/21] arm: Implement the 'fake' go command

2013-06-20 Thread Simon Glass
Hi Albert, On Thu, Jun 20, 2013 at 2:55 AM, Albert ARIBAUD wrote: > Hi Simon, > > On Wed, 19 Jun 2013 21:15:10 -0700, Simon Glass > wrote: > > > Implement this feature on ARM for tracing. > > > > It would be nice to have generic bootm support so that it is easily > > implemented on any arch. > >

  1   2   >