[U-Boot] [PATCH] powerpc/mpc85xx: Add workaround for erratum A007212

2014-03-28 Thread York Sun
Erratum A007212 for DDR is about a runaway condition for DDR PLL oscilliator. Please refer to erratum document for detail. For this workaround to work, DDR PLL needs to be disabled in RCW. However, u-boot needs to know the expected PLL ratio. We put the ratio in a reserved field RCW[18:23]. U-boot

Re: [U-Boot] [PATCH] kbuild/makefile: allow building host tools separately

2014-03-28 Thread Alexey Brodkin
Hi Masahiro-san, On Fri, 2014-03-28 at 15:36 +0900, Masahiro Yamada wrote: > Hi Alexey, > > This may be the similar discussion to > http://u-boot.10912.n7.nabble.com/U-Boot-could-not-cross-compile-u-boot-tools-td174911.html It looks not that relevant to me. For example even before switching U-Boo

Re: [U-Boot] kbuild: fix bugs in cleaning targets

2014-03-28 Thread Tom Rini
On Fri, Mar 28, 2014 at 02:55:02PM +0900, Masahiro Yamada wrote: > "make clean", "make clobber", "make mrproper" and "make distclean" > missed to clean-up some files when they were run with > O= option. > > Signed-off-by: Masahiro Yamada > Reported-by: Wolfgang Denk Applied to u-boot/master, t

Re: [U-Boot] [U-Boot, v5, 4/4] trats/trats2: enable exynos ace sha subsystem and hardware based lib rand

2014-03-28 Thread Tom Rini
On Tue, Mar 25, 2014 at 10:58:22AM +0100, Przemyslaw Marczak wrote: > This allows to use exynos random number generator by enabling configs: > - CONFIG_EXYNOS_ACE_SHA > - CONFIG_LIB_HW_RAND > > Signed-off-by: Przemyslaw Marczak > Acked-by: Lukasz Majewski > cc: Piotr Wilczek > cc: Minkyu Kang

Re: [U-Boot] [PATCH] blackfin: mmc: Correct mmc_host_is_spi and bfin_sdh.c

2014-03-28 Thread Tom Rini
On Fri, Mar 28, 2014 at 04:56:47PM -0400, Tom Rini wrote: > In the recent mmc cleanup, the mmc_host_is_spi macro was broken and > bfin_sdh.c had mmc->bus_width turned into mmc_bus_width(mmc), both of > which were incorrect. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v5, 3/4] drivers: crypto: ace_sha: add implementation of hardware based lib rand

2014-03-28 Thread Tom Rini
On Tue, Mar 25, 2014 at 10:58:21AM +0100, Przemyslaw Marczak wrote: > This patch adds implementation of rand library based on hardware random > number generator of security subsystem in Exynos SOC. > > This library includes: > - srand() - used for seed hardware block > - rand() - returns rando

Re: [U-Boot] [U-Boot, v5, 1/4] lib: rand: introduce new configs: CONFIG_LIB_RAND and CONFIG_LIB_HW_RAND

2014-03-28 Thread Tom Rini
On Tue, Mar 25, 2014 at 10:58:19AM +0100, Przemyslaw Marczak wrote: > New configs: > - CONFIG_LIB_RAND- to enable implementation of rand library in lib/rand.c > - CONFIG_LIB_HW_RAND - to enable hardware based implementations of lib rand > > Other changes: > - add CONFIG_LIB_RAND to boards con

Re: [U-Boot] [U-Boot, v5, 2/4] cpu: exynos4: add ace sha base address

2014-03-28 Thread Tom Rini
On Tue, Mar 25, 2014 at 10:58:20AM +0100, Przemyslaw Marczak wrote: > Signed-off-by: Przemyslaw Marczak > Cc: Minkyu Kang Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.de

Re: [U-Boot] kbuild: create a build directory automatically for out-of-tree build

2014-03-28 Thread Tom Rini
On Mon, Mar 24, 2014 at 01:55:27PM +0900, Masahiro Yamada wrote: > Prior to Kbuild, the build system created a build directory, > when it did not exist, for out-of-tree build. > > This feature was dropped when we switched to Kbuild > because many of lines in makefiles were copied from Linux Kerne

Re: [U-Boot] Start the deprecation process for generic board

2014-03-28 Thread Tom Rini
On Sat, Mar 22, 2014 at 05:14:51PM -0600, Simon Glass wrote: > We should move forward to remove the old board init code. Add a > prominent message to encourage maintainers to get started on this > work. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc De

Re: [U-Boot] net/designware: align DMA buffer descriptors to D$ line

