Re: [U-Boot] [PATCH] [trivial] env: remove value from boolean defines

2011-12-25 Thread Marek Vasut
Several boolean defines have a value assigned. Remove the value as defining the symbol is enough. Signed-off-by: Igor Grinberg grinb...@compulab.co.il I'm fine with this. How did you find it ? M --- include/environment.h |8 tools/envcrc.c|6 +++--- 2 files

Re: [U-Boot] [PATCH] [trivial] env: remove value from boolean defines

2011-12-26 Thread Marek Vasut
On 12/26/11 01:34, Marek Vasut wrote: Several boolean defines have a value assigned. Remove the value as defining the symbol is enough. Signed-off-by: Igor Grinberg grinb...@compulab.co.il I'm fine with this. How did you find it ? Occasionally... I told you (at the KS) I'm

Re: [U-Boot] [PATCH] [trivial] env: remove value from boolean defines

2011-12-26 Thread Marek Vasut
On 12/26/11 16:17, Marek Vasut wrote: On 12/26/11 01:34, Marek Vasut wrote: Several boolean defines have a value assigned. Remove the value as defining the symbol is enough. Signed-off-by: Igor Grinberg grinb...@compulab.co.il I'm fine with this. How did you find

Re: [U-Boot] [PATCH 2/7] tegra: fdt: Add extra I2C definitions for U-Boot

2011-12-26 Thread Marek Vasut
Add U-Boot's peripheral ID and pinmux selection to the Tegra20 device tree file. Isn't this supposed to go to Linux kernel ? M Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/dts/tegra20.dtsi | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git

Re: [U-Boot] [PATCH 1/7] tegra: Rename NV_PA_PMC_BASE to TEGRA2_PMC_BASE

2011-12-26 Thread Marek Vasut
NV_PA_PMC_BASE +#define PRM_RSTCTRL TEGRA2_PMC_BASE #endif #endif /* TEGRA2_H */ Looks ok Acked-by: Marek Vasut marek.va...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 4/7] tegra: Add I2C driver

2011-12-26 Thread Marek Vasut
From: Yen Lin ye...@nvidia.com Add basic i2c driver for Tegra2 with 8- and 16-bit address support. The driver supports building both with and without CONFIG_OF_CONTROL. Without CONFIG_OF_CONTROL a number of CONFIG options must be supplied in the board config header file: I2CSPEED_KHZ -

Re: [U-Boot] U-boot doesn't work on OMAP4430 ES2.0

2011-12-26 Thread Marek Vasut
Hi, Following with the issue on http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/111922 Looks like the 23e9f0723e48615332119de4f4ec7a833a282628 commit was supposed to fix this, but it doesn't, the problem is still present. Steve Sakoman's git tree has a different patch:

Re: [U-Boot] [PATCH 2/2] mtd/nand: Fix IFC driver to support 2K NAND page

2011-12-27 Thread Marek Vasut
1) OOB area should be updated irrespective of NAND page size. Earlier it was updated only for 512byte NAND page. 2) During OOB update fbcr should be equal to OOB size. Cool, does the IFC driver have any relationship with the linux one? Is this patch pulled from Linux or is this

Re: [U-Boot] [PATCH 1/2] mtd/nand:Fix wrong address read in is_blank()

2011-12-27 Thread Marek Vasut
IFC NAND Machine calculates ECC on 512byte sector. Same is taken care in fsl_ifc_run_command() while ECC status verification. Here buffer number is calculated assuming 512byte sector and same is passed to is_blank. However in is_blank() buffer address is calculated using mdt-writesize which

Re: [U-Boot] [PATCH 1/2] mtd/nand:Fix wrong address read in is_blank()

2011-12-27 Thread Marek Vasut
IFC NAND Machine calculates ECC on 512byte sector. Same is taken care in fsl_ifc_run_command() while ECC status verification. Here buffer number is calculated assuming 512byte sector and same is passed to is_blank. However in is_blank() buffer address is calculated using

Re: [U-Boot] Secure update of uboot devices?

2011-12-28 Thread Marek Vasut
With the new threats like Stuxnet and Duqu one need to improve on how new updates to software is distrubuted to devcies so one can be sure that it's not a hacked or modified software that runs in the device. We use uboot + usb stick to update the software in our devices. Have anyone been

Re: [U-Boot] [PATCH] sdhc_boot: Introduce CONFIG_FSL_FIXED_MMC_LOCATION option

2011-12-29 Thread Marek Vasut
-Original Message- From: Fabio Estevam [mailto:feste...@gmail.com] Sent: Wednesday, December 21, 2011 12:33 AM To: u-boot@lists.denx.de Cc: sba...@denx.de; marek.va...@gmail.com; Fleming Andy-AFLEMING; Gala Kumar-B11780; Guo Shawn-R65073; Liu Hui-R64343; Huang Changming-R66093;

Re: [U-Boot] [PATCH] m28evk: Use GENERATED_GBL_DATA_SIZE

2011-12-29 Thread Marek Vasut
Use GENERATED_GBL_DATA_SIZE for calculating CONFIG_SYS_INIT_SP_OFFSET. Signed-off-by: Fabio Estevam fabio.este...@freescale.com Maybe I'd be better to consolidate the i.MX28 config to a common config file and have only board specific stuff in the board-specific configs, which would in turn

