Re: [U-Boot] [PATCH 5/10] common/env: Point default environment for GD

2014-04-07 Thread Prabhakar Kushwaha
On 4/5/2014 5:21 AM, Scott Wood wrote: On Wed, 2014-04-02 at 09:12 +0530, Prabhakar Kushwaha wrote: On 4/2/2014 3:34 AM, Scott Wood wrote: On Mon, 2014-03-31 at 15:34 +0530, Prabhakar Kushwaha wrote: GD(Global Data) structure has pointer to environment variable array. but, it always point to

Re: [U-Boot] [PATCH] lib: Add CONFIG_FDT_IGNORE_FIXUP_MEMORY_NODE

2014-04-07 Thread Wolfgang Denk
Dear Nobuhiro Iwamatsu, In message 1396846600-15386-1-git-send-email-nobuhiro.iwamatsu...@renesas.com you wrote: Usually, when CONFIG_OF_LIBFDT is enabled, U-Boot is set to the FDT memory information that is set in the U-Boot. This patch disables this behavior. Signed-off-by: Nobuhiro

Re: [U-Boot] [PATCH] build:arm: Remove setting of CROSS_COMPILE environment variable

2014-04-07 Thread Lukasz Majewski
Hi Albert, Hi Albert, Hi Albert, Hi Lukasz, On Tue, 25 Mar 2014 09:55:45 +0100, Lukasz Majewski l.majew...@samsung.com wrote: Hi Albert, Hi Lukasz, Tom, Hi Tom, On Tue, Mar 18, 2014 at 04:46:48PM +0100, Lukasz Majewski

Re: [U-Boot] [PATCH v6 8/9] spi: davinci: add support for multiple bus and chip select

2014-04-07 Thread Jagan Teki
On Fri, Apr 4, 2014 at 10:46 PM, Murali Karicheri m-kariche...@ti.com wrote: Currently davinci spi driver supports only bus 0 cs 0. This patch allows driver to support bus 1 and bus 2 with configurable number of chip selects. Also defaults are selected in a way to avoid regression on other

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

2014-04-07 Thread Lukasz Majewski
Hi Simon, Hi Lukasz, On 4 April 2014 04:09, Lukasz Majewski l.majew...@samsung.com wrote: Hi Marek, On Thursday, April 03, 2014 at 09:01:30 PM, Tom Rini wrote: On Thu, Apr 03, 2014 at 11:35:10AM -0600, Simon Glass wrote: Hi Marek, On 3 April 2014 11:03, Marek Vasut

[U-Boot] Latest u-boot release on BeagleBone Black for FreeBSD

2014-04-07 Thread Xuebing Wang
Hi u-boot community, I am trying to port u-boot (release u-boot-2014.04-rc3.tar.bz2) to FreeBSD on BeagleBone Black. In FreeBSD, there is a u-boot loader (named ubldr), which can call u-boot API to get fdt (Flat Device Tree) data. Example is: -- fdt header I have to comment out below 3

Re: [U-Boot] [PATCH v3] socfpga: Adding Clock Manager driver

2014-04-07 Thread Albert ARIBAUD
Hi Chin, On Tue, 4 Mar 2014 22:13:53 -0600, Chin Liang See cl...@altera.com wrote: Clock Manager driver will be called to reconfigure all the clocks setting based on user input. The input are passed to Preloader through handoff files Signed-off-by: Chin Liang See cl...@altera.com Cc:

[U-Boot] [PATCH v2 3/7] MIPS: define __init_end in u-boot.lds

2014-04-07 Thread Paul Burton
The generic board code uses the __init_end symbol to calculate monitor_flash_len. Define said symbol for MIPS, equivalent to __image_copy_end which is used for the same purpose in arch/mips/lib/board.c. Signed-off-by: Paul Burton paul.bur...@imgtec.com --- Changes since v1: - None ---

[U-Boot] [PATCH v2 0/7] MIPS: Malta generic board conversion

2014-04-07 Thread Paul Burton
This series adds generic board support for the MIPS architecture, and then converts the MIPS Malta development board to use it. Changes since v1: - Call init_func_ram/initdram to preserve the existing behaviour for boards, as requested by Daniel. - Call timer_init, which I'd missed as

[U-Boot] [PATCH v2 4/7] board_f: call init_func_ram on MIPS

2014-04-07 Thread Paul Burton
Assigning gd-ram_size the return value of initdram matches the existing MIPS board behaviour. Suggested-by: Daniel Schwierzeck daniel.schwierz...@gmail.com Signed-off-by: Paul Burton paul.bur...@imgtec.com --- Changes since v1: - New patch --- common/board_f.c | 4 ++-- 1 file changed, 2

[U-Boot] [PATCH v2 1/7] MIPS: stub interrupt_init function

2014-04-07 Thread Paul Burton
interrupt_init is called unconditionally by the generic board code. Define a stub for it on MIPS like the enable disable functions. Signed-off-by: Paul Burton paul.bur...@imgtec.com --- Changes since v1: - None --- arch/mips/cpu/mips32/interrupts.c | 5 + arch/mips/cpu/mips64/interrupts.c

[U-Boot] [PATCH v2 2/7] MIPS: move mips_io_port_base out of board.c

2014-04-07 Thread Paul Burton
Move the definition of this variable out of arch/mips/lib/board.c in preparation for allowing use of generic board on MIPS, which will lead to this file not being compiled. Signed-off-by: Paul Burton paul.bur...@imgtec.com --- Changes since v1: - None --- arch/mips/lib/Makefile | 2 ++