2014-03-28 Thread Tom Rini
On Fri, Mar 21, 2014 at 04:16:57PM +0400, Alexey Brodkin wrote: > It's important to have ability to flush/invalidate each DMA buffer descriptor > individually to prevent incoherency of adjacent BDs. > > Signed-off-by: Alexey Brodkin Applied to u-boot/master, thanks! -- Tom signature.asc Des

Re: [U-Boot] axs101: flush DMA buffer descriptors before DMA transactons starts

2014-03-28 Thread Tom Rini
On Fri, Mar 21, 2014 at 04:57:47PM +0400, Alexey Brodkin wrote: > CPU sets DMA buffer descriptors with data required for inetrnal DMA such as: > * Ownership of BD > * Buffer size > * Pointer to data buffer in memory > > Then we need to make sure DMA engine of NAND controller gets proper data.

Re: [U-Boot] [U-Boot, v2] Logo: TIZEN: Change booting logo size to official size.

2014-03-28 Thread Tom Rini
On Fri, Mar 21, 2014 at 06:18:02PM +0900, Jonghwa Lee wrote: > Since TIZEN group has been used 450 X 140 bmp logo for lunchbox, > this patch tries to change the logo size from 500 X 150 to official size. > By reducing image size, we also save about 35KB. > > To make row aligned 4 bytes, add 2 pix

Re: [U-Boot] spl: Fix guardian macros in spl.h

2014-03-28 Thread Tom Rini
On Wed, Mar 19, 2014 at 02:02:55AM +0100, Marek Vasut wrote: > Fix the macros guarding the spl.h header for various platforms. Due to > a typo and a propagation of it, the macros went out-of-sync with their > ifdef check, so fix this. > > Signed-off-by: Marek Vasut > Cc: Tom Rini Applied to u-

Re: [U-Boot] kbuild: move asm-offsets.c from SoC directory to arch/$(ARCH)/lib

2014-03-28 Thread Tom Rini
On Tue, Mar 18, 2014 at 04:38:13PM +0900, Masahiro Yamada wrote: > U-Boot has supported two kinds of asm-offsets.h. > > One is generic for all architectures and its source is located at > ./lib/asm-offsets.c. > > The other is SoC specific and its source is under SoC directory. > The problem here

Re: [U-Boot] common, env: Fix support for environment in i2c eeprom

2014-03-28 Thread Tom Rini
On Wed, Mar 19, 2014 at 10:25:08AM +0100, Matthias Fuchs wrote: > When using CONFIG_SYS_I2C i2c needs to be initialized by > i2c_init_all(). This is done in some places but not in > eeprom_init(). > > Signed-off-by: Matthias Fuchs Applied to u-boot/master, thanks! -- Tom signature.asc Descr

Re: [U-Boot] am335x_evm: Clarify when we build board_eth_init

2014-03-28 Thread Tom Rini
On Fri, Mar 28, 2014 at 11:42:08AM -0400, Tom Rini wrote: > If we build this function in cases where we would be discarding it > anyhow we still end up with maybe unused warnings. Rather than litter > the function with __maybe_unused, just spell out when to build it. > > Signed-off-by: Tom Rini

Re: [U-Boot] kbuild: Rename UIMAGE to MKIMAGE

2014-03-28 Thread Tom Rini
On Fri, Mar 14, 2014 at 05:00:14AM +0100, Marek Vasut wrote: > U-Boot uses the 'mkimage' tool to produce various image types, > not only uImage image type. Rename the invocation name from > UIMAGE to MKIMAGE. > > The following command was used to do the replacement: > git grep 'quiet_cmd_mkimage.

Re: [U-Boot] [PATCH] am335x_evm: Drop CONFIG_SPL_ETH_SUPPORT from default build

2014-03-28 Thread Tom Rini
On Fri, Mar 28, 2014 at 09:11:42AM -0400, Tom Rini wrote: > On the boards this target supports this option is either non possible > without hardware mods (Beaglebone White/Black) or not supported due to > board design. Drop this and regain some space. > > Signed-off-by: Tom Rini Applied to u-b

Re: [U-Boot] Pull request: u-boot-mmc 24032014

2014-03-28 Thread Tom Rini
On Mon, Mar 24, 2014 at 03:03:45PM +0200, Pantelis Antoniou wrote: > Hi Tom, > > The following changes since commit 2c072c958bb544c72f0e848375803dbd6971f022: > > sandbox: config: Enable cros_ec emulation and related items (2014-03-17 > 20:05:50 -0600) > > are available in the git repository

Re: [U-Boot] Please pull u-boot-x86.git misc

2014-03-28 Thread Tom Rini
On Sat, Mar 22, 2014 at 04:31:19PM -0700, Simon Glass wrote: > Hi Tom, > > Here are a few more things from my patchwork queue. I have tested with > buildman. > > > > The following changes since commit 2c072c958bb544c72f0e848375803dbd6971f022: > > sandbox: config: Enable cros_ec emulation a

