Re: [U-Boot] [PATCH] arm: socfpga: Add I2C support to SoCFPGA

2014-10-21 Thread Heiko Schocher
Hello Marek, Am 20.10.2014 16:46, schrieb Marek Vasut: On Monday, October 20, 2014 at 08:45:48 AM, Stefan Roese wrote: Hi all, This patch adds I2C support for the SoCFPGA. Using the designware I2C controller driver. It supports all 4 I2C busses on the SoCFPGA. Signed-off-by: Stefan

Re: [U-Boot] [PATCH] kbuild: clear VENDOR variable to fix build error on tcsh

2014-10-21 Thread Jeroen Hofstee
Thanks Masahiro, On 21-10-14 06:18, Masahiro Yamada wrote: Since the environment VENDOR is set in tcsh, it must be cleared in our makefile. Otherwise, boards without CONFIG_SYS_VENDOR fail to build: make CROSS_COMPILE=arm-linux-gnueabi- wandboard_quad_defconfig all [ snip ] AR

[U-Boot] [PATCH] fix get_ram_size memory corruption

2014-10-21 Thread Gerd Hoffmann
base[0] is saved, but never restored. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- common/memsize.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/memsize.c b/common/memsize.c index 589400d..8bda2ba 100644 --- a/common/memsize.c +++ b/common/memsize.c @@

Re: [U-Boot] [PATCH 1/4] ARM: prevent compiler warnings from bootm.c

2014-10-21 Thread Stefano Babic
Hi Eric, On 01/10/2014 00:40, Eric Nelson wrote: Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5,

Re: [U-Boot] [PATCH 3/4] ARM: i.MX: provide declaration for board_spi_cs_gpio

2014-10-21 Thread Stefano Babic
On 01/10/2014 00:40, Eric Nelson wrote: Provide a public declaration of the board_spi_cs_gpio() callback for i.MX SPI chip selects to prevent the warning Should it be static? when compiling with make C=1. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- Applied to u-boot-imx,

Re: [U-Boot] [PATCH 4/4] ARM: i.MX video: declare displays and display_count publicly

2014-10-21 Thread Stefano Babic
On 01/10/2014 00:40, Eric Nelson wrote: Declare displays[] and display_count in imx-common/video.h to prevent Should it be static? messages when compiling board files with make C=1. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- Applied to u-boot-imx, thanks ! Best

Re: [U-Boot] [PATCH 2/4] ARM: i.MX6: include prototype for get_board_rev()

2014-10-21 Thread Stefano Babic
On 01/10/2014 00:40, Eric Nelson wrote: Include asm/bootm.h to see the prototype for get_board_rev() and prevent warning Should it be static? with make C=1. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

[U-Boot] [PATCH] ls1021aqds: add hwconfig setting to do pin mux

2014-10-21 Thread Yuan Yao
The Freescale LS1021AQDS share some pins, so Add the hwconfig option that allows the user to choose which the function he wants. The main pin mux IP is: eSDHC, SAI, IIC2, RGMII, CAN, SAI. Signed-off-by: Yuan Yao yao.y...@freescale.com --- board/freescale/ls1021aqds/ls1021aqds.c | 67

[U-Boot] [PATCH 0/1] ls1021aqds: add hwconfig setting to do pin mux

2014-10-21 Thread Yuan Yao
Added in v1: - Add pin mux support for ls1021aqds. Test log: U-Boot 2014.07-01993-g052b512-dirty (Oct 20 2014 - 19:58:20) CPU: Freescale LayerScape LS1020E, Version: 1.0, (0x87081010) Clock Configuration: CPU0(ARMV7):1000 MHz, Bus:300 MHz, DDR:800 MHz (1600 MT/s data rate),

Re: [U-Boot] [PATCH] fix get_ram_size memory corruption

2014-10-21 Thread Wolfgang Denk
Dear Gerd, In message 1413874945-16560-1-git-send-email-kra...@redhat.com you wrote: base[0] is saved, but never restored. Patches for this have been submitted before, but were rejected. You may want to dig the archives for these. What exactly is your test case where you see any memory

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

2014-10-21 Thread Igor Grinberg
Hi Simon, I'm sorry for that late reply, I've had email problems during the conference... Finally, I have the email working again and going through the stuff... I guess, it is better late than never.. On 10/14/14 10:25, Simon Glass wrote: Hi Stefan, On 3 October 2014 08:39, Igor Grinberg

Re: [U-Boot] dm: Should U-Boot driver model abandon platform data?

2014-10-21 Thread Igor Grinberg
Hi, On 10/14/14 07:50, Simon Glass wrote: Hi, This question came up at the U-Boot mini-summit yesterday and I was tasked with starting a thread on the mailing list. There seemed to be a strong feeling in the room that permitting platform data in driver model is a mistake. Reasons

[U-Boot] [PATCH] vexpress: qemu can load the fdt to ram base

2014-10-21 Thread Gerd Hoffmann
Check if the fdt is there (happens only when passed via -dtb cmd line switch to qemu), then setup env accordingly. If present use it. Otherwise try to load from disk. Also tweak CONFIG_SYS_LOAD_ADDR and LINUX_BOOT_PARAM_ADDR a bit to avoid them overriding the fdt. ---

