Re: [U-Boot] [PATCH] dlmalloc: remove manual reloc alias warning

2012-08-15 Thread Andreas Bießmann
Dear Simon Glass, On 15.08.12 02:15, Simon Glass wrote: Hi, On Tue, Aug 14, 2012 at 1:50 AM, Andreas Bießmann andreas.de...@googlemail.com wrote: Dear all, On 13.08.2012 11:02, Andreas Bießmann wrote: From: Andreas Bießmann biessm...@corscience.de The avr32 architecture (and some

Re: [U-Boot] [PATCH] ARM : at91sam9x5 : Remove CONFIG_ARCH_CPU_INIT

2012-08-15 Thread Andreas Bießmann
Dear Bo Shen, On 15.08.12 04:48, Bo Shen wrote: Remove CONFIG_ARCH_CPU_INIT, no need it anymore Signed-off-by: Bo Shen voice.s...@atmel.com --- applied to u-boot-atmel/master, thanks! Best regards Andreas Bießmann ___ U-Boot mailing list

[U-Boot] [PATCH 1/3] mx53_smd: add spi nor support

2012-08-15 Thread Terry Lv
Add spi nor support to mx53 smd, including iomux, configs, etc. To test spi nor on mx53 smd: MX53SMD U-Boot sf probe 0:21249 JEDEC ID: 0x202016 m25p32 (4096 Kbytes) SF: Detected m25p32 with page size 0 Bytes, total 4 MiB Here, 21249 is integer of hex 0x5301. 0x01 is cs and 0x53 is active gpio

[U-Boot] [PATCH 3/3] mxc_spi: apply new mxc_spi version configs to other soc configs

2012-08-15 Thread Terry Lv
Apply new mxc_spi version configs to other soc configs. Signed-off-by: Terry Lv r65...@freescale.com --- arch/arm/include/asm/arch-mx31/imx-regs.h |4 include/configs/efikamx.h |4 include/configs/flea3.h |3 +++

Re: [U-Boot] [PATCH 1/4] spi_nor: add m25p32 spi nor driver

2012-08-15 Thread Lv Terry-R65388
Sorry for that I don't know m25p32 spi nor supported in stmicro. I've thought that this might be a new driver for new chips. That's ok. Then I'll summit mx53smd spi nor patches with stmicro. -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On

Re: [U-Boot] [PATCH 0/3] at91: atmel_nand: add PMECC(Programmable Multibit ECC controller) support

2012-08-15 Thread Josh Wu
Hi, Andreas Sorry, in these patches of current version, it still has a bug, which will fail to write with PMECC, I will send out the v2 patch soon which include this bug fix. Best Regards, Josh Wu On 8/9/2012 6:21 PM, Josh Wu wrote: This patch series will add PMECC support for atmel nand

[U-Boot] [PATCH 2/3] mxc_spi: change to use version config instead of soc config in mxc_spi

2012-08-15 Thread Terry Lv
In mxc_spi, we used to use soc config, e.g. CONFIG_MX35, CONFIG_MX51. In this way, we can't exlain the difference of spi in each soc and we need to modify the driver for each new soc. Thus, now it use spi version config which can be found in reference manual to diff. And new soc just need to add

Re: [U-Boot] [PATCH 2/2] apx4devkit: Turn on caches

2012-08-15 Thread Stefano Babic
On 05/08/2012 18:18, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Turn on data and instruction caches. Signed-off-by: Fabio Estevam fabio.este...@freescale.com include/configs/apx4devkit.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) Applied to

Re: [U-Boot] [PATCH 1/2] m28evk: Turn on caches

2012-08-15 Thread Stefano Babic
On 05/08/2012 18:17, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Turn on data and instruction caches. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic --

Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-15 Thread Joakim Tjernlund
Scott Wood scottw...@freescale.com wrote on 2012/08/14 23:01:47: On 08/14/2012 03:55 PM, Joakim Tjernlund wrote: Ping? PowerPC mandates SP to be 16 bytes aligned. Furthermore, a stack frame is added, pointing to the reset vector which may in the way when gdb is walking the stack

Re: [U-Boot] [PATCH v2 1/4] mxs: Remove not required explicit iomux-mx28.h include

2012-08-15 Thread Stefano Babic
On 13/08/2012 21:53, Otavio Salvador wrote: The iomux header is included on sys_proto.h so to avoid SoC specific header inclusion. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v2: - no changes arch/arm/cpu/arm926ejs/mxs/spl_boot.c |1 - 1 file changed, 1

Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-15 Thread Joakim Tjernlund
Kumar Gala ga...@kernel.crashing.org wrote on 2012/08/14 23:28:45: On Jul 23, 2012, at 3:58 PM, Joakim Tjernlund wrote: PowerPC mandates SP to be 16 bytes aligned. Furthermore, a stack frame is added, pointing to the reset vector which may in the way when gdb is walking the stack because

Re: [U-Boot] [PATCH 0/3] at91: atmel_nand: add PMECC(Programmable Multibit ECC controller) support

2012-08-15 Thread Andreas Bießmann
Dear Josh Wu, On 15.08.2012 08:50, Josh Wu wrote: Hi, Andreas Sorry, in these patches of current version, it still has a bug, which will fail to write with PMECC, I will send out the v2 patch soon which include this bug fix. Oups, sorry I had this patch series not on my list. Will review