Re: [U-Boot] [PULL] u-boot-usb/master

2014-03-28 Thread Tom Rini
On Sun, Mar 23, 2014 at 02:21:37AM +0100, Marek Vasut wrote: > The following changes since commit 2c072c958bb544c72f0e848375803dbd6971f022: > > sandbox: config: Enable cros_ec emulation and related items (2014-03-17 > 20:05:50 -0600) > > are available in the git repository at: > > git://git.de

[U-Boot] [PATCH] blackfin: mmc: Correct mmc_host_is_spi and bfin_sdh.c

2014-03-28 Thread Tom Rini
In the recent mmc cleanup, the mmc_host_is_spi macro was broken and bfin_sdh.c had mmc->bus_width turned into mmc_bus_width(mmc), both of which were incorrect. Signed-off-by: Tom Rini --- drivers/mmc/bfin_sdh.c |2 +- include/mmc.h |2 +- 2 files changed, 2 insertions(+), 2 dele

[U-Boot] [PATCH] buildman: make output dir configurable

2014-03-28 Thread Daniel Schwierzeck
Add an option to specify the output directory to override the default path '../'. This is useful for building in a ramdisk. Signed-off-by: Daniel Schwierzeck Cc: Simon Glass --- tools/buildman/buildman.py | 2 ++ tools/buildman/control.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-)

Re: [U-Boot] [RFC PATCH 04/17] kconfig: add defconfig files for all boards

2014-03-28 Thread Daniel Schwierzeck
2014-03-28 3:25 GMT+01:00 Masahiro Yamada : >> >> Those boards have linker errors, but I do not understand yet why. For >> example on ARM the linker complains about multiple definition of >> board_init() and board_eth_init(). The solely difference is that there >> are one or two additional intermed

Re: [U-Boot] tools: fix Makefile to clean-up fit_info and fit_check_sign

2014-03-28 Thread Tom Rini
On Fri, Mar 28, 2014 at 03:09:51PM +0900, Masahiro Yamada wrote: > We should avoid the description in Makefile like this > > ifdef CONFIG_FIT_SIGNATURE > hostprogs-y += fit_info$(SFX) fit_check_sign$(SFX) > endif > > Otherwise, fit_info and fit_check_sign would never be cleaned > by "make clean"

[U-Boot] [PATCH v2 2/3] am335x_evm: Update the ramdisk args, we pass things in just fine via DT

2014-03-28 Thread Tom Rini
Signed-off-by: Tom Rini --- include/configs/am335x_evm.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 9064ed1..b22c9c1 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -79,7

[U-Boot] [PATCH v2 3/3] am43xx_evm: Update the ramdisk args, we pass things in just fine via DT

2014-03-28 Thread Tom Rini
Signed-off-by: Tom Rini --- include/configs/am43xx_evm.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index 2c5..2d9825b 100644 --- a/include/configs/am43xx_evm.h +++ b/include/configs/am43xx_evm.h @@ -128,7

[U-Boot] [PATCH v2 1/3] TI: Add, use a DEFAULT_LINUX_BOOT_ENV environment string

2014-03-28 Thread Tom Rini
To deal with a reoccurring problem properly we need to specify addresses for the Linux kernel, Flatted Device Tree and ramdisk that obey the constraints within the kernel's Documentation/arm/Booting file but also make sure that we relocate things within a valid address range. It is possible with t

[U-Boot] [PATCH 2/3] omap3/sys_info: provide interface to read die id

2014-03-28 Thread Nishanth Menon
introduce get_die_id() function which allows generation of information such as fake MAC address from the processor ID code. Signed-off-by: Nishanth Menon --- arch/arm/cpu/armv7/omap3/sys_info.c | 19 ++- arch/arm/include/asm/arch-omap3/sys_proto.h |1 + 2 files cha

Re: [U-Boot] [PATCH RFC] fsl_esdhc: flush cache after non-read operation

2014-03-28 Thread Eric Nelson
Hi Hector, On 03/28/2014 06:49 AM, Fabio Estevam wrote: On Fri, Mar 28, 2014 at 7:15 AM, Hector Palacios wrote: Cache was invalidated on the read operation, but it should also be flushed otherwise. Signed-off-by: Hector Palacios Thanks, Hector. Adding Marek on Cc as well. --- Notes:

[U-Boot] [PATCH v3 08/10] README.falcon: Document environment variables for falcon mode