Re: [U-Boot] [PATCH 2/2] m28evk: Remove 'all' target from Makefile

2011-12-29 Thread Marek Vasut
) - # # defines $(obj).depend target Acked-by: Marek Vasut marek.va...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] m28evk: Use GENERATED_GBL_DATA_SIZE

2011-12-29 Thread Marek Vasut
On 29/12/2011 16:22, Marek Vasut wrote: Use GENERATED_GBL_DATA_SIZE for calculating CONFIG_SYS_INIT_SP_OFFSET. Signed-off-by: Fabio Estevam fabio.este...@freescale.com Maybe I'd be better to consolidate the i.MX28 config to a common config file and have only board specific stuff

Re: [U-Boot] [PATCH 1/2] mx28evk: Remove 'all' target from Makefile

2011-12-29 Thread Marek Vasut
@@ -37,8 +37,6 @@ OBJS:= $(addprefix $(obj),$(COBJS)) $(LIB): $(obj).depend $(OBJS) $(call cmd_link_o_target, $(OBJS)) -all: $(ALL) - # # defines $(obj).depend target Acked-by: Marek Vasut marek.va

Re: [U-Boot] [PATCH] phy: add phy_smsc_init() declaration

2011-12-29 Thread Marek Vasut
(void); int phy_realtek_init(void); +int phy_smsc_init(void); int phy_teranetics_init(void); int phy_vitesse_init(void); Acked-by: Marek Vasut marek.va...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u

[U-Boot] [PATCH] M28EVK: Fix build if CONFIG_CMD_NAND not selected

2011-12-31 Thread Marek Vasut
Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Stefano Babic sba...@denx.de --- include/configs/m28evk.h |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h index 39c841f..dcea878

Re: [U-Boot] [PATCH] Change kernel address in dataflash to match u-boot's size

2012-01-01 Thread Marek Vasut
On at91sam platforms, u-boot grew larger than the allocated size in dataflash, the layout was: bootstrap 0x ubootenv 0x4200 uboot 0x8400 kernel 0x00042000 u-boot with the defconfig doesn't seem to fit in 0x42000 - 0x8400 = 0x39C00 bytes anymore. Loading the

Re: [U-Boot] [PATCH] fw_env: use vars from the board config

2012-01-02 Thread Marek Vasut
it is quite odd that fw_printenv/fw_setenv does not use the settings from include/configs but instead redefines things. This patch uses the variables from the config file The edit in fw_env.c is only needed to resolve a name clash Signed-off-by: Frans Meulenbroeks

Re: [U-Boot] [PATCH] fw_env: use vars from the board config

2012-01-02 Thread Marek Vasut
Cc u-boot ML please. 2012/1/2 Marek Vasut marek.va...@gmail.com it is quite odd that fw_printenv/fw_setenv does not use the settings from include/configs but instead redefines things. This patch uses the variables from the config file The edit in fw_env.c is only needed

Re: [U-Boot] [PATCH] MX28: Fix MXSBOOT segfault if no params specified

2012-01-03 Thread Marek Vasut
Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Stefano Babic sba...@denx.de --- tools/mxsboot.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/tools/mxsboot.c b/tools/mxsboot.c index 176753d..8246831 100644 --- a/tools

Re: [U-Boot] [PATCH] MXS-NAND: Backport ecc.size from linux kernel

2012-01-03 Thread Marek Vasut
On 12/19/2011 02:23 PM, Marek Vasut wrote: On 12/18/2011 11:50 AM, Marek Vasut wrote: What specifically is happening in ubi part with ecc.size = 512? The driver doesn\t support subpage writes. Is this meant to be a workaround for the NAND layer ignoring a driver setting

Re: [U-Boot] User Question

2012-01-03 Thread Marek Vasut
Is this the list I can ask questions for deploying uboot to a custom board based off the blackfin bf548? Some of my questions are not processor specific (like what is the approach to getting the micrel ks8995 and a smsc lan9215 talking and started -the ks8995 needs a spi start command)?

Re: [U-Boot] [PATCH] MXS-NAND: Backport ecc.size from linux kernel

2012-01-03 Thread Marek Vasut
On 01/03/2012 03:20 PM, Marek Vasut wrote: On 12/19/2011 02:23 PM, Marek Vasut wrote: On 12/18/2011 11:50 AM, Marek Vasut wrote: What specifically is happening in ubi part with ecc.size = 512? The driver doesn\t support subpage writes. Is this meant to be a workaround for the NAND

Re: [U-Boot] M28 U-Boot config

2012-01-04 Thread Marek Vasut
Hi Marek, Hello, please _ALWAYS_ CC the u-boot mailing list. in include/configs/m28evk.h:88 you define the U-Boot stack size: #define CONFIG_STACKSIZE0x0001 /* 128 KB stack */ However, the actual size doesn't match the commented size. Did you mean this:

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-05 Thread Marek Vasut
On Wed, Jan 4, 2012 at 4:56 PM, Scott Wood scottw...@freescale.com wrote: On 12/05/2011 05:17 PM, Marek Vasut wrote: This will be beneficial for the PXA3XX NAND driver, which uses the NAND IDs to identify the chip and configure the controller accordingly. Signed-off-by: Marek Vasut

