Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Wolfgang Denk
Dear Marek, In message <201409162355.1.ma...@denx.de> you wrote: > > ... For the get_ram_size(), the read > from the unpopulated DRAM space contains zeroes ... Reading from non-existent memory is not guaranteed to return zeroes, nor any other specif

[U-Boot] [PATCH] kconfiglib: change SPDX-License-Identifier to ISC

2014-09-16 Thread Masahiro Yamada
Commit f219e01311b2 (tools: Import Kconfiglib) added SPDX GPL-2.0+ to this library by mistake. It should be ISC. Signed-off-by: Masahiro Yamada Cc: Ulf Magnusson --- tools/buildman/kconfiglib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/buildman/kconfiglib.py b/

Re: [U-Boot] [PATCH v2 03/10] kconfig: move CONFIG_CMD_BOOTM to Kconfig

2014-09-16 Thread Simon Glass
On 16 September 2014 01:33, Masahiro Yamada wrote: > CONFIG_CMD_BOOTM is defined in config_cmd_defaults.h > which is forcebly included from each board. > So, the default value of "config CMD_BOOTM" should be "y". > > For some boards undefining it (bf506f-ezkit, controlcenterd_TRAILBLA, > controlce

Re: [U-Boot] [PATCH 2/3] MAINTAINERS: comment out invalid maintainers

2014-09-16 Thread Simon Glass
HI Masahiro, On 15 September 2014 23:11, Masahiro Yamada wrote: > The "S:Orphan" in MAINTAINERS means that the maintainer in the > "M:" field is unreachable (i.e. the email address is not working). > (Refer to the definition of "Orphan" adopted in U-Boot > in the log of commit 31f1b654b2f395b

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

2014-09-16 Thread Simon Glass
GPIOs should be requested before use. Without this, driver model will not permit the GPIO to be used. Signed-off-by: Simon Glass --- Changes in v2: - Check return values of gpio_request() arch/arm/imx-common/i2c-mxv7.c | 24 board/compulab/cm_fx6/cm_fx6.c | 15

[U-Boot] [PATCH v2 07/11] dm: imx: Add error checking to setup_i2c()

2014-09-16 Thread Simon Glass
Since this function can fail, check its return value. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to add error checking to setup_i2c() arch/arm/imx-common/i2c-mxv7.c| 24 - arch/arm/include/asm/imx-common/mxc_i2c.h | 4 ++-- board/compulab/cm_

[U-Boot] [PATCH v2 10/11] dm: imx: serial: Support driver model in the MXC serial driver

2014-09-16 Thread Simon Glass
Add driver model support with this driver. Boards which use this driver should define platform data in their board files. Signed-off-by: Simon Glass --- Changes in v2: None drivers/serial/serial_mxc.c | 170 +--- include/serial_mxc.h| 14 2

[U-Boot] [PATCH v2 05/11] dm: serial: Don't require device tree to configure a console

2014-09-16 Thread Simon Glass
Allow serial_find_console_or_panic() to work without a device tree. Signed-off-by: Simon Glass --- Changes in v2: None drivers/serial/serial-uclass.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/serial/serial-uclass.c b/drivers/serial/serial-uclass.c index d041

[U-Boot] [PATCH v2 02/11] dm: core: Allow a list of devices to be declared in one step

2014-09-16 Thread Simon Glass
The U_BOOT_DEVICE macro allows the declaration of a single U-Boot device. Add an equivalent macro to declare an array of devices, for convenience. Signed-off-by: Simon Glass --- Changes in v2: None include/dm/platdata.h | 4 1 file changed, 4 insertions(+) diff --git a/include/dm/platdat

[U-Boot] [PATCH v2 06/11] dm: serial: Put common code into separate functions

2014-09-16 Thread Simon Glass
Avoid duplicating the code which deals with getc() and putc(). It is fairly simple, but may expand later. Signed-off-by: Simon Glass --- Changes in v2: None drivers/serial/serial-uclass.c | 32 +--- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/dri

[U-Boot] [PATCH v2 04/11] initcall: Display error number when an error occurs

2014-09-16 Thread Simon Glass
Now that some initcall functions return a useful error number, display it when something goes wrong. Signed-off-by: Simon Glass --- Changes in v2: - Add patch to display error number when an error occurs in initcall lib/initcall.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-)

[U-Boot] [PATCH v2 03/11] dm: core: Allow device_bind() to used without CONFIG_OF_CONTROL

2014-09-16 Thread Simon Glass
The sequence number support in driver model requires device tree control. It should be skipped if CONFIG_OF_CONTROL is not defined, and should not require functions from fdtdec. Signed-off-by: Simon Glass --- Changes in v2: None drivers/core/device.c | 7 +-- 1 file changed, 5 insertions(+

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

2014-09-16 Thread Simon Glass
Now that serial and GPIO are available for iMX.6, move cm_fx6 over as an example. Signed-off-by: Simon Glass --- Changes in v2: - Use the correct namespace for the platform data board/compulab/cm_fx6/cm_fx6.c | 10 ++ include/configs/cm_fx6.h | 11 +++ 2 files changed, 21

[U-Boot] [PATCH v2 09/11] dm: imx: gpio: Support driver model in MXC gpio driver

2014-09-16 Thread Simon Glass
Add driver model support with this driver. In this case the platform data is in the driver. It would be better to put this into an SOC-specific file, but this is best attempted when more boards are moved over to use driver model. Signed-off-by: Simon Glass --- Changes in v2: - Change 'reserved'

[U-Boot] [PATCH v2 01/11] dm: linker_lists: Add a way to declare multiple objects

2014-09-16 Thread Simon Glass
The existing ll_entry_declare() permits a single element of the list to be added to a linker list. Sometimes we want to add several objects at once. To avoid lots of messy declarations, add a macro to support this. Signed-off-by: Simon Glass --- Changes in v2: None include/linker_lists.h | 21

[U-Boot] [PATCH v2 0/11] dm: imx: Add driver model support for GPIO and serial on cm_fx6

2014-09-16 Thread Simon Glass
This series adjusts the IMX serial and GPIO drivers to support driver model. As an example of its use, the recently-added cm_fx6 board is converted over to driver model. Some minor driver model core changed are required to make this work and these are included with this series. Changes in v2: - A

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

2014-09-16 Thread Simon Glass
Hi Igor, On 15 September 2014 12:50, Igor Grinberg wrote: > On 09/15/14 15:57, Simon Glass wrote: >> Now that serial and GPIO are available for iMX.6, move cm_fx6 over as an >> example. >> >> Signed-off-by: Simon Glass >> --- >> >> board/compulab/cm_fx6/cm_fx6.c | 10 ++ >> include/conf

Re: [U-Boot] [PATCH 08/10] dm: imx: gpio: Support driver model in MXC gpio driver

2014-09-16 Thread Simon Glass
Hi Igor, On 15 September 2014 12:32, Igor Grinberg wrote: > Hi Simon, > > On 09/15/14 15:57, Simon Glass wrote: > > Add driver model support with this driver. In this case the platform data > > is in the driver. It would be better to put this into an SOC-specific > file, > > but this is best att

Re: [U-Boot] [PATCH 07/10] imximage.cfg: Remove copyright header

2014-09-16 Thread Simon Glass
Hi Igor, On 15 September 2014 12:00, Igor Grinberg wrote: > On 09/15/14 15:57, Simon Glass wrote: > > This seems to break mkimage: > > > > Invalid imximage commands Type - valid names are: BOOT_FROM, > BOOT_OFFSET, DATA, CSF, IMAGE_VERSION > > Error: board/compulab/cm_fx6/imximage.cfg[1] - Inval

Re: [U-Boot] [U-Boot, v2] kconfig: add sanity checks for SPL configuration

2014-09-16 Thread Tom Rini
On Wed, Sep 10, 2014 at 06:13:10PM +0900, Masahiro Yamada wrote: > For the SPL configuration, "make /" is used. > Here, >is either "spl" or "tpl" >is one of "config", "menuconfig", "xconfig", etc. > > This commit adds two checks: > > [1] If is given an unsupported subimage, the configur

Re: [U-Boot] [PATCH v2 2/3] tools: Import Kconfiglib (Superseded !!!)

2014-09-16 Thread Tom Rini
On Tue, Sep 16, 2014 at 11:41:43AM +0900, Masahiro Yamada wrote: > Hi Tom, > > > I think this series (v2) is under review now, > but I have noticed my big mistake in terms of the license. > > In v2, I accidentally added GPL-2.0+ SPDX > but it should have been ISC SPDX. Bah, please post a patch

Re: [U-Boot] [PATCH] Revert "ARM: SPL: do not set gd again"

2014-09-16 Thread Tom Rini
On Tue, Sep 16, 2014 at 08:27:23PM -0400, Tom Rini wrote: > At the high level, the problem is that we set gd multiple times (and > still do, even after the commit we're reverting). We set important > parts of gd to the copy which is not above stack but rather in the data > section. For the relea

Re: [U-Boot] [U-Boot, v2, 4/4] kconfig: armv8: move CONFIG_ARM64 to Kconfig

2014-09-16 Thread Tom Rini
On Sun, Sep 14, 2014 at 03:01:51AM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

Re: [U-Boot] [U-Boot, v2, 3/4] vexpress64: kconfig: consolidate CONFIG_TARGET_VEXPRESS_AEMV8A_SEMI

2014-09-16 Thread Tom Rini
On Sun, Sep 14, 2014 at 03:01:50AM +0900, Masahiro Yamada wrote: > We do not have to distinguish CONFIG_TARGET_VEXPRESS_AEMV8A_SEMI > from CONFIG_TARGET_VEXPRESS_AEMV8A. Rename the former to the latter. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Steve Rae > Cc: David Feng Applied to u

Re: [U-Boot] [U-Boot, v2, 1/1] net: dns: fix for DNS queries sent to the wrong MAC address

2014-09-16 Thread Tom Rini
On Fri, Sep 12, 2014 at 08:48:15AM +0200, Gerhard Sittig wrote: > When a DNS query is sent out, the ethernet packet can get directed to > the MAC address of a server that was communicated to before. This is > wrong when the previously stored MAC address corresponds to a different > server's IP ad

Re: [U-Boot] [U-Boot, U-boot] mtd: nand: davinci_nand: update write_page function for keystone RBL

2014-09-16 Thread Tom Rini
On Sat, Sep 06, 2014 at 10:17:07PM +0300, Khoronzhuk, Ivan wrote: > After mtd was synced with Linux 3.14 > (ff94bc40af3481d47546595ba73c136de6af6929) > the number of parameters for write_page function of nand_chip was > changed. The additional two var were needed for subpage write. > As keystone h

Re: [U-Boot] mtdcore: Fix a build error with CONFIG_CMD_MTDPARTS_SPREAD

2014-09-16 Thread Tom Rini
On Mon, Sep 08, 2014 at 07:04:16PM +0200, maxin.j...@enea.com wrote: > This patch fixes the build error for CONFIG_CMD_MTDPARTS_SPREAD > > Signed-off-by: Maxin B. John Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] net: usb: Add SMSC copyright to smsc95xx driver

2014-09-16 Thread Tom Rini
On Mon, Sep 08, 2014 at 01:44:14PM -0600, Simon Glass wrote: > This driver was upstreamed without an SMSC copyright, even thought it seems > that SMSC was the original author. > > See the kernel version for a code comparison: > > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/com

Re: [U-Boot] generic_board: do not set gd->fdt_blob unless CONFIG_OF_CONTROL=y

2014-09-16 Thread Tom Rini
On Sat, Sep 06, 2014 at 11:39:00PM +0900, Masahiro Yamada wrote: > gd->fdt_blob is used for FDT control of U-Boot. > If CONFIG_OF_CONTROL is not defined, it is useless. > > Signed-off-by: Masahiro Yamada > Cc: Simon Glass > Acked-by: Simon Glass Applied to u-boot/master, thanks! -- Tom si

Re: [U-Boot] [U-Boot,2/2] kbuild: standalone: simplify clean-files

2014-09-16 Thread Tom Rini
On Fri, Sep 05, 2014 at 01:56:52AM +0900, Masahiro Yamada wrote: > Files added $(extra-) are removed by "make clean". > Besides, wildcard "*.srec *.bin" is simpler. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot,v2,4/4] kconfig: fix a bug of "make config"

2014-09-16 Thread Tom Rini
On Thu, Sep 04, 2014 at 05:41:34AM +0900, Masahiro Yamada wrote: > Since 3ff291f371fa9858426774f3732924bacb61ed1c > (kconfig: convert Kconfig helper script into a shell script), > "make config" is not working because of a missing '$' before '(Q)'. > > Besides, "make config" should be invoked via

Re: [U-Boot] [U-Boot, 1/2] scripts/Makefile.clean: clean also $(extra-m) and $(extra-)

2014-09-16 Thread Tom Rini
On Fri, Sep 05, 2014 at 01:56:51AM +0900, Masahiro Yamada wrote: > This commit is a backport from Linux Kernel, > commit 9d5db8949f1ecf4019785b04d8986835d3c0e99e, > written by me. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, v2] kconfig: show an error message when defconfig is not found

