[U-Boot] [PATCH 2/3] drivers: usb: Make usb device-tree fixup code architecture independent

2014-09-30 Thread Nikhil Badola
move usb device tree fixup code from arch/powerpc/ to drivers/usb/ so that it works independent of architecture it is running on Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com Signed-off-by: Nikhil Badola nikhil.bad...@freescale.com --- arch/powerpc/cpu/mpc8xxx/fdt.c | 104

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

2014-09-30 Thread Valentin Longchamp
Hi Simon, I'm very glad you answered this, I was busy with other stuff these last weeks but I had planed to pick this issue again this week. On 09/28/2014 06:27 AM, Simon Glass wrote: Hi, On 26 August 2014 09:17, Valentin Longchamp valentin.longch...@keymile.com wrote: Hello, Here is

Re: [U-Boot] [PATCH] sunxi: Fix gmac not working reliable on the Bananapi

2014-09-30 Thread Ian Campbell
On Sun, 2014-09-28 at 20:13 +0200, Hans de Goede wrote: In order for the gmac nic to work reliable on the Bananapi, we need to poke these 2 undocumented bits in the gmac clk register. Since these are undocumented, this commit only sets these bits on the Bananapi for now. I'll contact

Re: [U-Boot] [linux-sunxi] Re: [PATCH v2 10/10] ARM: sun6i: Add Colombus board defconfig

2014-09-30 Thread Ian Campbell
On Mon, 2014-09-29 at 20:08 +0200, Hans de Goede wrote: Right, so lets just drop the board and I'll do a pull-req with only the bananapi gmac fix, can I have your Reviewed-by for that one please? Done. ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] environment expectations of config_distro_bootcmd.h

2014-09-30 Thread Ian Campbell
On Mon, 2014-09-29 at 14:33 -0300, Otavio Salvador wrote: On Mon, Sep 29, 2014 at 2:17 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 09/28/2014 08:30 AM, Ian Campbell wrote: Is there any documentation as to what environment variables a platform must provide if it uses

[U-Boot] [PATCH 1/3] drivers: usb: fsl: Move USB Errata checking code

2014-09-30 Thread Nikhil Badola
Move USB Errata checking code from arch/powerpc to architecture independent file fsl_usb.h so that errata(s) become independent of the architecture. For each erratum checking function for PPC arch, define a nop function for non PPC arch for successful compilation in either case Signed-off-by:

[U-Boot] [PATCH 3/3] drivers: usb: fsl: Add USB device-tree errata framework

2014-09-30 Thread Nikhil Badola
Add a new framework for fsl usb erratum handling to standardize erratum checking only inside Uboot. Information to kernel is passed via a boolean property corresponding to erratum, hence eliminating need for code duplication inside kernel Signed-off-by: Ramneek Mehresh

[U-Boot] [RFC PATCH] genboardscfg.py: use Python2 from default path

2014-09-30 Thread Wolfgang Denk
Instead of searching for Python2 in $PATH, use the one installed by the system (i. e. /usr/bin/python2). This prevents failures like this: - ./MAKEALL m53evk Traceback (most recent call last): File tools/genboardscfg.py, line 19, in module import fnmatch ImportError: No module named

[U-Boot] drivers/net/phy/icplus.c delete reason

2014-09-30 Thread Dvorkin Dmitry
Hello Masahiro Yamada! 4 Aug 2014 in this mailing list you requested deletion of ICPLUS driver for a frequently used and cheap IP101A/G phy. Is there are better alternative PHY driver in U-Boot for this device? If not, could you patch it back? ___

Re: [U-Boot] drivers/net/phy/icplus.c delete reason

2014-09-30 Thread Wolfgang Denk
Dear Dmitry, In message 542a5861.7010...@tibbo.com you wrote: 4 Aug 2014 in this mailing list you requested deletion of ICPLUS driver for a frequently used and cheap IP101A/G phy. Is there are better alternative PHY driver in U-Boot for this device? If not, could you patch it back? The

Re: [U-Boot] drivers/net/phy/icplus.c delete reason

2014-09-30 Thread Masahiro Yamada
Hi Dvorkin, On Tue, 30 Sep 2014 11:14:41 +0400 Dvorkin Dmitry dvor...@tibbo.com wrote: Hello Masahiro Yamada! 4 Aug 2014 in this mailing list you requested deletion of ICPLUS driver for a frequently used and cheap IP101A/G phy. Is there are better alternative PHY driver in U-Boot for

[U-Boot] [PATCH] SPDX License cleanup for LiMon imported files

2014-09-30 Thread Wolfgang Denk
A number of network related files were imported from the LiMon project; these contain a somewhat unclear license statement: Copyright 1994 - 2000 Neil Russell. (See License) I analyzed the source code of LiMon v1.4.2 which was used for this import. It does not contain any

Re: [U-Boot] [RFC PATCH] genboardscfg.py: use Python2 from default path

2014-09-30 Thread Masahiro Yamada
Hi Wolfgang, On Tue, 30 Sep 2014 10:17:22 +0200 Wolfgang Denk w...@denx.de wrote: Instead of searching for Python2 in $PATH, use the one installed by the system (i. e. /usr/bin/python2). This prevents failures like this: - ./MAKEALL m53evk Traceback (most recent call last): File

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

