Re: [U-Boot] U-boot: Erase/read/write issue with S25fl256S flash device

2013-06-17 Thread Sourav Poddar
Hi Jagan, On Saturday 15 June 2013 09:47 PM, Jagan Teki wrote: On 14-06-2013 20:13, Sourav Poddar wrote: Hi Jagan, On Friday 14 June 2013 08:08 PM, Jagan Teki wrote: On 14-06-2013 20:03, Sourav Poddar wrote: Hi, On Wednesday 12 June 2013 01:00 PM, Sourav Poddar wrote: Hi, I am working on

Re: [U-Boot] Porting U-boot-2013-04 to sdk for mips board

2013-06-17 Thread krishna dwivedi
Hi Alll, Can anyone please reply on this. Regards, krishna On Fri, Jun 14, 2013 at 10:14 AM, krishna dwivedi krishna.dwived...@gmail.com wrote: Hi All, In mips,i dont see the .reloc section in u-boot.lds.But in other architechtures(like ppc),I see in u-boot.lds: .reloc :

Re: [U-Boot] [PATCH] image: Use ENOENT instead of ENOMEDIUM for better compatibility

2013-06-17 Thread Andreas Bießmann
On 16.06.13 16:46, Simon Glass wrote: This error may not be defined on some platforms such as MacOS so host compilation will fail. Use one of the more common errors instead. Signed-off-by: Simon Glass s...@chromium.org Tested-by: Andreas Bießmann andreas.de...@googlemail.com on OS X 10.7.5

Re: [U-Boot] [PATCH] checkpatch.pl: Do not hardcode perl path

2013-06-17 Thread Andreas Bießmann
Dear Joel A Fernandes, On 16.06.13 17:44, Joel A Fernandes wrote: On Sunday, June 16, 2013, Jagannadha Sutradharudu Teki wrote: From: Jagannadha Sutradharudu Teki jagannadh.t...@gmail.comjavascript:; checkpatch.pl requires perl v5.10.0 to run but it doesn't require to place in

Re: [U-Boot] U-boot: Erase/read/write issue with S25fl256S flash device

2013-06-17 Thread Jagan Teki
Hi Sourav, On Mon, Jun 17, 2013 at 11:44 AM, Sourav Poddar sourav.pod...@ti.com wrote: Hi Jagan, On Saturday 15 June 2013 09:47 PM, Jagan Teki wrote: On 14-06-2013 20:13, Sourav Poddar wrote: Hi Jagan, On Friday 14 June 2013 08:08 PM, Jagan Teki wrote: On 14-06-2013 20:03, Sourav Poddar

Re: [U-Boot] TFTP timeouts, i.mx fec problem?

2013-06-17 Thread Ruud Commandeur
Hi Wolfgang, Interesting thought. Never looked at it from this site, but this can be true of course. Although somewhat harder to proof, I'm afraid. I will keep this in mind for any further testing I will do. Regards, Ruud -Oorspronkelijk bericht- Van: Wolfgang Denk

Re: [U-Boot] U-boot: Erase/read/write issue with S25fl256S flash device

2013-06-17 Thread Sourav Poddar
HI Jagan, On Monday 17 June 2013 12:17 PM, Jagan Teki wrote: Hi Sourav, On Mon, Jun 17, 2013 at 11:44 AM, Sourav Poddarsourav.pod...@ti.com wrote: Hi Jagan, On Saturday 15 June 2013 09:47 PM, Jagan Teki wrote: On 14-06-2013 20:13, Sourav Poddar wrote: Hi Jagan, On Friday 14 June 2013 08:08

Re: [U-Boot] Merge Window close date