2014-03-28 Thread Tom Rini
Signed-off-by: Tom Rini --- doc/README.falcon |9 + 1 file changed, 9 insertions(+) diff --git a/doc/README.falcon b/doc/README.falcon index 6357b1e..bccf6c9 100644 --- a/doc/README.falcon +++ b/doc/README.falcon @@ -80,6 +80,15 @@ spl_start_uboot() : required Returns

[U-Boot] [PATCH 0/3] OMAP3: support fake USB Ethernet MAC address for OMAP3 BeagleBoard-XM

2014-03-28 Thread Nishanth Menon
BeagleBoard-XM unfortunately is plagued by lack of proper MAC address in USB resulting in custom uEnv.txt and risk of MAC address conflict in the network. NOTE: a) if user wants to manually set/override the mac address, then they can change the environment variable prior to 'usb start' b) If a ne

[U-Boot] [PATCH v3 09/10] a3m071: Make spl_start_uboot test like getenv_yesno does

2014-03-28 Thread Tom Rini
This change makes the behaviour slightly more rebust and will match other implementations which can use getenv_yesno directly. Acked-by: Stefan Roese Signed-off-by: Tom Rini --- board/a3m071/a3m071.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/a3m071/a3m071.c

[U-Boot] How to convert iMX6 IOMux data to U-Boot format

2014-03-28 Thread David Müller (ELSOFT AG)
Hello Is there a tool or script to convert the iMX6 IOmux data generated to the Freescale IOMux tool into the format used by U-Boot? Any hints are appreciated. Dave ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-b

Re: [U-Boot] [PATCH] ARM: tegra: make all I2C ports open-drain

2014-03-28 Thread Tom Rini
On Wed, Mar 26, 2014 at 01:54:19PM -0600, Stephen Warren wrote: > On 03/21/2014 03:27 PM, Tom Warren wrote: > > I've updated u-boot-tegra/next with this patch, rebased it against ARM > > master, and pushed it to Denx. All tegra boards build OK. > > > > Albert - if you want, you can use u-boot-teg

Re: [U-Boot] Xilinx Zed Board resets with Master

2014-03-28 Thread Tim Sander
Hi Michal > On 03/27/2014 05:32 PM, Tim Sander wrote: > > Hi Michal > > > > Am Donnerstag, 27. März 2014, 14:17:41 schrieb Michal Simek: > >> Please check and may be you can try u-boot-dtb.elf. > > > > Mh, don't know how to create this kind of file? > > Jagan maybe knows m

Re: [U-Boot] [PATCH v4 7/9] k2hk: add support for k2hk SOC and EVM

2014-03-28 Thread Tom Rini
On Thu, Mar 27, 2014 at 11:59:10AM -0400, Murali Karicheri wrote: > From: Vitaly Andrianov > > k2hk EVM is based on Texas Instruments Keystone2 Hawking/Kepler > SoC. Keystone2 SoC has ARM v7 Cortex-A15 MPCore processor. Please > refer the ti/k2hk_evm/README for details on the board, build and ot

Re: [U-Boot] [RESEND PATCH v3 2/2] keystone2: net: add keystone ethernet driver

2014-03-28 Thread Karicheri, Muralidharan
>-Original Message- >From: Tom Rini [mailto:tom.r...@gmail.com] On Behalf Of Rini, Tom >Sent: Friday, March 28, 2014 11:50 AM >To: Karicheri, Muralidharan >Cc: u-boot@lists.denx.de; Kwok, WingMan >Subject: Re: [U-Boot] [RESEND PATCH v3 2/2] keystone2: net: add keystone >ethernet >driver >

[U-Boot] [PATCH v3 03/10] env_mmc.c: Remove NULL check on tmp_env1/2

2014-03-28 Thread Tom Rini
With 452a272 we moved to allocating these variables on the stack. So they will never now be NULL so remove these checks. Signed-off-by: Tom Rini --- common/env_mmc.c |6 -- 1 file changed, 6 deletions(-) diff --git a/common/env_mmc.c b/common/env_mmc.c index d42168b..f47bd77 100644 ---

[U-Boot] [PATCH v3 07/10] README: Add CONFIG_SPL_OS_BOOT to README

2014-03-28 Thread Tom Rini
Signed-off-by: Tom Rini --- README |4 1 file changed, 4 insertions(+) diff --git a/README b/README index b035033..56ecaa1 100644 --- a/README +++ b/README @@ -3242,6 +3242,10 @@ FIT uImage format: supports MMC, NAND and YMODEM loading of U-Boot and NAND

[U-Boot] [PATCH v3 10/10] spl_mmc/CONFIG_SPL_OS_BOOT: Allow environment to determine what to boot

2014-03-28 Thread Tom Rini
We add two new environment variables, falcon_args_file and falcon_image_file, which when set will override the compiled in default values for falcon mode. Signed-off-by: Tom Rini --- common/spl/spl_fat.c | 27 +++ doc/README.falcon|4 2 files changed, 31 in

