[U-Boot] Interrupts in uboot with ARM AT91SAM9

2009-09-03 Thread Manuel Sahm
Hello, I have to use interrupts in UBoot 1.3.4 - how could I enable them ? I have an AT91SAM9G20 - in ist header file I enable CONFIG_USE_IRQ und uncomment the lines#ifdefc CONFIG_USE_IRQ #error #endif. I inserted the lines: #define CONFIG_STACKSIZE_IRQ (4*1024) #define CONFIG_STACKSIZE_FIQ

Re: [U-Boot] [PATCH] zlib: fix code when DEBUG is defined

2009-09-03 Thread Wolfgang Denk
Dear Giuseppe CONDORELLI, In message 1251965311-5739-1-git-send-email-giuseppe.condore...@st.com you wrote: Removed stdio.h inclusion and moved trace macros to use printf avoiding to write debug informations to standard error. Signed-off-by: Giuseppe Condorelli giuseppe.condore...@st.com

[U-Boot] [PATCH v2] zlib: fix code when DEBUG is defined

2009-09-03 Thread Giuseppe CONDORELLI
Removed stdio.h inclusion and moved trace macros to use printf avoiding to write debug informations to standard error. Signed-off-by: Giuseppe Condorelli giuseppe.condore...@st.com --- lib_generic/zlib.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH v2] zlib: fix code when DEBUG is defined

2009-09-03 Thread Wolfgang Denk
Dear Giuseppe CONDORELLI, In message 1251970209-9053-1-git-send-email-giuseppe.condore...@st.com you wrote: Removed stdio.h inclusion and moved trace macros to use printf avoiding to write debug informations to standard error. Signed-off-by: Giuseppe Condorelli giuseppe.condore...@st.com

[U-Boot] Interrupts in uboot with ARM AT91SAM9 (V2)

2009-09-03 Thread Manuel Sahm
Hello, I have to use interrupts in UBoot 1.3.4 - how could I enable them ? I have an AT91SAM9G20 - in ist header file I enable CONFIG_USE_IRQ und uncomment the lines#ifdefc CONFIG_USE_IRQ #error #endif. I inserted the lines: #define CONFIG_STACKSIZE_IRQ (4*1024) #define

Re: [U-Boot] [PATCH v2] zlib: fix code when DEBUG is defined

2009-09-03 Thread Giuseppe CONDORELLI
Dear Wolfgang Denk, Isn't that great? Sure!!! :) What happens when we return here? Obviously this function is supposed to never return. Should we call hang() here? Given that z_error is invoked by Assert macro (never used) and that exit function (other than closing all opened stream) will

Re: [U-Boot] [PATCH v2] zlib: fix code when DEBUG is defined

2009-09-03 Thread Wolfgang Denk
Dear Giuseppe CONDORELLI, In message 011301ca2c7a$b5d83c40$c0818...@st.com you wrote: What happens when we return here? Obviously this function is supposed to never return. Should we call hang() here? Given that z_error is invoked by Assert macro (never used) and that exit function

[U-Boot] [PATCH v3] zlib: fix code when DEBUG is defined

2009-09-03 Thread Giuseppe CONDORELLI
Removed stdio.h inclusion and moved trace macros to use printf avoiding to write debug informations to standard error. Signed-off-by: Giuseppe Condorelli giuseppe.condore...@st.com --- lib_generic/zlib.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH v3 4/4] tools: mkimage: Add: Kirkwood Boot Image support (kwbimage)

2009-09-03 Thread Prafulla Wadaskar
-Original Message- From: Prafulla Wadaskar Sent: Tuesday, September 01, 2009 10:45 PM To: u-boot@lists.denx.de Cc: Prabhanjan Sarnaik; Ashish Karkare Subject: RE: [PATCH v3 4/4] tools: mkimage: Add: Kirkwood Boot Image support (kwbimage) -Original Message-

Re: [U-Boot] [PATCH v3 4/4] tools: mkimage: Add: Kirkwood Boot Image support (kwbimage)

2009-09-03 Thread Simon Kagstrom
On Mon, 24 Aug 2009 23:03:59 +0530 Prafulla Wadaskar prafu...@marvell.com wrote: This patch adds type kwbimabe support for new mkimage core For more details refer docs/README.kwbimage +Command syntax: +-- +./tools/mkimage -l kwboot_file + to list the kwb image file

[U-Boot] [PATCH v2] Reset i2c slave devices during init on mpc5xxx cpus

2009-09-03 Thread Eric Millbrandt
Reset any i2c devices that may have been interrupted during a system reset. Normally this would be accomplished by clocking the line until SCL and SDA are released and then sending a start condtiion (From an Atmel datasheet). There is no direct access to the i2c pins so instead create start

[U-Boot] [PATCH] ppc/85xx: Add a simple function to search the TLB

2009-09-03 Thread Kumar Gala
Allow us to search the TLB array based on an address. This is useful if we want to change an entry but dont know where it happens to be located. For example, the boot page mapping we use on MP or the flash TLB that we change the WIMGE settings for after we've relocated. Signed-off-by: Kumar

[U-Boot] Request to mailing list U-Boot-Users

2009-09-03 Thread Tien Guo
*Subscribing to U-Boot* Subscribe to U-Boot by filling out the following form. You will be sent email requesting confirmation, to prevent others from gratuitously subscribing you. This is a private list, which means that the list of members is not available to non-members. Your email

