Re: [U-Boot] [PATCH] tools, scripts: refactor error-out statements of Python scripts

2014-08-07 Thread Igor Grinberg
Hi Masahiro, On 08/07/14 06:51, Masahiro Yamada wrote: In Python, sys.exit() function can also take an object other than an integer. If an integer is given to the argument, Python exits with the return code of it. If a non-integer argument is given, Python output it to stderr and exits

Re: [U-Boot] [PATCH v8 02/13] kconfig: add board Kconfig and defconfig files

2014-08-07 Thread Masahiro Yamada
Hi York, On Wed, 6 Aug 2014 11:24:27 -0700 York Sun york...@freescale.com wrote: On 07/29/2014 10:08 PM, Masahiro Yamada wrote: This commit adds: - arch/${ARCH}/Kconfig provide a menu to select target boards - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig set

Re: [U-Boot] [PATCH] tools, scripts: refactor error-out statements of Python scripts

2014-08-07 Thread Masahiro Yamada
Hi Igor, On Thu, 07 Aug 2014 09:31:48 +0300 Igor Grinberg grinb...@compulab.co.il wrote: Hi Masahiro, On 08/07/14 06:51, Masahiro Yamada wrote: In Python, sys.exit() function can also take an object other than an integer. If an integer is given to the argument, Python exits with

[U-Boot] [PATCH v4 2/2] support blackfin board initialization in generic board_f

2014-08-07 Thread Sonic Zhang
From: Sonic Zhang sonic.zh...@analog.com - init hardware watchdog if applicable - use CONFIG_SYS_MONITOR_LEN as the gd monitor len for Blackfin - reserve u-boot memory at the top field of the RAM for Blackfin - avoid refer to CONFIG_SYS_MONITOR_LEN, which is not defined by Blackfin

[U-Boot] [PATCH v4 1/2] blackfin: convert blackfin board_f and board_r to use generic board init functions

2014-08-07 Thread Sonic Zhang
From: Sonic Zhang sonic.zh...@analog.com - move blackfin specific cpu init code from blackfin board.c to cpu.c - remove blackfin specific board init code and invoke generic board_f fron cpu init entry - rename section name bss_vma to bss_start in order to match the generic board init code - add

Re: [U-Boot] Pull request: u-boot-blackfin

2014-08-07 Thread Sonic Zhang
Hi Tom, On Wed, Aug 6, 2014 at 8:38 PM, Tom Rini tr...@ti.com wrote: On Mon, Aug 04, 2014 at 09:56:45AM +0800, Sonic Zhang wrote: Hi Tom, Please pull the following patches for Blackfin from u-boot-blackfin into your tree. Thanks Sonic Zhang The following changes since commit

[U-Boot] uboot imx-usb-loader

2014-08-07 Thread Alexandre Delove
Hello I am trying to send a u-boot i built from denx sources to my SabreLite board, but when i use imx-usb-loader, it doesn't work because of an unknown load adress error. Does someone know how to fix this? Regards Alexandre Delove ___ U-Boot

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Enabling CPC conditionally based on hwconfig options

2014-08-07 Thread shav...@freescale.com
Hi York, This change was required to provide the flexibility of enabling DDRC1/CPC1 by SC3900/DSP core as DDRC1 is used by Starcore. SC enables CPC1 as per their requirement. PPC core use DDRC2, so it enables DDRC2/CPC2. Do you suggest mentioning it in the commit message also? Thanks and

[U-Boot] uniform boot flash

2014-08-07 Thread Gangadhar.V
Hi For our CN6335 based design, we were trying to use the Numonyx NOR Flash of (Uniform boot Sector type). The bootloader code appears to support the uniform boot sector type flash or not?, We are using Numonyx NOR Flash. Could you provide the references on adding the support for Numonyx

Re: [U-Boot] [PATCH] video: add cfb console driver for sunxi

2014-08-07 Thread Hans de Goede
Hi, On 08/06/2014 01:40 PM, Luc Verhaegen wrote: On Tue, Aug 05, 2014 at 01:56:36PM +0200, Hans de Goede wrote: Hi, On 08/02/2014 06:14 PM, Luc Verhaegen wrote: This adds a fixed mode hdmi driver (lcd to be added in future) for the sunxi platform. Current config is such that 8MB is shaved

[U-Boot] [PATCH] powerpc/T4240QDS/eth: some fix for XFI

2014-08-07 Thread shh.xie
From: Shaohui Xie shaohui@freescale.com XFI is supported on T4QDS-XFI board, which removed slot3, and four LANEs of serdes2 are routed to a SFP+ cages, which to house fiber cable or direct attach cable(copper), the copper cable is used to emulate the 10GBASE-KR scenario. So, for XFI usage,

Re: [U-Boot] [PATCH 0/2] sunxi: Single u-boot binary for Allwinner A10/A13/A20 devices

2014-08-07 Thread Hans de Goede
Hi Siarhei, On 08/03/2014 05:26 AM, Siarhei Siamashka wrote: This patchset introduces the initial rudimentary support for having just a single u-boot binary for certain subsets of Allwinner A10/A13/A20 devices. == Example 1: All Allwinner A10/A13/A20 devices We are restricted to only a

Re: [U-Boot] QorIQ P1020 NAND Flash 2k-Page-Size Problem