2014-09-30 Thread Andy Pont
Hello Heiko, Using the patches from Bo Shen to support the NOR flash on the Atmel which patches? I can't find the references in Patchman but they were sent to the mailing list on 18th July 2014 in a series called ARM: atmel: sama5d3xek: enable NOR flash support. The patches basically just

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

2014-09-30 Thread Heiko Schocher
Hello Andy, Am 30.09.2014 11:04, schrieb Andy Pont: Hello Heiko, Using the patches from Bo Shen to support the NOR flash on the Atmel which patches? I can't find the references in Patchman but they were sent to the mailing list on 18th July 2014 in a series called ARM: atmel: sama5d3xek:

Re: [U-Boot] [PATCH v4 1/2] imx: mx6dlarm2: Add support for i.MX6DL arm2 DDR3 board

2014-09-30 Thread Stefano Babic
Hi Ye, On 29/09/2014 17:26, Ye.Li wrote: This patch adds the i.MX6DL arm2 board support. The i.MX6DL ARM2 shared the same board with i.MX6Q ARM2 board since the i.MX6DL is pin-pin compatible with i.MX6Q. The patch also support the DDR 32-BIT mode option. Please define CONFIG_DDR_32BIT in

Re: [U-Boot] [PATCH v4 2/2] imx: mx6dlarm2: Add support for i.MX6Q/DL arm2 LPDDR2 boards

2014-09-30 Thread Stefano Babic
On 29/09/2014 17:26, Ye.Li wrote: Update the ddr scripts for LPDDR2 and add two build configs for LPDDR2 arm2 board. Since the LPDDR2 arm2 board has different DDR size, use CONFIG_DDR_MB in defconfig to replace the PHYS_SDRAM_SIZE. Signed-off-by: Ye.Li b37...@freescale.com --- Applied to

[U-Boot] [PATCH] ARM: mx6: gw_ventana: Remove superfluous memset of GD in board_init_f

2014-09-30 Thread Stefan Roese
Zeroing GD in board_init_f() is not needed any more. As its now done in crt0.S. The patch that clears the GD in crt0.S is this one: aae2aef9 [arm: Set up global data before board_init_f()] from Simon. Signed-off-by: Stefan Roese s...@denx.de Cc: Tim Harvey thar...@gateworks.com Cc: Stefano Babic

[U-Boot] [PATCH 3/4] VCMA9: convert to generic board

2014-09-30 Thread David Müller
Signed-off-by: David Müller d.muel...@elsoft.ch --- include/configs/VCMA9.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/VCMA9.h b/include/configs/VCMA9.h index d40185e..0d8a13c 100644 --- a/include/configs/VCMA9.h +++ b/include/configs/VCMA9.h @@ -28,6 +28,8 @@

[U-Boot] Activate generic board feature on all MPL boards

2014-09-30 Thread David Müller
[PATCH 1/4] PIP405: convert to generic board [PATCH 2/4] MIP405: convert to generic board [PATCH 3/4] VCMA9: convert to generic board [PATCH 4/4] PATI: convert to generic board ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH 2/4] MIP405: convert to generic board

2014-09-30 Thread David Müller
Signed-off-by: David Müller d.muel...@elsoft.ch --- include/configs/MIP405.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/MIP405.h b/include/configs/MIP405.h index 68824fd..147f122 100644 --- a/include/configs/MIP405.h +++ b/include/configs/MIP405.h @@ -21,6 +21,8 @@

[U-Boot] [PATCH 1/4] PIP405: convert to generic board

2014-09-30 Thread David Müller
Signed-off-by: David Müller d.muel...@elsoft.ch --- include/configs/PIP405.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/PIP405.h b/include/configs/PIP405.h index a6f505a..9a1b2ac 100644 --- a/include/configs/PIP405.h +++ b/include/configs/PIP405.h @@ -21,6 +21,8 @@

[U-Boot] [PATCH 4/4] PATI: convert to generic board

2014-09-30 Thread David Müller
Signed-off-by: David Müller d.muel...@elsoft.ch --- include/configs/PATI.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/PATI.h b/include/configs/PATI.h index d823b0f..65ab65d 100644 --- a/include/configs/PATI.h +++ b/include/configs/PATI.h @@ -21,6 +21,8 @@ #define

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

2014-09-30 Thread Andy Pont
Hello Heiko, Hmm.. I thought to see something like this: too large reserved_pebs %d, good PEBs %d I am not familiar with this HW ... I think, you have to debug into it Changing the dbg_err() to ubi_err() and also adding a bit more output then I get: UBI error: vtbl_check: reserved_pebs

[U-Boot] [PATCH] PATI: fix broken SPI access

2014-09-30 Thread David Müller
fix broken SPI access by adding/activating BOARD_EARLY_INIT_F functionality and calling spi_init_f() from there. Signed-off-by: David Müller d.muel...@elsoft.ch --- board/mpl/pati/pati.c | 5 + include/configs/PATI.h | 1 + 2 files changed, 6 insertions(+) diff --git

Re: [U-Boot] [RFC PATCH] genboardscfg.py: use Python2 from default path