Re: [U-Boot] [PATCH 0/3] at91: atmel_nand: add PMECC(Programmable Multibit ECC controller) support

2012-08-15 Thread Josh Wu
Hi, Andreas Thank you for the quick reply. On 8/15/2012 3:50 PM, Andreas Bießmann wrote: Dear Josh Wu, On 15.08.2012 08:50, Josh Wu wrote: Hi, Andreas Sorry, in these patches of current version, it still has a bug, which will fail to write with PMECC, I will send out the v2 patch soon which

Re: [U-Boot] [PATCH 0/3] at91: atmel_nand: add PMECC(Programmable Multibit ECC controller) support

2012-08-15 Thread Andreas Bießmann
Dear Josh Wu, On 15.08.2012 10:19, Josh Wu wrote: Hi, Andreas Thank you for the quick reply. On 8/15/2012 3:50 PM, Andreas Bießmann wrote: Dear Josh Wu, On 15.08.2012 08:50, Josh Wu wrote: Hi, Andreas snip And the last, you should add at least one user of this feature. Isn't the

Re: [U-Boot] [PATCH 4/4 v2] xilinx: Add new Zynq board

2012-08-15 Thread Michal Simek
Hi Joe, sorry missed this one. On 08/14/2012 05:48 PM, Joe Hershberger wrote: Hi Michal, On Tue, Aug 14, 2012 at 7:15 AM, Michal Simek mon...@monstr.eu wrote: Add support for Xilinx Zynq board. Signed-off-by: Michal Simek mon...@monstr.eu --- v2: Forget to also add config file ---

Re: [U-Boot] [Patch 0/17] New 'qemu-mips64' test architecture for U-Boot

2012-08-15 Thread Zhi-zhou Zhang
On Tue, Aug 14, 2012 at 11:51 PM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 14 August 2012 11:49:49 Mike Frysinger wrote: On Tuesday 14 August 2012 11:06:51 Zhi-zhou Zhang wrote: As so far, U-Boot has already supports mips32. But there are some differences between mips64 and

Re: [U-Boot] Strange / Unreadable console output

2012-08-15 Thread Andreas Bießmann
Dear Markus Hubig, On 14.08.2012 17:11, Markus Hubig wrote: On Tue, Aug 14, 2012 at 02:03:55PM +0200, Andreas Bießmann wrote: On 14.08.2012 11:08, Markus Hubig wrote: On Tue, Aug 14, 2012 at 08:22:11AM +0200, Andreas Bießmann wrote: On 27.07.12 11:16, Markus Hubig wrote: snipp Has

Re: [U-Boot] [PATCH] YAFFS2: Fix compiler errors preventing successful build

2012-08-15 Thread Marek Vasut
Dear Charles Manning, On Wednesday 15 August 2012 08:16:22 Marek Vasut wrote: Signed-off-by: Marek Vasut ma...@denx.de Cc: Charles Manning cdhmann...@gmail.com Cc: Wolfgang Denk w...@denx.de While I appreciate this, I would prefer the use the patch I submitted today which also gets rid

Re: [U-Boot] Early malloc() summary

2012-08-15 Thread Tomas Hlavacek
On Tue, Aug 14, 2012 at 3:54 PM, Graeme Russ graeme.r...@gmail.com wrote: dm_malloc you mean? I'm not happy about it, maybe Graeme can pour in some crazy juice in our direction again? I don't like the idea of dm_malloc() either, but it may be the only way to get this past Wolfgang in the

Re: [U-Boot] [PATCH] mx25: Clean up lowlevel_init

2012-08-15 Thread Benoît Thébaudeau
Dear Matthias, Dear Benoît Am 14.08.2012 23:25, schrieb Benoît Thébaudeau: Clean up mx25 lowlevel_init: - Add comments. - Do not use write32 repeatedly with the same value in order no to increase code size. - Make register values configurable. - Use defined values

[U-Boot] V4 S3C64XX: Switch all I/O to use readl/writel functio and Clear SMDK64XX

2012-08-15 Thread Zhong Hongbo
V4: 1. Adjust SPL patch order 2. seperate the patch of arm1176: Fixed No relocation., It is a common issue for arm platform. I sent it for other thread. V3: 1. Replace ELFIN with S3C64XX for all the variable of cpu.h. 2. Change __S3C6400_H__ into __CPU__H__. 3. Use C language to implement

[U-Boot] [PATCH 01/14] smdk6400: Move smdk6400 board from Makefile to boards.cfg

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo bocui...@gmail.com Signed-off-by: Zhong Hongbo bocui...@gmail.com --- Change for V4: - None. Change for V3: - None. Change for V2: - None. --- Makefile | 20 board/samsung/smdk6400/config.mk |4 +---

[U-Boot] [PATCH 02/14] S3C64XX: Switch to use readl/writel to operate nand flash

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo bocui...@gmail.com Signed-off-by: Zhong Hongbo bocui...@gmail.com --- Change for V4: - None. Change for V3: - Replace the magic numbers with variable name. Change for V2: - Change the type of the return value from unsinged int to unsinged long

[U-Boot] [PATCH 03/14] S3C64XX: Use readl/writel to operate uart

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo bocui...@gmail.com Signed-off-by: Zhong Hongbo bocui...@gmail.com --- Change for V4: - None. Change for v3: - None. Change for V2: - Change the type of the return value from unsinged int to unsinged long for s3c64xx_get_base_uart function.