Re: [U-Boot] [RESEND PATCH v3 2/2] keystone2: net: add keystone ethernet driver

2014-03-28 Thread Tom Rini
On Fri, Mar 21, 2014 at 05:01:43PM -0400, Murali Karicheri wrote: > Ethernet driver configures the CPSW, SGMI and Phy and uses > the the Navigator APIs. The driver supports 4 Ethernet ports and > can work with only one port at a time. > > Port configurations are defined in board.c. > > Signed-of

[U-Boot] [PATCH v3 04/10] mtd: Add a CONFIG_SPL_MTD_SUPPORT for a more full NAND subsystem in SPL

2014-03-28 Thread Tom Rini
This mainly converts the am335x_spl_bch driver to the "normal" format which means a slight change to nand_info within the driver. Acked-by: Scott Wood Signed-off-by: Tom Rini --- Changes in v2: - Document CONFIG_SPL_MTD_SUPPORT in the README --- README|4 +++ dri

[U-Boot] [PATCH v3 02/10] env_mmc.c: Allow environment to be used within SPL

2014-03-28 Thread Tom Rini
Inside of SPL we only concern ourself with one MMC device, so instead of being able to use CONFIG_SYS_MMC_ENV_DEV we need to use 0 in SPL. Switch the code to use a 'dev' variable to facilitate this. Signed-off-by: Tom Rini --- common/env_mmc.c | 45 +

[U-Boot] [PATCH v3 01/10] fw_env.c: Switch get_config to use '%ms' in sscanf

2014-03-28 Thread Tom Rini
We currently limit ourself to 16 characters for the device name to read the environment from. This is insufficient for /dev/mmcblk0boot1 to work for example. Switch to '%ms' which gives us a dynamically allocated buffer instead. We're short lived enough to not bother free()ing the buffer. Signe

[U-Boot] [PATCH v3 06/10] am335x_evm: Make SPL_OS also check the boot_os variable for falcon mode

2014-03-28 Thread Tom Rini
We use the same variable as a3m071 in the environment to determine if we should boot into Linux or U-Boot. This is useful on boards like Beaglebone Black or AM335x GP EVM where we have persistent storage for the environment. Signed-off-by: Tom Rini --- board/ti/am335x/board.c | 13 +++

[U-Boot] [PATCH v2] powerpc/cpu/mpc85xx: Add MAC address for layer 2 switch

2014-03-28 Thread Codrin Ciubotariu
T1040RDB and T1040QDS boards have an integrated l2 switch. The switch needs a MAC address for Layer 2 protocols (MSTP, LLDP, LACP, etc). Setting a MAC address on l2switchaddr will add a MAC in device-tree, under node l2switch. Signed-off-by: Codrin Ciubotariu Cc: York Sun --- Changes v2:

Re: [U-Boot] [PATCH 1/6] add README.distro file

2014-03-28 Thread Stephen Warren
On 03/28/2014 09:42 AM, Tom Rini wrote: > On Tue, Mar 25, 2014 at 02:24:14PM -0600, Stephen Warren wrote: >> On 03/20/2014 04:12 PM, Dennis Gilmore wrote: > [snip] >>> +You should not set initrd_high and fdt_high to 0x as the user >>> should >>> +not need to edit the memory locations havin

Re: [U-Boot] [PATCH 1/6] add README.distro file

2014-03-28 Thread Tom Rini
On Fri, Mar 28, 2014 at 10:11:20AM -0600, Stephen Warren wrote: > On 03/28/2014 09:42 AM, Tom Rini wrote: > > On Tue, Mar 25, 2014 at 02:24:14PM -0600, Stephen Warren wrote: > >> On 03/20/2014 04:12 PM, Dennis Gilmore wrote: > > [snip] > >>> +You should not set initrd_high and fdt_high to 0xfff

[U-Boot] [PATCH v3 05/10] mtd: Build nand_util.o for CONFIG_ENV_IS_IN_NAND in SPL

2014-03-28 Thread Tom Rini
Acked-by: Scott Wood Signed-off-by: Tom Rini --- Changes in v2: - Surround adding nand_util.o with CONFIG_SPL_ENV_SUPPORT test --- drivers/mtd/nand/Makefile |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile index 02b149c..4eb354d 1006

Re: [U-Boot] sparc: consolidate CONFIG_{LEON, LEON2, LEON3} definition