[U-Boot] [PATCH] README.kconfig: fix typo

2014-10-21 Thread Igor Grinberg
Fix typo in defconfig file format description. Signed-off-by: Igor Grinberg grinb...@compulab.co.il Cc: Masahiro Yamada yamad...@jp.panasonic.com --- doc/README.kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/README.kconfig b/doc/README.kconfig index

Re: [U-Boot] [PATCH] README.kconfig: fix typo

2014-10-21 Thread Masahiro Yamada
On Tue, 21 Oct 2014 13:27:45 +0300 Igor Grinberg grinb...@compulab.co.il wrote: Fix typo in defconfig file format description. Signed-off-by: Igor Grinberg grinb...@compulab.co.il Cc: Masahiro Yamada yamad...@jp.panasonic.com --- doc/README.kconfig | 2 +- 1 file changed, 1

[U-Boot] [PATCH] fix get_ram_size memory corruption

2014-10-21 Thread Gerd Hoffmann
base[0] is saved, but never restored. Test case: Start u-boot in qemu, using vexpress-a9 emulation. qemu places the fdt at the start of ram, as a service for the guest. Trying to pick it up there by setting fdt_addr accordingly fails because the fdt magic cookie is gone (zeroed out) after

Re: [U-Boot] [PATCH] vexpress: qemu can load the fdt to ram base

2014-10-21 Thread Gerd Hoffmann
On Di, 2014-10-21 at 12:05 +0200, Gerd Hoffmann wrote: Check if the fdt is there (happens only when passed via -dtb cmd line switch to qemu), then setup env accordingly. If present use it. Otherwise try to load from disk. Oops, wrong patch, correct one just send. It shows what I'm doing

Re: [U-Boot] [PATCH 1/2] arm: mx6: add support for TBS2910 Matrix ARM miniPC

2014-10-21 Thread Stefano Babic
Hi Soeren, On 18/10/2014 13:13, Soeren Moch wrote: Add initial support for TBS2910 Matrix ARM miniPC. Support includes MMC, Ethernet, UARTs, HDMI, USB, SATA, PCI, I2C, RTC. Cc: Stefano Babic sba...@denx.de Signed-off-by: Soeren Moch sm...@web.de --- Just a couple of small questions:

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

2014-10-21 Thread Marcel Ziswiler
On Mon, 2014-10-20 at 15:40 +, Tom Warren wrote: Sorry, Marcel. Must have missed it. I'll rebase u-boot-tegra/master against ARM master and apply this, and if no other Tegra patches are pending, I'll send a PR later this week. Thanks, Tom. According to my notes the following 10 patches

[U-Boot] git bisect failed