2014-09-16 Thread Tom Rini
On Thu, Sep 04, 2014 at 10:16:15PM +0900, Masahiro Yamada wrote: > When a non-existing defconfig is specified, > display an easy-to-understand message > (fake the error message on Linux Kernel): > > $ make foo_defconfig > *** > *** Can't find default configuration "confis/foo_defconfig"! >

Re: [U-Boot] common: fix include guards for CONFIG_MP

2014-09-16 Thread Tom Rini
On Wed, Sep 03, 2014 at 01:57:54PM -0700, Gabriel Huau wrote: > This was breaking the build for some boards: > MPC8536DS MPC8536DS_36BIT MPC8536DS_SDCARD MPC8536DS_SPIFLASH qemu-ppce500 > > Include only these features for some PPC boards if the configuration for > MultiProcessor > is enabled. >

Re: [U-Boot] [U-Boot, v2, 2/4] kconfig: fix whitespace handling bug of savedefconfig

2014-09-16 Thread Tom Rini
On Thu, Sep 04, 2014 at 05:41:32AM +0900, Masahiro Yamada wrote: > Commit 3ff291f371fa9858426774f3732924bacb61ed1c > (kconfig: convert Kconfig helper script into a shell script) > introduced another regression. > > Shell usually handles whitespaces as separators, > so "make saveconfig" outputs >