2014-03-28 Thread Tom Rini
On Fri, Mar 28, 2014 at 11:34:49AM +0900, Masahiro Yamada wrote: > Hi Tom, > > On Thu, 27 Mar 2014 13:00:19 -0400 > Tom Rini wrote: > > > On Thu, Mar 13, 2014 at 07:48:57PM +0900, Masahiro Yamada wrote: > > > > > CONFIG_LEON is already defined in > > > arch/sparc/cpu/{leon2,leon3}/config.mk. >

[U-Boot] [PATCH] am335x_evm: Clarify when we build board_eth_init

2014-03-28 Thread Tom Rini
If we build this function in cases where we would be discarding it anyhow we still end up with maybe unused warnings. Rather than litter the function with __maybe_unused, just spell out when to build it. Signed-off-by: Tom Rini --- board/ti/am335x/board.c | 18 -- 1 file chang

Re: [U-Boot] pull request for u-boot-tegra/master info ARM/master

2014-03-28 Thread Tom Warren
Have they all been ACKed? Sorry, been really busy with normal NVIDIA stuff. If they're ready, I can apply them with Stephen's pinmux changes and send another PR to Albert. On Wed, Mar 26, 2014 at 4:15 PM, Stefan Agner wrote: > Hi Tom, > > > Stephen Warren (1): > > ARM: tegra: make all I2

Re: [U-Boot] [PATCH 1/6] add README.distro file

2014-03-28 Thread Tom Rini
On Tue, Mar 25, 2014 at 02:24:14PM -0600, Stephen Warren wrote: > On 03/20/2014 04:12 PM, Dennis Gilmore wrote: [snip] > > +You should not set initrd_high and fdt_high to 0x as the user > > should > > +not need to edit the memory locations having the initramfs and dtb being > > +relocatabl

[U-Boot] [PATCH 3/3] OMAP3: beagle-xm: generate fake USB ethernet MAC address from dieid

2014-03-28 Thread Nishanth Menon
Similar to OMAP5uEVM, PandaBoard, BeagleBoard-XM has a USB based ethernet without MAC address embedded. So fake a MAC address following the similar strategy used on OMAP5 and PandaBoard family. Signed-off-by: Nishanth Menon --- arch/arm/include/asm/arch-omap3/sys_proto.h |1 + board/ti/beag

[U-Boot] [PATCH 1/3] OMAP: common: consolidate fake USB ethernet MAC address creation

2014-03-28 Thread Nishanth Menon
TI platforms such as OMAP5uevm, PandaBoard, use equivalent logic to generate fake USB MAC address from device unique DIE ID. Consolidate this to a generic location such that other TI platforms such as BeagleBoard-XM can also use the same. NOTE: at this point in time, I dont yet see a need for a g

Re: [U-Boot] [PATCH] we don't went version control for .cmd files

2014-03-28 Thread Pavel Machek
Hi! > > My build leaves files such as > > > > ./common/.fdt_support.o.cmd > > ./common/.console.o.cmd > > ./common/.main.o.cmd > > ./common/.cmd_load.o.cmd > > ./common/.flash.o.cmd > > ./common/.env_flags.o.cmd > > ./common/.cmd_source.o.cmd > > ./common/.built-in.o.cmd > > > > . Git usage woul

Re: [U-Boot] [PATCH v7] nand/denali: Adding Denali NAND driver support

2014-03-28 Thread Chin Liang See
Hi Masahiro, On Fri, 2014-03-28 at 18:21 +0900, Masahiro Yamada wrote: > Hi Chin, > > > > To add the Denali NAND driver support into U-Boot. It required > > information such as register base address from configuration > > header file within include/configs folder. > > > > Signed-off-by: Chin L

Re: [U-Boot] [PATCH RFC] fsl_esdhc: flush cache after non-read operation

2014-03-28 Thread Fabio Estevam
On Fri, Mar 28, 2014 at 7:15 AM, Hector Palacios wrote: > Cache was invalidated on the read operation, but it should > also be flushed otherwise. > > Signed-off-by: Hector Palacios Thanks, Hector. Adding Marek on Cc as well. > --- > > Notes: > After enabling L2 cache on i.MX6 I found out

[U-Boot] [PATCH] am335x_evm: Drop CONFIG_SPL_ETH_SUPPORT from default build

2014-03-28 Thread Tom Rini
On the boards this target supports this option is either non possible without hardware mods (Beaglebone White/Black) or not supported due to board design. Drop this and regain some space. Signed-off-by: Tom Rini --- include/configs/am335x_evm.h |3 --- 1 file changed, 3 deletions(-) diff -

[U-Boot] [PATCH RFC] fsl_esdhc: flush cache after non-read operation

2014-03-28 Thread Hector Palacios
Cache was invalidated on the read operation, but it should also be flushed otherwise. Signed-off-by: Hector Palacios --- Notes: After enabling L2 cache on i.MX6 I found out that many times when running the 'gpt' command to partition a uSD card, the data was not written at all, or was

