Re: [U-Boot] [U-Boot, v4] spi: add Faraday FTSPI010 SPI controller support

2013-06-13 Thread Kuo-Jung Su
2013/6/13 Jagan Teki : > Hi, > > Few comments, please get back your inputs. > > Use commit header as "spi: ftssp010_spi: " > Got it, thanks > > On 07-05-2013 12:04, Kuo-Jung Su wrote: >> >> From: Kuo-Jung Su >> >> The Faraday FTSSP010 is a multi-function controller >> which supports I2S/SPI/SSP/

Re: [U-Boot] [PATCH] arm, am33xx: move s_init to a common place

2013-06-13 Thread Heiko Schocher
Hello Tom, Am 13.06.2013 17:53, schrieb Tom Rini: > On Thu, Jun 13, 2013 at 05:53:17AM +0200, Heiko Schocher wrote: > >> move s_init from every board code to a common place. >> >> Signed-off-by: Heiko Schocher >> Cc: Tom Rini >> Cc: Matt Porter >> Cc: Lars Poeschel >> Cc: Tom Rini >> Cc: Enr

Re: [U-Boot] [PATCH v4 1/7] arm: add MMU/D-Cache support for Faraday cores

2013-06-13 Thread Kuo-Jung Su
2013/6/11 Albert ARIBAUD : > Hi Kuo-Jung, > > On Tue, 11 Jun 2013 11:09:57 +0800, Kuo-Jung Su > wrote: > >> 2013/6/11 Albert ARIBAUD : >> > Hi Kuo-Jung, >> > >> > On Tue, 7 May 2013 14:25:07 +0800, Kuo-Jung Su >> > wrote: >> > >> >> diff --git a/arch/arm/include/asm/dma-mapping.h >> >> b/arch/a

Re: [U-Boot] mmc write bug fix

2013-06-13 Thread Andy Fleming
On Wed, May 22, 2013 at 01:19:43PM +0200, Ruud Commandeur wrote: > This patch fixes a bug related to mmc writes. > > When doing fatwrites on an SD-Card, MMC bus problems can occur. Depending > on the size of the file, "MMC0: Bus busy timeout!" is reported, resulting > in an SD-Card that is no long

Re: [U-Boot] [U-Boot, U-BOOT] mmc: sdhci: Enable 8-bit bus width only for 3.0 spec onwards

2013-06-13 Thread Andy Fleming
On Tue, May 21, 2013 at 03:01:36PM +0530, Jagannadha Sutradharudu Teki wrote: > CAP register don't have any information for 8-bit buswidth support > on 2.0 sdhci spec, only from 3.0 onwards bit[18] got this information. > > Due to this misassignment in sdhci, mmc is setting 8-bit buswidth using >

Re: [U-Boot] [U-Boot,V2] MMC: DWMMC: Fix FIFO_DEPTH calculation

2013-06-13 Thread Andy Fleming
On Fri, May 24, 2013 at 06:15:34PM +0530, Rajeshwari Shinde wrote: > Current DWMMC driver used to give FIFO underrun/overrun error every 3rd time > for mmc rescan command. > In current code FIFO_DEPTH is getting calculated after reading the default > FIFOTH > register and extracting the RX_WMARK b

Re: [U-Boot] [U-Boot, v2] mmc: fix env in mmc with redundant compile error

2013-06-13 Thread Andy Fleming
On Wed, May 15, 2013 at 09:38:16AM +0800, Bo Shen wrote: > The commit d196bd8 (env_mmc: add support for redundant environment) > introduce the following compile error when enable redundant > environment support with MMC > ---8<--- > env_mmc.c:149: error: 'env_t' has no member named 'flags' > env_mm

Re: [U-Boot] mmc: fsl_esdhc: Fix hang after 'save' command