2014-10-21 Thread Christian Gmeiner
Hi all. Finally I got basic board support for OT1200 into upstream, but the last released version fails to detect SPI flash (read only ff's). The good one is commit 39d0973300b83c08f3f5047245ebf1de883b31f2 and the bad one is c43fd23cf619856b0763a64a6a3bcf3663058c49 [christian@chgm-pc u-boot]$

[U-Boot] [PATCH 4/7] powerpc: aria: convert to generic board

2014-10-21 Thread Anatolij Gustschin
Signed-off-by: Anatolij Gustschin ag...@denx.de --- include/configs/aria.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/aria.h b/include/configs/aria.h index c36cf33..2f9677c 100644 --- a/include/configs/aria.h +++ b/include/configs/aria.h @@ -13,6 +13,9 @@ #define

[U-Boot] [PATCH 1/7] powerpc: mpc512x: fix boot breakage

2014-10-21 Thread Anatolij Gustschin
Commit d6b11fd1 (powerpc: remove MBX and MBX860T boards support) removed mbxbar field in struct sysconf512x by mistake and broke booting on mpc5121 boards. Fix it. Signed-off-by: Anatolij Gustschin ag...@denx.de --- NOTE: ALL mpc512x boards are broken in releases v2014.07 and v2014.10.

[U-Boot] [PATCH 2/7] powerpc: mpc5121ads: convert to generic board

2014-10-21 Thread Anatolij Gustschin
Also enable CONFIG_DISPLAY_BOARDINFO to get checkboard() called. Signed-off-by: Anatolij Gustschin ag...@denx.de --- include/configs/mpc5121ads.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/mpc5121ads.h b/include/configs/mpc5121ads.h index 7de245b..41ae0a5 100644 ---

[U-Boot] [PATCH 3/7] powerpc: pdm360ng: convert to generic board

2014-10-21 Thread Anatolij Gustschin
Signed-off-by: Anatolij Gustschin ag...@denx.de --- include/configs/pdm360ng.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/pdm360ng.h b/include/configs/pdm360ng.h index 553eb8f..17d7bca 100644 --- a/include/configs/pdm360ng.h +++ b/include/configs/pdm360ng.h @@ -13,6

[U-Boot] [PATCH 5/7] powerpc: ac14xx: convert to generic board

2014-10-21 Thread Anatolij Gustschin
Signed-off-by: Anatolij Gustschin ag...@denx.de --- include/configs/ac14xx.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/ac14xx.h b/include/configs/ac14xx.h index f57820d..54b7028 100644 --- a/include/configs/ac14xx.h +++ b/include/configs/ac14xx.h @@ -13,6 +13,9 @@

[U-Boot] [PATCH 7/7] powerpc: digsy_mtc: convert to generic board

2014-10-21 Thread Anatolij Gustschin
Signed-off-by: Anatolij Gustschin ag...@denx.de --- include/configs/digsy_mtc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/digsy_mtc.h b/include/configs/digsy_mtc.h index 2a8cb39..76ec168 100644 --- a/include/configs/digsy_mtc.h +++ b/include/configs/digsy_mtc.h @@

[U-Boot] [PATCH 6/7] powerpc: mecp5123: convert to generic board

2014-10-21 Thread Anatolij Gustschin
Signed-off-by: Anatolij Gustschin ag...@denx.de Cc: Reinhard Arlt reinhard.a...@esd-electronics.com --- include/configs/mecp5123.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/mecp5123.h b/include/configs/mecp5123.h index 6c19817..0b9cbae 100644 ---

[U-Boot] [PATCH] ls1:config: Add USB support for ls1021atwr

2014-10-21 Thread Ramneek Mehresh
Add USB EHCI/XHCI support for ls1021atwr platform and making xHCI as default mode Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com --- include/configs/ls1021atwr.h | 28 1 file changed, 28 insertions(+) diff --git a/include/configs/ls1021atwr.h

[U-Boot] [PATCH] ls1:config: Add XHCI support for ls1021aqds

2014-10-21 Thread Ramneek Mehresh
Add USB XHCI support for ls1021aqds platform and making this as default mode Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com --- include/configs/ls1021aqds.h | 21 - 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/include/configs/ls1021aqds.h

Re: [U-Boot] [PATCH] fix get_ram_size memory corruption

2014-10-21 Thread Wolfgang Denk
Dear Gerd Hoffmann, In message 1413887467-18799-1-git-send-email-kra...@redhat.com you wrote: base[0] is saved, but never restored. Test case: Start u-boot in qemu, using vexpress-a9 emulation. qemu places the fdt at the start of ram, as a service for the guest. Trying to pick it up there

Re: [U-Boot] git bisect failed

2014-10-21 Thread Stefano Babic
Hi Christian, On 21/10/2014 13:43, Christian Gmeiner wrote: Hi all. Finally I got basic board support for OT1200 into upstream, but the last released version fails to detect SPI flash (read only ff's). The good one is commit 39d0973300b83c08f3f5047245ebf1de883b31f2 and the bad one is

Re: [U-Boot] [PATCH] ot1200: remove superfluous string tag

2014-10-21 Thread Stefano Babic
On 07/10/2014 10:58, Christian Gmeiner wrote: Signed-off-by: Christian Gmeiner christian.gmei...@gmail.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD:

Re: [U-Boot] [PATCH 1/2] mx6qsabreauto: Add HDMI support

2014-10-21 Thread Stefano Babic
On 22/09/2014 18:55, Fabio Estevam wrote: Let HDMI splash screen support work by default. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- =

Re: [U-Boot] [PATCH 2/2] mx6sabre_common: Add HDMI config to common code

2014-10-21 Thread Stefano Babic
On 22/09/2014 18:55, Fabio Estevam wrote: HDMI config options can be placed into the common mx6sabre_common.h file to avoid duplication. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

[U-Boot] [PATCH] powerpc: mpc5121ads: update board config info in README

2014-10-21 Thread Anatolij Gustschin
The config targets described in README are not present any more, update the info to currently used targets. Signed-off-by: Anatolij Gustschin ag...@denx.de --- board/freescale/mpc5121ads/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH] e1000: fix sw fw sync on igb i210/i211

2014-10-21 Thread Marcel Ziswiler
I finally had a look at the datasheet and spotted an additional register address difference between regular E1000 and i210/i211 chips. This patch fixes this and now successfully works on programmed i210/i211 as well as unprogrammed i211. Signed-off-by: Marcel Ziswiler mar...@ziswiler.com ---

Re: [U-Boot] [PATCH] fix get_ram_size memory corruption

2014-10-21 Thread Gerd Hoffmann
Hi, I cannot see any memory corruption. If I understand you correctly, the contents of address 0x should be overwritten here? Depends on the address space layout. vexpress-a9 has flash mapped at 0x. RAM starts at 0x6000, and four bytes at 0x6000 get corrupted.

[U-Boot] [PATCH v3] fix get_ram_size memory corruption

2014-10-21 Thread Gerd Hoffmann
base[0] is saved, but only restored in case the ram test failed. Test case: Start u-boot in qemu, using vexpress-a9 emulation. qemu places the fdt at the start of ram, as a service for the guest. Trying to pick it up there by setting fdt_addr accordingly fails because the fdt magic cookie is

Re: [U-Boot] [PATCH v3 2/3] net: Add a command to access the EEPROM from ethernet devices

2014-10-21 Thread Alban Bedel
On Fri, 17 Oct 2014 14:12:18 -0600 Simon Glass s...@chromium.org wrote: I'm unsure about the 'defaults' commands, I would tend to see it at the eeprom level as it might be needed in various situations. However it must be provided by the device, not the eeprom driver itself. It might

Re: [U-Boot] [PATCH] kbuild: clear VENDOR variable to fix build error on tcsh

2014-10-21 Thread Tom Rini
On Tue, Oct 21, 2014 at 01:18:32PM +0900, Masahiro Yamada wrote: Since the environment VENDOR is set in tcsh, it must be cleared in our makefile. Otherwise, boards without CONFIG_SYS_VENDOR fail to build: make CROSS_COMPILE=arm-linux-gnueabi- wandboard_quad_defconfig all [ snip ]

[U-Boot] [PATCH 0/3] Minor cm-t35/cm-t3730 updates

2014-10-21 Thread Igor Grinberg
This patch series makes minor adjustments to the cm-t35/cm-t3730 board code. Igor Grinberg (3): omap3: Kconfig: fix the cm-t35 board option prompt omap3: cm-t35: use define for mmc wp gpio omap3: cm-t35: remove enable_gpmc_cs_config() arch/arm/cpu/armv7/omap3/Kconfig | 2 +-

[U-Boot] [PATCH 1/3] omap3: Kconfig: fix the cm-t35 board option prompt

2014-10-21 Thread Igor Grinberg
The cm-t35 board support covers both cm-t3530 and cm-t3730 boards. Mention both boards in the Kconfig option prompt. Signed-off-by: Igor Grinberg grinb...@compulab.co.il --- arch/arm/cpu/armv7/omap3/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 2/3] omap3: cm-t35: use define for mmc wp gpio