Re: [U-Boot] [PATCH] NAND: remove NAND_MAX_CHIPS definitions

2012-01-05 Thread Marek Vasut
On 11/20/2011 08:10 AM, Vladimir Zapolskiy wrote: This change follows the change by Wolfgang Grandegger (commit 6c869637fef), which allows to remove useless NAND_MAX_CHIPS definitions in board config files. Signed-off-by: Vladimir Zapolskiy v...@mleia.com Cc: Wolfgang Grandegger

Re: [U-Boot] Parameter restriction in mxsboot tool

2012-01-06 Thread Marek Vasut
Hi, Currently, the mxsboot tool checks all parsed options for being an even number, including the partition sector for SD/MMC devices. I don't believe such a restriction exists; I've been (unintentionally) using an odd sectored part ion for some time now. Shall I change it? If yes; any

Re: [U-Boot] Possible Denx m28evk ethernet problem + solution

2012-01-06 Thread Marek Vasut
Hi Marek, I'm currently working on U-Boot support for the Freescale i.mx28evk board. This is already supported mainline. It started out as an update of the old Freescale supplied U-Boot 2009.08, but it ended up in reconfiguring your work on the Denx m28evk module. Today I stumbled upon a

Re: [U-Boot] Possible Denx m28evk ethernet problem + solution

2012-01-06 Thread Marek Vasut
I'm currently working on U-Boot support for the Freescale i.mx28evk board. This is already supported mainline. Hm; my workspace is quite up-to-date, but I didn't find it. What configuration should I use for the Freescale i.mx28evk board? m28evk_config boots the board, but not much

Re: [U-Boot] Possible Denx m28evk ethernet problem + solution

2012-01-06 Thread Marek Vasut
make mx28evk_config? board/freescale/mx28evk Are you sure you checked it in? I checked, but I couldn't find it. (http://git.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=tree;f=include/config s;h=fe894c3b95e3d154264c2f8731b668c410131f01;hb=HEAD) It's in u-boot-imx tree. Yes, it can go

Re: [U-Boot] [PATCH 01/14] Add AES crypto library

