Re: [U-Boot] "No status update" errors in OMAP mmc_send_cmd()

2013-05-09 Thread Tomi Valkeinen
Michael Cashwell prograde.net> writes: > > Greetings, > > I've been fighting an odd problem with a custom OMAP4 board throwing MMC errors. > It seems that a 4-bit-wide uSD card on MMC1 works but an 8-bit-wide eMMC part > on MMC2 has problems. > > As sometimes happens, in trying to track down t

Re: [U-Boot] [PATCH v3] at91sam9x5ek: Pass serial and revision tags to Linux

2013-05-09 Thread Andreas Bießmann
Dear Julius Hemanth P, first of all, please address Bo's comment about checkpatch: ---8<--- andreas@andreas-mbp % ./tools/checkpatch.pl ~/Downloads/\[PATCH\ v3\]\ at91sam9x5ek_\ Pass\ serial\ and\ revision\ tags\ to\ Linux.eml ERROR: DOS line endings #70: FILE: board/atmel/at91sam9x5ek/at91sam9x5

Re: [U-Boot] nand onfi 8bit/16bit bus support

2013-05-09 Thread Michal Simek
On 05/09/2013 11:37 PM, Scott Wood wrote: > On 05/06/2013 11:53:52 AM, Michal Simek wrote: >> Hi guys, >> >> Zynq supports 8 and 16bit ONFI nand flashes. >> We can count number of connected pins and from that >> we know if 8bit or 16bit nand flash is used. >> >> I have looked at the code and contai

Re: [U-Boot] [PATCH 2/2] spi: mxc_spi: Update pre and post divider algorithm

2013-05-09 Thread Dirk Behme
Am 09.05.2013 20:00, schrieb Troy Kisky: On 5/8/2013 10:19 PM, Dirk Behme wrote: The spi clock divisor is of the form x * (2**y), or x << y, where x is 1 to 16, and y is 0 to 15. Note the similarity with floating point numbers. Convert the desired divisor to the smallest number which is >= de

[U-Boot] [PATCH v2] arm: fix a comment

2013-05-09 Thread y
From: Masahiro Yamada Signed-off-by: Masahiro Yamada --- Changed for v2: - Fix one more comment arch/arm/lib/crt0.S |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S index a9657d1..a5bffb8 100644 --- a/arch/arm/lib/crt0.S +

Re: [U-Boot] [PATCH 0/4] EXYNOS: Convert Assembly code to c and make it common.

2013-05-09 Thread Rajeshwari Birje
Hi Minkyu Kang, Do let me know if any comments on this patch set. Regards, Rajeshwari Shinde. > On Thu, Apr 25, 2013 at 11:27 AM, Rajeshwari Shinde > wrote: >> Convert the assembly code in board/samsung to c and move the same to >> arch/arm. >> lds file made common across SMDKV310, Origen and

Re: [U-Boot] [PATCH] arm: fix a comment

2013-05-09 Thread Masahiro Yamada
> Correct. While you're at it, can you also fix the comment on line 100: > "r8 = gd->start_addr_sp" -> "sp = gd->start_addr_sp" Thanks Benoit. I modified my patch as suggested and posted it as v2. Best regards, Masahiro Yamada ___ U-Boot mailing list

[U-Boot] [PATCH v2] arm: fix a comment

2013-05-09 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changed for v2: - Fix one more comment arch/arm/lib/crt0.S |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S index a9657d1..a5bffb8 100644 --- a/arch/arm/lib/crt0.S +++ b/arch/arm/lib/crt0.S

[U-Boot] Uboot question from Newbee

2013-05-09 Thread Casper Floppy
Hi All, I come from PC side and familiar with UEFI BIOS. I am very new to uboot so please help (& be kind :). Is this the right forum to ask Uboot specific question? I am studying Uboot code now to compare/contrasts how uboot work and differs from UEFI. I have several very simple questions wrt

Re: [U-Boot] [PATCH v3] at91sam9x5ek: Pass serial and revision tags to Linux

2013-05-09 Thread Bo Shen
Hi Julius, On 5/10/2013 01:07, Julius Hemanth P wrote: This code is small snippet from patch ftp://ftp.linux4sam.org/pub/uboot/u-boot-v2010.06/u-boot-5series_1.0.patch Linux 2.6.39 (released on www.at91.com/linux4sam) requires serial and revision ATAGs to detect NAND device. This patch provide