[U-Boot] [PATCH 04/14] S3C64XX: add pwm for s3c64xx support

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo bocui...@gmail.com Signed-off-by: Zhong Hongbo bocui...@gmail.com --- Change for V4: - None. Change for V3: - None. Change for V2: - Change the type of the return value from unsinged int to unsinged long for s3c64xx_get_base_nand function. ---

[U-Boot] [PATCH 05/14] S3C64XX: reference s5p cpu time system for s3c64xx timer

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo bocui...@gmail.com The old s3c64xx timer is not work normal, Adopt s5p time design, It work perfect. Signed-off-by: Zhong Hongbo bocui...@gmail.com --- Change for V4: - None. Change for V3: - None. Change for V2: - Delete const key word for the variable

[U-Boot] [PATCH 06/14] S3C64xx: mov cpu_init.S to the board directory

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo bocui...@gmail.com It just only do the memory init. The memory depend on the design of board. Signed-off-by: Zhong Hongbo bocui...@gmail.com --- Change for V4: - None. Change for V3: - None. Change for V2: - None. ---

[U-Boot] [PATCH 07/14] S3C6400: Adopt SPL framwork to support spl for nand flash

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo bocui...@gmail.com Adopt the new SPL framework to implement the SPL booting of the nand flash for S3C6400. Signed-off-by: Zhong Hongbo bocui...@gmail.com --- Change for V4: - Adjust the patch's order. Change for V3: - None. Change for V2: - seprate some

[U-Boot] [PATCH 09/14] S3C64XX: Change SROM init to use read/write operation

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo bocui...@gmail.com Signed-off-by: Zhong Hongbo bocui...@gmail.com --- Change for V4: - None. Change for V3: - None. Change for V2: - Change the type of return for s3c64xx_get_base_sromc function. --- arch/arm/cpu/arm1176/s3c64xx/Makefile |2 +-

[U-Boot] [PATCH 08/14] S3C6400: Delete nand_spl for S3C6400

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo bocui...@gmail.com The old spl use nand_spl directory file to support nand flash boot. We will adopt the new SPL framework to implement it. Signed-off-by: Zhong Hongbo bocui...@gmail.com --- Change for V4: - Adjust the patch's order. Change for V3: - Delete

[U-Boot] [PATCH 10/14] S3C64XX: Switch to use read/writel to operation clock system

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo bocui...@gmail.com Switch to use read/writel function and clear the relevant variable. Signed-off-by: Zhong Hongbo bocui...@gmail.com --- Change for V4: - None. Change for V3: - Use C language to re-write reset function. - Replace the magic numbers

[U-Boot] [PATCH 11/14] S3c64xx: clear GPIO, Interrupt, Watchdog variable.

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo bocui...@gmail.com Signed-off-by: Zhong Hongbo bocui...@gmail.com --- Change for V4: - None. Change for V3: - Replace the magic numbers with the variable name. Change for V2: - None. --- arch/arm/include/asm/arch-s3c64xx/gpio.h | 38

[U-Boot] [PATCH 12/14] S3C6400: clear memory init variable

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo bocui...@gmail.com Signed-off-by: Zhong Hongbo bocui...@gmail.com --- Change for V4: - None. Change for V3: - Replace the magic numbers with variable name. - Use C language to implement memory initialization. Change for V2: - None. ---

[U-Boot] [PATCH 14/14] S3C6400: Remove the unused variable for S3C6400

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo bocui...@gmail.com Signed-off-by: Zhong Hongbo bocui...@gmail.com --- Change for V4: - None. Change for V3: - None. Change for V2: - None. --- include/configs/smdk6400.h | 15 --- 1 files changed, 0 insertions(+), 15 deletions(-) diff

[U-Boot] [PATCH 13/14] S3C64XX: Move s3c6400.h to cpu.h to support s3c6410 board

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo bocui...@gmail.com Signed-off-by: Zhong Hongbo bocui...@gmail.com --- Change for V4: - None. Change for V3: - Replace ELFIN with S3C64XX for all the variable of cpu.h - Change __S3C6400_H__ into __CPU__H__ Change for V2: - New. ---

[U-Boot] [PATCH] powerpc/mpc85xx:Enable debugger support to missed e500v2 SoC

2012-08-15 Thread Prabhakar Kushwaha
Freescale's e500v1 and e500v2 cores (used in mpc85xx chips) have some restrictions on external debugging (JTAG). Need to define define CONFIG_SYS_PPC_E500_DEBUG_TLB to enable a temporary TLB entry to be used during boot to work around the limitations. Enable missed e500v2 SoC i.e. MPC8536,

Re: [U-Boot] [PATCH 1/3] powerpc/fsl-corenet: remove dead variant symbols

2012-08-15 Thread Kumar Gala
On Aug 14, 2012, at 4:45 PM, Scott Wood wrote: On 08/14/2012 04:31 PM, Kumar Gala wrote: On Aug 14, 2012, at 3:14 PM, Scott Wood wrote: These are not supported as individual build targets, but instead are supported by another target. The dead p4040 defines in particular had bitrotted

Re: [U-Boot] [PATCH 5/5] mpc iim: Switch to common fsl_iim