2014-09-30 Thread Wolfgang Denk
Dear Masahiro, In message 20140930175820.4a3c.aa925...@jp.panasonic.com you wrote: This happens for example with all but the most recent versions of Yocto based tool chains (inclusing all currently existing versions of the ELDK), which provide a python2 binary in SYSROOT/usr/bin/python2,

[U-Boot] [PATCH] VCMA9: remove EXT2 support

2014-09-30 Thread David Müller
remove the seldomly used EXT2 support because the U-Boot binary will not fit into the 512KiB flash otherwise. Signed-off-by: David Müller d.muel...@elsoft.ch --- include/configs/VCMA9.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/VCMA9.h b/include/configs/VCMA9.h index

Re: [U-Boot] [PATCH 1/3] usb: dwc2: Add driver for Synopsis DWC2 USB IP block

2014-09-30 Thread Pavel Machek
Hi! + case (USB_REQ_GET_DESCRIPTOR 8) | USB_DIR_IN | USB_TYPE_CLASS: + { + __u32 temp = 0x0001; temp is never writtenn to. Can you just write 1 instead of it? I added a comment. This is the root port config, so it should be tweakable in case there is some mutated

Re: [U-Boot] [linux-sunxi] Re: [PATCH] sunxi: Fix gmac not working reliable on the Bananapi

2014-09-30 Thread Hans de Goede
Hi, On 09/29/2014 08:35 PM, jonsm...@gmail.com wrote: On Mon, Sep 29, 2014 at 2:16 PM, Karsten Merker mer...@debian.org wrote: On Mon, Sep 29, 2014 at 09:13:37AM +0300, Siarhei Siamashka wrote: How did you come to the idea to poke these bits? The linux 3.4 kernel from

Re: [U-Boot] [linux-sunxi] Re: [PATCH] sunxi: Fix gmac not working reliable on the Bananapi

2014-09-30 Thread jonsm...@gmail.com
On Tue, Sep 30, 2014 at 8:02 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 09/29/2014 08:35 PM, jonsm...@gmail.com wrote: On Mon, Sep 29, 2014 at 2:16 PM, Karsten Merker mer...@debian.org wrote: On Mon, Sep 29, 2014 at 09:13:37AM +0300, Siarhei Siamashka wrote: How did you come to the

Re: [U-Boot] [PATCH] PATI: fix broken SPI access

2014-09-30 Thread Jagan Teki
On 30 September 2014 16:53, David Müller d.muel...@elsoft.ch wrote: fix broken SPI access by adding/activating BOARD_EARLY_INIT_F functionality and calling spi_init_f() from there. Signed-off-by: David Müller d.muel...@elsoft.ch --- board/mpl/pati/pati.c | 5 + include/configs/PATI.h

Re: [U-Boot] [PATCH V2 1/2] ARM: rpi_b: query internal MAC address from firmware

2014-09-30 Thread Marek Vasut
just that the code looks a bit iffy, that's all. [...] Who will pick this series , shall I pick it ? That sounds reasonable to me; they depend on your patches. I suppose Albert might want to ack that. OK, I placed it into u-boot-usb/topic/dwc2-20140930 for now. Best regards, Marek

Re: [U-Boot] [PATCH] PATI: fix broken SPI access

2014-09-30 Thread ELSOFT AG
Jagan Teki wrote: On 30 September 2014 16:53, David Müller d.muel...@elsoft.ch wrote: +int board_early_init_f(void) +{ + spi_init_f(); Why you need to do this, spi_init_f is trying to call from arch/powerpc/lib/board.c any specific reason, I couldn't understand the fix you mentioned

Re: [U-Boot] [PATCH 0/5] Add EXT filesystem support to SPL

2014-09-30 Thread Tom Rini
On Mon, Sep 29, 2014 at 08:39:54AM +0200, Guillaume Gardet wrote: Hi, Just a ping on this patch set which affects various part of u-boot. Any comments ? I like the concept and will look harder for the next merge window, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v4] imx: Support i.MX6 High Assurance Boot authentication

2014-09-30 Thread Fabio Estevam
Hi Nitin, On Tue, Sep 16, 2014 at 3:33 PM, Nitin Garg nitin.g...@freescale.com wrote: When CONFIG_SECURE_BOOT is enabled, the signed images like kernel and dtb can be authenticated using iMX6 CAAM. The added command hab_auth_img can be used for HAB authentication of images. The command takes

Re: [U-Boot] [PATCH v4 0/15] samsung: Use common config files with Samsung boards

2014-09-30 Thread Minkyu Kang
Dear Simon Glass, On 29/09/14 10:18, Simon Glass wrote: This series tries to unify the Samsung board configs into a few header files for exynos5 and exynos4. The purpose is to make it easier to move to driver model. In that case I would like things like the GPIO drivers and serial drivers

Re: [U-Boot] [linux-sunxi] [PATCH] sunxi: Fix gmac not working reliable on the Bananapi

2014-09-30 Thread Koen Kooi
Op 30 sep. 2014, om 14:02 heeft Hans de Goede hdego...@redhat.com het volgende geschreven: Hi, On 09/29/2014 08:35 PM, jonsm...@gmail.com wrote: On Mon, Sep 29, 2014 at 2:16 PM, Karsten Merker mer...@debian.org wrote: On Mon, Sep 29, 2014 at 09:13:37AM +0300, Siarhei Siamashka wrote: How

Re: [U-Boot] [PATCH 0/5] Add EXT filesystem support to SPL

2014-09-30 Thread Guillaume Gardet
Le 30/09/2014 15:33, Tom Rini a écrit : On Mon, Sep 29, 2014 at 08:39:54AM +0200, Guillaume Gardet wrote: Hi, Just a ping on this patch set which affects various part of u-boot. Any comments ? I like the concept and will look harder for the next merge window, thanks! Ok, thanks for the

Re: [U-Boot] [PATCH] PATI: fix broken SPI access

2014-09-30 Thread Jagan Teki
On 30 September 2014 18:41, David Müller (ELSOFT AG) d.muel...@elsoft.ch wrote: Jagan Teki wrote: On 30 September 2014 16:53, David Müller d.muel...@elsoft.ch wrote: +int board_early_init_f(void) +{ + spi_init_f(); Why you need to do this, spi_init_f is trying to call from

[U-Boot] [PATCH v1] imx6sx: Fix i.MX6SX HAB api function table offset

2014-09-30 Thread Nitin Garg
i.MX6SX ROM implements unified table sections. The HAB function table is at offset 0x100. Update the HAB function pointers accordingly. Signed-off-by: Nitin Garg nitin.g...@freescale.com --- arch/arm/include/asm/arch-mx6/hab.h | 33 +++--

Re: [U-Boot] [PATCH v4] imx: Support i.MX6 High Assurance Boot authentication

2014-09-30 Thread Nitin Garg
Hi Fabio, On 09/30/2014 08:44 AM, Fabio Estevam wrote: Hi Nitin, On Tue, Sep 16, 2014 at 3:33 PM, Nitin Garg nitin.g...@freescale.com wrote: When CONFIG_SECURE_BOOT is enabled, the signed images like kernel and dtb can be authenticated using iMX6 CAAM. The added command hab_auth_img can be

Re: [U-Boot] [PATCH] PATI: fix broken SPI access

2014-09-30 Thread Tom Rini
On Tue, Sep 30, 2014 at 08:06:43PM +0530, Jagan Teki wrote: On 30 September 2014 18:41, David Müller (ELSOFT AG) d.muel...@elsoft.ch wrote: Jagan Teki wrote: On 30 September 2014 16:53, David Müller d.muel...@elsoft.ch wrote: +int board_early_init_f(void) +{ + spi_init_f();

Re: [U-Boot] [PATCH] PATI: fix broken SPI access

2014-09-30 Thread ELSOFT AG
Jagan Teki wrote: On 30 September 2014 18:41, David Müller (ELSOFT AG) d.muel...@elsoft.ch wrote: Jagan Teki wrote: On 30 September 2014 16:53, David Müller d.muel...@elsoft.ch wrote: +int board_early_init_f(void) +{ + spi_init_f(); Why you need to do this, spi_init_f is trying to

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

2014-09-30 Thread Mario Schuknecht
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 field is compared. But this field is previously written under certain circumstances. And then the

Re: [U-Boot] [PATCH v1] imx6sx: Fix i.MX6SX HAB api function table offset

2014-09-30 Thread Fabio Estevam
On Tue, Sep 30, 2014 at 11:43 AM, Nitin Garg nitin.g...@freescale.com wrote: i.MX6SX ROM implements unified table sections. The HAB function table is at offset 0x100. Update the HAB function pointers accordingly. Signed-off-by: Nitin Garg nitin.g...@freescale.com It fixes the issue for me,

[U-Boot] Please increase the image size for km boards

2014-09-30 Thread York Sun
Valentin, We are seeing the image size of kmcoge4 and kmlion1 are on the edge. Attempts to add new features cause overflow. Would you consider to increase the image size for km boards. You may have noticed several patches doing this for selected boards (search git log for 768K). Thanks, York

[U-Boot] [PATCH v1] imx6sx: Fix i.MX6SX HAB api function table offset

2014-09-30 Thread Nitin Garg
i.MX6SX ROM implements unified table sections. The HAB function table is at offset 0x100. Update the HAB function pointers accordingly. Signed-off-by: Nitin Garg nitin.g...@freescale.com Tested-by: Fabio Estevam fabio.este...@freescale.com --- arch/arm/include/asm/arch-mx6/hab.h | 16

Re: [U-Boot] [PATCH v1] imx6sx: Fix i.MX6SX HAB api function table offset

2014-09-30 Thread Fabio Estevam
On Tue, Sep 30, 2014 at 12:40 PM, Nitin Garg nitin.g...@freescale.com wrote: i.MX6SX ROM implements unified table sections. The HAB function table is at offset 0x100. Update the HAB function pointers accordingly. Signed-off-by: Nitin Garg nitin.g...@freescale.com Tested-by: Fabio Estevam

[U-Boot] [PATCH v2] imx6sx: Fix i.MX6SX HAB api function table offset

2014-09-30 Thread Nitin Garg
i.MX6SX ROM implements unified table sections. The HAB function table is at offset 0x100. Update the HAB function pointers accordingly. Signed-off-by: Nitin Garg nitin.g...@freescale.com Tested-by: Fabio Estevam fabio.este...@freescale.com --- Changes in v2: -Moved CONFIG_ROM_UNIFIED_SECTIONS

Re: [U-Boot] [PATCH] PATI: fix broken SPI access

2014-09-30 Thread Jagan Teki
On 30 September 2014 20:28, David Müller (ELSOFT AG) d.muel...@elsoft.ch wrote: Jagan Teki wrote: On 30 September 2014 18:41, David Müller (ELSOFT AG) d.muel...@elsoft.ch wrote: Jagan Teki wrote: On 30 September 2014 16:53, David Müller d.muel...@elsoft.ch wrote: +int

Re: [U-Boot] [PATCH v1] imx6sx: Fix i.MX6SX HAB api function table offset

2014-09-30 Thread Stefano Babic
Hi Nitin, hi Fabio, thanks for immediately fix the issue - I have some comments. On 30/09/2014 17:40, Nitin Garg wrote: i.MX6SX ROM implements unified table sections. The HAB function table is at offset 0x100. Update the HAB function pointers accordingly. Signed-off-by: Nitin Garg

Re: [U-Boot] [PATCH v1] imx6sx: Fix i.MX6SX HAB api function table offset

2014-09-30 Thread Fabio Estevam
Hi Stefano, On Tue, Sep 30, 2014 at 1:08 PM, Stefano Babic sba...@denx.de wrote: I do not like this approach because we do not need an additional CONFIG_, that remains undocumented. If CONFIG_MX6SX, HAB_RVT_BASE is always 0x100 - CONFIG_ROM_UNIFIED_SECTIONS is like a redundant information,

[U-Boot] [PATCH v3] imx6sx: Fix i.MX6SX HAB api function table offset

2014-09-30 Thread Nitin Garg
i.MX6SX ROM implements unified table sections. The HAB function table is at offset 0x100. Update the HAB function pointers accordingly. Signed-off-by: Nitin Garg nitin.g...@freescale.com Tested-by: Fabio Estevam fabio.este...@freescale.com --- Changes in v3: -Removed CONFIG_ROM_UNIFIED_SECTIONS

[U-Boot] [PATCH fix for v2014.10 0/1] sunxi: Fix gmac not working reliable on the Bananapi

2014-09-30 Thread Hans de Goede
Hi Tom, Here is a last minute sunxi bug-fix for v2014.10, which fixes the ethernet on the bananapi being unusable. Ian and I (the sunxi custodians) would like to see this included in v2014.10, can you please apply it to master before the release ? Thanks Regards, Hans

[U-Boot] [PATCH fix for v2014.10] sunxi: Fix gmac not working reliable on the Bananapi

2014-09-30 Thread Hans de Goede
In order for the gmac nic to work reliable on the Bananapi, we need to set bits 10-12 GTXDC GMAC Transmit Clock Delay Chain of the GMAC clk register (0x01c20164) to 3. Without this about 9 out of 10 ethernet packets get lost, with this setting there is no packet loss. So far setting these bits

[U-Boot] [PATCH] mx6sxsabresd: Fix PCI reset and power GPIO assignments

2014-09-30 Thread Fabio Estevam
PERST_GPIO and POWER_GPIO are currently swapped. Fix the GPIO assignments as per the board schematics. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/mx6sxsabresd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH] ARM: mx6: gw_ventana: Remove superfluous memset of GD in board_init_f

2014-09-30 Thread Tim Harvey
On Tue, Sep 30, 2014 at 3:41 AM, Stefan Roese s...@denx.de wrote: Zeroing GD in board_init_f() is not needed any more. As its now done in crt0.S. The patch that clears the GD in crt0.S is this one: aae2aef9 [arm: Set up global data before board_init_f()] from Simon. Signed-off-by: Stefan

Re: [U-Boot] [PATCH v1] imx6sx: Fix i.MX6SX HAB api function table offset

2014-09-30 Thread Stefano Babic
Hi Fabio, On 30/09/2014 18:31, Fabio Estevam wrote: Hi Stefano, On Tue, Sep 30, 2014 at 1:08 PM, Stefano Babic sba...@denx.de wrote: I do not like this approach because we do not need an additional CONFIG_, that remains undocumented. If CONFIG_MX6SX, HAB_RVT_BASE is always 0x100 -

Re: [U-Boot] [PATCH v1] imx6sx: Fix i.MX6SX HAB api function table offset

2014-09-30 Thread Fabio Estevam
On Tue, Sep 30, 2014 at 2:43 PM, Stefano Babic sba...@denx.de wrote: ok - I have seen V3, I will apply it. Thanks, Stefano! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 02/30] sandbox: Convert SPI flash emulation to use sf_params

2014-09-30 Thread Simon Glass
On 15 September 2014 06:33, Simon Glass s...@chromium.org wrote: At present sandbox has its own table of supported SPI flash chips. Now that the SPI flash system is fully consolidated and has its own list, sandbox should use that. This enables us to expand the number of chips that sandbox

Re: [U-Boot] [PATCH v2 03/30] sandbox: config: Enable all SPI flash chips

2014-09-30 Thread Simon Glass
On 15 September 2014 06:33, Simon Glass s...@chromium.org wrote: Sandbox may as well support everything. This increases the amount of code that is built/tested by sandbox, and also provides access to all the supported SPI flash devices. Signed-off-by: Simon Glass s...@chromium.org

Re: [U-Boot] [PATCH v2 05/30] dm: spi: Move cmd device code into its own function

2014-09-30 Thread Simon Glass
On 15 September 2014 06:33, Simon Glass s...@chromium.org wrote: In preparation for changing the error handling in this code for driver model, move it into its own function. Reviewed-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Signed-off-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] [PATCH v2 06/30] spi: Add brackets and tidy defines in spi.h

2014-09-30 Thread Simon Glass
On 15 September 2014 06:33, Simon Glass s...@chromium.org wrote: Some of the #defines in spi.h are not bracketed. To avoid future mistakes add brackets. Also add an explanatory comment for SPI_CONN_DUAL_... Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Jagannadha Sutradharudu Teki

[U-Boot] Boot reason in SPL for OMAP4

2014-09-30 Thread Gregoire Gentil
Hello, In TI x-loader, the boot reason is copied to a scratchpad 0x4A326000 as shown here: https://gitorious.org/x-loader/x-loader/source/HEAD:cpu/omap4/start.S#L102 How can I access the boot reason in u-boot or in the SPL? Grégoire ___ U-Boot

[U-Boot] [PATCH 0/3] usb: gadget: fastboot miscellaneous patches

2014-09-30 Thread Eric Nelson
While trying to configure Nitrogen6X boards to use Android Fastboot, I found a number of places where the implementation doesn't appear to match the latest host tools on AOSP. Eric Nelson (3): usb: gadget: fastboot: add max-download-size variable usb: gadget: fastboot: explicitly set radix of

[U-Boot] [PATCH 2/3] usb: gadget: fastboot: explicitly set radix of maximum download size

2014-09-30 Thread Eric Nelson
The processing of the max-download-size variable requires a radix specifier, or the fastboot host tool will interpret it as an octal number. See function get_target_sparse_limit() in file fastboot/fastboot.c in the AOSP: https://android.googlesource.com/platform/system/core/+/master

[U-Boot] [PATCH 3/3] usb: gadget: fastboot: terminate commands with NULL

2014-09-30 Thread Eric Nelson
Without NULL termination, various commands will read past the end of input. In particular, this was noticed with error() calls in cb_getvar and simple_strtoul() in cb_download. Since the download callback happens elsewhere, the 4k buffer should always be sufficient to handle command arguments.

[U-Boot] OMAP4 video driver

2014-09-30 Thread Michael Trimarchi
Hi Tom, I have done and tested some omap4 dsi video driver but I don't know what is the best approach to push it on uboot and change it to make it more mergeable with the last driver model. I don't have a lot of time for this task but I can do as a weekend task. I have seen that we are moving to

Re: [U-Boot] [PATCH 0/3] usb: gadget: fastboot miscellaneous patches

2014-09-30 Thread Marek Vasut
On Tuesday, September 30, 2014 at 09:05:39 PM, Eric Nelson wrote: While trying to configure Nitrogen6X boards to use Android Fastboot, I found a number of places where the implementation doesn't appear to match the latest host tools on AOSP. Eric Nelson (3): usb: gadget: fastboot: add

Re: [U-Boot] [PATCH 0/3] usb: gadget: fastboot miscellaneous patches

2014-09-30 Thread Eric Nelson
Hi Marek, On 09/30/2014 12:37 PM, Marek Vasut wrote: On Tuesday, September 30, 2014 at 09:05:39 PM, Eric Nelson wrote: While trying to configure Nitrogen6X boards to use Android Fastboot, I found a number of places where the implementation doesn't appear to match the latest host tools on

[U-Boot] [PATCH 1/1] ARM: sheevaplug: convert to generic board support

2014-09-30 Thread David du Colombier
From: David du Colombier david.ducolomb...@gmail.com Signed-off-by: David du Colombier david.ducolomb...@gmail.com --- include/configs/sheevaplug.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 4747adf..5beb273 100644 ---

[U-Boot] [PATCH 1/1] ARM: sheevaplug: convert to generic board support

2014-09-30 Thread David du Colombier
Signed-off-by: David du Colombier 0in...@gmail.com --- include/configs/sheevaplug.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 4747adf..5beb273 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h

Re: [U-Boot] [PATCH 1/1] ARM: sheevaplug: convert to generic board support

2014-09-30 Thread David du Colombier
Sorry, for some reasons, I signed off with the wrong e-mail address. The second patch is the right one. -- David du Colombier ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 0/4] ARM: clean up declarations of public functions