Re: [U-Boot] [PATCH v4 0/19] Allow images to work on sandbox

2013-05-09 Thread Simon Glass
Hi Tom, On Thu, May 9, 2013 at 12:36 PM, Tom Rini wrote: > On Tue, May 07, 2013 at 09:11:44AM -0700, Simon Glass wrote: > >> This series adjusts the image code to work with sandbox and prepares it for >> verified boot to come later. >> >> The primary goal here is to get image loading to work on s

[U-Boot] Please pull u-boot-mpc85xx.git

2013-05-09 Thread Andy Fleming
The following changes since commit 4e779ad2e54e39d5343c8c83b4fc686a7bb16859: gpio: Add support for microblaze xilinx GPIO (2013-05-09 11:20:08 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-mpc85xx.git master for you to fetch changes up to a9c81eaa54f6ef0976cf15

Re: [U-Boot] [PATCH 2/2 v12] Introduced btrfs file-system with btrload command

2013-05-09 Thread Wolfgang Denk
Dear Adnan Ali, In message <518bb8c7.3090...@codethink.co.uk> you wrote: > > > - Why do we have to calculate the crc32c_table[] at runtime? Our > >regular CRC code uses a pre-calculated table; we should do the same > >here. > This is part of the port. But pre-calculated table can

Re: [U-Boot] nand onfi 8bit/16bit bus support

2013-05-09 Thread Scott Wood
On 05/06/2013 11:53:52 AM, Michal Simek wrote: Hi guys, Zynq supports 8 and 16bit ONFI nand flashes. We can count number of connected pins and from that we know if 8bit or 16bit nand flash is used. I have looked at the code and contains ONFI detection with correct detection of bus width + check

[U-Boot] Please pull u-boot-x86.git

2013-05-09 Thread Simon Glass
Hi Tom, I left out the one that is not yet reviewed. The following changes since commit 4e779ad2e54e39d5343c8c83b4fc686a7bb16859: gpio: Add support for microblaze xilinx GPIO (2013-05-09 11:20:08 +0200) are available in the git repository at: git://git.denx.de/u-boot-x86.git patman for yo

Re: [U-Boot] [PATCH 0/19] Remove unused code, add accurate timier and bootstage

2013-05-09 Thread Simon Glass
Hi Tom, On Thu, Apr 25, 2013 at 3:12 PM, Simon Glass wrote: > Hi Vadim, > > On Thu, Apr 18, 2013 at 8:50 AM, Vadim Bendebury (вб) > wrote: >> On Wed, Apr 17, 2013 at 7:13 PM, Simon Glass wrote: >>> >>> This series removes unused x86 code based on advice from Graeme Russ. THis >>> code was used

Re: [U-Boot] [PATCH v4 0/19] Allow images to work on sandbox

2013-05-09 Thread Tom Rini
On Tue, May 07, 2013 at 09:11:44AM -0700, Simon Glass wrote: > This series adjusts the image code to work with sandbox and prepares it for > verified boot to come later. > > The primary goal here is to get image loading to work on sandbox, which is > mostly a set of fairly minor changes such as u

Re: [U-Boot] BeagleBone u-boot bug in arch/arm/include/asm/arch-am33xx/ddr_defs.h

2013-05-09 Thread Tom Rini
On Mon, May 06, 2013 at 04:21:13PM -0700, Matt Thomas wrote: > In arch/arm/include/asm/arch-am33xx/ddr_defs.h: > > For the 256MB BeagleBone u-boot initializes the EMIF SDRAM_CONFIG register > with #define MT47H128M16RT25E_EMIF_SDCFG 0x41805332 > > This is incorrect since it programs

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

2013-05-09 Thread Tom Rini
On Mon, May 06, 2013 at 03:17:49PM +0200, Andre Przywara wrote: [snip] > - printf("HYP mode: Security extensions not implemented.\n"); > + printf("HYP mode: Virtualization extensions not > implemented.\n"); When we don't need printf-modifiers, using puts is preferred. An

Re: [U-Boot] [PATCH 2/2] spi: mxc_spi: Update pre and post divider algorithm

2013-05-09 Thread Troy Kisky
On 5/8/2013 10:19 PM, Dirk Behme wrote: The spi clock divisor is of the form x * (2**y), or x << y, where x is 1 to 16, and y is 0 to 15. Note the similarity with floating point numbers. Convert the desired divisor to the smallest number which is >= desired divisor, and can be represented in t

Re: [U-Boot] [PATCH 2/2] spi: mxc_spi: Update pre and post divider algorithm

2013-05-09 Thread Troy Kisky
On 5/9/2013 11:00 AM, Troy Kisky wrote: On 5/8/2013 10:19 PM, Dirk Behme wrote: The spi clock divisor is of the form x * (2**y), or x << y, where x is 1 to 16, and y is 0 to 15. Note the similarity with floating point numbers. Convert the desired divisor to the smallest number which is >= d

Re: [U-Boot] [PATCH v3] at91sam9x5ek:Pass serial and revision tags to Linux

2013-05-09 Thread Julius Hemanth P
Sorry for spam, accidentally sent twice, please ignore this. On Thu, May 9, 2013 at 10:28 PM, Julius Hemanth P wrote: > This code is small snippet from patch > ftp://ftp.linux4sam.org/pub/uboot/u-boot-v2010.06/u-boot-5series_1.0.patch > > Linux 2.6.39 (released on www.at91.com/linux4sam) requires

[U-Boot] [PATCH v3] at91sam9x5ek: Pass serial and revision tags to Linux

2013-05-09 Thread Julius Hemanth P
This code is small snippet from patch ftp://ftp.linux4sam.org/pub/uboot/u-boot-v2010.06/u-boot-5series_1.0.patch Linux 2.6.39 (released on www.at91.com/linux4sam) requires serial and revision ATAGs to detect NAND device. This patch provides backward compatibility for old Linux 2.6.39 by passing s

[U-Boot] [PATCH v3] at91sam9x5ek:Pass serial and revision tags to Linux

2013-05-09 Thread Julius Hemanth P
This code is small snippet from patch ftp://ftp.linux4sam.org/pub/uboot/u-boot-v2010.06/u-boot-5series_1.0.patch Linux 2.6.39 (released on www.at91.com/linux4sam) requires serial and revision ATAGs to detect NAND device. This patch provides backward compatibility for old Linux 2.6.39 by passing s

Re: [U-Boot] [PATCH 1/1] OMAP4/5: I2C: New read/write/probe functions

2013-05-09 Thread Lubomir Popov
Hi Tom, On 09/05/13 18:25, Tom Rini wrote: > On Thu, Apr 04, 2013 at 04:40:16PM +0300, Lubomir Popov wrote: > >> These new functions are built for OMAP4 and OMAP5 only. The major >> improvement is that the new i2c_read fixes the inability to read >> correctly from certain types of I2C chips. >> >

Re: [U-Boot] Loading Linux Image on AT91SAM9263-EK

2013-05-09 Thread Bo Shen
Hi Pranav, On 05/09/2013 10:02 PM, pranav yamjala wrote: I am trying to port linux on the same board as mentioned in the subject. I want to know how to configure the crosscompiler to build uimage or an image of the kernel. I have got the other requirements like at91bootstrap boot.bin and u-boot.

Re: [U-Boot] [PATCH 1/1] OMAP4/5: I2C: New read/write/probe functions

2013-05-09 Thread Tom Rini
On Thu, Apr 04, 2013 at 04:40:16PM +0300, Lubomir Popov wrote: > These new functions are built for OMAP4 and OMAP5 only. The major > improvement is that the new i2c_read fixes the inability to read > correctly from certain types of I2C chips. > > - Rewritten i2c_read to operate correctly with all

Re: [U-Boot] [PATCH 2/2 v12] Introduced btrfs file-system with btrload command

2013-05-09 Thread Adnan Ali
Hi On 05/05/13 16:15, Wolfgang Denk wrote: Dear Tom Rini, In message <5186723e.2080...@ti.com> you wrote: These changes should be factored out into a separate commit. In any case, the code should be compiled in only when needed, i. e. when btrfs support is selected. Otherwise you just bloat t

[U-Boot] Loading Linux Image on AT91SAM9263-EK

2013-05-09 Thread pranav yamjala
I am trying to port linux on the same board as mentioned in the subject. I want to know how to configure the crosscompiler to build uimage or an image of the kernel. I have got the other requirements like at91bootstrap boot.bin and u-boot.bin ready configured for the board. I have also found root f

[U-Boot] Fwd: da850-evm: MMC-SD query

2013-05-09 Thread Manish Badarkhe
Hi All May I know what is use of "CONFIG_DAVINCI_MMC_SD1" in case of da850-evm? Currently, We are using instance 0 of MMC SD card in case of da850-evm. I think this define (CONFIG_DAVINCI_MMC_SD1) is of no use for da850-evm. Ref files: 1. ../board/davinci/da8xxevm/da850evm.c : where we are using

Re: [U-Boot] [PATCH] arm: fix a comment

2013-05-09 Thread Benoît Thébaudeau
Dear Masahiro Yamada, On Thursday, May 9, 2013 9:12:17 AM, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > --- > arch/arm/lib/crt0.S |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S > index a9657d1..58fcd03 100644 >

Re: [U-Boot] Reading uninitialized SDRAM values on OMAP4460 (PandaBoard)

2013-05-09 Thread Sricharan R
On Wednesday 08 May 2013 06:54 PM, An Schall wrote: > Hi there, > > my task is to output the uninitialized SDRAM values over UART during device > startup. > > Therefore, I first searched for the code that handles the SDRAM > initialization since I have to put my code in front of it. After digging >

Re: [U-Boot] Pull request: u-boot-blackfin

2013-05-09 Thread Tom Rini
On Thu, May 09, 2013 at 11:13:52AM +0800, Sonic Zhang wrote: > Hi Tom, > > Please pull the following patches from u-boot-blackfin into your tree. > > Thanks > > Sonic > > The following changes since commit fe8e4dbad1d31c452af3fbabba21e72b210381b3: > > nds32: Use sections header to obtain li

Re: [U-Boot] Pull request - microblaze

2013-05-09 Thread Tom Rini
On Thu, May 09, 2013 at 11:23:02AM +0200, Michal Simek wrote: > Hi Tom, > > I were too fast. :-( I forget to add that gpio patch > Here is the correct one. I have added that patch on the top of that two. > > Thanks, > Michal > > > The following changes since commit fe8e4dbad1d31c452af3fbabba21

[U-Boot] [RFC PATCH] arm: lds: Remove libgcc eabi exception handling tables

2013-05-09 Thread Michal Simek
Remove ARM eabi exception handling tables (for frame unwinding). AFAICT, u-boot stubs away the frame unwiding routines, so the tables will more or less just consume space. It should be OK to remove them. Signed-off-by: Edgar E. Iglesias Signed-off-by: Michal Simek --- Other options could be to c

Re: [U-Boot] Pull request - microblaze

2013-05-09 Thread Michal Simek
Hi Tom, I were too fast. :-( I forget to add that gpio patch Here is the correct one. I have added that patch on the top of that two. Thanks, Michal The following changes since commit fe8e4dbad1d31c452af3fbabba21e72b210381b3: nds32: Use sections header to obtain link symbols (2013-05-08 12:3

[U-Boot] Pull request - microblaze

2013-05-09 Thread Michal Simek
Hi Tom, please pull these two patches to your tree. One fix coding style and the second and support for initrd. Thanks, Michal The following changes since commit fe8e4dbad1d31c452af3fbabba21e72b210381b3: nds32: Use sections header to obtain link symbols (2013-05-08 12:38:10 +0800) are avail

[U-Boot] [PATCH] smc911x: fix the timeout detection

2013-05-09 Thread Masahiro Yamada
If timeout is occurred at the while loop above, the value of 'timeout' is -1, not 0. Signed-off-by: Masahiro Yamada --- drivers/net/smc911x.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h index a290073..f63a069 100644 ---

[U-Boot] [PATCH] arm: fix a comment

2013-05-09 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/lib/crt0.S |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S index a9657d1..58fcd03 100644 --- a/arch/arm/lib/crt0.S +++ b/arch/arm/lib/crt0.S @@ -103,7 +103,7 @@ ENTRY(_main) sub

Re: [U-Boot] [PATCH v2] at91sam9x5ek: Pass serial and revision tags to Linux

2013-05-09 Thread Julius Hemanth P
Thanks Bo, will send updated patch with all corrections. Regards, Julius Hemanth P On May 9, 2013 8:49 AM, "Bo Shen" wrote: > Hi Julius, > > On 5/3/2013 18:54, Julius Hemanth P wrote: > >> This code is small snippet from patch >> ftp://ftp.linux4sam.org/pub/**uboot/u-boot-v2010.06/u-boot-** >> 5