2012-08-15 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Wolfgang Denk w...@denx.de Cc: Stefano Babic sba...@denx.de Adding missing board maintainers to Cc. --- .../arch/powerpc/cpu/mpc512x/Makefile |1 - .../arch/powerpc/cpu/mpc512x/iim.c = /dev/null| 394

Re: [U-Boot] [PATCH 4/4] mx5: Mark lowlevel_init board-specific code

2012-08-15 Thread Benoît Thébaudeau
The mx5 lowlevel_init.S contains board-specific code based on the reference design. Let's keep it since it avoids creating new lowlevel_init files and it may be used by many boards. But add a config to make it optional in order not to cause issues on boards not following this part of the

Re: [U-Boot] [PATCH 2/2] mx5: Use default pin initializers

2012-08-15 Thread Benoît Thébaudeau
Use the newly created mx5 default pin initialization functions in mx5 board files. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de Adding missing board maintainers to Cc. --- .../board/efikamx/efikamx.c| 133

Re: [U-Boot] [PATCH] mx31: Fix PDR0_CSI_PODF

2012-08-15 Thread Benoît Thébaudeau
The CSI PODF bit-field used by the previous code for the i.MX31 CCM PDR0 register is actually composed of two bit-fields: one pre-divider and one post-divider. This patch fixes the CCM access macros and the code using them accordingly. Signed-off-by: Benoît Thébaudeau

Re: [U-Boot] [PATCH] km/arm: set SPI NOR Flash default parameters

2012-08-15 Thread Valentin Longchamp
Hi Prafulla, On 08/14/2012 03:17 PM, Prafulla Wadaskar wrote: -Original Message- From: Valentin Longchamp [mailto:valentin.longch...@keymile.com] Sent: 14 August 2012 17:09 To: Prafulla Wadaskar Cc: u-boot@lists.denx.de; Valentin Longchamp; Holger Brunck Subject: [PATCH] km/arm:

Re: [U-Boot] [PATCH] kw_spi: fix clock prescaler computation

2012-08-15 Thread Valentin Longchamp
Hi Prafulla, On 08/14/2012 03:15 PM, Prafulla Wadaskar wrote: -Original Message- From: Valentin Longchamp [mailto:valentin.longch...@keymile.com] Sent: 14 August 2012 15:02 To: Prafulla Wadaskar Cc: u-boot@lists.denx.de; Holger Brunck Subject: Re: [PATCH] kw_spi: fix clock

[U-Boot] [PATCH v2] kw_spi: fix clock prescaler computation

2012-08-15 Thread Valentin Longchamp
The computation was not correct with low clock values: setting a 1MHz clock would result in an overlap that would then configure a 25Mhz clock. This patch implements a correct computation method according to the kirkwood functionnal spec. table 600 (Serial Memory Interface Configuration

[U-Boot] [PATCH] powerpc/mpc85xx: Add IFC LAW target ID for FSL High-End SoC

2012-08-15 Thread Prabhakar Kushwaha
Freescale's High-End SoC are going to have Integrated Flash controller (IFC)'s support. So add IFC LAW target ID support for High-End SoC or corenet SoC. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Based upon git://git.denx.de/u-boot.git (branch master)

Re: [U-Boot] usb_test_unit_ready called every block read - performance

2012-08-15 Thread Steve Heckman
Oh yeah, forgot about that...;) I just downloaded the ext4 branch tarball and built it. The test_unit_ready calls were still in there. With or without those it took 0m 45s to load a ~150MB image. In our original branch (2011.12), the test_unit_ready calls had more of an impact. The stock

Re: [U-Boot] Please pull u-boot-staging/tr...@ti.com

2012-08-15 Thread Tom Rini
On Tue, Aug 14, 2012 at 03:06:17AM +0200, Albert ARIBAUD wrote: Hi Albert, On Tue, 14 Aug 2012 02:04:15 +0200, Albert ARIBAUD (U-Boot) albert.u.b...@aribaud.net wrote: Hi Tom, On Fri, 10 Aug 2012 22:06:59 +0200, Wolfgang Denk w...@denx.de wrote: Dear Tom, In message

Re: [U-Boot] [PATCH 1/6] davinci: ea20: reorganisation LCD startup

2012-08-15 Thread Tom Rini
On Fri, Aug 10, 2012 at 09:26:41AM +0200, Bastian Ruppert wrote: Signed-off-by: Bastian Ruppert bastian.rupp...@sewerin.de CC: Tom Rini tr...@ti.com CC: Stefano Babic sba...@denx.de For the series, I'm fine with the davinci side of the changes but want Anatolij and Stefano to ack as well

Re: [U-Boot] [PATCH 6/6] davinci: ea20: add some configs and default environmet variables

2012-08-15 Thread Stefano Babic
On 10/08/2012 09:26, Bastian Ruppert wrote: Signed-off-by: Bastian Ruppert bastian.rupp...@sewerin.de CC: Tom Rini tr...@ti.com CC: Stefano Babic sba...@denx.de --- include/configs/ea20.h | 106 ++-- 1 files changed, 66 insertions(+), 40

Re: [U-Boot] [PATCH 5/6] da850/omap-l138: davinci_emac: Suppress auto negotiation if needed