[U-Boot] [PATCH v2 5/7] board_f: call timer_init on MIPS

2014-04-07 Thread Paul Burton
MIPS needs a call to timer_init to preserve its current behaviour ensuring that the cop0 compare register is initialised appropriately. Reported-by: Daniel Schwierzeck daniel.schwierz...@gmail.com Signed-off-by: Paul Burton paul.bur...@imgtec.com --- Changes since v1: - New patch ---

[U-Boot] [PATCH v2 6/7] MIPS: allow use of generic board

2014-04-07 Thread Paul Burton
This patch allows MIPS boards to make use of generic board, replacing arch/mips/lib/board.c with common/board_{f,r}.c and struct bd_info with the asm-generic version. Signed-off-by: Paul Burton paul.bur...@imgtec.com --- Changes since v1: - None --- arch/mips/config.mk| 2 ++

[U-Boot] [PATCH v2 7/7] MIPS: Malta: convert to generic board

2014-04-07 Thread Paul Burton
This patch converts the MIPS Malta development board to make use of the generic board code now that it is supported on MIPS. Signed-off-by: Paul Burton paul.bur...@imgtec.com --- Changes since v1: - Drop the now unnecessary initdram/ram_size changes. --- include/configs/malta.h | 3 +++ 1 file

Re: [U-Boot] [PATCH 5/5] MIPS: Malta: convert to generic board

2014-04-07 Thread Paul Burton
On Sun, Apr 06, 2014 at 08:58:16PM +0200, Daniel Schwierzeck wrote: 2014-04-04 13:20 GMT+02:00 Paul Burton paul.bur...@imgtec.com: This patch converts the MIPS Malta development board to make use of the generic board code now that it is supported on MIPS. Signed-off-by: Paul Burton

Re: [U-Boot] Bug in buildsystem for SPL LDSCRIPT

2014-04-07 Thread Andreas Bießmann
and also to the list ... sorry for the noise On 04/07/2014 11:27 AM, Andreas Bießmann wrote: Hi Masahiro, a late bug report ;) changing my board config file will not regenerate the spl/u-boot-spl.lds for the board though it depends on it. The LDSCRIPT is patched with some size information