2014-09-30 Thread Eric Nelson
This series of patches addresses a number of Should it be static? warnings from make when invoked with C=1. Eric Nelson (4): ARM: prevent compiler warnings from bootm.c ARM: i.MX6: include prototype for get_board_rev() ARM: i.MX: provide declaration for board_spi_cs_gpio ARM: i.MX video:

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

2014-09-30 Thread Eric Nelson
Without preceding declarations, make C=1 generates Should it be static? warnings for symbols do_bootm_linux, boot_prep_vxworks, and boot_jump_vxworks Include of bootm.h also identified a signature mismatch (const on argv[]). Signed-off-by: Eric Nelson

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

2014-09-30 Thread Eric Nelson
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 --- arch/arm/cpu/armv7/mx6/soc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/armv7/mx6/soc.c

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

2014-09-30 Thread Eric Nelson
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 --- arch/arm/imx-common/video.c | 3 --- arch/arm/include/asm/imx-common/video.h |

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

2014-09-30 Thread Eric Nelson
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 --- arch/arm/include/asm/imx-common/spi.h | 17 +

[U-Boot] [PATCH] stdio: staticize locally-used call-backs

2014-09-30 Thread Eric Nelson
The various nulldev_x and stdio_serial_x calls are only used indirectly through the nulldev and serial devices, so make them static and prevent the dreaded Should it be static? warning with make C=1. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- common/stdio.c | 14