[U-Boot] [PATCH][v1] ppc/85xx/86xx: Bug fix: call to puts in probecpu() moved to checkcpu().

2009-09-03 Thread Poonam Aggrwal
While in probecpu() UART is still not initialized. Signed-off-by: Poonam Aggrwal poonam.aggr...@freescale.com Acked-by: Kumar Gala ga...@kernel.crashing.org --- applies on git.am.freescale.net/mirrors/u-boot.git cpu/mpc85xx/cpu.c |4 cpu/mpc86xx/cpu.c |6 ++ cpu/mpc8xxx/cpu.c |

Re: [U-Boot] [PATCH v3 4/4] tools: mkimage: Add: Kirkwood Boot Image support (kwbimage)

2009-09-03 Thread Prafulla Wadaskar
-Original Message- From: Simon Kagstrom [mailto:simon.kagst...@netinsight.net] Sent: Thursday, September 03, 2009 5:30 PM To: Prafulla Wadaskar Cc: u-boot@lists.denx.de; Ashish Karkare; Prabhanjan Sarnaik Subject: Re: [U-Boot] [PATCH v3 4/4] tools: mkimage: Add: Kirkwood Boot

Re: [U-Boot] [PATCH 1/2 v2] 85xx: CONFIG_MP Boot Page Translation update

2009-09-03 Thread Peter Tyser
On Thu, 2009-09-03 at 08:25 -0500, Kumar Gala wrote: On Aug 7, 2009, at 3:57 PM, Peter Tyser wrote: diff --git a/cpu/mpc85xx/mp.c b/cpu/mpc85xx/mp.c index 76f02a4..53fc3be 100644 --- a/cpu/mpc85xx/mp.c +++ b/cpu/mpc85xx/mp.c @@ -129,7 +129,7 @@ ulong get_spin_addr(void) ulong

[U-Boot] [PATCH][v1] ep8248: add support for device tree and secondary Ethernet interface.

2009-09-03 Thread Marcel Ziswiler
ep8248: add support for device tree and secondary Ethernet interface. Signed-off-by: Marcel Ziswiler marcel.ziswi...@noser.com --- board/ep8248/ep8248.c| 36 +- include/configs/ep8248.h | 53 -- 2 files changed, 57

Re: [U-Boot] [PATCH][v1] ep8248: add support for device tree and secondary Ethernet interface.

2009-09-03 Thread Peter Tyser
Hi Marcel, On Thu, 2009-09-03 at 14:52 +, Marcel Ziswiler wrote: ep8248: add support for device tree and secondary Ethernet interface. This commit message shouldn't be necessary since its identical to your commit subject. snip + +#if defined(CONFIG_OF_BOARD_SETUP)

[U-Boot] Odd value for I2C_TIMEOUT in fsl_i2c.c

2009-09-03 Thread Timur Tabi
Currently we define I2C_TIMEOUT like this: #define I2C_TIMEOUT (CONFIG_SYS_HZ / 4) I'm seeing some I2C instability on a new board I'm working on, especially with SPD. If I change the above to #define I2C_TIMEOUT (CONFIG_SYS_HZ / 2) The problems go away (or at least, so far appear

Re: [U-Boot] [PATCH] ppc/85xx: Fix bug in setup_mp code

2009-09-03 Thread Kumar Gala
On Sep 3, 2009, at 9:41 AM, Peter Tyser wrote: On Thu, 2009-09-03 at 08:58 -0500, Kumar Gala wrote: Its possible that we try and copy the boot page code out of flash into a DDR location that doesn't have a TLB cover it. For example, if we have 3G of DDR we typically only map the first

Re: [U-Boot] Virtual addresses, u-boot, and the MMU

2009-09-03 Thread Becky Bruce
On Sep 2, 2009, at 2:59 AM, Wolfgang Denk wrote: Dear J. William Campbell, In message 4a9d99b1.1010...@comcast.net you wrote: ... Becky then posted the summary of this discussion here: http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/50705 ... In quick summary, for the next few

Re: [U-Boot] Virtual addresses, u-boot, and the MMU

2009-09-03 Thread J. William Campbell
Becky Bruce wrote: On Sep 2, 2009, at 2:59 AM, Wolfgang Denk wrote: Dear J. William Campbell, In message 4a9d99b1.1010...@comcast.net you wrote: ... Becky then posted the summary of this discussion here: http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/50705 ... In quick

[U-Boot] [PATCH 3/3] atmel_df_pow2: standalone to convert dataflashes to pow2

2009-09-03 Thread Mike Frysinger
Atmel DataFlashes by default operate with pages that are slightly bigger than normal binary sizes (i.e. many are 1056 byte pages rather than 1024 bytes). However, they also have a power of 2 mode where the pages show up with the normal binary size. The latter mode is required in order to boot

[U-Boot] [PATCH 1/3] push LOAD_ADDR out to arch mk files

2009-09-03 Thread Mike Frysinger
Rather than maintain/extend the current ifeq($(ARCH)) mess that exists in the standalone Makefile, push the setting up of LOAD_ADDR out to the arch config.mk (and rename to STANDALONE_LOAD_ADDR in the process). This keeps the common code clean and lets the arch do whatever crazy crap it wants in