Re: [U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts

2014-04-07 Thread Albert ARIBAUD
Hi Andreas, On Mon, 27 Jan 2014 05:48:11 +0100, Andreas Färber afaer...@suse.de wrote: Avoids could not find output section .gnu.hash ld.bfd errors on openSUSE. Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Tom Rini tr...@ti.com Signed-off-by: Andreas Färber afaer...@suse.de --- More

Re: [U-Boot] [PATCH] Fix USB keyboard polling via control endpoint

2014-04-07 Thread Adrian Cox
From: Wolfgang Denk w...@denx.de I agree that the code is wrong and needs fixing. data-new is an uint8_t pointer, so taking the size of the pointer is obviously wrong. But what you fix here is not the only place where sizeof(data-new) is used, so this patch fixes part of the problem at

[U-Boot] [PATCH] doc:power:pmic: Add doc entry for PMIC(v2) framework

2014-04-07 Thread Lukasz Majewski
Well written documentation for PMIC framework was missing and hence it has been probably difficult and time consuming for other developers to understand rationale for key design decisions and overall design structure. This commit provides proper documentation entry. Signed-off-by: Lukasz Majewski

Re: [U-Boot] Socfpga preloader signing patch

2014-04-07 Thread Gerhard Sittig
On Fri, 2014-04-04 at 22:47 +0200, Pavel Machek wrote: Hi! I'm trying to get custom preloader to work (on EBV Socrates)... I tried applying old patch from mail archives, but a) applying patch from mail archives is not fun and b) it did not seem to do the trick. Just to make sure...

Re: [U-Boot] [PATCH v6 2/9] tools: mkimage: add support for gpimage format

2014-04-07 Thread Gerhard Sittig
On Fri, 2014-04-04 at 22:45 +0200, Wolfgang Denk wrote: Dear Murali Karicheri, In message 1396631815-5735-3-git-send-email-m-kariche...@ti.com you wrote: This patch add support for gpimage format as a preparatory patch for porting u-boot for keystone2 devices and is based on omapimage

[U-Boot] Different Port for TFTP communication

2014-04-07 Thread Mario Albrecht
Hi, I have a short question about TFTP usage in u-boot. Is it possible to change the Port for TFTP communication while u-boot is running. Standard path for TFTP is 69 an let's say, we want to change port to 1500. Regards Mario ___ U-Boot mailing list

[U-Boot] [Question] How is the Falcon mode working

2014-04-07 Thread Frank Ihle
Hi U-Boot, you recently gave me the hint about the Falcon Mode for my Fast Booting investigations. But I think might got it wrong, could somebody correct me if so?: - According to the Falcon Mode Pdf of October 2013

Re: [U-Boot] [PATCH v6 2/9] tools: mkimage: add support for gpimage format

2014-04-07 Thread Tom Rini
On Mon, Apr 07, 2014 at 03:21:35PM +0200, Gerhard Sittig wrote: On Fri, 2014-04-04 at 22:45 +0200, Wolfgang Denk wrote: Dear Murali Karicheri, In message 1396631815-5735-3-git-send-email-m-kariche...@ti.com you wrote: This patch add support for gpimage format as a preparatory

Re: [U-Boot] [PATCH 0/7] omap3: zoom1: long pending cleanups :(

2014-04-07 Thread Tom Rini
On Thu, Apr 03, 2014 at 06:19:19PM -0500, Nishanth Menon wrote: A series of patches to add in ethernet and bootz support. baseline: v2014.04-rc3 Nishanth Menon (7): omap3: zoom1: enable CONFIG_SYS_GENERIC_BOARD OMAP3: zoom1: Configure GPMC for Ethernet OMAP3: zoom1: enable

Re: [U-Boot] [PATCH] fs: fat: Fix cache align error message in fatwrite to use USB media

2014-04-07 Thread Hector Palacios
Hello, On 04/03/2014 06:44 AM, Nobuhiro Iwamatsu wrote: Use of malloc of do_fat_write() from USB media causes cache error on I would remove 'from USB media' from the commit log as it doesn't really matter where you read from. ARM v7 platforms. Perhaps, the same problem will occur at any

Re: [U-Boot] [PATCH 5/7] omap3: zoom1: disable JFFS2 and enable FS_GENERIC

2014-04-07 Thread Tom Rini
On Thu, Apr 03, 2014 at 06:19:24PM -0500, Nishanth Menon wrote: This is more in line with commits 664979a2a9f764b63b8094458b87247d254b0cc1(omap3_beagle: remove JFFS2 support.) and 102ce9ea7afdda80fe25aa786975e1722196bdb9 (omap3_beagle: enable CMD_FS_GENERIC and simplify load of image/ramdisk)

Re: [U-Boot] [PATCH 6/7] omap3: zoom1: enable bootz

2014-04-07 Thread Tom Rini
On Thu, Apr 03, 2014 at 06:19:25PM -0500, Nishanth Menon wrote: Boot from zImage and fdt_file if uImage is not available to maintain the legacy behavior. [snip] #define CONFIG_EXTRA_ENV_SETTINGS \ loadaddr=0x8200\0 \ + fdt_high=0x\0 \ + fdtaddr=0x80f8\0 \ OK,

[U-Boot] [PATCH 2/3] pcnet: align rx buffers for cache invalidation

2014-04-07 Thread Paul Burton
The RX buffers are invalidated when a packet is received, however they were not suitably cache-line aligned. Allocate them seperately to the pcnet_priv structure and align to ARCH_DMA_MINALIGN in order to ensure suitable alignment for the cache invalidation, preventing anything else being placed

[U-Boot] [PATCH 1/3] pcnet: access descriptor rings init block uncached

2014-04-07 Thread Paul Burton
The prior accesses to the descriptor rings init block via cached memory had a few issues: - The memory needs cache flushes or invalidation at the appropriate times, but was not necessarily aligned on cache line boundaries. This could lead to data being incorrectly lost or written back

[U-Boot] [PATCH 3/3] pcnet: force ordering of descriptor accesses

2014-04-07 Thread Paul Burton
The ordering of accesses to the rx tx descriptors is important, yet the send recv functions accessed them via regular structure accesses. This leaves the compiler with the opportunity to reorder those accesses or to hoist them outside of loops. Prevent that from happening by using readl writel

[U-Boot] [PATCH 0/3] pcnet driver fixes

2014-04-07 Thread Paul Burton
This series fixes issues with the pcnet driver its memory accesses. Previously the network interface on the MIPS Malta board was unreliable would often time out whilst transferring files via TFTP, but with this series applied it is now stable. Paul Burton (3): pcnet: access descriptor rings

Re: [U-Boot] [Question] How is the Falcon mode working

2014-04-07 Thread Stefano Babic
Hi Frank, On 07/04/2014 15:49, Frank Ihle wrote: Hi U-Boot, you recently gave me the hint about the Falcon Mode for my Fast Booting investigations. But I think might got it wrong, could somebody correct me if so?: - According to the Falcon Mode Pdf of October 2013

Re: [U-Boot] [PATCH] doc:power:pmic: Add doc entry for PMIC(v2) framework

2014-04-07 Thread Simon Glass
Hi Lukasz, On 7 April 2014 06:34, Lukasz Majewski l.majew...@samsung.com wrote: Well written documentation for PMIC framework was missing and hence it has been probably difficult and time consuming for other developers to understand rationale for key design decisions and overall design

Re: [U-Boot] [Patch v2 1/3] armv8/cache: Consolidate setting for MAIR and TCR

2014-04-07 Thread Albert ARIBAUD
Hi York, On Wed, 26 Feb 2014 13:26:02 -0800, York Sun york...@freescale.com wrote: Move setting for MAIR and TCR to cache_v8.c, to avoid conflict with sub-architecture. Signed-off-by: York Sun york...@freescale.com CC: David Feng feng...@phytium.com.cn --- Whole series applied to

Re: [U-Boot] [PATCH v3 3/3] MX6: Enable ARM errata workaround 794072 and 761320

2014-04-07 Thread Stefano Babic
On 02/04/2014 15:55, nitin.g...@freescale.com wrote: From: Nitin Garg nitin.g...@freescale.com Since MX6 is Cortex-A9 r2p10, enable software workaround for errata 794072 and 761320. Signed-off-by: Nitin Garg nitin.g...@freescale.com --- Applied to u-boot-imx, thanks ! Best regards,

Re: [U-Boot] [PATCH v3 1/3] ARM: Add workaround for Cortex-A9 errata 794072

2014-04-07 Thread Stefano Babic
On 02/04/2014 15:55, nitin.g...@freescale.com wrote: From: Nitin Garg nitin.g...@freescale.com A short loop including a DMB instruction might cause a denial of service on another processor which executes a CP15 broadcast operation. Exists on r1, r2, r3, r4 revisions. Signed-off-by: Nitin

Re: [U-Boot] [PATCH v3 2/3] ARM: Add workaround for Cortex-A9 errata 761320

2014-04-07 Thread Stefano Babic
On 02/04/2014 15:55, nitin.g...@freescale.com wrote: From: Nitin Garg nitin.g...@freescale.com Full cache line writes to the same memory region from at least two processors might deadlock the processor. Exists on r1, r2, r3 revisions. Signed-off-by: Nitin Garg nitin.g...@freescale.com

[U-Boot] [PULL] : Please pull u-boot-imx

2014-04-07 Thread Stefano Babic
Hi Albert, this contains the fix for the i.MX6 errata. I do not foresee now to send another PR before release, maybe this is the last one for 2014.04. The following changes since commit 1a9df13d5bc0b68c9dcae88d244c995c9351db67: arm: mxs: Add support for generating signed BootStream

Re: [U-Boot] Is it OK to use target code from host tools

2014-04-07 Thread Albert ARIBAUD
Hi Charles, On Wed, 5 Mar 2014 11:30:26 +1300, Charles Manning cdhmann...@gmail.com wrote: Hello All I am currently reworking a socfpga signer patch which is part of mkimage. One thing I need to do is to stuff some bytes into a header ensuring the endianism is correct. This is a

[U-Boot] FEC_MXC leftovers

2014-04-07 Thread Nikolay Dimitrov
Gents, In drivers/net/fec_mxc.c there are 2 functions: int fec_phy_read(struct mii_dev *bus, int phyAddr, int dev_addr, int regAddr); int fec_phy_write(struct mii_dev *bus, int phyAddr, int dev_addr, int regAddr, u16 data); Looks like parameter dev_addr is not used. Does anyone remember

Re: [U-Boot] [PATCH v4 1/2] watchdog/denali: Adding DesignWare watchdog driver support

2014-04-07 Thread Albert ARIBAUD
Hi Chin, On Tue, 4 Mar 2014 20:51:53 -0600, Chin Liang See cl...@altera.com wrote: To add the DesignWare watchdog driver support. It required information such as register base address and clock info from configuration header file within include/configs folder. Signed-off-by: Chin Liang

Re: [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice?

2014-04-07 Thread Albert ARIBAUD
Hi Tom, On Wed, 5 Mar 2014 12:28:06 -0500, Tom Rini tr...@ti.com wrote: Hey all, I'm looking over some patches for am43xx to enable the case of non-SPL XIP booting and this means we start getting code that's shared with am335x that looks like: #if defined(CONFIG_SPL_BUILD) ||

Re: [U-Boot] [PATCH/RFC] Reintegration of ns9750

2014-04-07 Thread Albert ARIBAUD
Hi Marek, Sorry, I am slowly catching up. On Sat, 22 Mar 2014 19:27:48 +0100, Marek Vasut ma...@denx.de wrote: On Saturday, March 22, 2014 at 11:18:05 AM, Rikard Söderström wrote: Hi Marex, Are you referring to the code or the linkage issue as nasty? Actually, both. But more the

Re: [U-Boot] [PATCH v2 2/8] nitrogen6x: use common board_video_skip

2014-04-07 Thread Stefano Babic
On 04/04/2014 19:05, Eric Bénard wrote: Signed-off-by: Eric Bénard e...@eukrea.com Acked-by: Eric Nelson eric.nel...@boundarydevices.com --- Applied to u-boot-imx, -next branch, thanks ! Best regards, Stefano Babic -- =

Re: [U-Boot] [PATCH v2 3/8] mx6sabresd: use common board_video_skip

2014-04-07 Thread Stefano Babic
On 04/04/2014 19:05, Eric Bénard wrote: Signed-off-by: Eric Bénard e...@eukrea.com --- Applied to u-boot-imx, -next branch, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk

Re: [U-Boot] [PATCH v2 1/8] imx-common: add board_video_skip

2014-04-07 Thread Stefano Babic
On 04/04/2014 19:05, Eric Bénard wrote: this function is shared by several boards and thus can be factorized Signed-off-by: Eric Bénard e...@eukrea.com Acked-by: Eric Nelson eric.nel...@boundarydevices.com Acked-by: Stefano Babic sba...@denx.de --- Applied to u-boot-imx, -next branch,

Re: [U-Boot] [PATCH v2 4/8] RiOTboard and MarSBoard: add new boards support

2014-04-07 Thread Stefano Babic
On 04/04/2014 19:05, Eric Bénard wrote: RiOTboard is produced by Embest/Element 14 and is based on i.MX6 Solo The following features are tested : - UART2 (console) - eMMC - SDCard - uSDCard - Ethernet - USB Host (through 4 ports hub) - HDMI output - I2C 1/2/3 - LVDS TFT with LCD8000-97C

Re: [U-Boot] [PATCH v2 5/8] imx-common/video: add detect_hdmi

2014-04-07 Thread Stefano Babic
On 04/04/2014 19:05, Eric Bénard wrote: this function is used by several board together with board_video_skip to detect if hdmi is plugged is order to select the display to use. So move it in imx-common to share it. Signed-off-by: Eric Bénard e...@eukrea.com --- Applied to u-boot-imx,

Re: [U-Boot] [PATCH v2 6/8] nitrogen6x: use common detect_hdmi

2014-04-07 Thread Stefano Babic
On 04/04/2014 19:05, Eric Bénard wrote: Signed-off-by: Eric Bénard e...@eukrea.com --- Applied to u-boot-imx, -next branch, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk

Re: [U-Boot] [PATCH v2 7/8] mx6sabresd: use common detect_hdmi

2014-04-07 Thread Stefano Babic
On 04/04/2014 19:05, Eric Bénard wrote: Signed-off-by: Eric Bénard e...@eukrea.com --- Applied to u-boot-imx, -next branch, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk

Re: [U-Boot] [PATCH v2 8/8] embest/mx6boards: use common detect_hdmi

2014-04-07 Thread Stefano Babic
On 04/04/2014 19:05, Eric Bénard wrote: Signed-off-by: Eric Bénard e...@eukrea.com --- Applied to u-boot-imx, -next branch, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk

Re: [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice?

2014-04-07 Thread Tom Rini
On Mon, Apr 07, 2014 at 06:31:41PM +0200, Albert ARIBAUD wrote: Hi Tom, On Wed, 5 Mar 2014 12:28:06 -0500, Tom Rini tr...@ti.com wrote: Hey all, I'm looking over some patches for am43xx to enable the case of non-SPL XIP booting and this means we start getting code that's shared with

Re: [U-Boot] Different Port for TFTP communication

2014-04-07 Thread Wolfgang Denk
Dear Mario, In message F50CAB352C149543A6F2FFE37D4B59348AC9E60A@S1.mackware.local you wrote: I have a short question about TFTP usage in u-boot. Is it possible to change the Port for TFTP communication while u-boot is running. Standard path for TFTP is 69 an let's say, we want to change

Re: [U-Boot] [PATCH] Fix USB keyboard polling via control endpoint

2014-04-07 Thread Wolfgang Denk
Dear Adrian, In message 3392231.3254.1396864604431.JavaMail.adrian@Gurnard you wrote: From: Wolfgang Denk w...@denx.de I agree that the code is wrong and needs fixing. data-new is an uint8_t pointer, so taking the size of the pointer is obviously wrong. But what you fix here is not

Re: [U-Boot] [PATCH v6 2/9] tools: mkimage: add support for gpimage format

2014-04-07 Thread Wolfgang Denk
Dear Tom Gerhard, In message 20140407135502.GB23803@bill-the-cat you wrote: the above hunk just references the newly introduced enum, and keeps the list of images sorted alphabetically -- so I think this is OK Yes, agreed. You both are roght, of course. Hm, now where is this big

Re: [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice?

2014-04-07 Thread Wolfgang Denk
Dear Tom, In message 20140305172806.GY16805@bill-the-cat you wrote: I'm looking over some patches for am43xx to enable the case of non-SPL XIP booting and this means we start getting code that's shared with am335x that looks like: What exactly do you mean by non-SPL XIP booting? Is this

Re: [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice?

2014-04-07 Thread Tom Rini
On Mon, Apr 07, 2014 at 07:05:36PM +0200, Wolfgang Denk wrote: Dear Tom, In message 20140305172806.GY16805@bill-the-cat you wrote: I'm looking over some patches for am43xx to enable the case of non-SPL XIP booting and this means we start getting code that's shared with am335x that

Re: [U-Boot] [PATCH v2 3/5] spi: ti_qspi: Add delay for successful bulk erase.

2014-04-07 Thread Tom Rini
On Thu, Apr 03, 2014 at 08:45:42PM +0530, Jagan Teki wrote: On Thu, Apr 3, 2014 at 5:22 PM, Tom Rini tr...@ti.com wrote: From: Poddar, Sourav sourav.pod...@ti.com Bulk erase is not happening properly on dra7 due to erase timing constraints, add a delay so that erase timing constraints

Re: [U-Boot] [PATCH] lib: Add CONFIG_FDT_IGNORE_FIXUP_MEMORY_NODE

2014-04-07 Thread Tom Rini
On Mon, Apr 07, 2014 at 08:53:39AM +0200, Wolfgang Denk wrote: Dear Nobuhiro Iwamatsu, In message 1396846600-15386-1-git-send-email-nobuhiro.iwamatsu...@renesas.com you wrote: Usually, when CONFIG_OF_LIBFDT is enabled, U-Boot is set to the FDT memory information that is set in the

Re: [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice?

2014-04-07 Thread Tom Rini
On Mon, Apr 07, 2014 at 07:41:39PM +0200, Wolfgang Denk wrote: Dear Tom, In message 20140407171943.GG23803@bill-the-cat you wrote: What exactly do you mean by non-SPL XIP booting? Is this not the standard boot mode which has actually been the first (and only one) that U-Boot has

Re: [U-Boot] [PULL] : Please pull u-boot-imx

2014-04-07 Thread Albert ARIBAUD
Hi Stefano, On Mon, 07 Apr 2014 18:20:36 +0200, Stefano Babic sba...@denx.de wrote: Hi Albert, this contains the fix for the i.MX6 errata. I do not foresee now to send another PR before release, maybe this is the last one for 2014.04. The following changes since commit

Re: [U-Boot] [PATCH] build:arm: Remove setting of CROSS_COMPILE environment variable

2014-04-07 Thread Albert ARIBAUD
Hi Lukasz, On Mon, 07 Apr 2014 09:04:58 +0200, Lukasz Majewski l.majew...@samsung.com wrote: Are you willing to add this patch to your u-boot-arm tree? I know that you were not available on the ML for some time and hence, I'm curious if you plan to send pull request for u-boot-arm tree to

Re: [U-Boot] [PATCH] build:arm: Remove setting of CROSS_COMPILE environment variable

2014-04-07 Thread Albert ARIBAUD
Hi Lukasz, On Tue, 18 Mar 2014 16:46:48 +0100, Lukasz Majewski l.majew...@samsung.com wrote: After Kbuild introduction, the CROSS_COMPILE environment variable has been set to some default value (prefix arm-linux-). This shall be removed since it breaks building u-boot for native arm target

Re: [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice?

2014-04-07 Thread Wolfgang Denk
Dear Tom, In message 20140407171943.GG23803@bill-the-cat you wrote: What exactly do you mean by non-SPL XIP booting? Is this not the standard boot mode which has actually been the first (and only one) that U-Boot has ever been designed for, like booting from a ROM (like parallel NOR

Re: [U-Boot] Is it OK to use target code from host tools

2014-04-07 Thread Scott Wood
On Mon, 2014-04-07 at 18:22 +0200, Albert ARIBAUD wrote: Hi Charles, On Wed, 5 Mar 2014 11:30:26 +1300, Charles Manning cdhmann...@gmail.com wrote: Hello All I am currently reworking a socfpga signer patch which is part of mkimage. One thing I need to do is to stuff some bytes

Re: [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice?

2014-04-07 Thread Wolfgang Denk
Dear Tom, In message 20140407174936.GJ23803@bill-the-cat you wrote: OK. So if this basically the same what we do when booting XIP from parallel NOR, then maybe we should rename CONFIG_NOR_BOOT into a more generic name, like CONFIG_XIP_BOOT ? Nope, not everything for NOR is required

Re: [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice?

2014-04-07 Thread Tom Rini
On Mon, Apr 07, 2014 at 08:45:42PM +0200, Wolfgang Denk wrote: Dear Tom, In message 20140407174936.GJ23803@bill-the-cat you wrote: OK. So if this basically the same what we do when booting XIP from parallel NOR, then maybe we should rename CONFIG_NOR_BOOT into a more generic name,

Re: [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice?

2014-04-07 Thread Wolfgang Denk
Dear Tom, In message 20140407190210.GK23803@bill-the-cat you wrote: I think CONFIG_ENV_IS_IN.. is an independent thing. Even when booting from NOR you can have the environment anywhere else. Well, maybe. I'm not sure (and too lazy to dig through the board doc atm) on if you can have

Re: [U-Boot] Socfpga preloader signing patch

2014-04-07 Thread Charles Manning
On Saturday 05 April 2014 09:47:02 Pavel Machek wrote: Hi! I'm trying to get custom preloader to work (on EBV Socrates)... I tried applying old patch from mail archives, but a) applying patch from mail archives is not fun and b) it did not seem to do the trick. Just to make sure... right

Re: [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice?

2014-04-07 Thread Tom Rini
On Mon, Apr 07, 2014 at 09:19:09PM +0200, Wolfgang Denk wrote: Dear Tom, In message 20140407190210.GK23803@bill-the-cat you wrote: I think CONFIG_ENV_IS_IN.. is an independent thing. Even when booting from NOR you can have the environment anywhere else. Well, maybe. I'm not sure

Re: [U-Boot] [PATCH 0/4] vybrid/tower fixes and enhancements

2014-04-07 Thread Albert ARIBAUD
Hi ste...@agner.ch, On Tue, 11 Mar 2014 18:43:56 +0100, ste...@agner.ch wrote: From: Stefan Agner ste...@agner.ch This patch series addresses several fixes and enhancements for the vybrid tower. The patches are originally by Marcel Ziswiler which should remain the Author of the patches,

Re: [U-Boot] [PATCH] armv8: Flush dcache before switching to EL2

2014-04-07 Thread Albert ARIBAUD
Hi York, On Mon, 31 Mar 2014 14:40:32 -0700, York Sun york...@freescale.com wrote: For ARMv8, U-boot has been running at EL3 with cache and MMU enabled. Without proper setup for EL2, cache and MMU are both disabled (out of reset). Before switching, we need to flush the dcache to make sure the

Re: [U-Boot] Socfpga preloader signing patch

2014-04-07 Thread Gerhard Sittig
On Tue, 2014-04-08 at 07:51 +1200, Charles Manning wrote: On Saturday 05 April 2014 09:47:02 Pavel Machek wrote: Hi! I'm trying to get custom preloader to work (on EBV Socrates)... I tried applying old patch from mail archives, but a) applying patch from mail archives is not fun

Re: [U-Boot] [PATCH] ARMv8: fix bug for flush data cache by set/way

2014-04-07 Thread Albert ARIBAUD
Hi Leo, On Mon, 31 Mar 2014 09:50:35 +0800, Leo Yan l...@marvell.com wrote: When flush the d$ with set/way instruction, it need calculate the way's offset = log2(Associativity); but in current uboot's code, it use below formula to calculate the offset: log2(Associativity * 2 - 1), so finally

Re: [U-Boot] CONFIG_ARMV7_NONSEC on altera soc (alignment issues ?)

2014-04-07 Thread Albert ARIBAUD
Hi Tim, On Wed, 26 Mar 2014 15:25:33 +0100, Tim Sander t...@krieglstein.org wrote: Hi I am currently trying to configure either Altera Soc and Xilinx Zynq to boot Linux in nonsecure-mode. This mail focusses on the Altera SOC. As soon as the u-boot switched to normal mode it seems there

Re: [U-Boot] [PATCH v2 0/7] MIPS: Malta generic board conversion

2014-04-07 Thread Daniel Schwierzeck
2014-04-07 11:11 GMT+02:00 Paul Burton paul.bur...@imgtec.com: This series adds generic board support for the MIPS architecture, and then converts the MIPS Malta development board to use it. Changes since v1: - Call init_func_ram/initdram to preserve the existing behaviour for boards,

Re: [U-Boot] [PATCH V2 1/2] bootstage: arm: fix fdt stashing code

2014-04-07 Thread Albert ARIBAUD
Hi Rommel, On Thu, 20 Feb 2014 00:16:56 +0900, Rommel G Custodio sessya...@gmail.com wrote: The conditional is using a variable that is not defined. Signed-off-by: Rommel G Custodio sessyargc+u-b...@gmail.com --- arch/arm/lib/bootm.c | 3 +-- 1 file changed, 1 insertion(+), 2

[U-Boot] [RFC PATCH] MIPS: incaip: move board specific code out of generic code

2014-04-07 Thread Daniel Schwierzeck
This is required to switch MIPS platform to generic board. Cc: Wolfgang Denk w...@denx.de Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- Wolfgang, I would rather remove this board. It is obviously dead and no one ever cared about it since you have added it. The code does not

Re: [U-Boot] [PATCH] ARMv8: fix bug for flush data cache by set/way

2014-04-07 Thread Scott Wood
On Mon, 2014-03-31 at 09:50 +0800, Leo Yan wrote: When flush the d$ with set/way instruction, it need calculate the way's offset = log2(Associativity); but in current uboot's code, it use below formula to calculate the offset: log2(Associativity * 2 - 1), so finally it cannot flush data cache

Re: [U-Boot] CONFIG_ARMV7_NONSEC on altera soc (alignment issues ?)

2014-04-07 Thread Tim Sander
Hi Albert I am currently trying to configure either Altera Soc and Xilinx Zynq to boot Linux in nonsecure-mode. This mail focusses on the Altera SOC. As soon as the u-boot switched to normal mode it seems there is a problem with code alignment handling? At least it seems the code which

Re: [U-Boot] [PATCH v2] arm64 patch: gicv3 support

2014-04-07 Thread Albert ARIBAUD
Hi feng...@phytium.com.cn, On Fri, 14 Mar 2014 14:26:27 +0800, feng...@phytium.com.cn wrote: From: David Feng feng...@phytium.com.cn This patch add gicv3 support to uboot armv8 platform. Changes for v2: - rename arm/cpu/armv8/gic.S with arm/lib/gic_64.S - move smp_kick_all_cpus()

Re: [U-Boot] [PATCH] board_r: return 0 from show_model_r

2014-04-07 Thread Simon Glass
On 4 April 2014 05:23, Paul Burton paul.bur...@imgtec.com wrote: The show_model_r function should return an int but didn't. Return 0 to indicate inevitable success and avoid the following if it is used: common/board_r.c: In function 'show_model_r': common/board_r.c:531:1: warning: no return

Re: [U-Boot] [U-boot] how to compile vexpress_aemv8a with latest u-boot code

2014-04-07 Thread Albert ARIBAUD
Hi tiger...@via-alliance.com, On Mon, 31 Mar 2014 15:30:45 +0800, tiger...@via-alliance.com wrote: Hi, experts: I usually compiled u-boot for ARMv8 FVP model with below command: export ARCH=aarch64 export CROSS_COMPILE=/home/tiger/tiger-linux-share/CBP5860/ARMv8/gcc-linaro-aar

Re: [U-Boot] [PATCH] lib: Add CONFIG_FDT_IGNORE_FIXUP_MEMORY_NODE

2014-04-07 Thread Nobuhiro Iwamatsu
Hi, Thanks for your comment. 2014-04-07 15:53 GMT+09:00 Wolfgang Denk w...@denx.de: Dear Nobuhiro Iwamatsu, In message 1396846600-15386-1-git-send-email-nobuhiro.iwamatsu...@renesas.com you wrote: Usually, when CONFIG_OF_LIBFDT is enabled, U-Boot is set to the FDT memory information

Re: [U-Boot] [PATCH] lib: Add CONFIG_FDT_IGNORE_FIXUP_MEMORY_NODE

2014-04-07 Thread Nobuhiro Iwamatsu
Hi, 2014-04-08 2:41 GMT+09:00 Tom Rini tr...@ti.com: On Mon, Apr 07, 2014 at 08:53:39AM +0200, Wolfgang Denk wrote: Dear Nobuhiro Iwamatsu, In message 1396846600-15386-1-git-send-email-nobuhiro.iwamatsu...@renesas.com you wrote: Usually, when CONFIG_OF_LIBFDT is enabled, U-Boot is set

Re: [U-Boot] [PATCH] fs: fat: Fix cache align error message in fatwrite to use USB media

2014-04-07 Thread Nobuhiro Iwamatsu
Hi! 2014-04-07 23:19 GMT+09:00 Hector Palacios hector.palac...@digi.com: Hello, On 04/03/2014 06:44 AM, Nobuhiro Iwamatsu wrote: Use of malloc of do_fat_write() from USB media causes cache error on I would remove 'from USB media' from the commit log as it doesn't really matter where you

[U-Boot] [PATCH v2] fs: fat: Fix cache align error message in fatwrite

2014-04-07 Thread Nobuhiro Iwamatsu
Use of malloc of do_fat_write() causes cache error on ARM v7 platforms. Perhaps, the same problem will occur at any other CPUs. This replaces malloc with memalign to fix cache buffer alignment. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Yoshiyuki Ito

Re: [U-Boot] Modify go to allow chain loading a second u-boot

2014-04-07 Thread Simon Glass
Hi, On 3 April 2014 03:40, Helmut Raiger helmut.rai...@hale.at wrote: Hi, for all the wrong reasons I have to load a second u-boot from a first one. I'm finally able to start it, but it only works if I do a cleanup_before_linux(), i.e. turn off interrupts and caches before the actual

[U-Boot] [PATCH 3/8] arm: rmobile: koelsch: Update calculation of CONFIG_SH_TMU_CLK_FREQ

2014-04-07 Thread Nobuhiro Iwamatsu
CONFIG_SH_TMU_CLK_FREQ of koelsch is calculated from the external clock. This defines RMOBILE_XTAL_CLK, this updates the calculation of CONFIG_SH_TMU_CLK_FREQ. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- include/configs/koelsch.h | 5 +++-- 1 file changed, 3

[U-Boot] [PATCH 4/8] arm: rmobile: Add register infomation of PLL regsiter

2014-04-07 Thread Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- arch/arm/include/asm/arch-rmobile/rcar-base.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-rmobile/rcar-base.h b/arch/arm/include/asm/arch-rmobile/rcar-base.h index 371f0ed..4331d31 100644

[U-Boot] [PATCH 5/8] arm: rmobile: koelsch: Change to maximum CPU frequency

2014-04-07 Thread Nobuhiro Iwamatsu
Maximum CPU clock of R8A7791 that are used in koelsch board is 1.5GHz. This change to use the maximum clock in this board. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- board/renesas/koelsch/koelsch.c | 7 +++ 1 file changed, 7 insertions(+) diff --git

[U-Boot] [PATCH 1/8] arm: rmobile: lager: Update QoS initialization to version 0.955

2014-04-07 Thread Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- board/renesas/lager/qos.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/board/renesas/lager/qos.c b/board/renesas/lager/qos.c index f1ac060..3742757 100644 --- a/board/renesas/lager/qos.c

[U-Boot] [PATCH 2/8] arm: rmobile: koelsch: Update QoS initialization

2014-04-07 Thread Nobuhiro Iwamatsu
This update QoS version 0.240 for ES1 and version 0.310 for ES2. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- board/renesas/koelsch/qos.c | 29 - 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/board/renesas/koelsch/qos.c

[U-Boot] [PATCH 6/8] arm: rmobile: lager: Update calculation of CONFIG_SH_TMU_CLK_FREQ

2014-04-07 Thread Nobuhiro Iwamatsu
CONFIG_SH_TMU_CLK_FREQ of lager is calculated from the external clock. This defines RMOBILE_XTAL_CLK, this updates the calculation of CONFIG_SH_TMU_CLK_FREQ. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- include/configs/lager.h | 7 --- 1 file changed, 4

[U-Boot] [PATCH 7/8] arm: rmobile: lager: Change to maximum CPU frequency

2014-04-07 Thread Nobuhiro Iwamatsu
Maximum CPU clock of R8A7790 that are used in lager board is 1.4GHz. This change to use the maximum clock in this board. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- board/renesas/lager/lager.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

[U-Boot] [PATCH 8/8] arm: rmobile: lager: Remove MACH_TYPE_LAGER and CONFIG_MACH_TYPE

2014-04-07 Thread Nobuhiro Iwamatsu
MACH_TYPE_LAGER and CONFIG_MACH_TYPE are not already available on Lager board. This removes them. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- board/renesas/lager/lager.c | 2 -- include/configs/lager.h | 2 -- 2 files changed, 4 deletions(-) diff --git

Re: [U-Boot] [PATCH v3 1/4]drivers: mmc: dwmmc: enable support for DT

2014-04-07 Thread Minkyu Kang
Dear Beonho Seo, On 20/03/14 13:14, Beomho Seo wrote: This patch enables for device tree for dw-mmc driver. Driver have been fixed because it is used exynos5 and exynos4. Add, fdt compat id of exynos4 dwmmc. Signed-off-by: Beomho Seo beomho@samsung.com Signed-off-by: Jaehoon Chung

Re: [U-Boot] {PATCH v3 3/4] arm: exynos: clock: Remove exynos4x12_set_mmc_clk function

2014-04-07 Thread Minkyu Kang
Dear Beomho Seo, On 20/03/14 13:14, Beomho Seo wrote: exynos4x12_set_mmc_clk function have been removed. Because, exynos4x12_clock and exynos4_clock return smae div_fsys* value. typo, smae - same? Signed-off-by: Beomho Seo beomho@samsung.com Signed-off-by: Jaehoon Chung

  1   2   >