2012-08-15 Thread Stefano Babic
On 10/08/2012 09:26, Bastian Ruppert wrote: From this commit id: b78375a806ed04eb22b963255cfdef8df702de47 auto negotiation is enabled in RMII mode. Some boards based on da850 need to suppress this procedure. CC: Rajashekhara, Sudhakar sudhakar@ti.com CC: Lad, Prabhakar

Re: [U-Boot] [PATCH 1/6] davinci: ea20: reorganisation LCD startup

2012-08-15 Thread Stefano Babic
On 10/08/2012 09:26, Bastian Ruppert wrote: Signed-off-by: Bastian Ruppert bastian.rupp...@sewerin.de CC: Tom Rini tr...@ti.com CC: Stefano Babic sba...@denx.de --- board/davinci/ea20/ea20.c | 23 +++ 1 files changed, 15 insertions(+), 8 deletions(-) diff --git

Re: [U-Boot] [PATCH 2/6] davinci: ea20: the console is always set to the serial line

2012-08-15 Thread Stefano Babic
On 10/08/2012 09:26, Bastian Ruppert wrote: Do not allow to overwrite it when video is enabled. Signed-off-by: Bastian Ruppert bastian.rupp...@sewerin.de CC: Tom Rini tr...@ti.com CC: Stefano Babic sba...@denx.de --- Acked-by: Stefano Babic sba...@denx.de Best regards, Stefano Babic --

Re: [U-Boot] [PATCH 1/1] lib, panic: don't call do_reset in SPL (debug).

2012-08-15 Thread Tom Rini
On Tue, Aug 14, 2012 at 10:40:50PM +0200, Jeroen Hofstee wrote: Several omap boards won't build when DEBUG is defined, SPL build error: vsprintf.c:791: undefined reference to `do_reset', since SPL has no commands. Therefore don't call do_reset in SPL. SPL panic will end in an endless loop or

Re: [U-Boot] [PATCH 1/4] serial: Add Dragonfire serial driver

2012-08-15 Thread John Williams
On Wed, Aug 15, 2012 at 3:17 AM, Michal Simek mon...@monstr.eu wrote: On 08/14/2012 06:45 PM, Joe Hershberger wrote: Hi Michal, On Tue, Aug 14, 2012 at 11:38 AM, Michal Simek mon...@monstr.eu wrote: On 08/14/2012 04:09 PM, Joe Hershberger wrote: Hi Michal, On Tue, Aug 14, 2012 at 6:42

Re: [U-Boot] usb_test_unit_ready called every block read - performance

2012-08-15 Thread Jim Shimer
Marek/Benoit, Thanks so much for integrating this. I like the way you reused the flags, and simplified the code. Regards, Jim On Tue, Aug 14, 2012 at 1:57 PM, Steve Heckman mgi2...@motorola.com wrote: Marek, That looks good to me. Jim? Thanks, Steve On Tue, Aug 14, 2012 at 1:50 PM,

Re: [U-Boot] usb_test_unit_ready called every block read - performance

2012-08-15 Thread Jim Shimer
Hi Marek, I looked at the ext4 branch. It looks like he has the patch to remove the usb_test_unit_ready() calls which were not needed. Actually those calls are commented out on that branch: #if 0 if (usb_test_unit_ready(srb, ss)) { printf(Device NOT ready\n Request

Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-15 Thread Scott Wood
On 08/15/2012 02:10 AM, Joakim Tjernlund wrote: Kumar Gala ga...@kernel.crashing.org wrote on 2012/08/14 23:28:45: On Jul 23, 2012, at 3:58 PM, Joakim Tjernlund wrote: PowerPC mandates SP to be 16 bytes aligned. Furthermore, a stack frame is added, pointing to the reset vector which may in

Re: [U-Boot] [PATCH 1/3] powerpc/fsl-corenet: remove dead variant symbols

2012-08-15 Thread Scott Wood
On 08/15/2012 09:21 AM, Kumar Gala wrote: On Aug 14, 2012, at 4:45 PM, Scott Wood wrote: On 08/14/2012 04:31 PM, Kumar Gala wrote: On Aug 14, 2012, at 3:14 PM, Scott Wood wrote: These are not supported as individual build targets, but instead are supported by another target. The dead

[U-Boot] [PATCH 1/2] README.SPL: Add a small Debugging section

2012-08-15 Thread Tom Rini
Signed-off-by: Tom Rini tr...@ti.com --- doc/README.SPL |7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/README.SPL b/doc/README.SPL index e4a5ac3..bd375a0 100644 --- a/doc/README.SPL +++ b/doc/README.SPL @@ -78,3 +78,10 @@ an SPL CPU in boards.cfg as follows: This this case

Re: [U-Boot] [PATCH 01/13] mxc nand: Merge mtd and spl register definitions

2012-08-15 Thread Benoît Thébaudeau
Hi Stefano, On 08/14/2012 04:29:04 PM, Benoît Thébaudeau wrote: Hi Stefano, On 14/08/2012 13:13, Benoît Thébaudeau wrote: Hi Stefano, Hi Benoît, We have currently only two boards supporting this mechanismus, using MX25 (karo tx25) and MX31. Both MX25 and MX31 have an

Re: [U-Boot] [PATCH 0/2]: arm: Provide lowlevel_init C function wrapper for v7