Re: [U-Boot] [PATCH v3 2/2] MarSBoard: add new board

2014-03-28 Thread Wolfgang Denk
Dear Eric Bénard, In message <1395940250-2213-2-git-send-email-e...@eukrea.com> you wrote: > this board is produced by Embest/Element 14 and is based on i.MX6 Dual > The following features are tested : ... > As this board shares a lot with RiOTboard, both boards are supported by > the same code ba

Re: [U-Boot] [PATCH v3 1/2] RiOTboard: add new board

2014-03-28 Thread Wolfgang Denk
Dear Eric Bénard, In message <1395940250-2213-1-git-send-email-e...@eukrea.com> you wrote: > this board is produced by Embest/Element 14 and is based on i.MX6 Solo > The following features are tested : You might use the clrbits / setbits / clrsetbits I/O accesses here: > + /* Turn on LD

Re: [U-Boot] beagle-bone fdt booting problem

2014-03-28 Thread Belisko Marek
Hello, On Thu, Mar 27, 2014 at 4:28 PM, Simon Glass wrote: > Hi, > > On 26 March 2014 00:10, Belisko Marek wrote: >> >> Hi, >> >> I'm playing with fdt booting on beaglebone board. I'm using latest >> u-boot git HEAD (2c072c958bb544c72f0e848375803dbd6971f022) + I've >> added to am335x_evm confing

Re: [U-Boot] [PATCH v2 5/9] sunxi: generic sun7i build infrastructure.

2014-03-28 Thread Marek Vasut
On Friday, March 28, 2014 at 09:26:50 AM, Ian Campbell wrote: > On Thu, 2014-03-27 at 23:37 +0100, Marek Vasut wrote: > > On Thursday, March 27, 2014 at 11:05:21 PM, Ian Campbell wrote: > > > On Mon, 2014-03-24 at 22:01 +0100, Marek Vasut wrote: > > > > > diff --git a/arch/arm/cpu/armv7/sunxi/u-boo

Re: [U-Boot] [PATCH v2 5/9] sunxi: generic sun7i build infrastructure.

2014-03-28 Thread Ian Campbell
On Thu, 2014-03-27 at 23:37 +0100, Marek Vasut wrote: > On Thursday, March 27, 2014 at 11:05:21 PM, Ian Campbell wrote: > > On Mon, 2014-03-24 at 22:01 +0100, Marek Vasut wrote: > > > > diff --git a/arch/arm/cpu/armv7/sunxi/u-boot-spl-fel.lds > > > > b/arch/arm/cpu/armv7/sunxi/u-boot-spl-fel.lds ne

Re: [U-Boot] Enabling uart 3 in arndale

2014-03-28 Thread armdev
Dear Tomasz, On 16-Mar-2014, at 6:23 pm, Tomasz Figa wrote: > Hi, > > On 14.03.2014 09:04, armdev wrote: >> Hi, >> >> We are trying to enable the UART3 on COM18 pins of arndale board. The UART3 >> RXD and TXD are on pins 2 and 4 which as per the base board specification is >> connected as >>

Re: [U-Boot] [PATCH v7] nand/denali: Adding Denali NAND driver support

2014-03-28 Thread Masahiro Yamada
Hi Chin, > To add the Denali NAND driver support into U-Boot. It required > information such as register base address from configuration > header file within include/configs folder. > > Signed-off-by: Chin Liang See > Cc: Artem Bityutskiy > Cc: David Woodhouse > Cc: Brian Norris > Cc: Scott

Re: [U-Boot] [PATCH v2 1/9] sunxi: initial sun7i clocks and timer support.

2014-03-28 Thread Marek Vasut
On Friday, March 28, 2014 at 09:25:40 AM, Hans de Goede wrote: > Hi, > > On 03/28/2014 09:20 AM, Ian Campbell wrote: > > On Thu, 2014-03-27 at 23:36 +0100, Marek Vasut wrote: > >> On Thursday, March 27, 2014 at 11:12:38 PM, Ian Campbell wrote: > >>> On Thu, 2014-03-27 at 23:00 +0100, Marek Vasut w

Re: [U-Boot] [PATCH v2 1/9] sunxi: initial sun7i clocks and timer support.

2014-03-28 Thread Marek Vasut
On Friday, March 28, 2014 at 09:20:17 AM, Ian Campbell wrote: > On Thu, 2014-03-27 at 23:36 +0100, Marek Vasut wrote: > > On Thursday, March 27, 2014 at 11:12:38 PM, Ian Campbell wrote: > > > On Thu, 2014-03-27 at 23:00 +0100, Marek Vasut wrote: > > > > On Thursday, March 27, 2014 at 10:29:56 PM, I

Re: [U-Boot] [PATCH v2 1/9] sunxi: initial sun7i clocks and timer support.

2014-03-28 Thread Hans de Goede
Hi, On 03/28/2014 09:20 AM, Ian Campbell wrote: > On Thu, 2014-03-27 at 23:36 +0100, Marek Vasut wrote: >> On Thursday, March 27, 2014 at 11:12:38 PM, Ian Campbell wrote: >>> On Thu, 2014-03-27 at 23:00 +0100, Marek Vasut wrote: On Thursday, March 27, 2014 at 10:29:56 PM, Ian Campbell wrote:

Re: [U-Boot] [PATCH v2 1/9] sunxi: initial sun7i clocks and timer support.

2014-03-28 Thread Ian Campbell
On Thu, 2014-03-27 at 23:36 +0100, Marek Vasut wrote: > On Thursday, March 27, 2014 at 11:12:38 PM, Ian Campbell wrote: > > On Thu, 2014-03-27 at 23:00 +0100, Marek Vasut wrote: > > > On Thursday, March 27, 2014 at 10:29:56 PM, Ian Campbell wrote: > > > > On Mon, 2014-03-24 at 21:52 +0100, Marek Va

[U-Boot] [PATCH 2/2 v3] net/phy: Add support for CS4315/CS4340 PHY

2014-03-28 Thread Shengzhou Liu
Add support for Cortina CS4315/CS4340 10G PHY. - This driver loads CS43xx firmware to initialize Cortina PHY. - To define macro CONFIG_PHY_CORTINA will enable this driver. - Cortina PHY has non-standard offset of PHY ID registers, so define own get_phy_id(). Signed-off-by: Shengzhou Liu --- v3:

Re: [U-Boot] [U-boot] unsigned long long in ARMv8

2014-03-28 Thread TigerLiu
Hi, All: > how to map "unsigned long long " to a "long" data type if compiling a 64bit u-boot? I got the answer: ARMv8 compiler will treat "unsigned long long" as u64 type. Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.den

[U-Boot] [PATCH V2 3/4] arm: mx5: Fix memory slowness on M53EVK

2014-03-28 Thread Marek Vasut
Fix memory access slowness on i.MX53 M53EVK board. Let us inspect the issue: First of all, the i.MX53 CPU has two memory banks mapped at 0x7000_ and 0xb000_ and each of those can hold up to 1GiB of DRAM memory. Notice that the memory area is not continuous. On M53EVK, each of the banks cont

[U-Boot] [PATCH V3 4/4] arm: mx5: Avoid hardcoding memory sizes on M53EVK

2014-03-28 Thread Marek Vasut
The DRAM size can be easily detected at runtime on i.MX53. Implement such detection on M53EVK and adjust the rest of the macros accordingly to use the detected values. An important thing to note here is that we had to override the function for trimming the effective DRAM address, get_effective_mem

[U-Boot] [PATCH V3 2/4] arm: mx5: Avoid hardcoding memory sizes on MX53QSB

2014-03-28 Thread Marek Vasut
The DRAM size can be easily detected at runtime on i.MX53. Implement such detection on MX53QSB and adjust the rest of the macros accordingly to use the detected values. An important thing to note here is that we had to override the function for trimming the effective DRAM address, get_effective_me

[U-Boot] [PATCH V2 1/4] arm: mx5: Fix memory slowness on MX53QSB

2014-03-28 Thread Marek Vasut
Fix memory access slowness on i.MX53 MX53QSB board. Let us inspect the issue: First of all, the i.MX53 CPU has two memory banks mapped at 0x7000_ and 0xb000_ and each of those can hold up to 1GiB of DRAM memory. Notice that the memory area is not continuous. On MX53QSB, each of the banks co

[U-Boot] [PATCH 1/2 v3] net/phy: enable get_phy_id redefinable

2014-03-28 Thread Shengzhou Liu
As some PHYs have non-standard PHY ID registers, PHY Id can't be read correctly by current get_phy_id function, so we enable get_phy_id redefinable to permit specific PHY driver having own specific get_phy_id function. Signed-off-by: Shengzhou Liu --- v3: no change. v2: use weak style. drivers/

Re: [U-Boot] [PATCH v3 2/2] MarSBoard: add new board

2014-03-28 Thread Stefan Roese
On 27.03.2014 18:10, Eric Bénard wrote: this board is produced by Embest/Element 14 and is based on i.MX6 Dual The following features are tested : - UART2 (console) - eMMC - uSDCard - Ethernet - USB Host (through 2 ports hub) - HDMI output - I2C 1/2 - SPI NOR Flash Boot on SPI NOR and through US