2014-10-21 Thread Igor Grinberg
Switch to using define for MMC WP GPIO instead of a magic number. Signed-off-by: Igor Grinberg grinb...@compulab.co.il --- board/compulab/cm_t35/cm_t35.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/board/compulab/cm_t35/cm_t35.c b/board/compulab/cm_t35/cm_t35.c index

[U-Boot] [PATCH 3/3] omap3: cm-t35: remove enable_gpmc_cs_config()

2014-10-21 Thread Igor Grinberg
The gpmc_init() function already calls enable_gpmc_cs_config() for chip select 0. Although the bus width is configured for 16 bit, it gets reconfigured correctly in the omap_gpmc driver later. Remove the enable_gpmc_cs_config() function call and the associated gpmc_nand_config[] array.

Re: [U-Boot] [PATCH] kbuild: clear VENDOR variable to fix build error on tcsh

2014-10-21 Thread Masahiro YAMADA
Hi Tom, 2014-10-21 22:20 GMT+09:00 Tom Rini tr...@ti.com: diff --git a/config.mk b/config.mk index 2157537..00805bd 100644 --- a/config.mk +++ b/config.mk @@ -18,6 +18,8 @@ PLATFORM_LDFLAGS := LDFLAGS := LDFLAGS_FINAL := OBJCOPYFLAGS := +# clear VENDOR for tcsh +VENDOR :=

[U-Boot] [PATCH 1/2] README.scrapyard: update commit IDs

2014-10-21 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk w...@denx.de --- doc/README.scrapyard | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/README.scrapyard b/doc/README.scrapyard index 1dcdcc7..1b6ae83 100644 --- a/doc/README.scrapyard +++ b/doc/README.scrapyard @@ -12,14 +12,14

[U-Boot] [PATCH 2/2] PowerPC: drop some 74xx_7xx boards and related code

2014-10-21 Thread Wolfgang Denk
The file board/Marvell/include/mv_gen_reg.h is incompatible with the GPL (see for example the MARVELL RESERVES THE RIGHT AT ITS SOLE DISCRETION TO REQUEST THAT THIS CODE BE IMMEDIATELY RETURNED TO MARVELL clause). As this cannot be fixed, we remove the file and all code that depends on it.

Re: [U-Boot] [PATCH v2 2/3] arm: relocate the exception vectors

2014-10-21 Thread Albert ARIBAUD
Hi Georges, On Mon, 20 Oct 2014 23:08:30 +0200, Georges Savoundararadj savou...@gmail.com wrote: Hi Albert, Le 15/10/2014 00:11, Albert ARIBAUD a écrit : Hi Georges, On Tue, 14 Oct 2014 22:02:00 +0200, Georges Savoundararadj savou...@gmail.com wrote: Hi Albert, Hi Masahiro,

Re: [U-Boot] [PATCH 2/2] PowerPC: drop some 74xx_7xx boards and related code

2014-10-21 Thread Stefan Roese
On 21.10.2014 15:42, Wolfgang Denk wrote: The file board/Marvell/include/mv_gen_reg.h is incompatible with the GPL (see for example the MARVELL RESERVES THE RIGHT AT ITS SOLE DISCRETION TO REQUEST THAT THIS CODE BE IMMEDIATELY RETURNED TO MARVELL clause). As this cannot be fixed, we remove

