[U-Boot] [PATCH v2] nios2: remove EP1C20, EP1S10, EP1S40 boards

2010-06-16 Thread Thomas Chou
The example configuration files of nios2-generic board can generated binary to run on the EP1C20, EP1S10, and EP1S40 boards. So the three boards can be removed. With nios2-generic approach, the fpga parameter header file can be generated from hardware designs using tools. Porting u-boot for nios2

[U-Boot] DDR3 initialization fails after cold boot

2010-06-16 Thread prakash bedge
Hi, I am trying to initialize the DDR3 present on my board, using the u-boot with DMA engine on my board. My board is mounted on linux machine. DDR3 initialization completes successfully after warm boot (given init 6 command on linux). But the same u-boot code fails after cold boot

Re: [U-Boot] DDR3 initialization fails after cold boot

2010-06-16 Thread Wolfgang Denk
Dear prakash bedge, In message aanlktilyomb3ykqv7o2gmrbuqbwt38nfez-qoq6rj...@mail.gmail.com you wrote: Also I am seeing that in u-boot timing might be not correct. Let's say the use of the code is not correct. udelay(1400) function should generate 14 sec delay but it generates delay

[U-Boot] [PATCH 1/2] sh: Fix path of irqflags.h

2010-06-16 Thread Nobuhiro Iwamatsu
This changes path of irqflags.h from linux/ to asm/. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- arch/sh/include/asm/system.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/sh/include/asm/system.h b/arch/sh/include/asm/system.h index

[U-Boot] [PATCH 2/2] sh: Add trigger_address_error and support cpu reset

2010-06-16 Thread Nobuhiro Iwamatsu
This add support cpu reset by trigger_address_error function. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- arch/sh/cpu/sh2/watchdog.c |8 ++-- arch/sh/cpu/sh3/watchdog.c |7 +++ arch/sh/cpu/sh4/watchdog.c |4 arch/sh/include/asm/system.h |

[U-Boot] Linking some code to internal SRAM instead of SDRAM

2010-06-16 Thread Alexander Stein
Hello, I have an at91 based board which starts from NOR flash. I have an ugly workaround in lowlevel_init.S that switching from slowclock to PLLA is done from the internal SRAM instead directly from NOR which is not possible as the NOR flash timing are also affected. So i copied some data

[U-Boot] Disable cache on PPC

2010-06-16 Thread Lasse Skov
Hi I have a build for my mpc8377 ppc prototype board and i will try to disable the cache before running my BSP on my target. Uboot running in cache so i can't not just disable cache. So my question is how to disable cache for the target here? Or should i instead disable it when booting my BSP?

Re: [U-Boot] Linking some code to internal SRAM instead of SDRAM

2010-06-16 Thread Wolfgang Denk
Dear Alexander Stein, In message 201006161018.48802.alexander.st...@systec-electronic.com you wrote: A new approach would be to link lowlevel_init directly at 0x0020 (which is AT91SAM9260_SRAM0_BASE) but the code is located next to the normal .text segment. I've prepared a change to

Re: [U-Boot] Linking some code to internal SRAM instead of SDRAM

2010-06-16 Thread Alexander Stein
Dear Wolfgang, Am Mittwoch, 16. Juni 2010 14:56:31 schrieb Wolfgang Denk: A new approach would be to link lowlevel_init directly at 0x0020 (which is AT91SAM9260_SRAM0_BASE) but the code is located next to the normal .text segment. I've prepared a change to cpu/arm926ejs/u-boot.lds (I

[U-Boot] SSP and SA1111 misbehaving

2010-06-16 Thread Kristoffer Ericson
Greetings, Im having great difficulty deciding where the error exists, if its inside kernel or bootloader. What Im seeing is problems initializing hardware when using Flashrom + U-boot + 2.6.32: SA fails to set trigger mode 3 SSP seems fine but doesnt work when trying to use it, it just times

Re: [U-Boot] [PATCH] examples/standalone: Remove relocation compile flags for PowerPC