2012-01-08 Thread Marek Vasut
On Monday 26 December 2011 14:32:54 Simon Glass wrote: --- /dev/null +++ b/lib/aes.c +static u8 sbox[256] = { +static u8 inv_sbox[256] = { +static u8 x2_sbox[256] = { +static u8 x3_sbox[256] = { +static u8 x_time_9[256] = { +static u8 x_time_b[256] = { +static u8

Re: [U-Boot] [PATCH 01/14] Add AES crypto library

2012-01-08 Thread Marek Vasut
On Sunday 08 January 2012 03:57:47 Marek Vasut wrote: On Monday 26 December 2011 14:32:54 Simon Glass wrote: --- /dev/null +++ b/lib/aes.c +static u8 sbox[256] = { +static u8 inv_sbox[256] = { +static u8 x2_sbox[256] = { +static u8 x3_sbox[256] = { +static u8

Re: [U-Boot] Possible Denx m28evk ethernet problem + solution

2012-01-08 Thread Marek Vasut
Please use Stefano's imx git tree, which has support for mx28evk already. Thanks for the heads-up. It's a bit confusing and unexpected to have a mainline spread across different git trees; Will Stefano's mainline be integrated into the main-mainline sometime? Not really ... that's how it

Re: [U-Boot] Possible Denx m28evk ethernet problem + solution

2012-01-08 Thread Marek Vasut
Not really ... that's how it all works. When Stefano sends pull RQ, it'll go mainline. Aha, so it's not mainline yet after all ;-) But I get it; It's available in Fabio's repo and will be in Denx mainline soon. Stefano's ... but it's almost mainline, for imx development, that's what you

Re: [U-Boot] [PATCH 4/7] tegra: Add I2C driver

2012-01-08 Thread Marek Vasut
Hi Marek, On Mon, Dec 26, 2011 at 11:15 AM, Marek Vasut marek.va...@gmail.com wrote: From: Yen Lin ye...@nvidia.com Add basic i2c driver for Tegra2 with 8- and 16-bit address support. The driver supports building both with and without CONFIG_OF_CONTROL. Without CONFIG_OF_CONTROL

Re: [U-Boot] [PATCH 1/4] PXA: PXA27x Matrix keypad driver

2012-01-09 Thread Marek Vasut
From: Marek Vasut marek.va...@gmail.com Signed-off-by: Marek Vasut marek.va...@gmail.com Signed-off-by: Vasily Khoruzhick anars...@gmail.com [vasily: adapted Marek's old version for newer u-boot] --- arch/arm/include/asm/arch-pxa/pxa-regs.h |6 +- drivers/input/Makefile

Re: [U-Boot] [PATCH 2/4] zipitz2: enable pxa27x_mkp driver

2012-01-09 Thread Marek Vasut
Signed-off-by: Vasily Khoruzhick anars...@gmail.com --- include/configs/zipitz2.h | 83 ++--- 1 files changed, 78 insertions(+), 5 deletions(-) diff --git a/include/configs/zipitz2.h b/include/configs/zipitz2.h index 26204af..5560bef 100644 ---

Re: [U-Boot] [PATCH 3/4] zipitz2: use pxa_mmc_gen as MMC driver

2012-01-09 Thread Marek Vasut
Signed-off-by: Vasily Khoruzhick anars...@gmail.com --- board/zipitz2/zipitz2.c |8 include/configs/zipitz2.h |5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/board/zipitz2/zipitz2.c b/board/zipitz2/zipitz2.c index b093c2f..4075fb6 100644 ---

Re: [U-Boot] [PATCH 4/4] zipitz2: fix boot issue introduced by PXA low level init rework

2012-01-09 Thread Marek Vasut
CONFIG_SYS_INIT_SP_ADDR points to RAM, but it's used before DRAM controller init. Fix it by setting CONFIG_SYS_INIT_SP_ADDR to SRAM Signed-off-by: Vasily Khoruzhick anars...@gmail.com --- include/configs/zipitz2.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [U-Boot] [PATCH] USB: fix USB keyboard polling parameter

2012-01-09 Thread Marek Vasut
When doing a GET_REPORT request on the keyboard control endpoint, the report ID should 0 (ie report ID not used) rather than 1 as reports are not used in boot mode. Signed-off-by: Vincent Palatin vpala...@chromium.org --- common/usb_kbd.c |2 +- 1 files changed, 1 insertions(+), 1

Re: [U-Boot] [PATCH] USB: fix USB keyboard polling parameter

2012-01-09 Thread Marek Vasut
On Mon, Jan 9, 2012 at 12:46, Marek Vasut marek.va...@gmail.com wrote: When doing a GET_REPORT request on the keyboard control endpoint, the report ID should 0 (ie report ID not used) rather than 1 as reports are not used in boot mode. Signed-off-by: Vincent Palatin vpala

Re: [U-Boot] [PATCH] eth: remove usb-ethernet devices before re-enumerating them

2012-01-09 Thread Marek Vasut
Fix the crash when running several times usb_init() with a USB ethernet device plugged. Signed-off-by: Vincent Palatin vpala...@chromium.org Tested-by: Wolfgang Grandegger w...@denx.de --- drivers/usb/eth/usb_ether.c |7 +-- include/net.h |1 + net/eth.c

Re: [U-Boot] [PATCH] mx28: fix clearing of IRQs in power init

2012-01-09 Thread Marek Vasut
investigation of the Freescale bootlets code and found out you're right, it's an SCT register. So: Acked-by: Marek Vasut marek.va...@gmail.com M ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] usb: add numeric keypad support to HID driver

2012-01-09 Thread Marek Vasut
When keys are pressed on the numeric keypad, emit key codes for the numbers, operators, dot and enter. Signed-off-by: Vincent Palatin vpala...@chromium.org --- common/usb_kbd.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/common/usb_kbd.c

Re: [U-Boot] [PATCH] eth: remove usb-ethernet devices before re-enumerating them

2012-01-10 Thread Marek Vasut
On 01/09/2012 10:08 PM, Vincent Palatin wrote: On Mon, Jan 9, 2012 at 12:57, Marek Vasut marek.va...@gmail.com wrote: Fix the crash when running several times usb_init() with a USB ethernet device plugged. Signed-off-by: Vincent Palatin vpala...@chromium.org Tested-by: Wolfgang

Re: [U-Boot] [PATCH] M28EVK: Fix build if CONFIG_CMD_NAND not selected

2012-01-10 Thread Marek Vasut
Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Stefano Babic sba...@denx.de --- include/configs/m28evk.h |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h index 39c841f

Re: [U-Boot] [PATCH] M28EVK: Fix build if CONFIG_CMD_NAND not selected

2012-01-10 Thread Marek Vasut
Hi Marek, On Sun, Jan 1, 2012 at 2:28 AM, Marek Vasut marek.va...@gmail.com wrote: Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Stefano Babic sba...@denx.de --- include/configs/m28evk.h |4 +++- 1 files changed, 3 insertions(+), 1

Re: [U-Boot] [PATCH v2 1/4] ehci-omap: Clean up added ehci-omap.c

2012-01-10 Thread Marek Vasut
From: Govindraj.R govindraj.r...@ti.com Clean up added ehci-omap.c and make it generic for re-use across soc having same ehci ip block. Also pass the modes to be configured and configure the ports accordingly. All usb layers are not cache aligned till then keep cache off for usb ops as ehci

Re: [U-Boot] [PATCH v2 2/3] efika: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Marek Vasut
CONFIG_NET_MULTI is not used anymore, so remove it from board file. Cc: Marek Vasut marek.va...@gmail.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes since v1: - Fix typo in board name include/configs/efikamx.h |1 - 1 files changed, 0 insertions(+), 1

Re: [U-Boot] [PATCH 1/3] m28evk: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Marek Vasut
CONFIG_NET_MULTI is not used anymore, so remove it from board file. Cc: Marek Vasut marek.va...@gmail.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/m28evk.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-10 Thread Marek Vasut
The current implementation invalidates the cache instead of flushing it. This causes problems on platforms where the spl/u-boot is already loaded to the RAM, with caches enabled by a first stage bootloader. What platforms are affected? M The V bit of the cp15's control register c1 is set

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-11 Thread Marek Vasut
On Tue Jan 10, 2012 at 09:07:58PM +0100, Marek Vasut wrote: The current implementation invalidates the cache instead of flushing it. This causes problems on platforms where the spl/u-boot is already loaded to the RAM, with caches enabled by a first stage bootloader. What platforms

Re: [U-Boot] [PATCH v2 1/4] ehci-omap: Clean up added ehci-omap.c

2012-01-11 Thread Marek Vasut
Hi Marek, Thanks for you review. On Tue, Jan 10, 2012 at 9:37 PM, Marek Vasut marek.va...@gmail.com wrote: From: Govindraj.R govindraj.r...@ti.com Clean up added ehci-omap.c and make it generic for re-use across soc having same ehci ip block. Also pass the modes to be configured

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-11 Thread Marek Vasut
On Wed Jan 11, 2012 at 11:47:27AM +0100, Marek Vasut wrote: On Tue Jan 10, 2012 at 09:07:58PM +0100, Marek Vasut wrote: The current implementation invalidates the cache instead of flushing it. This causes problems on platforms where the spl/u-boot is already loaded to the RAM

Re: [U-Boot] [PATCH v2 1/4] ehci-omap: Clean up added ehci-omap.c

2012-01-11 Thread Marek Vasut
On Wed, Jan 11, 2012 at 4:22 PM, Marek Vasut marek.va...@gmail.com wrote: Hi Marek, Thanks for you review. On Tue, Jan 10, 2012 at 9:37 PM, Marek Vasut marek.va...@gmail.com wrote: From: Govindraj.R govindraj.r...@ti.com Clean up added ehci-omap.c and make it generic for re

Re: [U-Boot] [PATCH] configs: Remove CONFIG_NET_MULTI from board files

2012-01-11 Thread Marek Vasut
CONFIG_NET_MULTI is not used anymore, so remove it from board files. Cc: Marek Vasut marek.va...@gmail.com Cc: Stefano Babic sba...@denx.de Cc: Kumar Gala kumar.g...@freescale.com Cc: Sandeep Paulraj s-paul...@ti.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com Acked-by: Marek

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-11 Thread Marek Vasut
On Wed Jan 11, 2012 at 01:42:38PM +0100, Marek Vasut wrote: On Wed Jan 11, 2012 at 11:47:27AM +0100, Marek Vasut wrote: On Tue Jan 10, 2012 at 09:07:58PM +0100, Marek Vasut wrote: The current implementation invalidates the cache instead of flushing it. This causes problems

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-11 Thread Marek Vasut
On Wed Jan 11, 2012 at 01:42:38PM +0100, Marek Vasut wrote: On Wed Jan 11, 2012 at 11:47:27AM +0100, Marek Vasut wrote: On Tue Jan 10, 2012 at 09:07:58PM +0100, Marek Vasut wrote: The current implementation invalidates the cache instead of flushing it. This causes

Re: [U-Boot] [PATCH v2 1/4] ehci-omap: Clean up added ehci-omap.c

2012-01-11 Thread Marek Vasut
On Wed, Jan 11, 2012 at 6:58 PM, Marek Vasut marek.va...@gmail.com wrote: On Wed, Jan 11, 2012 at 6:16 PM, Marek Vasut marek.va...@gmail.com wrote: On Wed, Jan 11, 2012 at 4:22 PM, Marek Vasut marek.va...@gmail.com wrote: Hi Marek, Thanks for you review. On Tue, Jan 10

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-11 Thread Marek Vasut
On Wed Jan 11, 2012 at 02:52:44PM +0100, Marek Vasut wrote: Changing the ecc layout for a single board, hmm not sure. Using a spl instead does me no harm whatsoever -- I don't need to update the spl frequently in any case, and then can use the nand driver

Re: [U-Boot] [PATCH v2 1/4] ehci-omap: Clean up added ehci-omap.c

2012-01-11 Thread Marek Vasut
Hi Guys, On 01/11/12 16:34, Marek Vasut wrote: On Wed, Jan 11, 2012 at 6:58 PM, Marek Vasut marek.va...@gmail.com wrote: On Wed, Jan 11, 2012 at 6:16 PM, Marek Vasut marek.va...@gmail.com wrote: On Wed, Jan 11, 2012 at 4:22 PM, Marek Vasut marek.va...@gmail.com wrote: Hi Marek

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-11 Thread Marek Vasut
On Wed Jan 11, 2012 at 04:01:31PM +0100, Marek Vasut wrote: More so, given the fact that we don't have any control over rbl -- so if rbl changes it's layout for any subsequent board, we'd have to add that as well to the nand driver, and both in u-boot as well as the kernel

Re: [U-Boot] Help needed on Colibri T20 - Iris Board

2012-01-11 Thread Marek Vasut
Dear =?ISO-8859-1?Q?St=E9phane_Carvalho?=, In message CAJq7D22dStVsKUq3DTsM7OXYMATycUgX2bz2Q2OSW2bbceJX- g...@mail.gmail.com you wrote: We managed to install a recent uboot on the board but it is not very efficient. The major problem is that we aren't able to run the *saveenv*command in

Re: [U-Boot] [PATCH] skat91: add support for SK-AT91SAM9/SIM508 board

2012-01-11 Thread Marek Vasut
This change adds complete support for Starterkit SK-AT91SAM9/SIM508 board. Signed-off-by: Vladimir Zapolskiy v...@mleia.com --- MAINTAINERS|4 + board/starterkit/skat91_sim508/Makefile| 44 ++

Re: [U-Boot] [PATCH 1/3 v6] arm926ejs: add NXP LPC32x0 cpu series support

2012-01-11 Thread Marek Vasut
This change adds initial support for NXP LPC32x0 SoC series. Signed-off-by: Vladimir Zapolskiy v...@mleia.com --- Changes from v5 to v6: * replaced some spaces with tabs in macro declarations * more rules separating 14-clock and ns16650 UARTs in config.h Changes from v4 to v5: *

Re: [U-Boot] [PATCH 3/3 v3] devkit3250: add Timll DevKit3250 board initial support

2012-01-11 Thread Marek Vasut
This change adds a basic support for Embest/Timll DevKit3250 board, NOR and UART are the only supported peripherals for a moment. The board doesn't require low-level init, because the initial SDRAM and GPIO configuration is performed during kickstart bootloader execution. Signed-off-by:

Re: [U-Boot] [PATCH] skat91: add support for SK-AT91SAM9/SIM508 board

2012-01-11 Thread Marek Vasut
On 11.01.2012 22:53, Marek Vasut wrote: This change adds complete support for Starterkit SK-AT91SAM9/SIM508 board. Signed-off-by: Vladimir Zapolskiyv...@mleia.com --- MAINTAINERS|4 + board/starterkit/skat91_sim508/Makefile

Re: [U-Boot] [PATCH 3/3 v3] devkit3250: add Timll DevKit3250 board initial support

2012-01-11 Thread Marek Vasut
On 11.01.2012 22:56, Marek Vasut wrote: This change adds a basic support for Embest/Timll DevKit3250 board, NOR and UART are the only supported peripherals for a moment. The board doesn't require low-level init, because the initial SDRAM and GPIO configuration is performed during

Re: [U-Boot] [PATCH v2 4/4] zipitz2: fix boot issue introduced by PXA low level init rework

2012-01-11 Thread Marek Vasut
CONFIG_SYS_INIT_SP_ADDR points to RAM, but it's used before DRAM controller init. Fix it by setting CONFIG_SYS_INIT_SP_ADDR to SRAM Signed-off-by: Vasily Khoruzhick anars...@gmail.com --- v2: no changes include/configs/zipitz2.h |2 +- 1 files changed, 1 insertions(+), 1

Re: [U-Boot] [PATCH v2 1/4] PXA: PXA27x Matrix keypad driver

2012-01-11 Thread Marek Vasut
From: Marek Vasut marek.va...@gmail.com Signed-off-by: Marek Vasut marek.va...@gmail.com Signed-off-by: Vasily Khoruzhick anars...@gmail.com [vasily: adapted Marek's old version for newer u-boot] --- v2: use struct-based access to regs, minor cleanup arch/arm/include/asm/arch-pxa/pxa

Re: [U-Boot] [PATCH v2 3/4] zipitz2: use pxa_mmc_gen as MMC driver

2012-01-11 Thread Marek Vasut
Signed-off-by: Vasily Khoruzhick anars...@gmail.com --- v2: mmcinfo is necessary to scan card for partitions board/zipitz2/zipitz2.c |8 include/configs/zipitz2.h |5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/board/zipitz2/zipitz2.c

Re: [U-Boot] [PATCH v2 2/4] zipitz2: enable pxa27x_mkp driver

2012-01-11 Thread Marek Vasut
Signed-off-by: Vasily Khoruzhick anars...@gmail.com --- Acked-by: Marek Vasut marek.va...@gmail.com v2: remove usbtty stuff from EXTRA_ENV_SETTINGS include/configs/zipitz2.h | 82 ++--- 1 files changed, 77 insertions(+), 5 deletions(-) diff

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-11 Thread Marek Vasut
Hi, On Wednesday, January 11, 2012, Marek Vasut marek.va...@gmail.com wrote: On Wed Jan 11, 2012 at 04:01:31PM +0100, Marek Vasut wrote: More so, given the fact that we don't have any control over rbl -- so if rbl changes it's layout for any subsequent board, we'd have

Re: [U-Boot] [PATCH 1/3 v7] arm926ejs: add NXP LPC32x0 cpu series support

2012-01-11 Thread Marek Vasut
This change adds initial support for NXP LPC32x0 SoC series. Signed-off-by: Vladimir Zapolskiy v...@mleia.com Cc: Albert ARIBAUD albert.u.b...@aribaud.net Cc: Wolfgang Denk w...@denx.de --- Changes from v6 to v7: * get use of setbits_le32() and friends * add arch_cpu_init() routine

Re: [U-Boot] [PATCH 2/3 v2] serial: add LPC32X0 high-speed UART devices support

2012-01-11 Thread Marek Vasut
This change adds an implementation of high-speed UART found on NXP LPC32X0 SoCs. Such UARTs are enumerated as UART1, UART2 and UART7. Signed-off-by: Vladimir Zapolskiy v...@mleia.com Cc: Albert ARIBAUD albert.u.b...@aribaud.net Cc: Wolfgang Denk w...@denx.de --- Changes from v1 to v2: *

Re: [U-Boot] [PATCH 3/3 v4] devkit3250: add Timll DevKit3250 board initial support

2012-01-11 Thread Marek Vasut
This change adds a basic support for Embest/Timll DevKit3250 board, NOR and UART are the only supported peripherals for a moment. The board doesn't require low-level init, because the initial SDRAM and GPIO configuration is performed during kickstart bootloader execution. Signed-off-by:

Re: [U-Boot] [PATCH 1/3 v7] arm926ejs: add NXP LPC32x0 cpu series support

2012-01-12 Thread Marek Vasut
On 12.01.2012 01:51, Marek Vasut wrote: This change adds initial support for NXP LPC32x0 SoC series. Signed-off-by: Vladimir Zapolskiyv...@mleia.com Cc: Albert ARIBAUDalbert.u.b...@aribaud.net Cc: Wolfgang Denkw...@denx.de --- Changes from v6 to v7: * get use of setbits_le32

Re: [U-Boot] [PATCH 1/2] SPI: Add i.MX ECSPI driver

2012-01-12 Thread Marek Vasut
From: Eric Nelson eric.nel...@boundarydevices.com Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com CC: Jason Liu jason@linaro.org CC: Stefano Babic sba...@denx.de --- drivers/spi/Makefile|1 + drivers/spi/imx_ecspi.c | 334

Re: [U-Boot] [PATCH 2/2] i.mx6q: SabreLite: Add SPI NOR support

2012-01-12 Thread Marek Vasut
From: Eric Nelson eric.nel...@boundarydevices.com Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com CC: Jason Liu jason@linaro.org CC: Stefano Babic sba...@denx.de --- Note: These two patches are against the recent head of u-boot-imx.git including the SabreLite support:

Re: [U-Boot] [PATCH 1/2] SPI: Add i.MX ECSPI driver

2012-01-13 Thread Marek Vasut
On 12.01.2012 16:37, Marek Vasut wrote: From: Eric Nelson eric.nel...@boundarydevices.com Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com CC: Jason Liu jason@linaro.org CC: Stefano Babic sba...@denx.de --- ... + if (max_hz imx_spi_slave-freq

Re: [U-Boot] [PATCH v3 4/4] zipitz2: fix boot issue introduced by PXA low level init rework

2012-01-13 Thread Marek Vasut
CONFIG_SYS_INIT_SP_ADDR points to RAM, but it's used before DRAM controller init. Fix it by setting CONFIG_SYS_INIT_SP_ADDR to SRAM Signed-off-by: Vasily Khoruzhick anars...@gmail.com --- v2: no changes v3: introduce PHYS_SRAM, use it for SYS_INIT_SP_ADDR calculation

Re: [U-Boot] [PATCH v3 1/4] PXA: PXA27x Matrix keypad driver

2012-01-13 Thread Marek Vasut
From: Marek Vasut marek.va...@gmail.com Signed-off-by: Marek Vasut marek.va...@gmail.com Signed-off-by: Vasily Khoruzhick anars...@gmail.com [vasily: adapted Marek's old version for newer u-boot, fixed multiple keypresses handling] --- v2: use struct-based access to regs, minor

Re: [U-Boot] [PATCH 1/5] net: fec_mxc: Add 1000 Mbps selection

2012-01-13 Thread Marek Vasut
From: Troy Kisky troy.ki...@boundarydevices.com Add 1000 Mbps selection and print negotiated speed Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com CC: Troy Kisky troy.ki...@boundarydevices.com CC: Stefano Babic sba...@denx.de CC: Marek Vasut marek.va...@gmail.com --- drivers

Re: [U-Boot] [PATCH 3/5] miiphyutil: Add Micrel KSZ9021 support to miiphy_speed

2012-01-13 Thread Marek Vasut
From: Troy Kisky troy.ki...@boundarydevices.com Previously, only GIGE phy was supported in this function. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com CC: Troy Kisky troy.ki...@boundarydevices.com CC: Stefano Babic sba...@denx.de CC: Marek Vasut marek.va...@gmail.com

Re: [U-Boot] [PATCH 4/5] net: fec_mxc: Nove autonegoatiate restart after mii_postcall

2012-01-13 Thread Marek Vasut
From: Troy Kisky troy.ki...@boundarydevices.com Allow boards to change what is advertised before an autoneg restart happens. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com CC: Troy Kisky troy.ki...@boundarydevices.com CC: Stefano Babic sba...@denx.de CC: Marek Vasut marek.va

Re: [U-Boot] [PATCH 1/3 v8] arm926ejs: add NXP LPC32x0 cpu series support

2012-01-13 Thread Marek Vasut
This change adds initial support for NXP LPC32x0 SoC series. Signed-off-by: Vladimir Zapolskiy v...@mleia.com Cc: Albert ARIBAUD albert.u.b...@aribaud.net Cc: Wolfgang Denk w...@denx.de --- Quick skim looks fine: Acked-by: Marek Vasut marek.va...@gmail.com Changes from v7 to v8

Re: [U-Boot] [PATCH 2/3 v3] serial: add LPC32X0 high-speed UART devices support

2012-01-13 Thread Marek Vasut
Acked-by: Marek Vasut marek.va...@gmail.com Changes from v2 to v3: * renamed struct hsuart_t to hsuart_regs Changes from v1 to v2: * simplified lpc32xx_hsuart_init() a little * put SoC specific changes into patch 1/3 arch/arm/include/asm/arch-lpc32xx/uart.h | 60

Re: [U-Boot] mx28evk_config integration

2012-01-13 Thread Marek Vasut
Hi Stephan, Of course you can post patches ! Any fix is always high appreciated ! I figured patches on a different repo were a bit 'unusual', but I'll clean up my work and submit my patch soon. Exactly which kernel version ? Do you tried with mainline kernel ? The board is

Re: [U-Boot] mx28evk_config integration

2012-01-13 Thread Marek Vasut
On 13/01/2012 13:56, Robert Deliën wrote: Looks like CPUfreq+usb is doing something eerie ... Fabio, can you look into it? I've Kernel 3.2.1 and it works. So I've made a clean-built of my 3.1.6 and works too. No idea why it failed before, but I'm going to disregard that for now. I

Re: [U-Boot] [PATCH v3 3/4] zipitz2: use pxa_mmc_gen as MMC driver

2012-01-13 Thread Marek Vasut
On Fri, 2012-01-13 at 13:35 +0100, Marek Vasut wrote: + if mmc rescan 0 ext2load mmc 0 0xa000 boot/uboot.script ; \ Why mmc rescan 0 ? Because otherwise it does nothing to detect card and scan for partitions? 0 is mmc device index. I see ... so mmc rescan takes such a parameter

Re: [U-Boot] [PATCH v3 1/4] PXA: PXA27x Matrix keypad driver

2012-01-13 Thread Marek Vasut
On Fri, 2012-01-13 at 13:41 +0100, Marek Vasut wrote: +#define KPDK_DK1 (0x1 1) +#define KPDK_DK0 (0x1 0) Drop those two spaces here Two spaces? It's tabs! Btw, it's for good looking formatting and it was taken from pxa-regs.h. I'd like to preserve it like it is. Then change

Re: [U-Boot] [PATCH] mx28: fix i.MX28 spi driver

2012-01-14 Thread Marek Vasut
The generic spi flash driver (drivers/mtd/spi/spi_flash.c) uses the spi low level driver's spi_xfer() function with len=0 to deassert the SPI flash' chip select. But the i.MX28 spi driver rejects this call due to len=0. This patch implements an exception for len=0 with the SPI_XFER_END

Re: [U-Boot] [PATCH] omap3: board.c - Fix compile warnings

2012-01-14 Thread Marek Vasut
* This patch fix compile warnings when CONFIG_SYS_L2CACHE_OFF is enabled board.c:48:13: warning: ‘omap3_invalidate_l2_cache_secure’ declared ‘static’ but never defined board.c:373:13: warning: ‘omap3_update_aux_cr’ defined but not used Signed-off-by: Pali Rohár pali.ro...@gmail.com

Re: [U-Boot] [PATCH] omap3: board.c - Fix compile warnings

2012-01-14 Thread Marek Vasut
* This patch fix compile warnings when CONFIG_SYS_L2CACHE_OFF is enabled board.c:48:13: warning: ‘omap3_invalidate_l2_cache_secure’ declared ‘static’ but never defined board.c:373:13: warning: ‘omap3_update_aux_cr’ defined but not used Signed-off-by: Pali Rohár

Re: [U-Boot] [PATCH v4 1/3] PXA: PXA27x Matrix keypad driver

2012-01-14 Thread Marek Vasut
From: Marek Vasut marek.va...@gmail.com Signed-off-by: Marek Vasut marek.va...@gmail.com Signed-off-by: Vasily Khoruzhick anars...@gmail.com [vasily: adapted Marek's old version for newer u-boot, fixed multiple keypresses handling] --- v2: use struct-based access to regs, minor

Re: [U-Boot] [PATCH v4 3/3] zipitz2: use pxa_mmc_gen as MMC driver

2012-01-14 Thread Marek Vasut
Signed-off-by: Vasily Khoruzhick anars...@gmail.com --- v2: mmcinfo is necessary to scan card for partitions v3: replace mmcinfo with mmc rescan v4: mmc rescan does not take extra argument in recent u-boot, so remove it. board/zipitz2/zipitz2.c |8

Re: [U-Boot] [PATCH] omap3: board.c - Fix compile warnings

2012-01-14 Thread Marek Vasut
On Saturday 14 January 2012 21:12:00 Marek Vasut wrote: * This patch fix compile warnings when CONFIG_SYS_L2CACHE_OFF is enabled board.c:48:13: warning: ‘omap3_invalidate_l2_cache_secure’ declared ‘static’ but never defined board.c:373:13: warning

Re: [U-Boot] [PATCH] omap3: board.c - Fix compile warnings

2012-01-14 Thread Marek Vasut
On Sat, Jan 14, 2012 at 4:40 PM, Pali Rohár pali.ro...@gmail.com wrote: On Saturday 14 January 2012 21:12:00 Marek Vasut wrote: * This patch fix compile warnings when CONFIG_SYS_L2CACHE_OFF is enabled board.c:48:13: warning: ‘omap3_invalidate_l2_cache_secure’ declared

  1   2   3   4   5   6   7   8   9   10   >