2013-06-13 Thread Andy Fleming
On Tue, May 28, 2013 at 03:09:42PM -0300, Fabio Estevam wrote: > Since commit 48e0b2bd (powerpc/esdhc: Correct judgement for DATA PIO mode) > we see mx6 systems to hang after doing a 'save' command. > > Revert this commit since the original 'ifdef' logic from 7b43db92 > (drivers/mmc/fsl_esdhc.c:

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

2013-06-13 Thread krishna dwivedi
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 : { PROVIDE(_GOT2_TABLE_ = .); KEEP(*(.got2)) KEEP(*(.got)) PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4); _FIXUP_TABLE_ = .;

Re: [U-Boot] crash in usb_stor_get_info using pre-relocation address for ss->transport

2013-06-13 Thread Chris Packham
On Fri, Jun 14, 2013 at 10:48 AM, Chris Packham wrote: > On Thu, Jun 13, 2013 at 11:24 PM, Albert ARIBAUD > wrote: >> Hi Chris, >> >> On Thu, 13 Jun 2013 22:19:54 +1200, Chris Packham >> wrote: >> >>> Hi Albert, >>> >>> On 13/06/13 17:43, Albert ARIBAUD wrote: >>> > Hi Chris, >>> > >>> > On Thu,

[U-Boot] [PATCH] lcd: remove unaligned access in lcd_dt_simplefb_configure_node()

2013-06-13 Thread Stephen Warren
From: Stephen Warren Some ARM compilers may emit code that makes unaligned accesses when faced with constructs such as: const char format[] = "r5g6b5"; Make this data static since it doesn't chagne; the compiler will simply place it into the .rodata section directly, and avoid any unaligned run

Re: [U-Boot] crash in usb_stor_get_info using pre-relocation address for ss->transport

2013-06-13 Thread Chris Packham
On Thu, Jun 13, 2013 at 11:24 PM, Albert ARIBAUD wrote: > Hi Chris, > > On Thu, 13 Jun 2013 22:19:54 +1200, Chris Packham > wrote: > >> Hi Albert, >> >> On 13/06/13 17:43, Albert ARIBAUD wrote: >> > Hi Chris, >> > >> > On Thu, 13 Jun 2013 13:16:17 +1200, Chris Packham >> > wrote: >> > >> >> On T

Re: [U-Boot] [PATCH v3 12/12] Add verified boot information and test

2013-06-13 Thread Simon Glass
Hi Tom, On Thu, Jun 13, 2013 at 3:10 PM, Simon Glass wrote: > Add a description of how to implement verified boot using signed FIT > images, > and a simple test which verifies operation on sandbox. > > The test signs a FIT image and verifies it, then signs a FIT configuration > and verifies it.

Re: [U-Boot] [PATCH v3 17/17] sf: Add Flag status register polling support

2013-06-13 Thread Willis, Max
Hi Jagan, Simon - Adding Bacem and Gernot from Spansion. Would you be able to add them to the other open threads as well? --Max - Max Willis, PhD Division Marketing Manager Software Marketing Spansion Inc. --

Re: [U-Boot] UbiFS recovery

2013-06-13 Thread Henrik Bork Steffensen
On 13/06/13 07:37, Karsten Jeppesen wrote: I have a (to me) serious problem. When U-Boot encounters a UbiFS system that needs cleaning, then it is not always capable of it despite the kernel (I understand it's the same code) having no problems cleaning the filesystem. I think I have traced it

[U-Boot] [PATCH v3 0/12] Verified boot implementation based on FIT

2013-06-13 Thread Simon Glass
This series implemented a verified boot system based around FIT images as discussed on the U-Boot mailing list, including on this thread: http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/147830 RSA is used to implement the encryption. Images are signed by mkimage using private keys creat

[U-Boot] [PATCH v3 07/12] mkimage: Add -c option to specify a comment for key signing

2013-06-13 Thread Simon Glass
When signing an image, it is useful to add some details about which tool or person is authorising the signing. Add a comment field which can take care of miscellaneous requirements. Signed-off-by: Simon Glass Reviewed-by: Marek Vasut --- Changes in v3: None Changes in v2: - Adjust mkimage help t

[U-Boot] [PATCH v3 12/12] Add verified boot information and test

2013-06-13 Thread Simon Glass
Add a description of how to implement verified boot using signed FIT images, and a simple test which verifies operation on sandbox. The test signs a FIT image and verifies it, then signs a FIT configuration and verifies it. Then it corrupts the signature to check that this is detected. Signed-off

[U-Boot] [PATCH v3 06/12] mkimage: Add -F option to modify an existing .fit file

2013-06-13 Thread Simon Glass
When signing images it is sometimes necessary to sign with different keys at different times, or make the signer entirely separate from the FIT creation to avoid needing the private keys to be publicly available in the system. Add a -F option so that key signing can be a separate step, and possibl

[U-Boot] [PATCH v3 03/12] image: Add RSA support for image signing

2013-06-13 Thread Simon Glass
RSA provides a public key encryption facility which is ideal for image signing and verification. Images are signed using a private key by mkimage. Then at run-time, the images are verified using a private key. This implementation uses openssl for the host part (mkimage). To avoid bringing large l

[U-Boot] [PATCH v3 10/12] image: Add support for signing of FIT configurations

2013-06-13 Thread Simon Glass
While signing images is useful, it does not provide complete protection against several types of attack. For example, it it possible to create a FIT with the same signed images, but with the configuration changed such that a different one is selected (mix and match attack). It is also possible to s

[U-Boot] [PATCH v3 05/12] mkimage: Add -K to write public keys to an FDT blob

2013-06-13 Thread Simon Glass
FIT image verification requires public keys. Add a convenient option to mkimage to write the public keys to an FDT blob when it uses then for signing an image. This allows us to use: mkimage -f test.its -K dest.dtb -k keys test.fit and have the signatures written to test.fit and the correspond

[U-Boot] [PATCH v3 09/12] libfdt: Add fdt_find_regions()

2013-06-13 Thread Simon Glass
Add a function to find regions in device tree given a list of nodes to include and properties to exclude. See the header file for full documentation. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Fix checkpatch checks about parenthesis alignment include/libfdt.h | 64

[U-Boot] [PATCH v3 01/12] image: Add signing infrastructure

2013-06-13 Thread Simon Glass
Add a structure to describe an algorithm which can sign and (later) verify images. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Adjust how signing enable works in image.h - Rebase on previous patches - Tweak tools/Makefile to make image signing optional - Update README to f

[U-Boot] [PATCH v3 02/12] image: Support signing of images

2013-06-13 Thread Simon Glass
Add support for signing images using a new signature node. The process is handled by fdt_add_verification_data() which now takes parameters to provide the keys and related information. Signed-off-by: Simon Glass --- Changes in v3: - Use new fdt_first/next_subnode() Changes in v2: - Adjust how si

[U-Boot] [PATCH v3 08/12] mkimage: Add -r option to specify keys that must be verified

2013-06-13 Thread Simon Glass
Normally, multiple public keys can be provided and U-Boot is not required to use all of them for verification. This is because some images may not be signed, or may be optionally signed. But we still need a mechanism to determine when a key must be used. This feature cannot be implemented in the F

[U-Boot] [PATCH v3 11/12] sandbox: config: Enable FIT signatures with RSA

2013-06-13 Thread Simon Glass
We want to sign and verify images using sandbox, so enable these options. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None include/configs/sandbox.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index d704329..9

[U-Boot] [PATCH v3 04/12] mkimage: Add -k option to specify key directory

2013-06-13 Thread Simon Glass
Keys required for signing images will be in a specific directory. Add a -k option to specify that directory. Also update the mkimage man page with this information and a clearer list of available commands. Signed-off-by: Simon Glass Reviewed-by: Marek Vasut (v1) --- Changes in v3: None Changes

Re: [U-Boot] Regression due to 020bbcb "usb: hub: Power-cycle on root-hub ports"

2013-06-13 Thread Stephen Warren
(Sorry to those on to/cc; I'm resending this so it goes to the correct mailing list) Commit 020bbcb "usb: hub: Power-cycle on root-hub ports" causes a regression on Tegra systems. The first time "usb start" is executed, it appears to work correctly. However, any subsequent time it is executed, it

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

2013-06-13 Thread Scott Wood
On 06/13/2013 02:27:44 AM, Zhang Ying-B40530 wrote: -Original Message- From: Wood Scott-B07421 Sent: Thursday, June 13, 2013 6:29 AM To: Zhang Ying-B40530 Cc: u-boot@lists.denx.de; aflem...@gmail.com; Xie Xiaobo-R63061; Zhang Ying-B40530 Subject: Re: [PATCH] powerpc/p1022ds: nand: int

[U-Boot] [PATCH v4 06/14] sf: Add bank addr code in CONFIG_SPI_FLASH_BAR

2013-06-13 Thread Jagannadha Sutradharudu Teki
Defined bank addr code on CONFIG_SPI_FLASH_BAR macro, to reduce the size for existing boards which has < 16Mbytes SPI flashes. It's upto user which has provision to use the bank addr code for flashes which has > 16Mbytes. Signed-off-by: Jagannadha Sutradharudu Teki Reviewed-by: Simon Glass ---

[U-Boot] [PATCH v4 10/14] sf: stmicro: Add support for N25Q1024

2013-06-13 Thread Jagannadha Sutradharudu Teki
Add support for Numonyx N25Q1024 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/stmicro.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/mtd/spi/stmicro.c

[U-Boot] [PATCH v4 00/14] sf: Update sf framework to support all sizes of flashes

2013-06-13 Thread Jagannadha Sutradharudu Teki
This is a v4 patch series with some modifications on previous series with same head "sf: Update sf framework to support all sizes of flashes" These patches removes some redundents and better coding when comapred to v3. The current implementation in sf supports 3-byte address mode due to this up t

[U-Boot] [PATCH v4 14/14] sf: Add Flag status register polling support

2013-06-13 Thread Jagannadha Sutradharudu Teki
Flag status register polling is required for micron 512Mb flash devices onwards, for performing erase/program operations. Like polling for WIP(Write-In-Progress) bit in read status register, spi_flash_cmd_wait_ready will poll for PEC(Program-Erase-Control) bit in flag status register. Signed-off-

[U-Boot] [PATCH v4 03/14] sf: Read flash bank addr register at probe time

2013-06-13 Thread Jagannadha Sutradharudu Teki
Read the flash bank addr register to get the state of bank in a perticular flash. and also bank write happens only when there is a change in bank selection from user. bank read only valid for flashes which has > 16Mbytes those are opearted in 3-byte addr mode, each bank occupies 16Mytes. Suppose

[U-Boot] [PATCH v4 01/14] sf: Add bank address register writing support

2013-06-13 Thread Jagannadha Sutradharudu Teki
This patch provides support to program a flash bank address register. extended/bank address register contains an information to access the 4th byte addressing in 3-byte address mode. reff' the spec for more details about bank addr register in Page-63, Table 8.16 http://www.spansion.com/Support/Da

[U-Boot] [PATCH v4 11/14] sf: stmicro: Add support for N25Q1024A

2013-06-13 Thread Jagannadha Sutradharudu Teki
Add support for Numonyx N25Q1024A SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/stmicro.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/mtd/spi/stmicro.

[U-Boot] [PATCH v4 08/14] sf: stmicro: Add support for N25Q512

2013-06-13 Thread Jagannadha Sutradharudu Teki
Add support for Numonyx N25Q512 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/stmicro.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/mtd/spi/stmicro.c

[U-Boot] [PATCH v4 07/14] sf: Use spi_flash_addr() in write call

2013-06-13 Thread Jagannadha Sutradharudu Teki
Use the existing spi_flash_addr() for 3-byte addressing cmd filling in write call. Signed-off-by: Jagannadha Sutradharudu Teki Reviewed-by: Simon Glass --- Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spi_flash.c | 7 ++- 1 f

[U-Boot] [PATCH v4 12/14] sf: spansion: Add support for S25FL512S_64K

2013-06-13 Thread Jagannadha Sutradharudu Teki
Add support for Spansion S25FL512S_64K SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spansion.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/mtd/spi/s

[U-Boot] [PATCH v4 13/14] sf: Remove spi_flash_cmd_poll_bit()

2013-06-13 Thread Jagannadha Sutradharudu Teki
There is no other call other than spi_flash_cmd_wait_ready(), hence removed spi_flash_cmd_poll_bit and use the poll status code spi_flash_cmd_wait_ready() itself. Signed-off-by: Jagannadha Sutradharudu Teki Reviewed-by: Simon Glass --- Changes for v4: - none Changes for v3: - no

[U-Boot] [PATCH v4 04/14] sf: Update sf to support all sizes of flashes

2013-06-13 Thread Jagannadha Sutradharudu Teki
Updated the spi_flash framework to handle all sizes of flashes using bank/extd addr reg facility The current implementation in spi_flash supports 3-byte address mode due to this up to 16Mbytes amount of flash is able to access for those flashes which has an actual size of > 16MB. As most of the f

[U-Boot] [PATCH v4 05/14] sf: Update sf read to support all sizes of flashes

2013-06-13 Thread Jagannadha Sutradharudu Teki
This patch updated the spi_flash read func to support all sizes of flashes using bank reg addr facility. The same support has been added in below patch for erase/write spi_flash functions: "sf: Support all sizes of flashes using bank addr reg facility" (sha1: c956f600cbb0943d0afe1004cdb503f4fcd8f4

[U-Boot] [PATCH v4 02/14] sf: Discover the bank addr commands

2013-06-13 Thread Jagannadha Sutradharudu Teki
Bank/Extended addr commands are specific to particular flash vendor so discover them based on the idocode0. Assign the discovered bank commands to spi_flash members so-that the bank read/write will use their specific operations. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4:

[U-Boot] [PATCH v4 09/14] sf: stmicro: Add support for N25Q512A

2013-06-13 Thread Jagannadha Sutradharudu Teki
Add support for Numonyx N25Q512A SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/stmicro.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/mtd/spi/stmicro.c

Re: [U-Boot] [PATCH] LaCie kirkwood boards: allow disk > 2TB

2013-06-13 Thread Sascha Silbe
Frédéric Leroy writes: > I will convert every ide block number to 64 bit for disk and partitions. > I guess CONFIG_LBA48 is also broken in common/cmd_ide.c : FWIW, I have a patch pending for this already. But it's necessarily pretty invasive and I'm not even sure yet that I've found all places

Re: [U-Boot] [PATCH v3 01/17] sf: Add bank address register writing support

2013-06-13 Thread Jagan Teki
On Thu, Jun 13, 2013 at 8:56 PM, Tom Rini wrote: > On Thu, Jun 13, 2013 at 08:23:13AM +0530, Jagan Teki wrote: >> Hi Simon, >> >> On Thu, Jun 13, 2013 at 3:48 AM, Simon Glass wrote: >> > Hi Jagan, >> > >> > On Tue, Jun 11, 2013 at 12:23 PM, Jagannadha Sutradharudu Teki >> > wrote: >> >> >> >> Th

Re: [U-Boot] [PATCH v3] powerpc/85xx: Add P1023RDB board support

2013-06-13 Thread Scott Wood
On 06/13/2013 02:44:17 AM, Chunhe Lan wrote: +/* + * Memory map + * + * 0x_ 0x1fff_ DDR 500M Cacheable + * 0x8000_ 0xbfff_ PCI Express Mem 1G non-cacheable + * 0xc000_ 0xdfff_ PCI 512M non-cacheable + * 0xe100_ 0xe3ff_ PCI IO range 4M non-cacheabl

Re: [U-Boot] [PATCH] musb: Move linux and usb compat files to include/linux/usb

2013-06-13 Thread Dan Murphy
On 06/13/2013 12:55 PM, Dan Murphy wrote: > Move the linux and usb compat files to the > include/linux/usb directory in order for the files to be > reused. > > Added GPLv2 license to the linux and usb compat as well. > > Signed-off-by: Dan Murphy > --- > drivers/usb/musb-new/linux-compat.h|

[U-Boot] [uBoot] [PATCH v2] musb: Move linux and usb compat files to include/linux/usb

2013-06-13 Thread Dan Murphy
Move the linux and usb compat files to the include/linux/usb directory in order for the files to be reused. Added GPLv2 license to the linux and usb compat as well. Signed-off-by: Dan Murphy --- v2 - Fix checkpatch issues only for newly introduced code - http://patchwork.ozlabs.org/patch/251127

Re: [U-Boot] [PATCH v2 3/8] sf: winbond: Add support for W25Q80BW

2013-06-13 Thread Jagan Teki
On 30-05-2013 19:19, Jagannadha Sutradharudu Teki wrote: Add support for Winbond W25Q80BW SPI flash. This patch corrected the flash name, nr_blocks and also commit message header from below patch. "sf: winbond: add W25Q32" (sha1: c969abc47033d6f810d3c9dbdb994ea9d691d038) Signed-off-by: Jagannad

Re: [U-Boot] [PATCH v2 4/8] sf: winbond: Correct the nr_blocks used for W25Q32DW

2013-06-13 Thread Jagan Teki
On 30-05-2013 19:19, Jagannadha Sutradharudu Teki wrote: This patch corrected the nr_blocks used for W25Q32DW SPI flash. nr_blcoks are incorrectly assigned on below patch "sf: winbond: add W25Q32DW" (sha1: 772ba15474f73adc942e817cc072b6e9750836cc) Signed-off-by: Jagannadha Sutradharudu Teki --

Re: [U-Boot] [PATCH v3 0/6] Optimize ARM relocation

2013-06-13 Thread Jeroen Hofstee
On 06/13/2013 11:05 AM, Albert ARIBAUD wrote: Hi Albert, On Tue, 11 Jun 2013 14:47:29 +0200, Albert ARIBAUD wrote: Hi Albert, On Tue, 11 Jun 2013 14:17:29 +0200, Albert ARIBAUD wrote: This series optimizes relocation by ensuring ARM binaries only use one type of relocation record, R_ARM_R

Re: [U-Boot] [PATCH v2 1/8] sf: spansion: Update the name for S25FL256S flash

2013-06-13 Thread Jagan Teki
On 30-05-2013 19:19, Jagannadha Sutradharudu Teki wrote: As the per the ID tabl the flash is under Uniform 64-kB sector architecture, hence updated with proper name. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none drivers/mtd/spi/spansion.c | 2 +- 1 file chan

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

2013-06-13 Thread Tom Rini
On Wed, Jun 12, 2013 at 10:25:47PM +0200, Marek Vasut wrote: > The following changes since commit e1208c2fe5e07f9a248cfbf9bbb212aa34ad2806: > > MIPS: asm/errno.h: switch to asm-generic/errno.h (2013-06-08 23:10:10 +0200) > > are available in the git repository at: > > git://git.denx.de/u-bo

[U-Boot] Pull request: u-boot-spi/master

2013-06-13 Thread Jagannadha Sutradharudu Teki
The following changes since commit 48e0b2bd2b6ecc80cd25181ca2fb9c0eaffef320: powerpc/esdhc: Correct judgement for DATA PIO mode (2013-05-15 18:18:16 -0500) are available in the git repository at: git://git.denx.de/u-boot-spi.git master for you to fetch changes up to ea7fcc5aeb10d2cbb5589e91

[U-Boot] [PATCH] imx: nitrogen6x/mx6qsabrelite: Fix bug in board_video_skip

2013-06-13 Thread Robert Winkler
Signed-off-by: Robert Winkler --- board/boundary/nitrogen6x/nitrogen6x.c| 4 +++- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c index 0

Re: [U-Boot] [PATCH v3 17/17] sf: Add Flag status register polling support

2013-06-13 Thread Jagan Teki
Hi Simon, On Thu, Jun 13, 2013 at 11:23 PM, Simon Glass wrote: > Hi Jagan, > > On Thu, Jun 13, 2013 at 10:46 AM, Willis, Max > wrote: >> >> Hi Jagan, Simon - Adding Bacem and Gernot from Spansion. Would you be able >> to add them to the other open threads as well? --Max >> >> ---

Re: [U-Boot] [PATCH v3 17/17] sf: Add Flag status register polling support

2013-06-13 Thread Simon Glass
Hi Jagan, On Thu, Jun 13, 2013 at 10:46 AM, Willis, Max wrote: > Hi Jagan, Simon - Adding Bacem and Gernot from Spansion. Would you be able > to add them to the other open threads as well? --Max > > - > Max Willis, PhD > Division Marketing Manager >

[U-Boot] [PATCH] musb: Move linux and usb compat files to include/linux/usb

2013-06-13 Thread Dan Murphy
Move the linux and usb compat files to the include/linux/usb directory in order for the files to be reused. Added GPLv2 license to the linux and usb compat as well. Signed-off-by: Dan Murphy --- drivers/usb/musb-new/linux-compat.h| 114 -- drivers/usb/musb-new/musb_

Re: [U-Boot] [U-Boot, 2/2] spi: tegra20_sflash: Remove redundant code to set bus and cs of struct spi_slave

2013-06-13 Thread Jagan Teki
On 13-06-2013 13:51, Axel Lin wrote: It's done in spi_alloc_slave(), thus remove the redundant code. Signed-off-by: Axel Lin Acked-by: Marek Vasut Reviewed-by: Jagannadha Sutradharudu Teki --- drivers/spi/tegra20_sflash.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/spi/tegr

Re: [U-Boot] spi: armada100_spi: Remove unnecessary NULL test for dout and din

2013-06-13 Thread Jagan Teki
On 11-06-2013 19:27, Axel Lin wrote: Signed-off-by: Axel Lin Reviewed-by: Marek Vasut Acked-by: Ajay Bhargav Reviewed-by: Jagannadha Sutradharudu Teki --- drivers/spi/armada100_spi.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/drivers/spi/armada100_spi.c

Re: [U-Boot] [U-Boot, 1/2] spi: tegra114_spi: Convert to use spi_alloc_slave()

2013-06-13 Thread Jagan Teki
On 13-06-2013 13:47, Axel Lin wrote: Signed-off-by: Axel Lin Acked-by: Marek Vasut Reviewed-by: Jagannadha Sutradharudu Teki --- Forgot to CC mailing list, so here is a resend. drivers/spi/tegra114_spi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/teg

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Enabling CPC conditionally based on hwconfig options

2013-06-13 Thread Scott Wood
On 06/13/2013 01:59:51 AM, Sandeep Singh wrote: If hwconfig does not contains "en_cpc" then by default all cpcs are enabled If this config is defined then only those individual cpcs which are defined in the subargument of "en_cpc" will be enabled e.g en_cpc:cpc1,cpc2; (this will enable cpc1

[U-Boot] [PATCH] arm: omap4: panda: Fix checkpatch on panda file

2013-06-13 Thread Dan Murphy
Fix the checkpatch warning on the panda.c file for leading spaces. Fix the CHECK warnings on the panda.c file for parenthesis alignment. Signed-off-by: Dan Murphy --- board/ti/panda/panda.c | 26 +- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/board/

[U-Boot] [PATCH v2] arm: omap4: panda: Add reading of the board revision

2013-06-13 Thread Dan Murphy
Detect if we are running on a panda revision A1-A6, or an ES panda board. This can be done by reading the level of GPIOs and checking the processor revisions. This should result in: Panda 4430: GPIO171, GPIO101, GPIO182: 0 1 1 => A1-A5 GPIO171, GPIO101, GPIO182: 1 0 1 => A6 Panda ES:

Re: [U-Boot] [PATCH v2] powerpc/85xx: Add P1023RDB board support

2013-06-13 Thread Scott Wood
On 06/13/2013 02:02:46 AM, Chunhe Lan wrote: On 06/12/2013 02:00 AM, Scott Wood wrote: On 06/09/2013 05:24:05 AM, Chunhe Lan wrote: +/* W**G* - Flash, localbus */ +/* This will be changed to *I*G* after relocation to RAM. */ +SET_TLB_ENTRY(1, CONFIG_SYS_FLASH_BASE, CONFIG_SYS_FLAS

Re: [U-Boot] [PATCH] arm, am33xx: move s_init to a common place

2013-06-13 Thread Tom Rini
On Thu, Jun 13, 2013 at 05:53:17AM +0200, Heiko Schocher wrote: > move s_init from every board code to a common place. > > Signed-off-by: Heiko Schocher > Cc: Tom Rini > Cc: Matt Porter > Cc: Lars Poeschel > Cc: Tom Rini > Cc: Enric Balletbo i Serra > > --- > This patch is based on the fol

[U-Boot] Pull request: u-boot-arm/master

2013-06-13 Thread Albert ARIBAUD
Hello Tom, The following changes since commit 4596dcc1d4ea5763e0f92cf5becd9fc7d4c6e674: am33xx/omap: Move save_omap_boot_params to omap-common/boot-common.c (2013-06-05 08:46:49 -0400) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes up

Re: [U-Boot] [PATCH v3 01/17] sf: Add bank address register writing support

2013-06-13 Thread Tom Rini
On Thu, Jun 13, 2013 at 08:23:13AM +0530, Jagan Teki wrote: > Hi Simon, > > On Thu, Jun 13, 2013 at 3:48 AM, Simon Glass wrote: > > Hi Jagan, > > > > On Tue, Jun 11, 2013 at 12:23 PM, Jagannadha Sutradharudu Teki > > wrote: > >> > >> This patch provides support to program a flash bank address >

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

2013-06-13 Thread Daniel Schwierzeck
2013/6/13 krishna dwivedi : > Hi, > > I am trying to port the u-boot2013:04 to sdk.During compilation,I am > running into error:*Undefined reference to _GLOBAL_OFFSET_TABLE*.I checked > in u-boot.lds file thr is no definition of _GLOBAL_OFFSET_TABLE.I have > added this piece of code in u-boot.lds:

Re: [U-Boot] [PATCH v3 09/17] sf: Initialize bank_sel to zero for read ops

2013-06-13 Thread Jagan Teki
On Thu, Jun 13, 2013 at 4:08 AM, Simon Glass wrote: > On Tue, Jun 11, 2013 at 12:23 PM, Jagannadha Sutradharudu Teki > wrote: >> >> Initialized bank_sel variable to 0 to support the updated read >> ops for flashes which has < 16Mbytes. >> >> Signed-off-by: Jagannadha Sutradharudu Teki > > > Revi

Re: [U-Boot] [PATCH 1/2] spi: tegra114_spi: Convert to use spi_alloc_slave()

2013-06-13 Thread Jagan Teki
On 13-06-2013 16:18, Marek Vasut wrote: Dear Axel Lin, Signed-off-by: Axel Lin --- Forgot to CC mailing list, so here is a resend. drivers/spi/tegra114_spi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/tegra114_spi.c b/drivers/spi/tegra114_spi.c index

Re: [U-Boot] [PATCH 2/2] spi: tegra20_sflash: Remove redundant code to set bus and cs of struct spi_slave

2013-06-13 Thread Jagan Teki
On 13-06-2013 16:18, Marek Vasut wrote: Dear Axel Lin, It's done in spi_alloc_slave(), thus remove the redundant code. Signed-off-by: Axel Lin --- drivers/spi/tegra20_sflash.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/spi/tegra20_sflash.c b/drivers/spi/tegra20_sflash.c i

Re: [U-Boot] [PATCH] wandboard: Fix typo in README

2013-06-13 Thread Shigeru Yoshida
2013/6/13 Otavio Salvador > > > http://git.denx.de/?p=u-boot/u-boot-imx.git;a=commitdiff;h=8c4983779ed50090b74d56498be17cde31892a64 > > > Already fixed. > This patch worked my environment. Thank you! ___ U-Boot mailing list U-Boot@lists.denx.de http://

Re: [U-Boot] [PATCH] LaCie kirkwood boards: allow disk > 2TB

2013-06-13 Thread Frédéric Leroy
Le 13/06/2013 15:21, Albert ARIBAUD a écrit : > > I guess CONFIG_LBA48 is also broken in common/cmd_ide.c : > > > > ulong ide_write(int device, ulong blknr, lbaint_t blkcnt, const void > > *buffer) > > { > > ulong n = 0; > > unsigned char c; > > > > #ifdef CONFIG_LBA48 > > unsigned c

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

2013-06-13 Thread krishna dwivedi
Hi, I am trying to port the u-boot2013:04 to sdk.During compilation,I am running into error:*Undefined reference to _GLOBAL_OFFSET_TABLE*.I checked in u-boot.lds file thr is no definition of _GLOBAL_OFFSET_TABLE.I have added this piece of code in u-boot.lds: .reloc : { KEEP(*(.go

Re: [U-Boot] [PATCH] LaCie kirkwood boards: allow disk > 2TB

2013-06-13 Thread Albert ARIBAUD
Hi Frédéric, On Thu, 13 Jun 2013 15:03:49 +0200, Frédéric Leroy wrote: > Le 13/06/2013 13:33, Albert ARIBAUD a écrit : > > With gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) this patch causes > > the following warning for all boards: > > > > cmd_ide.c:992:4: warning: right shift count >= widt

Re: [U-Boot] [PATCH] LaCie kirkwood boards: allow disk > 2TB

2013-06-13 Thread Frédéric Leroy
Le 13/06/2013 13:33, Albert ARIBAUD a écrit : > With gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) this patch causes > the following warning for all boards: > > cmd_ide.c:992:4: warning: right shift count >= width of type [enabled > by default] > > Amicalement, I will convert every ide block n

Re: [U-Boot] dfu, nand: writing on not empty nand partition

2013-06-13 Thread Heiko Schocher
Hello Tom, Am 13.06.2013 14:33, schrieb Tom Rini: > On 06/13/2013 08:15 AM, Heiko Schocher wrote: >> Hello, > >> I just tried to write with "dfu" and dfu-util on the host to a not >> empty partiton on a nand flash. After the dfu returned without >> error, I wanted to read the nand partiton with "

Re: [U-Boot] [PATCH] arm: omap4: panda: Add reading of the board revision

2013-06-13 Thread Tom Rini
On Wed, Jun 12, 2013 at 12:54:27PM -0500, Dan Murphy wrote: > Detect if we are running on a panda revision A1-A6, > or an ES panda board. This can be done by reading > the level of GPIOs and checking the processor revisions. > This should result in: > Panda 4430: > GPIO171, GPIO101, GPIO182:

Re: [U-Boot] [PATCH] arm: omap4: panda: Add reading of the board revision

2013-06-13 Thread Dan Murphy
On 06/12/2013 12:54 PM, Dan Murphy wrote: > Detect if we are running on a panda revision A1-A6, > or an ES panda board. This can be done by reading > the level of GPIOs and checking the processor revisions. > This should result in: > Panda 4430: > GPIO171, GPIO101, GPIO182: 0 1 1 => A1-A5 >

Re: [U-Boot] dfu, nand: writing on not empty nand partition

2013-06-13 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/13/2013 08:15 AM, Heiko Schocher wrote: > Hello, > > I just tried to write with "dfu" and dfu-util on the host to a not > empty partiton on a nand flash. After the dfu returned without > error, I wanted to read the nand partiton with "nand read"

[U-Boot] dfu, nand: writing on not empty nand partition

2013-06-13 Thread Heiko Schocher
Hello, I just tried to write with "dfu" and dfu-util on the host to a not empty partiton on a nand flash. After the dfu returned without error, I wanted to read the nand partiton with "nand read" and I get ECC errors. This is on an am335x based board (mainline patches coming soon) with ECC BCH8 en

Re: [U-Boot] [PATCH] wandboard: Fix typo in README

2013-06-13 Thread Otavio Salvador
On Thu, Jun 13, 2013 at 1:28 AM, Wolfgang Denk wrote: > Dear Shigeru Yoshida, > > In message < > camqom_0gl2czu_xm-c9_zonmgmyi1m6w_ysxuv2etaebuvr...@mail.gmail.com> you > wrote: > > > > diff --git a/board/wandboard/README b/board/wandboard/README > > index e0b0b33..8bf646d 100644 > > --- a/board/

Re: [U-Boot] [PATCH 0/2] make u-boot/drivers/net/designware cache supportive

2013-06-13 Thread Joe Hershberger
Hi Frank, On Tue, Jan 22, 2013 at 10:11 PM, Vipin Kumar wrote: > On 1/22/2013 7:40 PM, Frank Dols wrote: >> >> Hello Vipin, >> As discussed, see included the patches to make your >> u-boot/drivers/net/designware Ethernet device driver cache support aware. > > > You dont need to write u-boot/drive

Re: [U-Boot] [PATCH] LaCie kirkwood boards: allow disk > 2TB

2013-06-13 Thread Albert ARIBAUD
Hi Frederic, On Mon, 10 Jun 2013 15:30:53 +0200, Frederic Leroy wrote: > From: Frédéric Leroy > > For big disk support, we need LBA addressing on 64 bits > --- > include/configs/lacie_kw.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/lacie_kw.h b/include/configs/l

Re: [U-Boot] crash in usb_stor_get_info using pre-relocation address for ss->transport

2013-06-13 Thread Albert ARIBAUD
Hi Chris, On Thu, 13 Jun 2013 22:19:54 +1200, Chris Packham wrote: > Hi Albert, > > On 13/06/13 17:43, Albert ARIBAUD wrote: > > Hi Chris, > > > > On Thu, 13 Jun 2013 13:16:17 +1200, Chris Packham > > wrote: > > > >> On Thu, Jun 13, 2013 at 12:02 PM, Chris Packham > >> wrote: > >>> Hi, > >

Re: [U-Boot] [PATCH V9 0/9] EXYNOS5: Enable DWMMC, add FDT support for DWMMC and enable EMMC boot

2013-06-13 Thread Jaehoon Chung
Thanks Mr.Kang Best Regards, Jaehoon Chung On 06/13/2013 05:45 PM, Minkyu Kang wrote: > On 30/05/13 13:47, Simon Glass wrote: >> On Tue, May 28, 2013 at 11:36 PM, Rajeshwari Birje >> mailto:rajeshwari.bi...@gmail.com>> wrote: >> >> Hi Andy, >> >> U seem to be busy. I you have no issues c

[U-Boot] [PATCH v2 4/7] ARM: switch to non-secure state during bootm execution

2013-06-13 Thread Andre Przywara
To actually trigger the non-secure switch we just implemented, call the switching routine from within the bootm command implementation. This way we automatically enable this feature without further user intervention. The core specific part of the work is done in the assembly routine in nonsec_virt

[U-Boot] [PATCH v2 3/7] ARM: add assembly routine to switch to non-secure state

2013-06-13 Thread Andre Przywara
While actually switching to non-secure state is one thing, the more important part of this process is to make sure that we still have full access to the interrupt controller (GIC). The GIC is fully aware of secure vs. non-secure state, some registers are banked, others may be configured to be acces

[U-Boot] [PATCH v2 7/7] ARM: VExpress: enable ARMv7 virt support for VExpress A15

2013-06-13 Thread Andre Przywara
To enable hypervisors utilizing the ARMv7 virtualization extension on the Versatile Express board with the A15 core tile, we add the respective configuration variable. Signed-off-by: Andre Przywara --- include/configs/vexpress_ca15_tc2.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/incl

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

2013-06-13 Thread Albert ARIBAUD
Hi Marek, On Wed, 12 Jun 2013 22:57:56 +0200, Marek Vasut wrote: > The following changes since commit 58bb8f5f6138fa56875574a709f5af98c600c2a9: > > cosmetic: arm: fix comments in arch/arm/lib/crt0.S (2013-06-10 21:24:22 > +0200) > > are available in the git repository at: > > git://git.d

[U-Boot] [PATCH v2 6/7] ARM: extend non-secure switch to also go into HYP mode

2013-06-13 Thread Andre Przywara
For the KVM and XEN hypervisors to be usable, we need to enter the kernel in HYP mode. Now that we already are in non-secure state, HYP mode switching is within short reach. While doing the non-secure switch, we have to enable the HVC instruction and setup the HYP mode HVBAR (while still secure).

[U-Boot] [PATCH v2 5/7] ARM: add SMP support for non-secure switch

2013-06-13 Thread Andre Przywara
Currently the non-secure switch is only done for the boot processor. To enable full SMP support, we have to switch all secondary cores into non-secure state also. So we add an entry point for secondary CPUs coming out of low-power state and make sure we put them into WFI again after having switche

[U-Boot] [PATCH v2 2/7] ARM: add secure monitor handler to switch to non-secure state

2013-06-13 Thread Andre Przywara
A prerequisite for using virtualization is to be in HYP mode, which requires the CPU to be in non-secure state first. Add new file in arch/arm/cpu/armv7 to hold a monitor handler routine which switches the CPU to non-secure state by setting the NS and associated bits. According to the ARM architect

[U-Boot] [PATCH v2 1/7] ARM: prepare armv7.h to be included from assembly source

2013-06-13 Thread Andre Przywara
armv7.h contains some useful constants, but also C prototypes. To include it also in assembly files, protect the non-assembly part appropriately. Signed-off-by: Andre Przywara --- arch/arm/include/asm/armv7.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/inclu

[U-Boot] [PATCH 06/10] MIPS: xburst/start.S: use t8 register for dynamic relocation

2013-06-13 Thread Gabor Juhos
Synchronize the code with mips{32,64}/start.S, in order to allow further unifications. Signed-off-by: Gabor Juhos Cc: Daniel Schwierzeck --- arch/mips/cpu/xburst/start.S | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/mips/cpu/xburst/start.S b/arch/

[U-Boot] [PATCH v2 0/7] ARMv7: Add HYP mode switching support

2013-06-13 Thread Andre Przywara
(for GIT URL and Changelog see below) ARM CPUs with the virtualization extension have a new mode called HYP mode, which allows hypervisors to safely control and monitor guests. The current hypervisor implementations (KVM and Xen) require the kernel to be entered in that HYP mode. This patch serie

[U-Boot] [PATCH 09/10] MIPS: mips32/cache.S: store cache line size in t8 register

2013-06-13 Thread Gabor Juhos
Synchronize the code with mips64/cache.S, in order to allow further unifications. Signed-off-by: Gabor Juhos Cc: Daniel Schwierzeck --- arch/mips/cpu/mips32/cache.S |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/mips/cpu/mips32/cache.S b/arch/mips/cpu/mips32/c

  1   2   >