2013-06-17 Thread Wolfgang Denk
Dear Masahiro Yamada, In message 20130617103018.2753.aa925...@jp.panasonic.com you wrote: I saw Release Cycle page (http://www.denx.de/wiki/U-Boot/ReleaseCycle), and I noticed, The Merge Window for the next release (v2013.07) was closed on Sat, Feb 09, 2013 23:59:59 CEST ^^^

Re: [U-Boot] U-boot: Erase/read/write issue with S25fl256S flash device

2013-06-17 Thread Jagan Teki
On Mon, Jun 17, 2013 at 12:28 PM, Sourav Poddar sourav.pod...@ti.com wrote: HI Jagan, On Monday 17 June 2013 12:17 PM, Jagan Teki wrote: Hi Sourav, On Mon, Jun 17, 2013 at 11:44 AM, Sourav Poddarsourav.pod...@ti.com wrote: Hi Jagan, On Saturday 15 June 2013 09:47 PM, Jagan Teki wrote:

Re: [U-Boot] [PATCH] image: Use ENOENT instead of ENOMEDIUM for better compatibility

2013-06-17 Thread Lubomir Popov
On 16.06.2013 17:46, Simon Glass wrote: This error may not be defined on some platforms such as MacOS so host compilation will fail. Use one of the more common errors instead. Signed-off-by: Simon Glass s...@chromium.org Tested-by: Lubomir Popov lpo...@mm-sol.com on MacOS X 10.8.3 with the

Re: [U-Boot] U-boot: Erase/read/write issue with S25fl256S flash device

2013-06-17 Thread Sourav Poddar
On Monday 17 June 2013 12:35 PM, Jagan Teki wrote: On Mon, Jun 17, 2013 at 12:28 PM, Sourav Poddarsourav.pod...@ti.com wrote: HI Jagan, On Monday 17 June 2013 12:17 PM, Jagan Teki wrote: Hi Sourav, On Mon, Jun 17, 2013 at 11:44 AM, Sourav Poddarsourav.pod...@ti.com wrote: Hi Jagan, On

Re: [U-Boot] U-boot: Erase/read/write issue with S25fl256S flash device

2013-06-17 Thread Jagan Teki
On Mon, Jun 17, 2013 at 12:41 PM, Sourav Poddar sourav.pod...@ti.com wrote: On Monday 17 June 2013 12:35 PM, Jagan Teki wrote: On Mon, Jun 17, 2013 at 12:28 PM, Sourav Poddarsourav.pod...@ti.com wrote: HI Jagan, On Monday 17 June 2013 12:17 PM, Jagan Teki wrote: Hi Sourav, On Mon, Jun

Re: [U-Boot] U-boot: Erase/read/write issue with S25fl256S flash device

2013-06-17 Thread Sourav Poddar
On Monday 17 June 2013 12:44 PM, Jagan Teki wrote: On Mon, Jun 17, 2013 at 12:41 PM, Sourav Poddarsourav.pod...@ti.com wrote: On Monday 17 June 2013 12:35 PM, Jagan Teki wrote: On Mon, Jun 17, 2013 at 12:28 PM, Sourav Poddarsourav.pod...@ti.com wrote: HI Jagan, On Monday 17 June 2013 12:17

Re: [U-Boot] U-boot: Erase/read/write issue with S25fl256S flash device

2013-06-17 Thread Jagan Teki
On Mon, Jun 17, 2013 at 12:49 PM, Sourav Poddar sourav.pod...@ti.com wrote: On Monday 17 June 2013 12:44 PM, Jagan Teki wrote: On Mon, Jun 17, 2013 at 12:41 PM, Sourav Poddarsourav.pod...@ti.com wrote: On Monday 17 June 2013 12:35 PM, Jagan Teki wrote: On Mon, Jun 17, 2013 at 12:28 PM,

Re: [U-Boot] U-boot: Erase/read/write issue with S25fl256S flash device

2013-06-17 Thread Sourav Poddar
Hi Jagan, On Monday 17 June 2013 01:04 PM, Jagan Teki wrote: On Mon, Jun 17, 2013 at 12:49 PM, Sourav Poddarsourav.pod...@ti.com wrote: On Monday 17 June 2013 12:44 PM, Jagan Teki wrote: On Mon, Jun 17, 2013 at 12:41 PM, Sourav Poddarsourav.pod...@ti.com wrote: On Monday 17 June 2013 12:35

Re: [U-Boot] please pull u-boot-samsung master

2013-06-17 Thread Jagan Teki
On Mon, Jun 17, 2013 at 7:40 AM, Minkyu Kang mk7.k...@samsung.com wrote: Dear Albert, The following changes since commit d0a51373131c4ba565a2391d5ed78b87c406ce98: at91sam9260ek: move board id setup to config header (2013-05-12 16:49:14 +0200) are available in the git repository at:

Re: [U-Boot] [PATCH] powerpc/p1022ds: nand: introduce the TPL based on the SPL

2013-06-17 Thread Zhang Ying-B40530
-Original Message- From: Wood Scott-B07421 Sent: Saturday, June 15, 2013 12:37 AM To: Zhang Ying-B40530 Cc: Wood Scott-B07421; u-boot@lists.denx.de; aflem...@gmail.com; Xie Xiaobo-R63061 Subject: Re: [PATCH] powerpc/p1022ds: nand: introduce the TPL based on the SPL On 06/14/2013

[U-Boot] [PATCH 2/2] I2C: mxc_i2c: Add support for Vybrid VF610 platform

2013-06-17 Thread Alison Wang
This patch adds support for Vybrid VF610 platform. There are some differences between i.MX6 and Vybrid for I2C controller. (1) The registers' offset are different. (2) The I2C clock divider values are different. (3) In I2C control register, the enable/disable/reset bit is inverted for Vybrid

[U-Boot] [PATCH 1/2] vf610: Add I2C support for Vybrid VF610 platform

2013-06-17 Thread Alison Wang
This patch adds I2C support for Vybrid VF610 platform and adds I2C0 support to VF610TWR board. Signed-off-by: Alison Wang b18...@freescale.com --- arch/arm/cpu/armv7/vf610/generic.c| 7 +++ arch/arm/include/asm/arch-vf610/clock.h | 1 +

[U-Boot] [PATCH 0/2] vf610: Add I2C support for Freescale Vybrid VF610 platform

2013-06-17 Thread Alison Wang
This series contain the I2C support for Freescale Vybrid VF610 platform and VF610TWR board. Alison Wang (2): vf610: Add I2C support for Vybrid VF610 platform I2C: mxc_i2c: Add support for Vybrid VF610 platform arch/arm/cpu/armv7/vf610/generic.c| 7 +++

Re: [U-Boot] U-boot: Erase/read/write issue with S25fl256S flash device

2013-06-17 Thread Jagan Teki
On Mon, Jun 17, 2013 at 1:11 PM, Sourav Poddar sourav.pod...@ti.com wrote: Hi Jagan, On Monday 17 June 2013 01:04 PM, Jagan Teki wrote: On Mon, Jun 17, 2013 at 12:49 PM, Sourav Poddarsourav.pod...@ti.com wrote: On Monday 17 June 2013 12:44 PM, Jagan Teki wrote: On Mon, Jun 17, 2013 at

Re: [U-Boot] U-boot: Erase/read/write issue with S25fl256S flash device

2013-06-17 Thread Sourav Poddar
On Monday 17 June 2013 02:09 PM, Jagan Teki wrote: On Mon, Jun 17, 2013 at 1:11 PM, Sourav Poddarsourav.pod...@ti.com wrote: Hi Jagan, On Monday 17 June 2013 01:04 PM, Jagan Teki wrote: On Mon, Jun 17, 2013 at 12:49 PM, Sourav Poddarsourav.pod...@ti.com wrote: On Monday 17 June 2013 12:44

[U-Boot] [PATCH v3 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-17 Thread Jim Lin
Add DT node for USB EHCI function. Add support for T30-Cardhu, T30-Beaver, T114-Dalmore boards. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: - Remove PLL parameters from dt file Changes in v3: - Change VBus GPIO from H.05 to DD.04 for Beaver board. I don't have Beaver board. So

[U-Boot] [PATCH v3 2/3] ARM: Tegra: USB: EHCI: Add support for Tegra30/Tegra114

2013-06-17 Thread Jim Lin
Tegra30 and Tegra114 are compatible except PLL parameters. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: - Move common definitions into arch-tegra/usb.h and chip specific definitions into

[U-Boot] [PATCH v3 3/3] Tegra: Config: Enable Tegra30/Tegra114 USB function

2013-06-17 Thread Jim Lin
Add USB EHCI, storage and network support. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: - Add support for Beaver board. Changes in v3: - None include/configs/beaver.h | 14 ++

[U-Boot] [RFC] Safe Linux Updater

2013-06-17 Thread Alexandre Dilly
Hi, One month ago, I sent a first request for comments about an open source automatic updater for embedded systems using U-boot: the goal of this project was to split a flash memory or hard disk drive in multiple partition (2 or more) and install a new kernel and/or root filesystem on an

Re: [U-Boot] U-boot: Erase/read/write issue with S25fl256S flash device

2013-06-17 Thread Jagan Teki
On Mon, Jun 17, 2013 at 2:15 PM, Sourav Poddar sourav.pod...@ti.com wrote: On Monday 17 June 2013 02:09 PM, Jagan Teki wrote: On Mon, Jun 17, 2013 at 1:11 PM, Sourav Poddarsourav.pod...@ti.com wrote: Hi Jagan, On Monday 17 June 2013 01:04 PM, Jagan Teki wrote: On Mon, Jun 17, 2013 at

Re: [U-Boot] U-boot: Erase/read/write issue with S25fl256S flash device

2013-06-17 Thread Sourav Poddar
On Monday 17 June 2013 03:28 PM, Jagan Teki wrote: On Mon, Jun 17, 2013 at 2:15 PM, Sourav Poddarsourav.pod...@ti.com wrote: On Monday 17 June 2013 02:09 PM, Jagan Teki wrote: On Mon, Jun 17, 2013 at 1:11 PM, Sourav Poddarsourav.pod...@ti.com wrote: Hi Jagan, On Monday 17 June 2013 01:04

Re: [U-Boot] [PATCH v2 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-17 Thread Thierry Reding
On Sun, Jun 16, 2013 at 10:48:45PM +0200, Marek Vasut wrote: Dear Thierry Reding, On Sat, Jun 15, 2013 at 11:28:25PM +0200, Marek Vasut wrote: Dear Thierry Reding, On Fri, Jun 14, 2013 at 06:41:40PM +0800, Jim Lin wrote: [...] diff --git

Re: [U-Boot] [PATCH v2 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-17 Thread Thierry Reding
On Sat, Jun 15, 2013 at 09:46:19PM +0200, Marek Vasut wrote: Dear Jim Lin, Add DT node for USB EHCI function. Add support for T30-Cardhu, T30-Beaver, T114-Dalmore boards. I'd like to get ACK from someone with the actual hardware. btw. How usable is the cardhu with current U-Boot ?

Re: [U-Boot] [PATCH] spi: Use DIV_ROUND_UP at appropriate places

2013-06-17 Thread Stefano Babic
On 14/06/2013 15:18, Jagan Teki wrote: This does not scale. What if a (trivial) patch touches 10 drivers? Yes, you are correct if the changes is common to across the all drivers or If the changes which are more in 10 spi drivers out of 20 or 10 for your example - use spi: and I think it's

Re: [U-Boot] [PATCH v3 2/3] ARM: Tegra: USB: EHCI: Add support for Tegra30/Tegra114

2013-06-17 Thread Thierry Reding
On Mon, Jun 17, 2013 at 05:09:56PM +0800, Jim Lin wrote: [...] diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c index 8d7a227..f0f81c9 100644 --- a/board/nvidia/common/board.c +++ b/board/nvidia/common/board.c @@ -46,7 +46,7 @@ #include asm/arch/emc.h #endif #ifdef

Re: [U-Boot] [PATCH] ARM: mxs: Make the console buffer smaller

2013-06-17 Thread Stefano Babic
Hi Marek, On 15/06/2013 23:41, Marek Vasut wrote: Using 1024 bytes for console buffer is unnecessarily too much, lower the amount for all MXS boards to 256. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Lauri Hintsala lauri.hints...@bluegiga.com

[U-Boot] [PATCH v2 2/5] ARM: at91: sama5d3: remove unused definition about PMECC alpha table offset

2013-06-17 Thread Josh Wu
Signed-off-by: Josh Wu josh...@atmel.com --- arch/arm/include/asm/arch-at91/sama5d3.h |2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/include/asm/arch-at91/sama5d3.h b/arch/arm/include/asm/arch-at91/sama5d3.h index 883b932..aff12a6 100644 ---

[U-Boot] [PATCH v2 3/5] linux/compat.h: move dev_err, dev_info and dev_dbg from usb driver to compat.h

2013-06-17 Thread Josh Wu
Since kernel code current use many dev_xxx() instead of using printk. To compatible, move those dev_xxx from usb driver to linux/compat.h. Then all driver code can use dev_err, dev_info and dev_vdbg. This patch also removed duplicated macro definitions in usb driver. Signed-off-by: Josh Wu

[U-Boot] [PATCH v2 1/5] ARM: at91: atmel_nand: pmecc driver will select the galois table by sector size

2013-06-17 Thread Josh Wu
Define the galois index table offset in chip head file. So user do not need to set by himself. Driver will set it correctly according to sector_size. Signed-off-by: Josh Wu josh...@atmel.com --- arch/arm/include/asm/arch-at91/at91sam9x5.h |6 ++ doc/README.atmel_pmecc

[U-Boot] [PATCH v2 0/5] ARM: at91: atmel_nand: check ONFI ecc minimum requirement

2013-06-17 Thread Josh Wu
In this patch series, first we make the nand driver can dynamic change sector size and ecc correct bits. Then we enable ONFI ecc parameters check. v1 -- v2: Fixes according to Scoot Wood's suggestion - add a new patch which make all driver can use dev_err, dev_info, dev_dbg. - replace all

[U-Boot] [PATCH v2 4/5] mtd: atmel_nand: alloc memory instead of use static array for pmecc data

2013-06-17 Thread Josh Wu
In this way, the pmecc corraction capbility can change in run time. Signed-off-by: Josh Wu josh...@atmel.com --- v1 -- v2: replace printk with dev_err. fix coding style. free memory before return ENOMEM. drivers/mtd/nand/atmel_nand.c | 63 - 1

[U-Boot] [PATCH v2 5/5] ARM: at91: atmel_nand: add code to check the ONFI parameter ECC requirement

2013-06-17 Thread Josh Wu
1. if CONFIG_SYS_NAND_ONFI_DETECTION is defined, driver will check NAND flash's ecc minimum requirement in ONFI parameter. a) if CONFIG_PMECC_CAP, CONFIG_PMECC_SECTOR_SIZE are defined. then use it. Driver will display a WARNING if the values are different from ONFI parameters.

Re: [U-Boot] [PATCH 3/3] arm: omap3: Add SPL support to cm_t35

2013-06-17 Thread Igor Grinberg
Hi Stefan, On 06/14/13 11:55, Stefan Roese wrote: Add SPL U-Boot support to replace x-loader on the Compulab cm_t35 board. Currently only the 256MiB SDRAM board versions are supported. Tested by booting via MMC and NAND. Signed-off-by: Stefan Roese s...@denx.de Cc: Tom Rini tr...@ti.com

[U-Boot] [PATCH] board/bsc913x: Add config flag for bootdelay

2013-06-17 Thread Harninder Rai
Keep the value of CONFIG_BOOTDELAY as -1 to disable autoboot Signed-off-by: Harninder Rai harninder@freescale.com --- include/configs/BSC9131RDB.h |1 + include/configs/BSC9132QDS.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/BSC9131RDB.h

[U-Boot] [PATCH v5 00/14] arm: add Faraday A36x SoC platform support

2013-06-17 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com These patches introduce Faraday A36x SoC platform support. Here are some public documents for your reference. http://www.faraday-tech.com/html/documentation/index.html There is also a A369 QEMU emulator available at my github account:

[U-Boot] [PATCH v5 03/14] net: add Faraday FTMAC110 10/100Mbps ethernet support

2013-06-17 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Faraday FTMAC110 10/100Mbps supports half-word data transfer for Linux. However it has a weird DMA alignment issue: (1) Tx DMA Buffer Address: 1 bytes aligned: Invalid 2 bytes aligned: O.K 4 bytes aligned: O.K (2) Rx DMA Buffer Address:

[U-Boot] [PATCH v5 01/14] arm: dma_alloc_coherent: malloc() - memalign()

2013-06-17 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Even though the MMU/D-cache is off, some DMA engines still expect strict address alignment. For example, the incoming Faraday FTMAC110 FTGMAC100 ethernet controllers expect the tx/rx descriptors should always be aligned to 16-bytes boundary.

[U-Boot] [PATCH v5 02/14] net: ftgmac100: add MMU/D-cache support

2013-06-17 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com 1. Dynamically allocate the tx/rx descriptors through dma_alloc_coherent(), instead of allocating at compile/link time. 2. Do not block on ftgmac100_send(), the packet has been copied to a safe buffer. Although it's a little bit slower, but

[U-Boot] [PATCH v5 07/14] arm: add MMU/D-Cache support for Faraday cores

2013-06-17 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com This updates the map_physmem()/unmap_physmem(), and use them to implement dma_alloc_coherent() dma_free_coherent(). It uses 1MB section for each mapping, and thus wastes lots of address space, however this should still be good enough for tiny systems

[U-Boot] [PATCH v5 05/14] nand: add Faraday FTNANDC021 NAND controller support

2013-06-17 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Faraday FTNANDC021 is a integrated NAND flash controller. It use a build-in command table to abstract the underlying NAND flash control logic. For example: Issuing a command 0x10 to FTNANDC021 would result in a page write + a read status operation.

[U-Boot] [PATCH v5 06/14] cfi_flash: use buffer length in unmap_physmem()

2013-06-17 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com While the flash_detect_legacy() of drivers/mtd/cfi_flash.c feed unmap_physmem() with MAP_NOCACHE as 2nd parameter, the do_spi_flash_read_write() of common/cmd_sf.c feed unmap_physmem() with the length of the mapped buffer as 2nd parameter. It's

[U-Boot] [PATCH v5 08/14] arm: add Faraday processor core support

2013-06-17 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com This adds i/d-cache control, mmu setup bootstrap code for Faraday cores. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com CC: Albert Aribaud albert.u.b...@aribaud.net --- Changes for v5: - Initial commit which is separated from arm: add

[U-Boot] [PATCH v5 09/14] arm: add Faraday FTINTC020 interrupt controller support

2013-06-17 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com CC: Albert Aribaud albert.u.b...@aribaud.net --- Changes for v5: - Coding Style cleanup. - Now the irq is always enabled inside irq_install_handler(). Changes for v4: - Coding Style cleanup.

[U-Boot] [PATCH v5 04/14] video: add Faraday FTLCDC200 LCD controller support

2013-06-17 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Faraday FTLCDC200 Color LCD controller performs translation of pixel-coded data into the required formats and timings to drive a variety of single/dual mono and color LCDs. Depending on the LCD type and mode, the unpacked data can represent: 1. an

[U-Boot] [PATCH v5 12/14] arm: add Faraday specific boot command

2013-06-17 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com At the time of writting, none of Faraday NAND SPI controllers supports XIP (eXecute In Place). So the Faraday A360/A369 SoC has to implement a 1st level bootstrap code stored in the embedded ROM inside the SoC. After power-on, the ROM code (1st level

[U-Boot] [PATCH v5 10/14] arm: add Faraday FTTMR010 timer support

2013-06-17 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com CC: Albert Aribaud albert.u.b...@aribaud.net --- Changes for v5: - Drop IRQ dependant implementation - Use gd-arch.timer_rate_hz for timer clock source - Use gd-arch.tbl for timestamp Changes

[U-Boot] [PATCH v5 13/14] mmc: ftsdc010_mci: clk_get_rate() - clock_get_rate()

2013-06-17 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com This updates ftsdc010_mci.c for latest Faraday clock APIs. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com CC: Albert Aribaud albert.u.b...@aribaud.net CC: Andy Fleming aflem...@gmail.com --- Changes for v5: - Initial commit

[U-Boot] [PATCH v5 11/14] arm: add Faraday FTPWMTMR010 timer support

2013-06-17 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com CC: Albert Aribaud albert.u.b...@aribaud.net --- Changes for v5: - Drop IRQ dependant implementation - Use gd-arch.timer_rate_hz for timer clock source - Use gd-arch.tbl for timestamp Changes

Re: [U-Boot] [RFC] Safe Linux Updater

2013-06-17 Thread Wolfgang Denk
Dear Alexandre In message 130325823.452426.1371459938406.javamail.r...@openwide.fr you wrote: One month ago, I sent a first request for comments about an open source automatic updater for embedded systems using U-boot: the goal of this project was to split a flash memory or hard disk drive

Re: [U-Boot] [PATCH 3/3] arm: omap3: Add SPL support to cm_t35

2013-06-17 Thread Tom Rini
On Mon, Jun 17, 2013 at 02:53:27PM +0300, Igor Grinberg wrote: Hi Stefan, On 06/14/13 11:55, Stefan Roese wrote: Add SPL U-Boot support to replace x-loader on the Compulab cm_t35 board. Currently only the 256MiB SDRAM board versions are supported. Tested by booting via MMC and NAND.

Re: [U-Boot] [PATCH] ARM: mxs: Make the console buffer smaller

2013-06-17 Thread Marek Vasut
Hello Stefano, I'm CCing Wolfgang, Hi Marek, On 15/06/2013 23:41, Marek Vasut wrote: Using 1024 bytes for console buffer is unnecessarily too much, lower the amount for all MXS boards to 256. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com

Re: [U-Boot] [PATCH] ARM: mxs: Make the console buffer smaller

2013-06-17 Thread Stefano Babic
Hallo Marek, On 17/06/2013 14:51, Marek Vasut wrote: I am missing something: which is the real advantage to reduce the console buffer ? I do not think that the saved memory is worth, and on the other side more elaborated scripts (usings nested if-then-else) are quite long nowadays. True,

Re: [U-Boot] [PATCH] ARM: mxs: Make the console buffer smaller

2013-06-17 Thread Otavio Salvador
On Mon, Jun 17, 2013 at 10:07 AM, Stefano Babic sba...@denx.de wrote: Hallo Marek, On 17/06/2013 14:51, Marek Vasut wrote: I am missing something: which is the real advantage to reduce the console buffer ? I do not think that the saved memory is worth, and on the other side more elaborated

Re: [U-Boot] [RFC] Safe Linux Updater

2013-06-17 Thread Mats Kärrman
Dear Wolfgang, I havn't seen the scripts of Alexandre but it sounds something like what we have already implemented. Wolfgang Denk wrote: Please note that this is a feature standardized for example in the Open Source Development Labs Carrier Grade Linux Requirements Definition, which

Re: [U-Boot] [PATCH 3/3] arm: omap3: Add SPL support to cm_t35

2013-06-17 Thread Igor Grinberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/17/13 15:38, Tom Rini wrote: On Mon, Jun 17, 2013 at 02:53:27PM +0300, Igor Grinberg wrote: Hi Stefan, On 06/14/13 11:55, Stefan Roese wrote: Add SPL U-Boot support to replace x-loader on the Compulab cm_t35 board. Currently only the

Re: [U-Boot] [PATCH 3/3] arm: omap3: Add SPL support to cm_t35

2013-06-17 Thread Stefan Roese
On 17.06.2013 15:38, Igor Grinberg wrote: +/* + * 1MB into the SDRAM to allow for SPL's bss at the beginning of SDRAM + * 64 bytes before this address should be set aside for u-boot.img's + * header. That is 0x800FFFC0--0x8010 should not be used for any + * other needs. + */ +#define

Re: [U-Boot] [RFC] Safe Linux Updater

2013-06-17 Thread Stefano Babic
Hi Mats, On 17/06/2013 15:25, Mats Kärrman wrote: Dear Wolfgang, I havn't seen the scripts of Alexandre but it sounds something like what we have already implemented. Wolfgang Denk wrote: Please note that this is a feature standardized for example in the Open Source Development Labs

[U-Boot] [PATCH v2 3/3] arm: omap3: Add SPL support to cm_t35

2013-06-17 Thread Stefan Roese
Add SPL U-Boot support to replace x-loader on the Compulab cm_t35 board. Currently only the 256MiB SDRAM board versions are supported. Tested by booting via MMC and NAND. Signed-off-by: Stefan Roese s...@denx.de Cc: Tom Rini tr...@ti.com Cc: Igor Grinberg grinb...@compulab.co.il --- v2: - Change

Re: [U-Boot] [PATCH] image: Use ENOENT instead of ENOMEDIUM for better compatibility

2013-06-17 Thread Tom Rini
On Sun, Jun 16, 2013 at 07:46:49AM -0700, Simon Glass wrote: This error may not be defined on some platforms such as MacOS so host compilation will fail. Use one of the more common errors instead. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [RFC] Safe Linux Updater

2013-06-17 Thread Wolfgang Denk
Dear Mats, In message ed3e0bcacd909541ba94a34c4a164d4c4fc91...@post.tritech.se you wrote: I havn't seen the scripts of Alexandre but it sounds something like what we have already implemented. I haven'ty seen the scripts either, but this is something that has been implemented many times

Re: [U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR.

2013-06-17 Thread Mark Jackson
On 13/05/13 19:28, Tom Rini wrote: From: Steve Kipisz s-kipi...@ti.com NOR requires that s_init be within the first 4KiB of the image so that we can perform the rest of the required pinmuxing to talk with the rest of NOR that we are found on. When NOR_BOOT is set we save our environment in

[U-Boot] [PATCH v4 0/8] Provide a mechanism to avoid using #ifdef everywhere

2013-06-17 Thread Simon Glass
Many parts of the U-Boot code base are sprinkled with #ifdefs. This makes different boards compile different versions of the source code, meaning that we must build all boards to check for failures. It is easy to misspell an #ifdef and there is not as much checking of this by the compiler.

[U-Boot] [PATCH v4 7/8] main: Use autoconf in command line reading

2013-06-17 Thread Simon Glass
Remove #ifdefs in favour of autoconf for this code. This involves removing a few unnecessary #ifdefs in headers also. We have two versions of the code - one that handles command line editing and one that is just a simple implementation. Create a new function called readline_into_buffer() which

[U-Boot] [PATCH v4 3/8] main: Remove CONFIG #ifdefs from the abortboot() code

2013-06-17 Thread Simon Glass
Move this code over to using autoconf. We can add the autoconf values to the delaykey[] array, and move the code that checks for autoconf values into the loop. Also change to using ARRAY_SIZE on delaykey[]. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Joe Hershberger

[U-Boot] [PATCH v4 5/8] main: Use autoconf for boot_delay code

2013-06-17 Thread Simon Glass
Convert this function and its children to use autoconf instead of #ifdef. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Rebase on current master Changes in v3: - Simplify code for finding out bootdelay from config or environment Changes in v2: None common/main.c | 74

[U-Boot] [PATCH v4 6/8] main: Use autoconf for parser selection

2013-06-17 Thread Simon Glass
Allow parser selection to make use of autoconf instead of #ifdefs. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Rebase on current master Changes in v3: None Changes in v2: None common/main.c | 87 +++--- include/hush.h |

[U-Boot] [PATCH v4 2/8] main: Use autoconf for boot retry feature

2013-06-17 Thread Simon Glass
Change this feature to use autoconf instead of #ifdef. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: - Rebase on current master - Tidy up code style nits with new checkpatch Changes in v3: - Fix missing in if() statement -

[U-Boot] [PATCH v4 8/8] main: Use autoconf in main_loop()

2013-06-17 Thread Simon Glass
Convert main_loop() over to use autoconf, and add a required prototype to common.h. The do_mdm_init variable is now always defined, but this seems like an acceptable compromise. In fdt_support.h the #ifdef used is CONFIG_OF_LIBFDT. However, even if this is not defined we want to make the

Re: [U-Boot] [PATCH] checkpatch.pl: Do not hardcode perl path

2013-06-17 Thread Joel A Fernandes
On Mon, Jun 17, 2013 at 1:38 AM, Andreas Bießmann andreas.de...@googlemail.com wrote: Dear Joel A Fernandes, On 16.06.13 17:44, Joel A Fernandes wrote: On Sunday, June 16, 2013, Jagannadha Sutradharudu Teki wrote: From: Jagannadha Sutradharudu Teki jagannadh.t...@gmail.comjavascript:;

[U-Boot] [PATCH v4 1/8] Implement autoconf header file

2013-06-17 Thread Simon Glass
Add support for generating an autoconf.h header file that can be used in the source instead of #ifdef. For example, instead of: #ifdef CONFIG_VERSION_VARIABLE setenv(ver, version_string); /* set version variable */ #endif you can do: if (autoconf_version_variable())

Re: [U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR.

2013-06-17 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/17/2013 10:43 AM, Mark Jackson wrote: On 13/05/13 19:28, Tom Rini wrote: From: Steve Kipisz s-kipi...@ti.com NOR requires that s_init be within the first 4KiB of the image so that we can perform the rest of the required pinmuxing to talk

[U-Boot] [PATCH v4 4/8] main: Use autoconf to remove #ifdefs around process_boot_delay()

2013-06-17 Thread Simon Glass
Use autoconf to make process_boot_delay() be compiled always, and adjust the caller and related functions as needed. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Split out new patch to remove #ifdefs around process_boot_delay() Changes in v3: None Changes in v2: None

Re: [U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR.

2013-06-17 Thread Mark Jackson
On 17/06/13 15:49, Tom Rini wrote: snip Did you copy the parts that setup the pinmuxing in s_init for NOR? This bit ? #ifdef CONFIG_NOR_BOOT asm(stmfd sp!, {r2 - r4}); asm(movw r4, #0x8A4); asm(movw r3, #0x44E1); asm(orrr4, r4, r3, lsl

Re: [U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR.

2013-06-17 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/17/2013 10:59 AM, Mark Jackson wrote: On 17/06/13 15:49, Tom Rini wrote: snip Did you copy the parts that setup the pinmuxing in s_init for NOR? This bit ? #ifdef CONFIG_NOR_BOOT asm(stmfd sp!, {r2 - r4}); asm(movw r4,

[U-Boot] [PATCH] am33xx: fix the ddr_cmdtctrl structure

2013-06-17 Thread Ilya Ledvich
Fix the wrong mapping between the DDR I/O control registers on AM33XX SoCs and the software representation in the SPL code. The most recent public TRM defines the following DDR I/O control registers offsets: * ddr_cmd0_ioctrl : offset 0x44E11404 * ddr_cmd1_ioctrl : offset 0x44E11408 *

Re: [U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR.

2013-06-17 Thread Mark Jackson
On 17/06/13 16:01, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/17/2013 10:59 AM, Mark Jackson wrote: On 17/06/13 15:49, Tom Rini wrote: snip Did you copy the parts that setup the pinmuxing in s_init for NOR? This bit ? #ifdef CONFIG_NOR_BOOT asm(stmfd

Re: [U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR.

2013-06-17 Thread Mark Jackson
On 17/06/13 15:59, Mark Jackson wrote: On 17/06/13 15:49, Tom Rini wrote: snip Did you copy the parts that setup the pinmuxing in s_init for NOR? This bit ? #ifdef CONFIG_NOR_BOOT asm(stmfd sp!, {r2 - r4}); asm(movw r4, #0x8A4); asm(movw r3,

Re: [U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR.

2013-06-17 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/17/2013 11:23 AM, Mark Jackson wrote: On 17/06/13 15:59, Mark Jackson wrote: On 17/06/13 15:49, Tom Rini wrote: snip Did you copy the parts that setup the pinmuxing in s_init for NOR? This bit ? #ifdef CONFIG_NOR_BOOT asm(stmfd

Re: [U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR.

2013-06-17 Thread Stefan Roese
Hi Mark, On 17.06.2013 17:23, Mark Jackson wrote: On 17/06/13 15:59, Mark Jackson wrote: On 17/06/13 15:49, Tom Rini wrote: snip Did you copy the parts that setup the pinmuxing in s_init for NOR? This bit ? #ifdef CONFIG_NOR_BOOT asm(stmfd sp!, {r2 - r4}); asm(movw

Re: [U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR.

2013-06-17 Thread Mark Jackson
On 17/06/13 17:01, Stefan Roese wrote: Hi Mark, On 17.06.2013 17:23, Mark Jackson wrote: snip One question ... the SPL code has:- ... gd = gdata; ... But there seems to be no similar assignment when in NOR boot mode. I'm no expert in the internal workings of u-boot, so

Re: [U-Boot] [PATCH v3 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-17 Thread Stephen Warren
On 06/17/2013 03:09 AM, Jim Lin wrote: Add DT node for USB EHCI function. Add support for T30-Cardhu, T30-Beaver, T114-Dalmore boards. This patch shouldn't touch both DT files and code at the same time. The code changes should be part of the patch to the USB driver. diff --git

Re: [U-Boot] [PATCH v3 2/3] ARM: Tegra: USB: EHCI: Add support for Tegra30/Tegra114

2013-06-17 Thread Stephen Warren
On 06/17/2013 03:09 AM, Jim Lin wrote: Tegra30 and Tegra114 are compatible except PLL parameters. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c +static u32 port_clear_csc; /* Port that

Re: [U-Boot] [PATCH v3 3/3] Tegra: Config: Enable Tegra30/Tegra114 USB function

2013-06-17 Thread Stephen Warren
On 06/17/2013 03:09 AM, Jim Lin wrote: Add USB EHCI, storage and network support. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. diff --git a/include/configs/beaver.h b/include/configs/beaver.h +/* USB Host support */ I notice that some Tegra20 boards include

Re: [U-Boot] [PATCH 1/2] video: lcd: Add CONFIG_SPLASH_SCREEN_PREPARE support to CONFIG_VIDEO

2013-06-17 Thread Robert Winkler
Hi Igor, On Sun, Jun 16, 2013 at 10:34 PM, Igor Grinberg grinb...@compulab.co.il wrote: Hi Robert, On 06/14/13 20:00, Robert Winkler wrote: Create splash.c/h to put the function and any future common splash screen code in. Signed-off-by: Robert Winkler robert.wink...@boundarydevices.com

Re: [U-Boot] [SPI-TEST]: Request for test u-boot-spi/master-work

2013-06-17 Thread Willis, Max
Hi Gary - Please check Jagan's latest patches on your HW. --Max -Original Message- From: Jagan Teki [mailto:jagannadh.t...@gmail.com] Sent: Saturday, June 15, 2013 11:49 AM To: U-Boot Mailing List Cc: Tom Rini; Michal Simek; Simon Glass; Rajeshwari Shinde; Syed Hussain; Willis, Max;

Re: [U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR.

2013-06-17 Thread Kipisz, Steven
-Original Message- From: Mark Jackson [mailto:mpfj-l...@newflow.co.uk] Sent: Monday, June 17, 2013 11:10 AM To: Stefan Roese Cc: Rini, Tom; Kipisz, Steven; u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR. On 17/06/13 17:01,

[U-Boot] [PATCH] mtd: nand/docg4: fix driver after Linux resync

2013-06-17 Thread Mike Dunn
Commit dfe64e2c89731a3f9950d7acd8681b68df2bae03: mtd: resync with Linux-3.7.1 broke the docg4 driver. Specifically: - some of the prototypes of the ecc methods changed - the NAND_NO_AUTOINCR flag was removed - the ecc.strength element was added. This patch fixes these. Tested on the

[U-Boot] [PATCH] pxa: turn icache off in cpu_init_crit()

2013-06-17 Thread Mike Dunn
The comment in the low-level initialization function cpu_init_crit() says that the caches are being disabled, but (oddly) the icache is actually turned on. This is probably not a good idea prior to relocating code, so this patch turns it off. Tested on the pxa270. Signed-off-by: Mike Dunn

[U-Boot] [PATCH] arm: fix memory coherency problem after relocation

2013-06-17 Thread Mike Dunn
On the xscale, the icache must be invalidated and the write buffers drained after writing code over the data bus, even if the caches are disabled. After rebasing with the main git repository, u-boot began crashing in odd places on my pxa270 board (palmtreo680) after the code relocation routine

[U-Boot] [PATCH 2/3] video: lcd: Make splash_screen_prepare weak, remove config macro

2013-06-17 Thread Robert Winkler
Remove CONFIG_SPLASH_SCREEN_PREPARE from README Add doc/README.splashprepare to document functionality Signed-off-by: Robert Winkler robert.wink...@boundarydevices.com --- README | 8 common/splash.c | 13 - doc/README.splashprepare | 8

[U-Boot] [PATCH 0/3 v2] video: lcd: splash screen prepare changes

2013-06-17 Thread Robert Winkler
The first 2 patches are the result of discussion in these threads: http://lists.denx.de/pipermail/u-boot/2013-May/155463.html http://lists.denx.de/pipermail/u-boot/2013-June/155630.html http://lists.denx.de/pipermail/u-boot/2013-June/155632.html The upshot is, move splash_screen_prepare to a

[U-Boot] [PATCH 1/3 v2] video: lcd: Add CONFIG_SPLASH_SCREEN_PREPARE support to CONFIG_VIDEO

2013-06-17 Thread Robert Winkler
Create splash.c/h to put the function and any future common splash screen code in. Signed-off-by: Robert Winkler robert.wink...@boundarydevices.com --- v2 changes: remove superfluous comments remove debug printf that slipped in remove address from GPL comments common/Makefile | 1 +

Re: [U-Boot] [PATCH v5 13/14] mmc: ftsdc010_mci: clk_get_rate() - clock_get_rate()

2013-06-17 Thread Andy Fleming
On Mon, Jun 17, 2013 at 7:07 AM, Kuo-Jung Su dant...@gmail.com wrote: From: Kuo-Jung Su dant...@faraday-tech.com This updates ftsdc010_mci.c for latest Faraday clock APIs. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com CC: Albert Aribaud albert.u.b...@aribaud.net CC: Andy Fleming

  1   2   >