2014-08-07 Thread Allan Fislor
On Wed, Aug 6, 2014 at 3:58 PM, Scott Wood scottw...@freescale.com wrote: On Tue, 2014-08-05 at 16:48 -0300, Allan Fislor wrote: Hi all, I have a custom Freescale QorIQ P1020 board, with a serial NOR Flash (eSPI bus) and a NAND Flash (eLBC/FCM bus). Im booting from the NOR flash. The

[U-Boot] [PATCH] Makefile: remove generated boards.cfg within make mrproper

2014-08-07 Thread Roger Meier
Signed-off-by: Roger Meier ro...@bufferoverflow.ch CC: Masahiro Yamada yamad...@jp.panasonic.com CC: Wolfgang Denk w...@denx.de --- Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 666d291..831e091 100644 --- a/Makefile +++ b/Makefile @@

Re: [U-Boot] [RFC PATCH v2 0/2] Make Python scripts compatible with older versions

2014-08-07 Thread Tom Rini
On Mon, Aug 04, 2014 at 04:17:00PM +0300, Igor Grinberg wrote: Hi Masahiro, On 08/04/14 15:59, Masahiro Yamada wrote: Hi. It seems that those scripts only work on Python versions 2.6 - 2.7? I took a quick look and I found Python 3.x is not comatible 2.x at all. 3.x

[U-Boot] [PATCH] tools: genboardscfg.py, use default terminal size if undetectable

2014-08-07 Thread Roger Meier
The existing terminalsize detection raised an exception on build server. Removes the exception and return a default value. Signed-off-by: Roger Meier ro...@bufferoverflow.ch CC: Masahiro Yamada yamad...@jp.panasonic.com --- tools/genboardscfg.py |8 +++- 1 file changed, 3 insertions(+),

Re: [U-Boot] [PATCH 12/18] arm: mx6: add support for Compulab cm-fx6 CoM

2014-08-07 Thread Nikita Kiryanov
On 04/08/14 17:24, Nikita Kiryanov wrote: On 04/08/14 09:02, Tim Harvey wrote: Nikita, Are the values in include/configs/imx6_spl.h too inflexible to use? If so, I can submit a patch in the future to remove that file and pull them all in my board config files as I'm the only user of it.

Re: [U-Boot] [PATCH] tools: genboardscfg.py, use default terminal size if undetectable

2014-08-07 Thread Tom Rini
On Thu, Aug 07, 2014 at 12:46:53PM +0200, Roger Meier wrote: The existing terminalsize detection raised an exception on build server. Removes the exception and return a default value. Signed-off-by: Roger Meier ro...@bufferoverflow.ch CC: Masahiro Yamada yamad...@jp.panasonic.com ---

Re: [U-Boot] [PATCH 1/2] sunxi: Replace CONFIG_SUN[457]I ifdefs with SOC_IS_SUN[457]I() calls

2014-08-07 Thread Hans de Goede
Hi, On 08/03/2014 05:26 AM, Siarhei Siamashka wrote: This is a purely mechanical conversion, replacing the ifdefs and preparing the code for the use of runtime Allwinner SoC type detection (within Allwinner A10/A13/A20 family). Similar 'board_is_xxx()' calls are used for TI hardware.

Re: [U-Boot] [PATCH v4 02/13] buildman: Add some notes about moving from MAKEALL

2014-08-07 Thread Simon Glass
Hi Tom, York, On 6 August 2014 09:06, Tom Rini tr...@ti.com wrote: On Wed, Aug 06, 2014 at 08:20:47AM -0600, Simon Glass wrote: Hi York, On 5 August 2014 20:53, York Sun york...@freescale.com wrote: On 8/5/14 7:15 PM, Simon Glass s...@chromium.org wrote: But in this case why not

[U-Boot] [PATCH] tools: genboardscfg.py, use default terminal size if undetectable

2014-08-07 Thread Roger Meier
The existing terminalsize detection raised an exception on build server. Removes the exception and return a default value. Signed-off-by: Roger Meier ro...@bufferoverflow.ch CC: Masahiro Yamada yamad...@jp.panasonic.com CC: Tom Rini tr...@ti.com --- Changes for v2: - use 24 instead of 25 lines

[U-Boot] [PATCH] zynq: spl: Add vectors section to linker script

2014-08-07 Thread Peter Crosthwaite
The vectors section contains the _start symbol which is used as the program entry point. Add it to the linker script in same fashion as done for regular u-boot. This allows for correct generation of an spl elf with a non-zero entry point. A similar change was applied to sunxi platform in sunxi:

Re: [U-Boot] [PATCH] Makefile: remove generated boards.cfg within make mrproper

2014-08-07 Thread Masahiro Yamada
Hi Roger, On Thu, 7 Aug 2014 12:52:30 +0200 Roger Meier ro...@bufferoverflow.ch wrote: Signed-off-by: Roger Meier ro...@bufferoverflow.ch CC: Masahiro Yamada yamad...@jp.panasonic.com CC: Wolfgang Denk w...@denx.de --- Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [U-Boot] [PATCH] tools: genboardscfg.py, use default terminal size if undetectable