2010-06-16 Thread Timur Tabi
On Tue, Jun 15, 2010 at 10:37 PM, Peter Tyser pty...@xes-inc.com wrote: It looks like the -fno-toplevel-reorder flag is only available in gcc = 4.2 (http://gcc.gnu.org/gcc-4.2/changes.html released May 2007).  So, do we add support to U-Boot to conditionally check for the gcc version like

Re: [U-Boot] [PATCH] examples/standalone: Remove relocation compile flags for PowerPC

2010-06-16 Thread Wolfgang Denk
Dear Timur Tabi, In message aanlktild0osohtpuqpqwsrzsaxptcqnb_c2s0wtvi...@mail.gmail.com you wrote: we add support to U-Boot to conditionally check for the gcc version like Linux to know when to use -fno-toplevel-reorder? =A0Or do we use a linker script that would support more versions

[U-Boot] [PATCH]ppc4xx/Canyonlands added USB board callbacks

2010-06-16 Thread Rupjyoti Sarmah
Functions added to support board callbacks for USB init. This isolates USB manipulations such that it is only touched if USB is used by U-Boot. Signed-off-by: Dave Mitchell dmitch...@appliedmicro.com Signed-off-by: Rupjyoti Sarmah rsar...@appliedmicro.com ---

Re: [U-Boot] [PATCH 4/4 v3] musb: Program extvbus for OMAP3EVM Rev = E

2010-06-16 Thread Remy Bohmer
Hi, 2010/6/10 Ajay Kumar Gupta ajay.gu...@ti.com: OMAP3EVM Rev =E uses external Vbus supply so setting 'extvbus' to '1' for OMAP3EVM Rev =E runtime based on EVM revision. CC: Remy Bohmer li...@bohmer.net Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- No change from v2.  

Re: [U-Boot] [PATCH 1/4 v3] musb: Use name based initialization for musb_config

2010-06-16 Thread Remy Bohmer
Hi, 2010/6/10 Ajay Kumar Gupta ajay.gu...@ti.com: Changed musb_config initialization for omap3.c, davinci.c and da8xx.c using name of structure fields. This would cause the uninitialized field to be null by default and thus would help in avoiding to init some flags required to be set only

Re: [U-Boot] [PATCH 2/4 v3] musb: Add Phy programming for using external Vbus

2010-06-16 Thread Remy Bohmer
Hi, 2010/6/10 Ajay Kumar Gupta ajay.gu...@ti.com: MUSB PHY on OMAP3EVM Rev = E uses external Vbus supply to support 500mA of power.We need to program MUSB PHY to use external Vbus for this purpose. Adding 'extvbus' member in musb_config structure which should be set by all the boards where

Re: [U-Boot] [PATCH 3/4 v3] omap3evm: Add board revision function

2010-06-16 Thread Remy Bohmer
Hi, 2010/6/10 Ajay Kumar Gupta ajay.gu...@ti.com: Added function to differentiate between the OMAP3EVM revisions. The chip-id of the ethernet PHY is being used for this purpose. Rev A to D : 0x0115 Rev = E   : 0x9220 CC: Remy Bohmer li...@bohmer.net Signed-off-by: Vaibhav Hiremath

Re: [U-Boot] [PATCH]ppc4xx/Canyonlands added USB board callbacks

2010-06-16 Thread Wolfgang Denk
Dear Rupjyoti Sarmah, In message 201006161734.o5ghya6i014...@amcc.com you wrote: Functions added to support board callbacks for USB init. This isolates USB manipulations such that it is only touched if USB is used by U-Boot. Signed-off-by: Dave Mitchell dmitch...@appliedmicro.com

[U-Boot] [PATCH 2/2] mmc: omap3: fix block read function

2010-06-16 Thread Grazvydas Ignotas
The OMAP3 block read function is not following API and always returning 1 instead of read block count, fix it. Also to simplify code, merge it with with a helper function, which was only called from the block read function. After this patch ext2 filesystem can be used properly. Signed-off-by:

[U-Boot] [PATCH 1/2] mmc: omap3: make local symbols static

2010-06-16 Thread Grazvydas Ignotas
Make driver local variables and functions static and remove them from the arch header. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- arch/arm/include/asm/arch-omap3/mmc.h |9 - drivers/mmc/omap3_mmc.c | 33 + 2 files changed,

[U-Boot] [PATCH] Please Pull u-boot-ti/master

2010-06-16 Thread s-paulraj
Wolfgang, Please pull this from my master branch. If you pull all all of these, you will not have to pull some of these patches from Tom's master and some patches from my master branch. I think this would be the most simple. Do let me know if this is acceptable Thanks, Sandeep The following

Re: [U-Boot] [PATCH V5 03/10] 83xx/85xx/86xx: LBC register cleanup

2010-06-16 Thread Becky Bruce
Dangit I'll fix that, thanks. Grrr. -B On Jun 15, 2010, at 8:31 PM, Kim Phillips wrote: On Mon, 14 Jun 2010 19:56:13 -0500 Becky Bruce bec...@kernel.crashing.org wrote: Currently, 83xx, 86xx, and 85xx have a lot of duplicated code dedicated to defining and manipulating the LBC

Re: [U-Boot] [PATCH V5 09/10] powerpc 83xx/85xx: Merge lbc upmconfig code

2010-06-16 Thread Becky Bruce
Gah. Where did that come from? Will respin this one. -B On Jun 15, 2010, at 8:31 PM, Kim Phillips wrote: On Mon, 14 Jun 2010 19:56:19 -0500 Becky Bruce bec...@kernel.crashing.org wrote: Each platform had its own version of the upmconfig, despite the init process being identical. Now

Re: [U-Boot] [PATCH v2] Add mkimage manpage

2010-06-16 Thread Kim Phillips
On Wed, 16 Jun 2010 10:38:24 +0900 Nobuhiro Iwamatsu iwama...@nigauri.org wrote: Hello Nobuhiro, As for some distribution, a mkimage command is made a package. However, there was not manual of mkimage. This provides manual of mkimage. I recall looking for one several years ago ;) +.SH