2012-08-15 Thread Allen Martin
On Thu, Aug 09, 2012 at 09:01:54AM -0700, Tom Rini wrote: Hey all, As Allen Martin noted, on tegra platforms a bug is exposed when using certain toolchains that currently calls to lowlevel_init must be calls to another assembly function as the stack is not explicitly setup / saved and thus

Re: [U-Boot] [PATCH 1/2] omap4/5/am33xx: Make lowlevel_init available to all armv7 platforms

2012-08-15 Thread Allen Martin
On Thu, Aug 09, 2012 at 09:01:55AM -0700, Tom Rini wrote: Make the lowlevel_init function that these platforms have which just sets up the stack and calls a C function available to all armv7 platforms. As part of this we change some of the macros that are used to be more clear. Previously

Re: [U-Boot] [PATCH 2/2] armv7: Make lowlevel_init.S's lowlevel_init do ABI compatible stack

2012-08-15 Thread Allen Martin
On Thu, Aug 09, 2012 at 09:01:56AM -0700, Tom Rini wrote: Make sure that when we setup the stack before calling s_init() we have the stack have 8-byte alignment for ABI compliance. Signed-off-by: Tom Rini tr...@ti.com --- Tested-by: Allen Martin amar...@nvidia.com -- nvpublic

[U-Boot] [PATCH 1/2] MX28: config: Allow different target generation in elftosb call