Re: [U-Boot] [U-Boot, v2, 3/4] kconfig: fix savedefconfig to handle TPL correctly

2014-09-16 Thread Tom Rini
On Thu, Sep 04, 2014 at 05:41:33AM +0900, Masahiro Yamada wrote: > Since 3ff291f371fa9858426774f3732924bacb61ed1c > (kconfig: convert Kconfig helper script into a shell script), > "make savedefconfig" of TPL boards has not been working. > > Signed-off-by: Masahiro Yamada > Acked-by: Simon Glass

Re: [U-Boot] [U-Boot, 1/2] compiler*.h: sync include/linux/compiler*.h with Linux 3.16

2014-09-16 Thread Tom Rini
On Thu, Sep 04, 2014 at 02:40:58AM +0900, Masahiro Yamada wrote: > Copy them from Linux v3.16 tag. > My main motivation of this commit is to add compiler-clang.h. > > Signed-off-by: Masahiro Yamada > Cc: Jeroen Hofstee Applied to u-boot/master, thanks! -- Tom signature.asc Description: Dig

Re: [U-Boot] [U-Boot, v2, 1/4] kconfig: fix savedefconfig to output empty defconfig

2014-09-16 Thread Tom Rini
On Thu, Sep 04, 2014 at 05:41:31AM +0900, Masahiro Yamada wrote: > Commit 3ff291f371fa9858426774f3732924bacb61ed1c > (kconfig: convert Kconfig helper script into a shell script) > introduced a minor regression. > > make alldefconfig; make savedefconfig > should create an empty 'defconfig'. > > S