Re: [U-Boot] Disable cache on PPC

2010-06-16 Thread Kim Phillips
On Wed, 16 Jun 2010 13:37:24 +0200 Lasse Skov la...@kk-electronic.com wrote: Hi I have a build for my mpc8377 ppc prototype board and i will try to disable the cache before running my BSP on my target. Uboot running in cache so i can't not just disable cache. So my question is how to

Re: [U-Boot] [PATCH 08/10] ARMV7: Restructure OMAP i2c driver to allow code sharing between OMAP3 and OMAP4

2010-06-16 Thread Steve Sakoman
On Mon, Jun 14, 2010 at 11:47 PM, Heiko Schocher h...@denx.de wrote: Instead of making here a third copy of this defines, we should make a common omap i2c.h file, which collects all common defines, and only add in this file here the specific defines. This applies to a lot of defines below.

[U-Boot] [PATCH] powerpc: fix wrong comment at GOT definitions

2010-06-16 Thread Heiko Schocher
r12 is used for accessing the GOT not r14. Fix this in the comment. Signed-off-by: Heiko Schocher h...@denx.de --- include/ppc_asm.tmpl |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/ppc_asm.tmpl b/include/ppc_asm.tmpl index 84de146..2db4784 100644 ---

Re: [U-Boot] [PATCH 08/10] ARMV7: Restructure OMAP i2c driver to allow code sharing between OMAP3 and OMAP4

2010-06-16 Thread Heiko Schocher
Hello Steve, Steve Sakoman wrote: On Mon, Jun 14, 2010 at 11:47 PM, Heiko Schocher h...@denx.de wrote: Instead of making here a third copy of this defines, we should make a common omap i2c.h file, which collects all common defines, and only add in this file here the specific defines.