2014-08-07 Thread Masahiro Yamada
Hi Roger, On Thu, 7 Aug 2014 12:46:53 +0200 Roger Meier ro...@bufferoverflow.ch wrote: The existing terminalsize detection raised an exception on build server. Removes the exception and return a default value. Signed-off-by: Roger Meier ro...@bufferoverflow.ch CC: Masahiro Yamada

Re: [U-Boot] [PATCH] tools: genboardscfg.py, use default terminal size if undetectable

2014-08-07 Thread Masahiro Yamada
Hi Roger, On Thu, 7 Aug 2014 14:15:09 +0200 Roger Meier ro...@bufferoverflow.ch wrote: The existing terminalsize detection raised an exception on build server. Removes the exception and return a default value. Signed-off-by: Roger Meier ro...@bufferoverflow.ch CC: Masahiro Yamada

Re: [U-Boot] [PATCH] zynq: spl: Add vectors section to linker script

2014-08-07 Thread Peter Crosthwaite
On Tue, Aug 5, 2014 at 5:57 PM, Michal Simek michal.si...@xilinx.com wrote: On 08/04/2014 12:51 PM, Peter Crosthwaite wrote: The vectors section contains the _start symbol which is used as the program entry point. Add it to the linker script in same fasion as done fashion Fixed. for

[U-Boot] [PATCH V2 4/9] mtd: spi: add support for M25PE16 and M25PX16

2014-08-07 Thread Nikita Kiryanov
Add support for M25PE16 and M25PX16 Cc: Jagannadha Sutradharudu Teki jagannadh.t...@gmail.com Cc: Marek Vasut ma...@denx.de Acked-by: Marek Vasut ma...@denx.de Signed-off-by: Nikita Kiryanov nik...@compulab.co.il --- Changes in V2: - No changes. drivers/mtd/spi/sf_params.c | 2 ++ 1

[U-Boot] [PATCH V2 6/9] sata: dwc_ahsata: implement sata_port_status

2014-08-07 Thread Nikita Kiryanov
Define the new common function sata_port_status() which can be used to query the sata driver for the state of ports, and implement it for dwc_ahsata. Cc: Stefano Babic sba...@denx.de Cc: Tom Rini tr...@ti.com Cc: Marek Vasut ma...@denx.de Signed-off-by: Nikita Kiryanov nik...@compulab.co.il ---

[U-Boot] [PATCH V2 2/9] mx6: add clock enabling functions

2014-08-07 Thread Nikita Kiryanov
Add functions to enable/disable clocks for UART, SPI, ENET, and MMC. Cc: Stefano Babic sba...@denx.de Signed-off-by: Nikita Kiryanov nik...@compulab.co.il --- Changes in V2: - No changes. arch/arm/cpu/armv7/mx6/clock.c| 99 +++

[U-Boot] [PATCH V2 7/9] i2c: imx: add macros to setup pads for multiple SoC types

2014-08-07 Thread Nikita Kiryanov
Add macro which defines i2c_pads_info structs for multiple SoC types, and a macro which selects the appropriate struct based on CPU type, thus eliminating the need to manage multiple i2c pad configurations manually when supporting multiple SoC types. Cc: Stefano Babic sba...@denx.de Cc: Tim

[U-Boot] [PATCH V2 5/9] compulab: eeprom: add support for defining eeprom i2c bus

2014-08-07 Thread Nikita Kiryanov
Create CONFIG_SYS_I2C_EEPROM_BUS #define to tell the EEPROM module what I2C bus the EEPROM is located at. Make cl_eeprom_read() switch to that bus when reading EEPROM. Cc: Igor Grinberg grinb...@compulab.co.il Cc: Dmitry Lifshitz lifsh...@compulab.co.il Cc: Tom Rini tr...@ti.com Cc: Marek Vasut

[U-Boot] [PATCH V2 9/9] arm: mx6: ddr: do not write into reserved bit

2014-08-07 Thread Nikita Kiryanov
Bit 16 in mapsr register is in a reserved field. Don't write to it. Cc: Stefano Babic sba...@denx.de Cc: Tim Harvey thar...@gateworks.com Acked-by: Tim Harvey thar...@gateworks.com Signed-off-by: Nikita Kiryanov nik...@compulab.co.il --- Changes in V2: - No changes.

[U-Boot] [PATCH V2 8/9] arm: mx6: ddr: cleanup

2014-08-07 Thread Nikita Kiryanov
No functional changes. Cc: Stefano Babic sba...@denx.de Cc: Tim Harvey thar...@gateworks.com Acked-by: Tim Harvey thar...@gateworks.com Signed-off-by: Nikita Kiryanov nik...@compulab.co.il --- Changes in V2: - No changes. arch/arm/cpu/armv7/mx6/ddr.c | 272

[U-Boot] [PATCH V2 0/9] Introduce cm-fx6 board (partial V2)

2014-08-07 Thread Nikita Kiryanov
This is a partial V2 of the Introduce cm-fx6 board series, spanning all the patches up to arm: mx6: ddr: configure MMDC for slow_pd (not including). This series constitutes the majority of the preparational steps for introducing the cm-fx6 board. Changes in V2: - Patch spl: improve spi

[U-Boot] [PATCH V2 3/9] spi: mxc: fix sf probe when using mxc_spi