Re: [U-Boot] [PATCH v3] fix get_ram_size memory corruption

2014-10-21 Thread Wolfgang Denk
Dear Gerd, In message 1413894504-26255-1-git-send-email-kra...@redhat.com you wrote: base[0] is saved, but only restored in case the ram test failed. When posting a new version of a patch please always make sure to add a change log! I'm afraid your patch breaks at least some boards; tested on

Re: [U-Boot] [PATCH v2 2/3] arm: relocate the exception vectors

2014-10-21 Thread Albert ARIBAUD
Hi Masahiro, On Tue, 21 Oct 2014 14:41:14 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: I have a question: You are covering only arm1176 and armv7. What about arm1136? I am not sure, but arm1136 and arm1176 both belong to ARMv6 generation? If so, does arm1136 have VBAR

[U-Boot] [RFC] dm: tegra: boot time regression

2014-10-21 Thread Marcel Ziswiler
Migrating our BSPs towards mainline U-Boot I noticed it suddenly booting slower. With mainline Linux I noticed about a 1 to 2 second increase while booting downstream L4T takes 10 to 15 seconds longer! Git bisecting it revealed the following commit to be at odds:

[U-Boot] [PATCH] omap3/am33xx: mux: fix several checkpatch issues

2014-10-21 Thread Igor Grinberg
Fix the following checkpatch issues: CHECK: No space is necessary after a cast \#39: FILE: arch/arm/include/asm/arch-am33xx/mux.h:39: +#define PAD_CTRL_BASE 0x800 +#define OFFSET(x) (unsigned int) (((struct pad_signals *) \ CHECK: Avoid CamelCase: CONTROL_PADCONF_JTAG_nTRST \#284: FILE:

Re: [U-Boot] [PATCH] omap3/am33xx: mux: fix several checkpatch issues

2014-10-21 Thread Stefan Roese
On 21.10.2014 17:25, Igor Grinberg wrote: Fix the following checkpatch issues: CHECK: No space is necessary after a cast \#39: FILE: arch/arm/include/asm/arch-am33xx/mux.h:39: +#define PAD_CTRL_BASE 0x800 +#define OFFSET(x) (unsigned int) (((struct pad_signals *) \ CHECK: Avoid

[U-Boot] [PATCH] doc: fix README.standalone

2014-10-21 Thread Masahiro Yamada
Since commit fe1378a961e5 (ARM: use r9 for gd), r9 register is used on ARM to hold global_data. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- doc/README.standalone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/README.standalone b/doc/README.standalone

Re: [U-Boot] [PATCH] doc: fix README.standalone

2014-10-21 Thread Jeroen Hofstee
Hello Masahiro, On 21-10-14 17:41, Masahiro Yamada wrote: Since commit fe1378a961e5 (ARM: use r9 for gd), r9 register is used on ARM to hold global_data. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- doc/README.standalone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [U-Boot] [PATCH] kbuild: clear VENDOR variable to fix build error on tcsh

2014-10-21 Thread Tom Rini
On Tue, Oct 21, 2014 at 10:41:02PM +0900, Masahiro YAMADA wrote: Hi Tom, 2014-10-21 22:20 GMT+09:00 Tom Rini tr...@ti.com: diff --git a/config.mk b/config.mk index 2157537..00805bd 100644 --- a/config.mk +++ b/config.mk @@ -18,6 +18,8 @@ PLATFORM_LDFLAGS := LDFLAGS :=

Re: [U-Boot] [RFC] dm: tegra: boot time regression

2014-10-21 Thread Simon Glass
Hi Marcel, On 21 October 2014 08:37, Marcel Ziswiler mar...@ziswiler.com wrote: Migrating our BSPs towards mainline U-Boot I noticed it suddenly booting slower. With mainline Linux I noticed about a 1 to 2 second increase while booting downstream L4T takes 10 to 15 seconds longer! Git

Re: [U-Boot] [PATCH v3 2/3] net: Add a command to access the EEPROM from ethernet devices

2014-10-21 Thread Simon Glass
Hi Alban, On 21 October 2014 06:51, Alban Bedel alban.be...@avionic-design.de wrote: On Fri, 17 Oct 2014 14:12:18 -0600 Simon Glass s...@chromium.org wrote: I'm unsure about the 'defaults' commands, I would tend to see it at the eeprom level as it might be needed in various situations.

Re: [U-Boot] Hi Simon, There may exist a problem about FIT image signature verify , can you check this problem?

2014-10-21 Thread Simon Glass
Hi Jason, On 20 October 2014 20:52, Duxiaoqiang duxiaoqi...@huawei.com wrote: Hi Simon All These days I tested verified U-Boot on ARM Foundation. And I found a problem when I tested like this: 1) Generate a FIT image and signature blob file like: mkimage –D “-I dts –O dtb –p 2000”

Re: [U-Boot] [PATCH] kbuild: clear VENDOR variable to fix build error on tcsh