Re: [U-Boot] [U-Boot, 2/2] standalone: use GCC_VERSION defined in compiler-gcc.h

2014-09-16 Thread Tom Rini
On Thu, Sep 04, 2014 at 02:40:59AM +0900, Masahiro Yamada wrote: > Now GCC_VERSION is defined in include/linux/compiler-gcc.h > (with a little different definition). > Use it and delete the one in examples/standlone/stub.c. > > This should work on Clang too because __GNUC__, __GNUC_MINOR__, > __G

Re: [U-Boot] [U-Boot, v3, 4/4] implement the Android sparse image format

2014-09-16 Thread Tom Rini
On Wed, Sep 03, 2014 at 10:05:54AM -0700, Steve Rae wrote: > update to provide usable implementation to U-Boot > > Signed-off-by: Steve Rae Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing l

Re: [U-Boot] [U-Boot, v3, 1/4] add code to handle Android sparse image format

2014-09-16 Thread Tom Rini
On Wed, Sep 03, 2014 at 10:05:51AM -0700, Steve Rae wrote: > Add original file (pristine) from : > > https://www.codeaurora.org/cgit/quic/la/kernel/lk/plain/app/aboot/aboot.c?h=master > [3b5092d20bd15a7a2879c13e9f64acc48d04af2d] > > Signed-off-by: Steve Rae Applied to u-boot/master, thanks!

Re: [U-Boot] cmd_mem: add static to internally used functions

2014-09-16 Thread Tom Rini
On Thu, Sep 04, 2014 at 12:38:26AM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > Acked-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.de

Re: [U-Boot] [U-Boot, v3, 3/4] cleanup code which handles the Android sparse image format

2014-09-16 Thread Tom Rini
On Wed, Sep 03, 2014 at 10:05:53AM -0700, Steve Rae wrote: > - port dprintf() to debug() > - update formatting > > Signed-off-by: Steve Rae Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing li

Re: [U-Boot] [U-Boot, v3, 2/4] update code which handles Android sparse image format

2014-09-16 Thread Tom Rini
On Wed, Sep 03, 2014 at 10:05:52AM -0700, Steve Rae wrote: > - remove unnecessary functions > > Signed-off-by: Steve Rae Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.den

Re: [U-Boot] kgdb: Remove first_entry for kgdb

2014-09-16 Thread Tom Rini
On Mon, Sep 01, 2014 at 09:48:07PM +0800, Peng Fan wrote: > There are two ways to run into handle_exception, run command 'kgdb' and > encounter a breakpoint which triggers exception handling. > > The origin source code only saves regs when first run command 'kgdb'. > Take the following for exampl

Re: [U-Boot] [U-Boot, v2, 3/3] tools/genboardscfg.py: improve performance more with Kconfiglib

2014-09-16 Thread Tom Rini
On Mon, Sep 01, 2014 at 07:57:38PM +0900, Masahiro Yamada wrote: > The idea of using Kconfiglib was given by Tom Rini. > It allows us to scan lots of defconfigs very quickly. > This commit also uses multiprocessing for further acceleration. > > Signed-off-by: Masahiro Yamada > Suggested-by: Tom

Re: [U-Boot] [U-Boot,v2,1/3] SPDX: Add ISC SPDX-License-Identifier

2014-09-16 Thread Tom Rini
On Mon, Sep 01, 2014 at 07:57:36PM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > Cc: Wolfgang Denk Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.d

Re: [U-Boot] [U-Boot,v2,2/3] tools: Import Kconfiglib