2014-08-07 Thread Nikita Kiryanov
MXC SPI driver has a feature whereas a GPIO line can be used to force CS high across multiple transactions. This is set up by embedding the GPIO information in the CS value: cs = (cs | gpio 8) This merge of cs and gpio data into one value breaks the sf probe command: if the use of gpio is

[U-Boot] [PATCH V2 1/9] spl: replace CONFIG_SPL_SPI_* with CONFIG_SF_DEFAULT_*

2014-08-07 Thread Nikita Kiryanov
Currently, CONFIG_SPL_SPI_* #defines are used for controlling SPI boot in SPL. These #defines do not allow the user to select SPI mode for the SPI flash (there's no CONFIG_SPL_SPI_MODE, so the SPI mode is hardcoded in spi_spl_load.c), and duplicate information already provided by

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 07:34:46 AM, Wolfgang Denk wrote: Dear Steve Rae, In message 1407369313-13815-5-git-send-email-s...@broadcom.com you wrote: - to prepare for the support of fastboot sparse images Signed-off-by: Steve Rae s...@broadcom.com --- This file is ASIS

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 07:36:49 AM, Wolfgang Denk wrote: Dear Marek, In message 201408070214.35862.ma...@denx.de you wrote: Are we discussing the licensing issues here still ? Tom ? Well, of course? We cannot add code that comes under an incompatible license. And we use SPDX

Re: [U-Boot] [PATCH v4 02/13] buildman: Add some notes about moving from MAKEALL

2014-08-07 Thread Masahiro Yamada
Hi. On Thu, 7 Aug 2014 06:12:18 -0600 Simon Glass s...@chromium.org wrote: Hi Tom, York, On 6 August 2014 09:06, Tom Rini tr...@ti.com wrote: On Wed, Aug 06, 2014 at 08:20:47AM -0600, Simon Glass wrote: Hi York, On 5 August 2014 20:53, York Sun york...@freescale.com wrote:

Re: [U-Boot] [RFC PATCH v2 0/2] Make Python scripts compatible with older versions

2014-08-07 Thread Igor Grinberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/07/14 13:57, Tom Rini wrote: On Mon, Aug 04, 2014 at 04:17:00PM +0300, Igor Grinberg wrote: Hi Masahiro, On 08/04/14 15:59, Masahiro Yamada wrote: Hi. It seems that those scripts only work on Python versions 2.6 - 2.7? I took a quick