Re: [U-Boot] [PATCH 0/3] usb: gadget: fastboot miscellaneous patches

2014-09-30 Thread Marek Vasut
On Tuesday, September 30, 2014 at 09:47:07 PM, Eric Nelson wrote: Hi Marek, On 09/30/2014 12:37 PM, Marek Vasut wrote: On Tuesday, September 30, 2014 at 09:05:39 PM, Eric Nelson wrote: While trying to configure Nitrogen6X boards to use Android Fastboot, I found a number of places where

Re: [U-Boot] [PATCH 1/4] dm: rpi: Convert GPIO driver to driver model

2014-09-30 Thread Stephen Warren
On 09/22/2014 05:30 PM, Simon Glass wrote: Convert the BCM2835 GPIO driver to use driver model, and switch over Raspberry Pi to use this, since it is the only board. diff --git a/drivers/gpio/bcm2835_gpio.c b/drivers/gpio/bcm2835_gpio.c +static inline bool gpio_is_requested(struct

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

2014-09-30 Thread Stephen Warren
On 09/22/2014 05:30 PM, Simon Glass wrote: This series adds driver model support to the GPIO and serial drivers used by Raspberry Pi, and moves Raspberry Pi over to driver model. This requires adding driver model support to the pl01x serial driver, and replacing the bcm2835 GPIO driver with

Re: [U-Boot] [PATCH 0/3] usb: gadget: fastboot miscellaneous patches

2014-09-30 Thread Eric Nelson
Hi Marek, On 09/30/2014 04:59 PM, Marek Vasut wrote: On Tuesday, September 30, 2014 at 09:47:07 PM, Eric Nelson wrote: Hi Marek, On 09/30/2014 12:37 PM, Marek Vasut wrote: On Tuesday, September 30, 2014 at 09:05:39 PM, Eric Nelson wrote: While trying to configure Nitrogen6X boards to use

Re: [U-Boot] [PATCH v4 0/15] samsung: Use common config files with Samsung boards

2014-09-30 Thread Simon Glass
Hi Minkyu, On 30 September 2014 07:47, Minkyu Kang mk7.k...@samsung.com wrote: Dear Simon Glass, On 29/09/14 10:18, Simon Glass wrote: This series tries to unify the Samsung board configs into a few header files for exynos5 and exynos4. The purpose is to make it easier to move to driver

Re: [U-Boot] [PATCH 1/4] dm: rpi: Convert GPIO driver to driver model

2014-09-30 Thread Simon Glass
Hi Stephen, On 30 September 2014 19:40, Stephen Warren swar...@wwwdotorg.org wrote: On 09/22/2014 05:30 PM, Simon Glass wrote: Convert the BCM2835 GPIO driver to use driver model, and switch over Raspberry Pi to use this, since it is the only board. diff --git a/drivers/gpio/bcm2835_gpio.c

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

2014-09-30 Thread Simon Glass
Hi Stephen, On 30 September 2014 19:41, Stephen Warren swar...@wwwdotorg.org wrote: On 09/22/2014 05:30 PM, Simon Glass wrote: This series adds driver model support to the GPIO and serial drivers used by Raspberry Pi, and moves Raspberry Pi over to driver model. This requires adding driver

Re: [U-Boot] [PATCH v3 26/29] dm: tegra: spi: Convert to driver model

2014-09-30 Thread Simon Glass
Hi Igor, On 29 September 2014 16:59, Igor Grinberg grinb...@compulab.co.il wrote: Hi Simon, On 09/29/14 22:35, Simon Glass wrote: diff --git a/board/compulab/common/eeprom.c b/board/compulab/common/eeprom.c index 85442cd..ba3a5bf 100644 --- a/board/compulab/common/eeprom.c +++

Re: [U-Boot] [PATCH] patman: Check commit_match before stripping leading whitespace

2014-09-30 Thread Simon Glass
Hi Scott, On 29 September 2014 10:22, Scott Wood scottw...@freescale.com wrote: On Sun, 2014-09-28 at 12:04 -0600, Simon Glass wrote: Hi Scott, On 25 September 2014 13:30, Scott Wood scottw...@freescale.com wrote: True commit lines start at column zero. Anything that is indented is part

[U-Boot] Commit 294b91a5817147d4b7f47be2ac69bac2a1f26491 broke mpc85xx

2014-09-30 Thread York Sun
Simon, I didn't notice until today the commit 294b91a5817147d4b7f47be2ac69bac2a1f26491 broke at least T4240QDS. I have narrowed down to these two lines in common/board_r.c initr_barrier, initr_malloc, If I move these two lines below this part #if defined(CONFIG_SYS_INIT_RAM_LOCK)

[U-Boot] [PATCH] arm, at91: add generic board support for the taurus and corvus board

2014-09-30 Thread Heiko Schocher
Signed-off-by: Heiko Schocher h...@denx.de Cc: Andreas Bießmann andreas.de...@googlemail.com Cc: Bo Shen voice.s...@atmel.com --- include/configs/corvus.h | 2 ++ include/configs/taurus.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/configs/corvus.h b/include/configs/corvus.h

[U-Boot] [PATCH] arm, at91: add spi dataflash support for the taurus board

2014-09-30 Thread Heiko Schocher
Signed-off-by: Heiko Schocher h...@denx.de Cc: Andreas Bießmann andreas.de...@googlemail.com Cc: Bo Shen voice.s...@atmel.com --- board/siemens/taurus/taurus.c | 22 ++ include/configs/taurus.h | 11 +++ 2 files changed, 33 insertions(+) diff --git

[U-Boot] [PATCH v1 05/10] mtd: atmel_nand: add missign include

2014-09-30 Thread Heiko Schocher
using this driver in SPL code with CONFIG_SPL_NAND_ECC configured leads in a compileerror. Fix this. Signed-off-by: Heiko Schocher h...@denx.de Cc: Andreas Bießmann andreas.de...@googlemail.com Cc: Bo Shen voice.s...@atmel.com Cc: Scott Wood scottw...@freescale.com Cc: Josh Wu josh...@atmel.com

[U-Boot] [PATCH v1 02/10] arm, at91: compile mpddrc ram init code also for AT91SAM9M10G45

2014-09-30 Thread Heiko Schocher
- compile mpddrc ram init code also for AT91SAM9M10G45 based boards. - in CONFIG_SAMA5D3 case, look for the ATMEL_MPDDRC_CR_DECOD_INTERLEAVED in the cr configuration Signed-off-by: Heiko Schocher h...@denx.de Cc: Andreas Bießmann andreas.de...@googlemail.com Cc: Bo Shen voice.s...@atmel.com

[U-Boot] [PATCH v1 06/10] spl, nand, atmel_nand: add erase one block function

2014-09-30 Thread Heiko Schocher
erase one nand block in spl code. keep it simple, as size matters This is used on the upcoming taurus spl support. Signed-off-by: Heiko Schocher h...@denx.de Cc: Andreas Bießmann andreas.de...@googlemail.com Cc: Bo Shen voice.s...@atmel.com Cc: Scott Wood scottw...@freescale.com Cc: Josh Wu

[U-Boot] [PATCH v1 08/10] arm, spl, at91: add at91sam9260 and at91sam9g45 spl support

2014-09-30 Thread Heiko Schocher
add support for using spl code on at91sam9260 and at91sam9g45 based boards. Signed-off-by: Heiko Schocher h...@denx.de Cc: Andreas Bießmann andreas.de...@googlemail.com Cc: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/arm926ejs/at91/at91sam9260_devices.c | 22 +++

[U-Boot] [PATCH v1 01/10] arm, at91, mpddrc: fix typo in ddr2_init()

2014-09-30 Thread Heiko Schocher
use the configure value for computing the ba_off value not the value from the cr register. This leaded in a wrong ram configuration on the upcoming corvus spl board support. Signed-off-by: Heiko Schocher h...@denx.de Cc: Andreas Bießmann andreas.de...@googlemail.com Cc: Bo Shen

[U-Boot] [PATCH v1 07/10] spl, mtd, nand, atmel_nand: invert device ready pin logic

2014-09-30 Thread Heiko Schocher
device ready pin is signalling that the device is ready on state 1 not on 0. Simmiliar as it is in drivers/mtd/nand/nand_spl_simple.c Signed-off-by: Heiko Schocher h...@denx.de Cc: Andreas Bießmann andreas.de...@googlemail.com Cc: Bo Shen voice.s...@atmel.com Cc: Scott Wood

[U-Boot] [PATCH v1 03/10] arm, at91: add missing ddr2 cr register MPDDRC_CR_EBISHARE define

2014-09-30 Thread Heiko Schocher
Signed-off-by: Heiko Schocher h...@denx.de Cc: Andreas Bießmann andreas.de...@googlemail.com Cc: Bo Shen voice.s...@atmel.com --- arch/arm/include/asm/arch-at91/atmel_mpddrc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-at91/atmel_mpddrc.h

[U-Boot] [PATCH v1 00/10] arm, at91, spl: add spl support for the taurus and corvus boards

2014-09-30 Thread Heiko Schocher
This patchset add SPL support for the AT91SAM9G20 based taurus board, and the AT91SAM9M10G45 based corvus board from siemens, and replaces the at91bootstrap code. The boot.bin which replaces the at91bootstrap image can created with mkimage: ./tools/mkimage -T atmelimage -d spl/u-boot-spl.bin

[U-Boot] [PATCH v1 10/10] arm, spl, at91: add spl support for the corvus board

2014-09-30 Thread Heiko Schocher
replaces the at91bootstrap code with SPL code. make the spl image with: ./tools/mkimage -T atmelimage -d spl/u-boot-spl.bin spl/boot.bin this writes the length of the spl image into the 6th execption vector. This is needed from the ROM bootloader. Signed-off-by: Heiko Schocher h...@denx.de Cc:

  1   2   >