2014-09-16 Thread Tom Rini
On Mon, Sep 01, 2014 at 07:57:37PM +0900, Masahiro Yamada wrote: > Kconfiglib is the flexible Python Kconfig parser and library > created by Ulf Magnusson. > (https://github.com/ulfalizer/Kconfiglib) > > This commit imports kconfiglib.py from > commit ce84c22e58fa59cb93679d4ead03c3cd1387965e, > w

Re: [U-Boot] kbuild: force to define __UBOOT__ in all the C sources

2014-09-16 Thread Tom Rini
On Sun, Aug 31, 2014 at 03:16:53PM +0900, Masahiro Yamada wrote: > U-Boot has imported various source files from other projects, > mostly Linux. > > Something like > > #ifdef __UBOOT__ > [ modification for U-Boot ] > #else > [ original code ] > #endif > > is an often used strategy

Re: [U-Boot] [U-Boot, v2, 01/40] vsprintf: Add modifier for phys_addr_t

2014-09-16 Thread Tom Rini
> From: Thierry Reding > Date: Thu, 28 Aug 2014 12:26:58 +0200 > Subject: [PATCH] rtl8169: Defer network packet processing > > When network protocol errors occur (such as a file not being found on a > TFTP server), the processing done by the NetReceive() function will end > up calling the driver'

Re: [U-Boot] cosmetic: README.scrapyard: add NIOS2 boards

2014-09-16 Thread Tom Rini
On Mon, Aug 25, 2014 at 10:37:49AM +0900, Masahiro Yamada wrote: > Commit 70fbc461 removed obsolete PCI5441 and PK1C20 boards. > This commit adds them to README.scrapyard and also fills > some commit IDs and dates for removed boards. > > Signed-off-by: Masahiro Yamada > Cc: Thomas Chou > Acked-

Re: [U-Boot] openrisc: Fix a few type cast related warnings

2014-09-16 Thread Tom Rini
On Tue, Aug 26, 2014 at 01:46:17PM +0300, Vasili Galka wrote: > Use size_t type for positive offsets instead of the loff_t type. The > later is defined as long long, which is larger than the pointer type > on OpenRISC architecture and therefore the following warning was > generated: > > "warning:

Re: [U-Boot] Fix a few printf argument verification warnings

2014-09-16 Thread Tom Rini
On Tue, Aug 26, 2014 at 01:45:48PM +0300, Vasili Galka wrote: > The parameters of size_t type shall be formatted using "%zu" and not > using "%d". > > Precision argument for the "%.*s" parameters shall be of int type. > > Signed-off-by: Vasili Galka Applied to u-boot/master, thanks! -- Tom

[U-Boot] [PATCH] Revert "ARM: SPL: do not set gd again"

2014-09-16 Thread Tom Rini
At the high level, the problem is that we set gd multiple times (and still do, even after the commit we're reverting). We set important parts of gd to the copy which is not above stack but rather in the data section. For the release, we're going to revert this change and for the next release we s

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Marek Vasut
On Wednesday, September 17, 2014 at 12:20:34 AM, Dinh Nguyen wrote: [...] > >> Using default environment > >> > >> In:serial > >> Out: serial > >> Err: serial > >> Net: dwmac.ff702000 > >> Error: dwmac.ff702000 address not set. > >> ^ > >> > >> Do you see this on your side? I can tr

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Marek Vasut
On Wednesday, September 17, 2014 at 12:29:54 AM, Dinh Nguyen wrote: [...] > >> Yes, tracked it down to get_ram_size(). I forced gd->ram_size to 1GB and > >> it works fine for me now. I'll try to spend some cycles to debug the > >> problem. > > > > Hm, how much DRAM can the SoCFPGA chip drive

Re: [U-Boot] [PATCH v3 0/3] add support for new arch stv0991

2014-09-16 Thread vikasm
Hello Masahiro/Nobuhiro, As per your comments , the changes are done in V3 patchset. Please provide your acceptance for reviewed-by or acked-by tag ? Rgds, Vikas On 09/02/2014 03:04 PM, Vikas MANOCHA wrote: This patchset add support for new arch stv0991. Changes in v3: - removed period from c

[U-Boot] [PATCH 1/2] mx51evk: Fix CONFIG_SYS_FSL_ESDHC_ADDR

2014-09-16 Thread Fabio Estevam
From: Fabio Estevam We should pass the SDHC1 base address into CONFIG_SYS_FSL_ESDHC_ADDR. Signed-off-by: Fabio Estevam --- include/configs/mx51evk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h index b389475..b0d401c

[U-Boot] [PATCH 2/2] mx51evk: Add generic board support

2014-09-16 Thread Fabio Estevam
From: Fabio Estevam Let's enable CONFIG_SYS_GENERIC_BOARD in order to get rid of warnings related to generic board not being supported. Signed-off-by: Fabio Estevam --- include/configs/mx51evk.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/mx51evk.h b/include/configs/mx5

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Dinh Nguyen
On 09/16/2014 04:55 PM, Marek Vasut wrote: > On Tuesday, September 16, 2014 at 11:29:45 PM, dinguyen wrote: >> On Tue, 16 Sep 2014, Marek Vasut wrote: >>> On Tuesday, September 16, 2014 at 06:28:52 PM, Dinh Nguyen wrote: On 09/16/2014 08:18 AM, Pavel Machek wrote: > Hi! > > On Mon

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Dinh Nguyen
On 09/16/2014 04:46 PM, Marek Vasut wrote: > On Tuesday, September 16, 2014 at 11:35:38 PM, dinguyen wrote: >> On Tue, 16 Sep 2014, Marek Vasut wrote: >>> On Tuesday, September 16, 2014 at 06:28:52 PM, Dinh Nguyen wrote: On 09/16/2014 08:18 AM, Pavel Machek wrote: > Hi! > > On Mon

Re: [U-Boot] [PATCH 04/35] net: dwc: Make the cache handling less cryptic

2014-09-16 Thread Marek Vasut
On Wednesday, September 17, 2014 at 12:03:04 AM, Dinh Nguyen wrote: > On 09/16/2014 01:10 PM, Marek Vasut wrote: > > On Tuesday, September 16, 2014 at 03:16:38 PM, Pavel Machek wrote: > >> On Mon 2014-09-15 13:05:57, Marek Vasut wrote: > >>> Add a few new variables to make the cache handling less c

Re: [U-Boot] [PATCH 04/35] net: dwc: Make the cache handling less cryptic

2014-09-16 Thread Dinh Nguyen
On 09/16/2014 01:10 PM, Marek Vasut wrote: > On Tuesday, September 16, 2014 at 03:16:38 PM, Pavel Machek wrote: >> On Mon 2014-09-15 13:05:57, Marek Vasut wrote: >>> Add a few new variables to make the cache handling less cryptic. >>> Add a variable for DMA and DATA descriptor start and end, so the

Re: [U-Boot] Email address of SPEAr custodian is not working

2014-09-16 Thread Viresh Kumar
Cc'ing Vipins new id. On Tue, Sep 16, 2014 at 12:04 AM, Masahiro Yamada wrote: > Hello Tom, Wolfgang, > > > > > > I CCed Vipin Kumar and ended up in a bounce mail. > > > The error message I got from the mail server is as follows: > > > > The original message was received at Tue, 16 Sep 2014 14:1

Re: [U-Boot] [PATCH 12/35] arm: socfpga: clock: Implant order into bit definitions

2014-09-16 Thread Marek Vasut
On Tuesday, September 16, 2014 at 10:18:32 AM, Wolfgang Denk wrote: > Dear Marek, > > In message <201409152348.15411.ma...@denx.de> you wrote: > > > cm_write_bypass( > > > > > > CLKMGR_BYPASS_PERPLLSRC_SET( > > > CLKMGR_BYPASS_PERPLLSRC_SELECT_EOSC1

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Marek Vasut
On Tuesday, September 16, 2014 at 11:29:45 PM, dinguyen wrote: > On Tue, 16 Sep 2014, Marek Vasut wrote: > > On Tuesday, September 16, 2014 at 06:28:52 PM, Dinh Nguyen wrote: > > > On 09/16/2014 08:18 AM, Pavel Machek wrote: > > > > Hi! > > > > > > > > On Mon 2014-09-15 13:05:53, Marek Vasut wrote

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Marek Vasut
On Tuesday, September 16, 2014 at 11:35:38 PM, dinguyen wrote: > On Tue, 16 Sep 2014, Marek Vasut wrote: > > On Tuesday, September 16, 2014 at 06:28:52 PM, Dinh Nguyen wrote: > > > On 09/16/2014 08:18 AM, Pavel Machek wrote: > > > > Hi! > > > > > > > > On Mon 2014-09-15 13:05:53, Marek Vasut wrote

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread dinguyen
On Tue, 16 Sep 2014, Marek Vasut wrote: > On Tuesday, September 16, 2014 at 06:28:52 PM, Dinh Nguyen wrote: > > On 09/16/2014 08:18 AM, Pavel Machek wrote: > > > Hi! > > > > > > On Mon 2014-09-15 13:05:53, Marek Vasut wrote: > > >> This entire RFC series is the first stab at making SoCFPGA usab

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread dinguyen
On Tue, 16 Sep 2014, Marek Vasut wrote: > On Tuesday, September 16, 2014 at 06:28:52 PM, Dinh Nguyen wrote: > > On 09/16/2014 08:18 AM, Pavel Machek wrote: > > > Hi! > > > > > > On Mon 2014-09-15 13:05:53, Marek Vasut wrote: > > >> This entire RFC series is the first stab at making SoCFPGA usab

Re: [U-Boot] Reading a text file from another FAT partition

2014-09-16 Thread Wolfgang Denk
Dear harsha kiran, In message <1410889741235-189502.p...@n7.nabble.com> you wrote: > Hi Everyone, > > I have an SD Card which has 2 FAT partitions. U-boot is in the first Boot > partition and i have a text file to be read which is in another partition. OK - and what exactly is your problem? If

[U-Boot] Reading a text file from another FAT partition

2014-09-16 Thread harsha kiran
Hi Everyone, I have an SD Card which has 2 FAT partitions. U-boot is in the first Boot partition and i have a text file to be read which is in another partition. I want to read this file in the U-boot config file under CONFIG_BOOTCOMMAND. can anyone please let me know what commands U-boot introd

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Marek Vasut
On Tuesday, September 16, 2014 at 06:28:52 PM, Dinh Nguyen wrote: > On 09/16/2014 08:18 AM, Pavel Machek wrote: > > Hi! > > > > On Mon 2014-09-15 13:05:53, Marek Vasut wrote: > >> This entire RFC series is the first stab at making SoCFPGA usable with > >> mainline U-Boot again. There are still som

Re: [U-Boot] [PATCH 25/35] arm: socfpga: fpga: Add SoCFPGA FPGA programming interface

2014-09-16 Thread Marek Vasut
On Tuesday, September 16, 2014 at 12:33:02 PM, Michal Simek wrote: > On 09/16/2014 12:12 PM, Marek Vasut wrote: > > On Tuesday, September 16, 2014 at 11:42:00 AM, Michal Simek wrote: > >> On 09/15/2014 01:06 PM, Marek Vasut wrote: > >>> From: Pavel Machek > >>> > >>> Add code necessary to program

Re: [U-Boot] [PATCH 04/35] net: dwc: Make the cache handling less cryptic

2014-09-16 Thread Marek Vasut
On Tuesday, September 16, 2014 at 03:16:38 PM, Pavel Machek wrote: > On Mon 2014-09-15 13:05:57, Marek Vasut wrote: > > Add a few new variables to make the cache handling less cryptic. > > Add a variable for DMA and DATA descriptor start and end, so the > > correctness of the code is easier to insp

Re: [U-Boot] [PATCH 25/35] arm: socfpga: fpga: Add SoCFPGA FPGA programming interface

2014-09-16 Thread Marek Vasut
On Monday, September 15, 2014 at 05:41:51 PM, Wolfgang Denk wrote: > Dear Marek Vasut, > > In message <1410779188-6880-26-git-send-email-ma...@denx.de> you wrote: > > From: Pavel Machek > > > > Add code necessary to program the FPGA part of SoCFPGA from U-Boot > > with an RBF blob. This patch al

Re: [U-Boot] [PATCH 15/35] arm: socfpga: clock: Add code to read clock configuration

2014-09-16 Thread Marek Vasut
On Monday, September 15, 2014 at 10:09:34 PM, Dinh Nguyen wrote: > On 09/15/2014 06:06 AM, Marek Vasut wrote: [...] > > + /* get the L4 SP clock which supplied to UART */ > > + reg = readl(&clock_manager_base->main_pll.maindiv); > > + reg = CLKMGR_MAINPLLGRP_MAINDIV_L4SPCLK_GET(reg); > > +

Re: [U-Boot] [PATCH 13/35] arm: socfpga: clock: Drop nonsense inlining from clock manager code

2014-09-16 Thread Marek Vasut
On Monday, September 15, 2014 at 09:25:09 PM, Dinh Nguyen wrote: > On 09/15/2014 06:06 AM, Marek Vasut wrote: > > The inlining is done by GCC whe needed, there is no need to do it > > s/whe/when. > > Acked-by: Dinh Nguyen > > thanks... Fixed, thanks! Best regards, Marek Vasut

Re: [U-Boot] [PATCH] imx: Fix warning by building vf610twr_nand

2014-09-16 Thread Stefan Agner
Hi, Didn't realized that this config needs a maintainer too, sorry. I agree, since the vf610twr is maintained by Alison, it makes sense that the nand variant is maintained by Alison too.. Thanks for the patch. -- Stefan Am 2014-09-16 16:08, schrieb Stefano Babic: > commit d6d07a9b... arm: vf610

Re: [U-Boot] [PATCH 1/2 v3] Add i.MX6 CPU temperature sensor support

2014-09-16 Thread Nitin Garg
Hi Stefano, On 09/11/2014 04:01 AM, Stefano Babic wrote: > Hi Nitin, > > > On 02/09/2014 00:48, nitin.g...@freescale.com wrote: >> From: Nitin Garg >> >> i.MX6 SoC has onChip temperature sensor. Add support >> for this sensor. >> >> Signed-off-by: Nitin Garg >> --- >> arch/arm/cpu/armv7/mx6/s

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

2014-09-16 Thread Nitin Garg
Hi Stefano, On 09/12/2014 03:46 AM, Stefano Babic wrote: > Hi Nitin, > > On 04/09/2014 03:18, Nitin Garg 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 >> authentica

Re: [U-Boot] AM335x not working anymore

2014-09-16 Thread Jeroen Hofstee
Hi, On 16-09-14 16:11, Jeroen Hofstee wrote: Hello Hannes, Tom, On di, 2014-09-16 at 09:56 -0400, Tom Rini wrote: On Tue, Sep 16, 2014 at 02:17:01PM +0200, Hannes Petermaier wrote: Hi, i've just pulled newest u-boot and tried it on my custom AM335x board without success. It hangs after (suc

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

2014-09-16 Thread Nitin Garg
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 the image DDR location, IVT (Image Vector Table) offset inside image as parameters. Detailed

Re: [U-Boot] [PATCH] imx6: fix pl301_mx6qper1_bch clock gating setup

2014-09-16 Thread Anatolij Gustschin
Hi Nikita, On Tue, 16 Sep 2014 11:55:04 +0300 Nikita Kiryanov wrote: > Please take a look at this patch: > https://www.mail-archive.com/u-boot@lists.denx.de/msg145208.html > function setup_gpmi_io_clk(). > > It's not in mainline yet, but Stefano already applied it to his tree, > and using it wi

[U-Boot] [PATCH v4 4/5] mx6: thermal: Check cpu temperature via thermal sensor

2014-09-16 Thread Nitin Garg
read cpu temperature using the onchip thermal sensor. Signed-off-by: Nitin Garg --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/imx-common/cpu.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-commo

[U-Boot] [PATCH v4 5/5] mx6: thermal: Enable thermal sensor for mx6 sabre boards.

2014-09-16 Thread Nitin Garg
Add CONFIG_IMX6_THERMAL to mx6sabre_common.h file. Since thermal driver depends on ocotp, make sure to enable CONFIG_MXC_OCOTP when CONFIG_IMX6_THERMAL is slected. Signed-off-by: Nitin Garg --- Changes in v4: -Added imx6 thermal sensor as a driver -Renamed the config define to be more meaningful

[U-Boot] [PATCH v4 0/5] add i.MX6 thermal sensor driver

2014-09-16 Thread Nitin Garg
This patch set adds i.MX6 thermal sensor driver and enables it for mx6sabre boards. Also adds various anadig bit definitions as required for upcoming drivers. Changes in v4: -Added imx6 thermal sensor as a driver -Renamed the config define to be more meaningful -Move the clock code to clock.c -Reu

[U-Boot] [PATCH v4 2/5] mx6: clock: Add api to enable pll3

2014-09-16 Thread Nitin Garg
Add api to check and enable pll3 as required for thermal sensor driver. Signed-off-by: Nitin Garg --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/armv7/mx6/clock.c| 25 + arch/arm/include/asm/arch-mx6/clock.h |1 + 2 files chan

[U-Boot] [PATCH v4 3/5] mx6: thermal: Add i.MX6 CPU thermal sensor support

2014-09-16 Thread Nitin Garg
i.MX6 SoC has onchip temperature sensor. Add driver for this sensor. Signed-off-by: Nitin Garg --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/Makefile |1 + drivers/thermal/Makefile |8 +++ drivers/thermal/imx_thermal.c | 137

[U-Boot] [PATCH v4 1/5] mx6: crm_regs: Add bit definitions for anadig registers

2014-09-16 Thread Nitin Garg
Add bit definitons for various anadig registers as required by various drivers. Signed-off-by: Nitin Garg --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/include/asm/arch-mx6/crm_regs.h | 543 +- 1 file changed, 542 insertions(+), 1 deletio

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Dinh Nguyen
On 09/16/2014 08:18 AM, Pavel Machek wrote: > Hi! > > On Mon 2014-09-15 13:05:53, Marek Vasut wrote: >> This entire RFC series is the first stab at making SoCFPGA usable with >> mainline U-Boot again. There are still some bits missing, but in general, >> this allows me to use mainline U-Boot on my

Re: [U-Boot] [PATCH 10/35] arm: socfpga: Add watchdog disable for socfpga

2014-09-16 Thread Marek Vasut
On Monday, September 15, 2014 at 06:28:20 PM, Dinh Nguyen wrote: > On 09/15/2014 06:06 AM, Marek Vasut wrote: > > From: Pavel Machek > > > > This adds watchdog disable. It is neccessary for running Linux kernel. > > > > Signed-off-by: Pavel Machek > > Signed-off-by: Marek Vasut > > Cc: Chin Li

Re: [U-Boot] [PATCH 01/35] net: Remove unused CONFIG_DW_SEARCH_PHY from configs

2014-09-16 Thread Marek Vasut
On Monday, September 15, 2014 at 05:34:51 PM, Dinh Nguyen wrote: > On 09/15/2014 06:05 AM, Marek Vasut wrote: > > From: Pavel Machek > > > > Remove this symbol from configs, since it's unused. > > > > Signed-off-by: Pavel Machek > > Signed-off-by: Marek Vasut > > Cc: Chin Liang See > > Cc: Di

Re: [U-Boot] [PATCH 18/35] arm: socfpga: timer: Pull the timer reload value from config file

2014-09-16 Thread Dinh Nguyen
On 09/15/2014 06:06 AM, Marek Vasut wrote: > The timer reload value is a property of the timer hardware and there > is no reason for this to be configurable. Place this into the timer > driver just like on the other hardware. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen

[U-Boot] [PATCH 1/5] omap3: overo: Fix fdtfile test

2014-09-16 Thread Stefan Herbrechtsmeier
Commit 12cc54376768461533b55ada1b0b6d4979f40579 'omap3: overo: Select fdtfile for expansion board' wrongly missed the operator in the fdtfile test. Update the test to only overwrite an empty fdtfile environment variable. Signed-off-by: Stefan Herbrechtsmeier --- include/configs/omap3_overo.h |

[U-Boot] [PATCH 4/5] omap3: overo: Separate module and expansion board MUX configuration

2014-09-16 Thread Stefan Herbrechtsmeier
Separate overo module and expansion board MUX configuration. This allows an foreign expansion board to use the boot loader without any adaption. It only needs to save the expansion name in the EEPROM to load a specific device tree. Signed-off-by: Stefan Herbrechtsmeier --- board/overo/overo.c |

[U-Boot] [PATCH 0/5] omap3: overo: Add foreign expansion board support

2014-09-16 Thread Stefan Herbrechtsmeier
At the moment the boot loader use a common configuration for all Gumstix Overo expansion boards. This also includes configuration of all inputs and outputs even if they aren't used by the boot loader. Because the Overo module could be used on foreign expansion boards with different configurations t

[U-Boot] [PATCH 3/5] omap3: overo: Move ethernet setup to board_eth_init function

2014-09-16 Thread Stefan Herbrechtsmeier
Move ethernet setup to the board_eth_init function and select the available network devices via expansion id. Signed-off-by: Stefan Herbrechtsmeier --- board/overo/overo.c | 76 + 1 file changed, 47 insertions(+), 29 deletions(-) diff --git a

[U-Boot] [PATCH 5/5] omap3: overo: Add usb host support

2014-09-16 Thread Stefan Herbrechtsmeier
Signed-off-by: Stefan Herbrechtsmeier --- board/overo/overo.c | 34 ++ include/configs/omap3_overo.h | 8 2 files changed, 42 insertions(+) diff --git a/board/overo/overo.c b/board/overo/overo.c index 488246b..66146ee 100644 --- a/board/overo/

[U-Boot] [PATCH 2/5] omap3: overo: Call bootm only after successful nand read

2014-09-16 Thread Stefan Herbrechtsmeier
Signed-off-by: Stefan Herbrechtsmeier --- include/configs/omap3_overo.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h index b17e495..d042eea 100644 --- a/include/configs/omap3_overo.h +++ b/include/configs/o

Re: [U-Boot] [PATCH 17/35] arm: socfpga: mmc: Pick the clock from clock manager

2014-09-16 Thread Dinh Nguyen
On 09/15/2014 06:06 AM, Marek Vasut wrote: > From: Pavel Machek > > Make the SoCFPGA MMC stub pick clock via the clock manager > frequency accessors instead of hard-coding the frequency. > > Also fix calloc() misuse. > > Signed-off-by: Pavel Machek > Signed-off-by: Marek Vasut > Cc: Chin Lian

  1   2   >