Re: [U-Boot] [PATCH v3 2/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 02:28:13 AM, Steve Rae wrote: On 14-08-06 05:13 PM, Marek Vasut wrote: On Thursday, August 07, 2014 at 01:48:06 AM, Steve Rae wrote: On 14-07-30 06:37 PM, Marek Vasut wrote: On Thursday, June 26, 2014 at 10:13:22 PM, Steve Rae wrote: [...] +

Re: [U-Boot] [PATCH v3 2/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-07 Thread Pantelis Antoniou
Hi Marek, [snip] I don't want to be the first to defined it for all of armv7 Honestly, we should just enable this CONFIG_SYS_VSNPRINTF by default for the good of humanity and all the things, since this unbounded string handling is just evil (see how OpenSSL ended up, partly because

Re: [U-Boot] [PATCH v3 2/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 03:28:14 PM, Pantelis Antoniou wrote: Hi Marek, [snip] I don't want to be the first to defined it for all of armv7 Honestly, we should just enable this CONFIG_SYS_VSNPRINTF by default for the good of humanity and all the things, since this

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 03:29:17 PM, Sebastian Andrzej Siewior wrote: On 08/07/2014 03:09 PM, Marek Vasut wrote: + * Copyright (C) 2010 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the License); Please note that this license is not

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Sebastian Andrzej Siewior
On 08/07/2014 03:45 PM, Marek Vasut wrote: I agree. Is there a version of this file with BSD license on it ? Then that'd be a problem solved, right ? Right. I don't recall the locations of the second tree but if Steve is going to search it, he should find it. Best regards, Marek Vasut

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Sebastian Andrzej Siewior
On 08/07/2014 03:09 PM, Marek Vasut wrote: + * Copyright (C) 2010 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the License); Please note that this license is not compatible with GPL version 2, because it has some requirements that are not in that GPL

Re: [U-Boot] [PATCH V2 2/9] mx6: add clock enabling functions

2014-08-07 Thread Igor Grinberg
Hi Nikita, On 08/07/14 16:05, Nikita Kiryanov wrote: Add functions to enable/disable clocks for UART, SPI, ENET, and MMC. Cc: Stefano Babic sba...@denx.de Signed-off-by: Nikita Kiryanov nik...@compulab.co.il --- Changes in V2: - No changes. arch/arm/cpu/armv7/mx6/clock.c

Re: [U-Boot] [PATCH V2 3/9] spi: mxc: fix sf probe when using mxc_spi

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 03:05:30 PM, Nikita Kiryanov wrote: MXC SPI driver has a feature whereas a GPIO line can be used to force CS high across multiple transactions. This is set up by embedding the GPIO information in the CS value: cs = (cs | gpio 8) This merge of cs and gpio

Re: [U-Boot] [PATCH V2 5/9] compulab: eeprom: add support for defining eeprom i2c bus

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 03:05:32 PM, Nikita Kiryanov wrote: Create CONFIG_SYS_I2C_EEPROM_BUS #define to tell the EEPROM module what I2C bus the EEPROM is located at. Make cl_eeprom_read() switch to that bus when reading EEPROM. Cc: Igor Grinberg grinb...@compulab.co.il Cc: Dmitry

Re: [U-Boot] [PATCH V2 1/9] spl: replace CONFIG_SPL_SPI_* with CONFIG_SF_DEFAULT_*

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 03:05:28 PM, Nikita Kiryanov wrote: Currently, CONFIG_SPL_SPI_* #defines are used for controlling SPI boot in SPL. These #defines do not allow the user to select SPI mode for the SPI flash (there's no CONFIG_SPL_SPI_MODE, so the SPI mode is hardcoded in

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 03:51:54 PM, Sebastian Andrzej Siewior wrote: On 08/07/2014 03:45 PM, Marek Vasut wrote: I agree. Is there a version of this file with BSD license on it ? Then that'd be a problem solved, right ? Right. I don't recall the locations of the second tree but if

Re: [U-Boot] [PATCH V2 6/9] sata: dwc_ahsata: implement sata_port_status

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 03:05:33 PM, Nikita Kiryanov wrote: Define the new common function sata_port_status() which can be used to query the sata driver for the state of ports, and implement it for dwc_ahsata. Cc: Stefano Babic sba...@denx.de Cc: Tom Rini tr...@ti.com Cc: Marek

[U-Boot] [PATCH v3] tools: genboardscfg.py, no exception if columns undetectable

2014-08-07 Thread Roger Meier
The existing terminalsize detection raised an exception on build server. Just removes the exception. This also deactivates the progress indicator. Remove a trainling whitespace. Signed-off-by: Roger Meier ro...@bufferoverflow.ch CC: Masahiro Yamada yamad...@jp.panasonic.com CC: Tom Rini

[U-Boot] [PULL] u-boot/master

2014-08-07 Thread Marek Vasut
The following changes since commit fbe79a17fddb7f0b11aa15b9c93e9a4a26165ed8: m68k: define __kernel_size_t as unsinged int again (2014-07-22 09:46:50 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git HEAD for you to fetch changes up to

Re: [U-Boot] [PATCH] Makefile: remove generated boards.cfg within make mrproper

2014-08-07 Thread Roger Meier
Hi Masahiro Quoting Masahiro Yamada yamad...@jp.panasonic.com: Hi Roger, On Thu, 7 Aug 2014 12:52:30 +0200 Roger Meier ro...@bufferoverflow.ch wrote: Signed-off-by: Roger Meier ro...@bufferoverflow.ch CC: Masahiro Yamada yamad...@jp.panasonic.com CC: Wolfgang Denk w...@denx.de ---

Re: [U-Boot] [PATCH] ARM: non-sec: Add spin table reserved memory support

2014-08-07 Thread Marc Zyngier
On 07/08/14 02:54, Xiubo Li wrote: The memory where loaded the smp_waitloop code section probablly be corrupted by Linux Kernel, then the secondary cores will be running the random code, leading booting the secondary cores failed. There is now similar reservation code in virt-dt.c. Probably

[U-Boot] U boot with imx-usb-loader

2014-08-07 Thread DELOVE Alexandre
Hello I'm trying to send a u-boot built from denx sources to my board, a SabreLite, with imx-usb-loader. But when I try, I receive an error, unknown load address do you know how can I fix this? Regards Alexandre ___ U-Boot mailing list

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Steve Rae
On 14-08-07 06:51 AM, Sebastian Andrzej Siewior wrote: On 08/07/2014 03:45 PM, Marek Vasut wrote: I agree. Is there a version of this file with BSD license on it ? Then that'd be a problem solved, right ? Right. I don't recall the locations of the second tree but if Steve is going to search

Re: [U-Boot] [PATCH v8 02/13] kconfig: add board Kconfig and defconfig files

2014-08-07 Thread York Sun
On 08/06/2014 11:59 PM, Masahiro Yamada wrote: Hi York, On Wed, 6 Aug 2014 11:24:27 -0700 York Sun york...@freescale.com wrote: On 07/29/2014 10:08 PM, Masahiro Yamada wrote: This commit adds: - arch/${ARCH}/Kconfig provide a menu to select target boards -

Re: [U-Boot] [PATCH v3 2/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-07 Thread Steve Rae
On 14-08-07 06:23 AM, Marek Vasut wrote: On Thursday, August 07, 2014 at 02:28:13 AM, Steve Rae wrote: On 14-08-06 05:13 PM, Marek Vasut wrote: On Thursday, August 07, 2014 at 01:48:06 AM, Steve Rae wrote: On 14-07-30 06:37 PM, Marek Vasut wrote: On Thursday, June 26, 2014 at 10:13:22 PM,

Re: [U-Boot] [RFC PATCH v2 0/2] Make Python scripts compatible with older versions

2014-08-07 Thread Tom Rini
On Thu, Aug 07, 2014 at 04:17:21PM +0300, Igor Grinberg wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/07/14 13:57, Tom Rini wrote: On Mon, Aug 04, 2014 at 04:17:00PM +0300, Igor Grinberg wrote: Hi Masahiro, On 08/04/14 15:59, Masahiro Yamada wrote: Hi. It seems

Re: [U-Boot] [PATCH v3 2/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 06:52:44 PM, Steve Rae wrote: [...] I was referring to what you mention below... 852 - Safe printf() functions 853 Define CONFIG_SYS_VSNPRINTF to compile in safe versions of 854 the printf() functions. These are defined in 855

Re: [U-Boot] [RFC PATCH v2 0/2] Make Python scripts compatible with older versions

2014-08-07 Thread Stephen Warren
On 08/07/2014 10:57 AM, Tom Rini wrote: On Thu, Aug 07, 2014 at 04:17:21PM +0300, Igor Grinberg wrote: On 08/07/14 13:57, Tom Rini wrote: .. we just need /usr/bin/env python2 as how we invoke our scripts. This means impose python version dependency for U-Boot source build? Correct me if you

Re: [U-Boot] [RFC PATCH v2 0/2] Make Python scripts compatible with older versions

2014-08-07 Thread Tom Rini
On Thu, Aug 07, 2014 at 11:33:35AM -0600, Stephen Warren wrote: On 08/07/2014 10:57 AM, Tom Rini wrote: On Thu, Aug 07, 2014 at 04:17:21PM +0300, Igor Grinberg wrote: On 08/07/14 13:57, Tom Rini wrote: .. we just need /usr/bin/env python2 as how we invoke our scripts. This means impose

[U-Boot] Python subprocess module missing in multiconfig.py

2014-08-07 Thread david
Hello. I read the posts a couple days ago about the Python issues with Kconfig feature. I didn't see a resolution on how this would be fixed. I am running Ubuntu 14.04LTS, building u-boot and the problem I have is that the eldk tools have a older python (2.7.3) which does not have the

Re: [U-Boot] Python subprocess module missing in multiconfig.py

2014-08-07 Thread Tom Rini
On Thu, Aug 07, 2014 at 12:11:41PM -0400, da...@plentovichdesign.com wrote: Hello. I read the posts a couple days ago about the Python issues with Kconfig feature. I didn't see a resolution on how this would be fixed. I am running Ubuntu 14.04LTS, building u-boot and the problem I have is

Re: [U-Boot] [PATCH] powerpc/t1040qds: Remove Video - HDMI support

2014-08-07 Thread Timur Tabi
On Fri, Apr 18, 2014 at 4:32 AM, dongsheng.w...@freescale.com dongsheng.w...@freescale.com wrote: If we have, why kernel doesn't support DIU on T1040QDS? That I must remove it reason. Because no one added that support yet. You should finish the job by fixing the kernel.

Re: [U-Boot] Python subprocess module missing in multiconfig.py

2014-08-07 Thread Jeroen Hofstee
Hello Tom, On 07-08-14 21:08, Tom Rini wrote: On Thu, Aug 07, 2014 at 12:11:41PM -0400, da...@plentovichdesign.com wrote: Hello. I read the posts a couple days ago about the Python issues with Kconfig feature. I didn't see a resolution on how this would be fixed. I am running Ubuntu

Re: [U-Boot] Python subprocess module missing in multiconfig.py

2014-08-07 Thread Tom Rini
On Thu, Aug 07, 2014 at 09:37:22PM +0200, Jeroen Hofstee wrote: Hello Tom, On 07-08-14 21:08, Tom Rini wrote: On Thu, Aug 07, 2014 at 12:11:41PM -0400, da...@plentovichdesign.com wrote: Hello. I read the posts a couple days ago about the Python issues with Kconfig feature. I didn't see

Re: [U-Boot] Python subprocess module missing in multiconfig.py

2014-08-07 Thread Jeroen Hofstee
Hello Tom, On 07-08-14 21:43, Tom Rini wrote: On Thu, Aug 07, 2014 at 09:37:22PM +0200, Jeroen Hofstee wrote: Hello Tom, On 07-08-14 21:08, Tom Rini wrote: On Thu, Aug 07, 2014 at 12:11:41PM -0400, da...@plentovichdesign.com wrote: Hello. I read the posts a couple days ago about the

Re: [U-Boot] Python subprocess module missing in multiconfig.py

2014-08-07 Thread Jeroen Hofstee
On 07-08-14 22:02, Jeroen Hofstee wrote: Hello Tom, On 07-08-14 21:43, Tom Rini wrote: On Thu, Aug 07, 2014 at 09:37:22PM +0200, Jeroen Hofstee wrote: Hello Tom, On 07-08-14 21:08, Tom Rini wrote: On Thu, Aug 07, 2014 at 12:11:41PM -0400, da...@plentovichdesign.com wrote: Hello. I read

Re: [U-Boot] QorIQ P1020 NAND Flash 2k-Page-Size Problem

2014-08-07 Thread Allan Fislor
On Thu, Aug 7, 2014 at 7:49 AM, Allan Fislor allan.fis...@gmail.com wrote: On Wed, Aug 6, 2014 at 3:58 PM, Scott Wood scottw...@freescale.com wrote: On Tue, 2014-08-05 at 16:48 -0300, Allan Fislor wrote: Hi all, I have a custom Freescale QorIQ P1020 board, with a serial NOR Flash (eSPI

Re: [U-Boot] Python subprocess module missing in multiconfig.py

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 10:02:54 PM, Jeroen Hofstee wrote: Hello Tom, On 07-08-14 21:43, Tom Rini wrote: On Thu, Aug 07, 2014 at 09:37:22PM +0200, Jeroen Hofstee wrote: Hello Tom, On 07-08-14 21:08, Tom Rini wrote: On Thu, Aug 07, 2014 at 12:11:41PM -0400,

Re: [U-Boot] QorIQ P1020 NAND Flash 2k-Page-Size Problem

2014-08-07 Thread Scott Wood
On Thu, 2014-08-07 at 16:59 -0300, Allan Fislor wrote: On Thu, Aug 7, 2014 at 7:49 AM, Allan Fislor allan.fis...@gmail.com wrote: On Wed, Aug 6, 2014 at 3:58 PM, Scott Wood scottw...@freescale.com wrote: On Tue, 2014-08-05 at 16:48 -0300, Allan Fislor wrote: Hi all, I have a custom

Re: [U-Boot] Python subprocess module missing in multiconfig.py

2014-08-07 Thread Jeroen Hofstee
Hello Marex, Tom, On 07-08-14 22:14, Marek Vasut wrote: snip Well putting on my small, tiny OE user head, you need to spell out every python-module you use. To make it a bit more funny there are likely grouped, so don't be surprised this is python-system or something. I am in the impression

Re: [U-Boot] [PATCH] Makefile: restore *_config target

2014-08-07 Thread Jeroen Hofstee
On 06-08-14 04:11, Masahiro Yamada wrote: Hi Jeroen, On Tue, 05 Aug 2014 21:35:18 +0200 Jeroen Hofstee jer...@myspectrum.nl wrote: Hi Masahiro, On 05-08-14 03:50, Masahiro Yamada wrote: On Mon, 04 Aug 2014 19:49:24 +0200 Jeroen Hofstee jer...@myspectrum.nl wrote: cc: Tom Rini

Re: [U-Boot] Removing the need for boards.cfg

2014-08-07 Thread York Sun
On 08/04/2014 06:22 PM, Masahiro Yamada wrote: Hi York, On Mon, 4 Aug 2014 11:58:56 -0700 York Sun york...@freescale.com wrote: On 08/01/2014 06:53 AM, Masahiro Yamada wrote: If MAKEALL/buildman is invoked without any arguments (which means build all the board), boards.cfg is not

Re: [U-Boot] Removing the need for boards.cfg

2014-08-07 Thread Jeroen Hofstee
Hello York, On 07-08-14 22:52, York Sun wrote: On 08/04/2014 06:22 PM, Masahiro Yamada wrote: Hi York, On Mon, 4 Aug 2014 11:58:56 -0700 York Sun york...@freescale.com wrote: On 08/01/2014 06:53 AM, Masahiro Yamada wrote: If MAKEALL/buildman is invoked without any arguments (which means

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Wolfgang Denk
Dear Sebastian, In message 53e37f2d.5090...@linutronix.de you wrote: I think we should start considering getting some kind of a legal conseling here, or do we actually have one already ? I used the gnu page back then. Apache2 is compatible with GPLv3 but not with GPLv2 [0]. Some

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Jeroen Hofstee
On 07-08-14 22:59, Wolfgang Denk wrote: snip So the argument about incompatible licenses is valid here. Should u-boot switch to GPLv3 you need to hunt down that file again and this You would have to rewrite the major part of U-Boot or to cripple it noise ^ not to uselessness if you try to

Re: [U-Boot] Removing the need for boards.cfg

2014-08-07 Thread York Sun
On 08/07/2014 01:57 PM, Jeroen Hofstee wrote: I can't parse the python either, but is this not the same issue? (just from the looks of it) https://patchwork.ozlabs.org/patch/377897/ It is the same solution/workaround, but I'm not sure if Roger has the same issue. York

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Wolfgang Denk
Dear Jeroen, In message 53e3e974.1020...@myspectrum.nl you wrote: On 07-08-14 22:59, Wolfgang Denk wrote: snip So the argument about incompatible licenses is valid here. Should u-boot switch to GPLv3 you need to hunt down that file again and this You would have to rewrite the major

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Jeroen Hofstee
On 07-08-14 23:10, Wolfgang Denk wrote: Dear Jeroen, In message 53e3e974.1020...@myspectrum.nl you wrote: On 07-08-14 22:59, Wolfgang Denk wrote: snip So the argument about incompatible licenses is valid here. Should u-boot switch to GPLv3 you need to hunt down that file again and this You

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Jeroen Hofstee
On 07-08-14 23:15, Jeroen Hofstee wrote: On 07-08-14 23:10, Wolfgang Denk wrote: Dear Jeroen, In message 53e3e974.1020...@myspectrum.nl you wrote: On 07-08-14 22:59, Wolfgang Denk wrote: snip So the argument about incompatible licenses is valid here. Should u-boot switch to GPLv3 you need

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Wolfgang Denk
Dear Jeroen, In message 53e3ec54.4090...@myspectrum.nl you wrote: So the argument about incompatible licenses is valid here. Should u-boot switch to GPLv3 you need to hunt down that file again and this You would have to rewrite the major part of U-Boot or to cripple it noise ^ not to

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 11:36:50 PM, Wolfgang Denk wrote: Dear Jeroen, In message 53e3ec54.4090...@myspectrum.nl you wrote: So the argument about incompatible licenses is valid here. Should u-boot switch to GPLv3 you need to hunt down that file again and this You would

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 11:15:00 PM, Jeroen Hofstee wrote: On 07-08-14 23:10, Wolfgang Denk wrote: Dear Jeroen, In message 53e3e974.1020...@myspectrum.nl you wrote: On 07-08-14 22:59, Wolfgang Denk wrote: snip So the argument about incompatible licenses is valid here.

Re: [U-Boot] Python subprocess module missing in multiconfig.py

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 10:37:52 PM, Jeroen Hofstee wrote: Hello Marex, Tom, On 07-08-14 22:14, Marek Vasut wrote: snip Well putting on my small, tiny OE user head, you need to spell out every python-module you use. To make it a bit more funny there are likely grouped, so

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Wolfgang Denk
Dear Marek, In message 201408072343.58591.ma...@denx.de you wrote: OK, so we need a GPLv2-compatible header file. That's the conclusion. Well, GPLv2 compatible might be acceptable, but GPLv2+ compatible woould be best. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD:

[U-Boot] U-boot build: How to add a static library to the u-boot build

2014-08-07 Thread Vishal Pundareeka
Hi, I am working on a project where I need to include a static library (lib.a) in the u-boot build. Currently I am unable build u-boot with the static library. Can you please provide me steps to include the static library file in u-boot Make file? Thanks Vishal

[U-Boot] [PATCH] usb: hub: don't check CONNECTION in hub_port_reset()

2014-08-07 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com One specific USB 3.0 device behaves strangely when reset by usb_new_device()'s call to hub_port_reset(). For some reason, the device appears to briefly drop off the bus when this second bus reset is executed, yet if we retry this loop, it'll eventually come

Re: [U-Boot] [PATCH] tools, scripts: refactor error-out statements of Python scripts

2014-08-07 Thread Simon Glass
Hi Masahiro, On 6 August 2014 21:51, Masahiro Yamada yamad...@jp.panasonic.com wrote: In Python, sys.exit() function can also take an object other than an integer. If an integer is given to the argument, Python exits with the return code of it. If a non-integer argument is given, Python

Re: [U-Boot] [PATCH 1/3] config: introduce a generic $bootcmd

2014-08-07 Thread Simon Glass
Acked-by: Simon Glass s...@chromium.org ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/3] ARM: rpi_b: use new generic $bootcmd

2014-08-07 Thread Simon Glass
Acked-by: Simon Glass s...@chromium.org ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/2] arm: rmobile: r8a7791: Fix initialize L2 cache

2014-08-07 Thread Nobuhiro Iwamatsu
rmobile/lowlevel_init_ca15.S are common in r8a7790 and r8a7791 of rmobile SoC. But L2 cache of r8a7791 does not use L2CTLR[5]. This adds fix to set L2CTLR [5] only when the r8a7790. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com ---

[U-Boot] [PATCH 2/2] arm: rmobile: r8a7794: Skip initialize L2 cache

2014-08-07 Thread Nobuhiro Iwamatsu
rmobile/lowlevel_init_ca15.S are common in r8a7790, r8a7791 and r8a7794 of rmobile SoCs. The initialize L2 cache in lowlevel_init_ca15.S only needed for Cortex-A15. The r8a7794 is Cortex-A7, not Cortex-A15. This adds Skip to initialize L2 cache when r8a7794. Signed-off-by: Nobuhiro Iwamatsu

Re: [U-Boot] uboot imx-usb-loader

2014-08-07 Thread Troy Kisky
On 8/6/2014 7:13 AM, Alexandre Delove wrote: Hello I am trying to send a u-boot i built from denx sources to my SabreLite board, but when i use imx-usb-loader, it doesn't work because of an unknown load adress. Does someone know how to fix this? Regards Alexandre Delove

Re: [U-Boot] [PATCH] ARM: non-sec: Add spin table reserved memory support

2014-08-07 Thread li.xi...@freescale.com
Subject: Re: [PATCH] ARM: non-sec: Add spin table reserved memory support On 07/08/14 02:54, Xiubo Li wrote: The memory where loaded the smp_waitloop code section probablly be corrupted by Linux Kernel, then the secondary cores will be running the random code, leading booting the

[U-Boot] [PATCH 10/11] imx: ventana: add iomux for PCISKT_WDIS# gpio

2014-08-07 Thread Tim Harvey
The PCISKT_WDIS# gpio allows for asserting WDIS# going to the various PCIe sockets on the Ventana board. Signed-off-by: Tim Harvey thar...@gateworks.com --- board/gateworks/gw_ventana/gw_ventana.c | 17 + 1 file changed, 17 insertions(+) diff --git

[U-Boot] [PATCH 09/11] imx: ventana: enable SION bit on gpio outputs

2014-08-07 Thread Tim Harvey
Enable the SION bit on gpio outputs that we wish to be able to read the value of. Signed-off-by: Tim Harvey thar...@gateworks.com --- board/gateworks/gw_ventana/gw_ventana.c | 133 +--- 1 file changed, 70 insertions(+), 63 deletions(-) diff --git

  1   2   >