2014-10-21 Thread Tom Rini
On Tue, Oct 21, 2014 at 12:13:23PM -0400, Tom Rini wrote: On Tue, Oct 21, 2014 at 10:41:02PM +0900, Masahiro YAMADA wrote: Hi Tom, 2014-10-21 22:20 GMT+09:00 Tom Rini tr...@ti.com: diff --git a/config.mk b/config.mk index 2157537..00805bd 100644 --- a/config.mk +++ b/config.mk

Re: [U-Boot] [PATCH] image: Fix Android boot image support

2014-10-21 Thread Ahmad Draidi
Hello, Mr. Glass On Tue, Oct 21, 2014 at 12:42 AM, Simon Glass s...@chromium.org wrote: Why have ANDR_BOOT_ARGS_SIZE? If you are going to malloc() anyway, you may as well avoid the limit. Something like: char *bootargs = getenv(bootargs); int len = 0; if (*hdr-cmdline) len +=

Re: [U-Boot] git bisect failed

2014-10-21 Thread Tom Rini
On Tue, Oct 21, 2014 at 01:43:36PM +0200, Christian Gmeiner wrote: Hi all. Finally I got basic board support for OT1200 into upstream, but the last released version fails to detect SPI flash (read only ff's). [snip] I had to skip steps in the bisect run as the board support was not

Re: [U-Boot] git bisect failed

2014-10-21 Thread Fabio Estevam
Hi Christian, On Tue, Oct 21, 2014 at 9:43 AM, Christian Gmeiner christian.gmei...@gmail.com wrote: Hi all. Finally I got basic board support for OT1200 into upstream, but the last released version fails to detect SPI flash (read only ff's). I can confirm that 2014.10 has a SPI probe issue

[U-Boot] [PATCH v2] memsize: Fix for bug in memory sizing code

2014-10-21 Thread Gerd Hoffmann
The original memory sizing code in get_ram_size clobbers the word at the base address, but forgets to restore it. Unlike the (reverted) commit b8496cced856ff411f1eb2e4eff20f5abe7080b0 we'll go save and restore the base address value at the start and then end of the function. It needs to stay

[U-Boot] [PATCH v2] image: Fix Android boot image support

2014-10-21 Thread Ahmad Draidi
This patch makes the following changes: - Set kernel entry point correctly - Append bootargs from image to global bootargs instead of replacing them - Return end address instead of size from android_image_get_end() - Give correct parameter to genimg_get_format() in boot_get_ramdisk()

Re: [U-Boot] [PATCH 1/2] arm: mx6: add support for TBS2910 Matrix ARM miniPC

2014-10-21 Thread Soeren Moch
Hi Stefano, Thanks for your review. +static int mx6_rgmii_rework(struct phy_device *phydev) +{ + unsigned short val; + + /* To enable AR8035 ouput a 125MHz clk from CLK_25M */ + phy_write(phydev, MDIO_DEVAD_NONE, 0xd, 0x7); + phy_write(phydev, MDIO_DEVAD_NONE, 0xe,

[U-Boot] [PATCH] mmc: tegra: handle error returned from bounce_buffer_start

2014-10-21 Thread Michael Scott
Function bounce_buffer_start can return ENOMEM when memalign fails, but the error code is never checked. One such failure happens when state-len_aligned is larger than the remaining free memory (set via CONFIG_SYS_MALLOC_LEN). This leaves state-bounce_buffer as a NULL. If unchecked, the

[U-Boot] [RFC] MW rule and its period

2014-10-21 Thread Masahiro YAMADA
Hello, The following is the notes of the open discussion sent by Detlev: The fact that a large set of patches for the SoCFPGAs was merged after -rc1 was questioned as it does not 100% comply with the rules. The patches constrained to SoCFPGA were no (big) problem, but one of those patches

Re: [U-Boot] [PATCH 3/3] ARM: sunxi: Fix reset command on sun6i/sun8i

2014-10-21 Thread Ian Campbell
On Sun, 2014-10-12 at 10:40 +0800, Chen-Yu Tsai wrote: On Sat, Oct 11, 2014 at 11:33 PM, Ian Campbell i...@hellion.org.uk wrote: On Sat, 2014-10-04 at 20:37 +0800, Chen-Yu Tsai wrote: +#else /* CONFIG_SUN6I || CONFIG_SUN8I || .. */ + static const struct sunxi_wdog *wdog = +

Re: [U-Boot] [linux-sunxi] Re: [PATCH 6/9] ARM: sunxi: Add support for R_PIO gpio banks

2014-10-21 Thread Ian Campbell
On Fri, 2014-10-17 at 22:48 +0800, Chen-Yu Tsai wrote: Hi Ian, On Mon, Oct 13, 2014 at 8:57 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, Oct 12, 2014 at 04:23:05PM +0800, Chen-Yu Tsai wrote: On Sun, Oct 12, 2014 at 12:05 AM, Ian Campbell i...@hellion.org.uk wrote:

Re: [U-Boot] [PATCH v3 6/6] sunxi: Kconfig: Unify sunxi Kconfig code

2014-10-21 Thread Ian Campbell
On Sun, 2014-10-12 at 22:17 +0100, Ian Campbell wrote: -if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN6I || TARGET_SUN7I + default sun4i if TARGET_SUN4I + default sun5i if TARGET_SUN5I + default sun6i if TARGET_SUN5I There is a typo here which is apparent with MAKEALL -s sunxi, since

Re: [U-Boot] [RFC] MW rule and its period

2014-10-21 Thread Otavio Salvador
On Tue, Oct 21, 2014 at 4:07 PM, Masahiro YAMADA yamad...@jp.panasonic.com wrote: ... So two options here I'd like to suggest [1] Every 2 months release with 2 weeks MW MW open: 2 weeks MW closed: 6.5 weeks I prefer this option however I also want to warn this will impose more active

Re: [U-Boot] [PATCH v3 6/6] sunxi: Kconfig: Unify sunxi Kconfig code

2014-10-21 Thread Tom Rini
On Tue, Oct 21, 2014 at 08:03:59PM +0100, Ian Campbell wrote: On Sun, 2014-10-12 at 22:17 +0100, Ian Campbell wrote: -if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN6I || TARGET_SUN7I + default sun4i if TARGET_SUN4I + default sun5i if TARGET_SUN5I + default sun6i if TARGET_SUN5I

Re: [U-Boot] [RFC] MW rule and its period

2014-10-21 Thread Wolfgang Denk
Dear Masahiro, In message CAMhH57R2eBf26ONYD4fnLRWDQ=bjy_0crlm_yoprzgdmwoq...@mail.gmail.com you wrote: Even Linux needs 7 weeks to be stabilized in spite of much more commits than U-Boot. Do we really need 10 weeks? I think a fundamental difference between Linux and U-Boot is that in

Re: [U-Boot] git bisect failed

2014-10-21 Thread Anatolij Gustschin
Hi Christian, On Tue, 21 Oct 2014 13:43:36 +0200 Christian Gmeiner christian.gmei...@gmail.com wrote: Hi all. Finally I got basic board support for OT1200 into upstream, but the last released version fails to detect SPI flash (read only ff's). The good one is commit

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

2014-10-21 Thread Tom Rini
On Mon, Oct 20, 2014 at 11:15:15PM +0200, Anatolij Gustschin wrote: Hey Tom, The following changes since commit c43fd23cf619856b0763a64a6a3bcf3663058c49: Prepare v2014.10 (2014-10-14 04:47:15 -0400) are available in the git repository at: git://git.denx.de/u-boot-video.git master

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2014-10-21 Thread Tom Rini
On Mon, Oct 20, 2014 at 02:29:00PM -0700, York Sun wrote: Tom, The following changes since commit c43fd23cf619856b0763a64a6a3bcf3663058c49: Prepare v2014.10 (2014-10-14 04:47:15 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git master for

[U-Boot] [PATCH 1/3] common/memsize.c: Coding style cleanup

2014-10-21 Thread Wolfgang Denk
Prepare code to make later modifications checkpatch-clean. Signed-off-by: Wolfgang Denk w...@denx.de --- common/memsize.c | 31 +-- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/common/memsize.c b/common/memsize.c index 589400d..0fb9ba5 100644 ---

Re: [U-Boot] [PATCH v2] memsize: Fix for bug in memory sizing code

2014-10-21 Thread Wolfgang Denk
Dear Gerd Hoffmann, In message 1413910153-5907-1-git-send-email-kra...@redhat.com you wrote: The original memory sizing code in get_ram_size clobbers the word at the base address, but forgets to restore it. The funny thing is that it avtually works on some boards. Do you have an explanation

[U-Boot] [PATCH 2/3] common/memsize.c: correctly restore all modified memory loations

2014-10-21 Thread Wolfgang Denk
The original memory sizing code in get_ram_size clobbers the word at the base address, but forgets to restore it. Unlike the (reverted) commit b8496cced856ff411f1eb2e4eff20f5abe7080b0 we save and restore the base address value at the start resp. at the end of the function. It needs to stay

[U-Boot] [PATCH] powerpc: TQM5200: convert to generic board

2014-10-21 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk w...@denx.de --- include/configs/TQM5200.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/configs/TQM5200.h b/include/configs/TQM5200.h index 69c0336..2c1c91f 100644 --- a/include/configs/TQM5200.h +++ b/include/configs/TQM5200.h @@

Re: [U-Boot] [PATCH 2/3] common/memsize.c: correctly restore all modified memory loations

2014-10-21 Thread Wolfgang Denk
Note: there is no patch 3/3 in his series. It was originally [PATCH] powerpc: TQM5200: convert to generic board but this is actually not related to these changes here, so I decided to post it independently. Sorry for the confusion. Best regards, Wolfgang Denk -- DENX Software

[U-Boot] [PATCH] Correct single misspelling of consitant in source tree.

2014-10-21 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day rpj...@crashcourse.ca --- diff --git a/include/config_distro_defaults.h b/include/config_distro_defaults.h index 5d18a4b..1ecc0bb 100644 --- a/include/config_distro_defaults.h +++ b/include/config_distro_defaults.h @@ -10,7 +10,7 @@ /* * List of all commands

[U-Boot] [PATCH] powerpc: o2dnt: convert to generic board

2014-10-21 Thread Anatolij Gustschin
Signed-off-by: Anatolij Gustschin ag...@denx.de --- include/configs/o2dnt-common.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/o2dnt-common.h b/include/configs/o2dnt-common.h index 133dc6f..b716d05 100644 --- a/include/configs/o2dnt-common.h +++

[U-Boot] [PATCH] Correct two non-functional misspellings overrided.

2014-10-21 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day rpj...@crashcourse.ca --- given that the typoes occur in Kconfig help and a comment, the changes are effectively non-functional. diff --git a/dts/Kconfig b/dts/Kconfig index 83ba7a6..5fe63f8 100644 --- a/dts/Kconfig +++ b/dts/Kconfig @@ -49,7 +49,7 @@ config

Re: [U-Boot] [PATCH] Revert sunxi: dram: Use divisor P=1 for PLL5

2014-10-21 Thread Tom Rini
On Thu, Oct 16, 2014 at 10:48:34AM +0200, Hans de Goede wrote: Hi, On 10/15/2014 12:34 PM, Siarhei Siamashka wrote: On Wed, 15 Oct 2014 12:12:11 +0200 Hans de Goede hdego...@redhat.com wrote: This change breaks various hardcoded assumptions in the linux-sunxi-3.4 kernels, causing a

[U-Boot] make help talks about starred targets when nothing is starred

2014-10-21 Thread Robert P. J. Day
running make help concludes with the claim: Execute make or make all to build all targets marked with [*] but i see no make targets marked that way -- i suspect that was just a copy and paste from the kernel Makefile, yes? rday ___ U-Boot mailing

Re: [U-Boot] [PATCH 1/7] spi: altera: Use struct-based register access

2014-10-21 Thread Marek Vasut
On Monday, October 20, 2014 at 07:19:33 PM, Jagan Teki wrote: On 20 October 2014 20:40, Marek Vasut ma...@denx.de wrote: On Monday, October 20, 2014 at 04:53:15 PM, Jagan Teki wrote: [...] -#define ALTERA_SPI_RXDATA 0 -#define ALTERA_SPI_TXDATA 4 -#define

Re: [U-Boot] [PATCH v2] memsize: Fix for bug in memory sizing code

2014-10-21 Thread Gerd Hoffmann
On Di, 2014-10-21 at 22:14 +0200, Wolfgang Denk wrote: Dear Gerd Hoffmann, In message 1413910153-5907-1-git-send-email-kra...@redhat.com you wrote: The original memory sizing code in get_ram_size clobbers the word at the base address, but forgets to restore it. The funny thing is that

Re: [U-Boot] [PATCH 2/3] common/memsize.c: correctly restore all modified memory loations

2014-10-21 Thread Gerd Hoffmann
Hi, Signed-off-by: Gerd Hoffmann kra...@redhat.com No, I didn't signed this patch off. And I will not because it is broken. for (cnt = (maxsize / sizeof(long)) 1; cnt 0; cnt = 1) { addr = base + cnt; /* pointer arith! */ @@ -44,6 +44,7 @@ long get_ram_size(long

[U-Boot] [PATCH] mx6sabresd: Add Seiko WVGA panel support

2014-10-21 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Add support for the 4.3'' Seiko WVGA parallel display. In order to direct the splash screen to the Seiko display: = setenv panel SEIKO-WVGA = save = reset Signed-off-by: Fabio Estevam fabio.este...@freescale.com ---

Re: [U-Boot] git bisect failed

2014-10-21 Thread Fabio Estevam
On Tue, Oct 21, 2014 at 2:47 PM, Fabio Estevam feste...@gmail.com wrote: Hi Christian, On Tue, Oct 21, 2014 at 9:43 AM, Christian Gmeiner christian.gmei...@gmail.com wrote: Hi all. Finally I got basic board support for OT1200 into upstream, but the last released version fails to detect

Re: [U-Boot] [PATCH 0/4] dm: rpi: Move Raspberry Pi to use driver model

2014-10-21 Thread Simon Glass
Hi Stephen, On 20 October 2014 20:23, Stephen Warren swar...@wwwdotorg.org wrote: On 10/19/2014 09:14 PM, Simon Glass wrote: Hi Stephen, On 17 October 2014 20:51, Stephen Warren swar...@wwwdotorg.org wrote: On 09/30/2014 07:41 PM, Stephen Warren wrote: On 09/22/2014 05:30 PM, Simon Glass

Re: [U-Boot] [PATCH] net: asix: Add support for AX88772B

2014-10-21 Thread Alexandre Courbot
Hi Marek, I am still not seeing this patch in mainline ; maybe you will want to take it as you suggested? Thanks, Alex. On 10/10/2014 12:10 AM, Marek Vasut wrote: On Thursday, October 09, 2014 at 05:43:30 AM, Alexandre Courbot wrote: This USB device works as-is on this driver.