2012-08-15 Thread Otavio Salvador
The elftosb call needs to use a target param specific for i.MX28. This patch allow for later addition of i.MX233. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Makefile |5 - arch/arm/cpu/arm926ejs/mxs/{u-boot.bd =

[U-Boot] [PATCH 2/2] MX28: Move regs-base.h include after SoC type configuration

2012-08-15 Thread Otavio Salvador
For i.MX233 addition the base registers need to be change so the SoC definition needs to be known before the header include. The following boards has been changed: * apx4devkit * m28evk * mx28evk * sc_sps_1 Signed-off-by: Otavio Salvador ota...@ossystems.com.br ---

[U-Boot] [PATCH] patman: Do not Cc addresses included in To list

2012-08-15 Thread Otavio Salvador
In case an address is listed in the To list, those will be skipped on Cc list or user might end with a duplicated message. This fixes the case when a tag points to same address used as series destination thus avoiding duplicated sending. Signed-off-by: Otavio Salvador ota...@ossystems.com.br ---

[U-Boot] [PATCH 1/1] iomux: move IOMUX_GPR13_xxx defines

2012-08-15 Thread Troy Kisky
Move mx6 specific defines to arch-mx6 directory. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- arch/arm/include/asm/arch-mx6/iomux.h | 129 + arch/arm/include/asm/imx-common/iomux-v3.h| 111 -

[U-Boot] [PATCH V4 3/3] mx53evk: add boot_mode support

2012-08-15 Thread Troy Kisky
This allows a watchdog reset to start the ROM's usb/serial downloader, or boot from an sdcard. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- Compile tested only, I don't have a mx53evk. --- board/freescale/mx53evk/mx53evk.c | 13 + include/configs/mx53evk.h

[U-Boot] [PATCH V4 2/3] mx6qsabrelite: add boot_mode support

2012-08-15 Thread Troy Kisky
This allows a watchdog reset to start the ROM's usb downloader, or boot from an sdcard. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 14 ++ include/configs/mx6qsabrelite.h |3 +++ 2 files changed, 17

[U-Boot] [PATCH V4 1/3] imx-common/cmd_bmode.c: add imx bmode (bootmode) command

2012-08-15 Thread Troy Kisky
This is useful for forcing the ROM's usb downloader to activate upon a watchdog reset. Or, you can boot from either SD Card. Currently, support added for MX53 and MX6Q Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com Note: MX53 support untested. --- v4: replaced some occurrances of

[U-Boot] [PATCH 3/3] mx6qsabrelite: set CONFIG_FEC_MXC_PHYMASK

2012-08-15 Thread Troy Kisky
Different ethernet jacks parts can result in the Micrel KSZ9021 getting a different phy address. Let's support all parts. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- include/configs/mx6qsabrelite.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 2/3] fec_mxc: use phy_connect_by_mask

2012-08-15 Thread Troy Kisky
Allow board config files to list a range of possible phy addresses, in case the exact phy address is not certain. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/net/fec_mxc.c | 21 +++-- drivers/net/fec_mxc.h |3 ++- 2 files changed, 17 insertions(+),

[U-Boot] [PATCH 1/3] phy: add phy_connect_by_mask

2012-08-15 Thread Troy Kisky
It is useful to be able to try a range of possible phy addresses to connect. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/net/phy/phy.c | 108 +++-- include/phy.h |2 + 2 files changed, 71 insertions(+), 39

[U-Boot] [PATCH v8 03/15] tegra20: rename CONFIG_MACH_TEGRA_GENERIC

2012-08-15 Thread Allen Martin
Rename CONFIG_MACH_TEGRA_GENERIC to the less confusing CONFIG_TEGRA. The meaning of the config options is now: CONFIG_TEGRA - Any tegra chip CONFIG_TEGRA20 - A tegra20 family chip CONFIG_TEGRA30 - A tegra30 family chip (not added yet) Signed-off-by: Allen Martin amar...@nvidia.com Acked-by:

[U-Boot] [PATCH v8 00/15] split tegra20 arm7 code into separate SPL

2012-08-15 Thread Allen Martin
This patch series fixes a long standing problem with the tegra20 u-boot build. Tegra20 contains an ARM7TDMI boot processor and a Cortex A9 main processor. Prior to this patch series this was accomplished by #ifdefing out any armv7 code from the early boot sequence and creating a single binary

[U-Boot] [PATCH v8 04/15] tegra20: tec: add tegra20-common-post.h

2012-08-15 Thread Allen Martin
Add tegra20-common-post.h to be consistent with other tegra20 boards. Signed-off-by: Allen Martin amar...@nvidia.com Acked-by: Thierry Reding thierry.red...@avionic-design.de Acked-by: Stephen Warren swar...@wwwdotorg.org Tested-by: Thierry Reding thierry.red...@avionic-design.de Signed-off-by:

[U-Boot] [PATCH v8 11/15] tegra20: move SDRAM param save to later in boot

2012-08-15 Thread Allen Martin
Move warmboot_save_sdram_params() to later in the boot sequence. This code relies on devicetree to get the address of the memory controller and with upcoming changes for SPL boot it gets called early in the boot process when devicetree is not initialized yet. Signed-off-by: Allen Martin

[U-Boot] [PATCH v8 14/15] spl: fix SPL build of private libgcc

2012-08-15 Thread Allen Martin
This fixes the SPL build to link with the SPL version of libgcc if USE_PRIVATE_LIBGCC is set to yes. Previously it was linking with the libgcc from the normal u-boot build because it gets set in PLATFORM_LIBS and passed down the to the SPL build. Signed-off-by: Allen Martin amar...@nvidia.com

[U-Boot] [PATCH v8 08/15] tegra20: remove timer_init from SPL build

2012-08-15 Thread Allen Martin
Don't use timer_init from tegra board.c. This comes out of arm720t for the SPL build. Signed-off-by: Allen Martin amar...@nvidia.com Acked-by: Stephen Warren swar...@wwwdotorg.org Tested-by: Thierry Reding thierry.red...@avionic-design.de Signed-off-by: Tom Warren twar...@nvidia.com ---

[U-Boot] [PATCH v8 13/15] arm: enable libgcc build for SPL

2012-08-15 Thread Allen Martin
Enable the building of private libgcc for SPL Signed-off-by: Allen Martin amar...@nvidia.com Acked-by: Stephen Warren swar...@wwwdotorg.org Tested-by: Thierry Reding thierry.red...@avionic-design.de Signed-off-by: Tom Warren twar...@nvidia.com --- arch/arm/lib/Makefile |2 +- 1 file changed,

[U-Boot] [PATCH v8 07/15] ARM: Fix arm720t SPL build

2012-08-15 Thread Allen Martin
Take a few SPL fixes from armv7 and apply them to arm720t: -Use dummy exception handlers for SPL build -Initialize relocation register r9 to 0 for the case of no relocation -ifdef out interrupt handler code Signed-off-by: Allen Martin amar...@nvidia.com Acked-by: Stephen Warren

[U-Boot] [PATCH v8 10/15] tegra20: add u-boot-*-tegra.bin targets

2012-08-15 Thread Allen Martin
Add target for tegra20 u-boot image. This is a concatenation of tegra spl and normal u-boot binaries. For non-devicetree builds this is named u-boot-nodtb-tegra.bin for devicetree builds is named u-boot-dtb-tegra.bin. Signed-off-by: Allen Martin amar...@nvidia.com Acked-by: Stephen Warren

[U-Boot] [PATCH v8 06/15] mkconfig: add support for SPL CPU

2012-08-15 Thread Allen Martin
Add support for specifying a different CPU for main u-boot and SPL u-boot builds. This is done by adding an optional SPL CPU after the main CPU in boards.cfg as follows: normal_cpu:spl_cpu This this case CPU will be set to normal_cpu during the main u-boot build and spl_cpu during the SPL

[U-Boot] [PATCH v8 02/15] tegra20: move tegra20 SoC code to arch/arm/cpu/tegra20-common

2012-08-15 Thread Allen Martin
In preparation for splitting out the armv4t code from tegra20, move the tegra20 SoC code to arch/arm/cpu/tegra20-common. This code will be compiled armv4t for the arm7tdmi and armv7 for the cortex A9. Signed-off-by: Allen Martin amar...@nvidia.com Acked-by: Stephen Warren swar...@wwwdotorg.org

[U-Boot] [PATCH v8 15/15] tegra20: Remove armv4t build flags

2012-08-15 Thread Allen Martin
These flags were necessary when building tegra20 as a single binary that supported ARM7TDMI and Cortex A9. Now that the ARM7TDMI support is split into a separate SPL, this is no longer necessary. Signed-off-by: Allen Martin amar...@nvidia.com Acked-by: Stephen Warren swar...@wwwdotorg.org

[U-Boot] [PATCH v8 05/15] tegra20: make board mkdir commands unconditional

2012-08-15 Thread Allen Martin
Change the mkdir commands for the object directories to be unconditional. This fixes an issue when building for SPL where SRCTREE and OBJTREE are the same, but $(obj) is under SPLTREE. Signed-off-by: Allen Martin amar...@nvidia.com Acked-by: Stephen Warren swar...@wwwdotorg.org Tested-by:

[U-Boot] [PATCH v8 09/15] ARM: add tegra20 support to arm720t

2012-08-15 Thread Allen Martin
Add support for tegra20 arm7 boot processor. This processor is used to power on the Cortex A9 and transfer control to it. In tegra this processor is an ARM7TDMI not an ARM720T, but since we don't use cache it was easier to just reuse the ARM720T code as the processors are otherwise identical

[U-Boot] [PATCH v8 12/15] tegra20: enable SPL for tegra20 boards

2012-08-15 Thread Allen Martin
Add SPL options to tegra20 config files and enable SPL build for tegra20 boards. Also remove redundant code from u-boot that is not contained in SPL. Signed-off-by: Allen Martin amar...@nvidia.com Acked-by: Stephen Warren swar...@wwwdotorg.org Tested-by: Thierry Reding

[U-Boot] [PATCH 1/1] mx51/mx53/mx6: add watchdog

2012-08-15 Thread Troy Kisky
Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- arch/arm/cpu/armv7/imx-common/Makefile |1 + arch/arm/cpu/armv7/imx-common/watchdog.c | 32 ++ 2 files changed, 33 insertions(+) create mode 100644 arch/arm/cpu/armv7/imx-common/watchdog.c diff

Re: [U-Boot] [PATCH v8 00/15] split tegra20 arm7 code into separate SPL

2012-08-15 Thread Allen Martin
On Wed, Aug 15, 2012 at 01:44:17PM -0700, Allen Martin wrote: This patch series fixes a long standing problem with the tegra20 u-boot build. Tegra20 contains an ARM7TDMI boot processor and a Cortex A9 main processor. Prior to this patch series this was accomplished by #ifdefing out any armv7

[U-Boot] [PATCH 00/17]: ARM: SPL: Make more generic, merge DaVinci and OMAP

2012-08-15 Thread Tom Rini
Hey all, The following patch series merges the davinci and omap-common SPL frameworks into a single framework, CONFIG_SPL_FRAMEWORK along with a few small cleanups to the code to make it a little smaller and more flexible. The end result is that davinci can now opt in on SPL-boots-Linux by just

[U-Boot] [PATCH 01/17] spl_mmc: Make FAT checks / calls guarded with CONFIG_SPL_FAT_SUPPORT

2012-08-15 Thread Tom Rini
Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/omap-common/spl_mmc.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/cpu/armv7/omap-common/spl_mmc.c b/arch/arm/cpu/armv7/omap-common/spl_mmc.c index 2f921bb..7552f6c 100644 ---

[U-Boot] [PATCH 02/17] omap-common: SPL: Add CONFIG_SPL_DISPLAY_PRINT / spl_display_print()

2012-08-15 Thread Tom Rini
Only omap4/5 currently have a meaningful set of display text and overo had been adding a function to display nothing. Change how this works to be opt-in and only turned on for omap4/5 now. Signed-off-by: Tom Rini tr...@ti.com --- README |4

[U-Boot] [PATCH 06/17] ARM: SPL: Rename omap_boot_mode to spl_boot_mode()

2012-08-15 Thread Tom Rini
Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/omap-common/boot-common.c |2 +- arch/arm/cpu/armv7/omap3/board.c |2 +- arch/arm/include/asm/omap_common.h |2 +- arch/arm/lib/spl_mmc.c |2 +- arch/arm/lib/spl_nand.c

[U-Boot] [PATCH 05/17] ARM: SPL: Rename omap_boot_device to spl_boot_device

2012-08-15 Thread Tom Rini
Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/omap-common/boot-common.c |2 +- arch/arm/cpu/armv7/omap-common/lowlevel_init.S |4 ++-- arch/arm/cpu/armv7/omap3/board.c |4 ++-- arch/arm/include/asm/omap_common.h |2 +- arch/arm/lib/spl.c

[U-Boot] [PATCH 08/17] ARM: SPL: Remove NAND_MODE_HW_ECC from spl_nand.c

2012-08-15 Thread Tom Rini
This detection code doesn't (and can't) do anything currently, so remove. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/omap3/board.c |3 --- arch/arm/include/asm/omap_common.h |1 - arch/arm/lib/spl_nand.c| 13 +++-- 3 files changed, 3

[U-Boot] [PATCH 07/17] omap-common: Fix typo in lowlevel_init.S::save_boot_params

2012-08-15 Thread Tom Rini
Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/omap-common/lowlevel_init.S |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/omap-common/lowlevel_init.S b/arch/arm/cpu/armv7/omap-common/lowlevel_init.S index d4ce0af..dafe18b 100644 ---

[U-Boot] [PATCH 09/17] ARM: SPL: Only call mem_malloc_init if configured

2012-08-15 Thread Tom Rini
We can only attempt to setup a malloc pool if CONFIG_SYS_SPL_MALLOC_START is defined, and not all boards require it. Make the call depend on the define. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/lib/spl.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/lib/spl.c

[U-Boot] [PATCH 13/17] ARM: SPL: Start hooking in the current SPI SPL support

2012-08-15 Thread Tom Rini
Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/include/asm/spl.h |3 +++ arch/arm/lib/spl.c |5 + 2 files changed, 8 insertions(+) diff --git a/arch/arm/include/asm/spl.h b/arch/arm/include/asm/spl.h index 41036e9..f0eb96f 100644 --- a/arch/arm/include/asm/spl.h +++

  1   2   >