Re: [U-Boot] [PATCH] ppc: cleanup compilererrors/warnings

2009-03-24 Thread Heiko Schocher
Hello Mike, Mike Frysinger wrote: > On Tuesday 24 March 2009 06:52:38 Heiko Schocher wrote: >> actual u-boot top of tree builds with warnings/errors for the following >> boards: >> >> ads5121 cpci5200 mecp5200 v38b IAD210 MBX MBX860T NX823 RPXClassic debris >> PN62 >> >> following patch solves it

Re: [U-Boot] [PATCH 1/2] Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN

2009-03-24 Thread Amit Kumar Sharma
Hi Wolfgang, - Original Message - From: "Wolfgang Denk" To: "Scott Wood" Cc: ; "apgmoorthy" Sent: Tuesday, March 24, 2009 4:16 AM Subject: Re: [U-Boot] [PATCH 1/2] Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN > Dear Scott, > > In message <49c80b99.5010...@freescale.com> you wrote:

Re: [U-Boot] [PATCH] Coldfire: I2C: Update I2CFDR frequency divider 0x0E value from 192 to 204

2009-03-24 Thread TC Liew
Richard, Nak. The divider and fdr value are predefined in the 5271 reference manual. The bus clock is 50Mhz and the CONFIG_SYS_I2C_SPEED is set to 8. divider = min(i2c_clk / speed, (unsigned short) -1); divider = 5000 / 8; = 625 if (fsl_i2c_speed_map[i].divider >= divider

[U-Boot] Pull request u-boot-blackfin.git

2009-03-24 Thread Mike Frysinger
The following changes since commit 4ace2823bc1fcc96874069a9a8c0821ff4f95f5d: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-avr32 are available in the git repository at: git://www.denx.de/git/u-boot-blackfin.git master Mike Frysinger (31): Blackfin: update

Re: [U-Boot] [PATCH] inka4x0: Add hardware diagnosis and RTC in configuration.

2009-03-24 Thread Anatolij Gustschin
Detlev Zundel wrote: > This patch adds the board specific communication routines needed by > the external 4543 RTC. > > Signed-off-by: Detlev Zundel > Signed-off-by: Andreas Pfefferle duplicated e-mail address from Andreas in your SoB again. Best regards, Anatolij

Re: [U-Boot] [PATCH] ppc: cleanup compilererrors/warnings

2009-03-24 Thread Mike Frysinger
On Tuesday 24 March 2009 06:52:38 Heiko Schocher wrote: > actual u-boot top of tree builds with warnings/errors for the following > boards: > > ads5121 cpci5200 mecp5200 v38b IAD210 MBX MBX860T NX823 RPXClassic debris > PN62 > > following patch solves it for: > > ads5121, cpci5200, mecp5200, NX823,

Re: [U-Boot] [PATCH] inka4x0: Add hardware diagnosis functions for inka4x0

2009-03-24 Thread Anatolij Gustschin
Hi Detlev, Detlev Zundel wrote: > This patch adds advanced diagnosis functions for the inka4x0 board. > > Signed-off-by: Andreas Pfefferle > Signed-off-by: Detlev Zundel Something went wrong here, duplicated e-mail address from Andreas in your SoB. Also please see some style comments below. >

Re: [U-Boot] [PATCH 3/5] NetStar: use generic flash driver

2009-03-24 Thread Ladislav Michl
Dear Wolfgang, On Wed, Mar 18, 2009 at 08:44:20PM +0100, Wolfgang Denk wrote: > In message <20090316222932.gd1...@localhost.localdomain> you wrote: > > Use generic flash driver. > > > > Signed-off-by: Ladislav Michl > > Does not apply to me: I'm sorry for that. Updated version follows. Signed

Re: [U-Boot] [PATCH] inka4x0: Add hardware diagnosis functions for inka4x0

2009-03-24 Thread Scott Wood
Wolfgang Denk wrote: >> +static int do_inkadiag_serial(cmd_tbl_t *cmdtp, int flag, int argc, >> + char *argv[]) { >> +if (argc < 5) { >> +cmd_usage(cmdtp); >> +return 1; >> +} >> + >> +argc--; >> +argv++; >> + >> +unsigned int num

Re: [U-Boot] [PATCH] inka4x0: Add hardware diagnosis and RTC in configuration.

2009-03-24 Thread Wolfgang Denk
Dear Detlev Zundel, In message <1237914158-15693-7-git-send-email-...@denx.de> you wrote: > This patch adds the board specific communication routines needed by > the external 4543 RTC. > > Signed-off-by: Detlev Zundel > Signed-off-by: Andreas Pfefferle ... > @@ -235,6 +238,23 @@ int misc_init_f

Re: [U-Boot] [PATCH] drivers/twserial: Add protocol driver for "three wire serial" interface.

2009-03-24 Thread Wolfgang Denk
Dear Detlev Zundel, In message <1237914158-15693-4-git-send-email-...@denx.de> you wrote: > This pretty unintelligent interface is used on some RTC chips. > > Signed-off-by: Detlev Zundel ... > +#ifndef TWS_SOFT_DECLARATIONS > +# if defined(CONFIG_MPC5xxx) > +# define TWS_SOFT_DECLARATIONS vola

Re: [U-Boot] [PATCH] inka4x0: Add hardware diagnosis functions for inka4x0

2009-03-24 Thread Wolfgang Denk
Dear Detlev Zundel, In message <1237914158-15693-6-git-send-email-...@denx.de> you wrote: > This patch adds advanced diagnosis functions for the inka4x0 board. > > Signed-off-by: Andreas Pfefferle > Signed-off-by: Detlev Zundel ... > + extern int inkadiag_init_r (void); > + /* > +

[U-Boot] [PATCH 3/3] OMAP: use {read, write}l to access timer registers

2009-03-24 Thread Ladislav Michl
Signed-off-by: Ladislav Michl --- cpu/arm925t/interrupts.c | 21 + 1 files changed, 9 insertions(+), 12 deletions(-) diff --git a/cpu/arm925t/interrupts.c b/cpu/arm925t/interrupts.c index 361047b..e5c77f7 100644 --- a/cpu/arm925t/interrupts.c +++ b/cpu/arm925t/interrupts.c

[U-Boot] [PATCH 2/3] OMAP: rename timer divisor

2009-03-24 Thread Ladislav Michl
Divisor field is called PTV not PVT. Signed-off-by: Ladislav Michl --- cpu/arm925t/interrupts.c|2 +- include/configs/SX1.h |6 +++--- include/configs/apollon.h |6 ++ include/configs/netstar.h |4 ++-- include/configs/omap1510inn.h |6 +++

[U-Boot] [PATCH 1/3] OMAP: reindent timer code

2009-03-24 Thread Ladislav Michl
Signed-off-by: Ladislav Michl --- cpu/arm925t/interrupts.c | 19 --- 1 files changed, 8 insertions(+), 11 deletions(-) diff --git a/cpu/arm925t/interrupts.c b/cpu/arm925t/interrupts.c index 3ef4554..ce3c4ad 100644 --- a/cpu/arm925t/interrupts.c +++ b/cpu/arm925t/interrupts.c @

Re: [U-Boot] [PATCH] inka4x0: Add hardware diagnosis functions for inka4x0

2009-03-24 Thread Wolfgang Denk
Dear Heiko & Detlev, In message <49c91e04.2020...@denx.de> you wrote: ... > > +#define GPIO_BASE (u_char *)0x3040 > > > > should be > > #define GPIO_BASE (u_char *)CONFIG_SYS_CS3_START or #define GPIO_BASE ((u_char *)CONFIG_SYS_CS3_START) ? > > +#define SERIAL_PORT_BASE (u_

Re: [U-Boot] [PATCH v1 0/7] Update for inka4x0 plus some new features

2009-03-24 Thread Wolfgang Denk
Dear Detlev Zundel, In message <1237914158-15693-1-git-send-email-...@denx.de> you wrote: > This patchset contains updates for the ink4x0 platform. Namely it > adds hardware diagnostic funtions and an RTC driver. It would have been nice if your patches gave *any* hint about the order they in whi

Re: [U-Boot] [PATCH 1/2] LPC2468 support

2009-03-24 Thread Wolfgang Denk
Dear Remco Poelstra, In message <49c8be7a.10...@duran-audio.com> you wrote: > This patch includes support for the LPC2468 processor from NXP. > > The example board will follow when this patch is OK. Such a comment does not belong into the commit message. Please mode it below the "---" line. > S

Re: [U-Boot] minicom garbled

2009-03-24 Thread Wolfgang Denk
Dear SlinceArm, In message <22677067.p...@talk.nabble.com> you wrote: > > i have one s3c2440 board , the bootloader is "vivi" > > and i try to install u-boot 1.1.4 to this board but i get garbled from my > minicom :( U-Boot 1.1.4 is prehistoric, please use reacent code. And minicom is official

Re: [U-Boot] [PATCH] drivers/net/tsec.c - mii_parse_sr does not wait for auto-negotiation completion bug fix

2009-03-24 Thread Peter Tyser
Hi Michael, On Tue, 2009-03-24 at 19:57 +0200, Michael Zaidman wrote: > drivers/net/tsec.c - mii_parse_sr does not wait for auto-negotiation > completion bug fix > > In the case when the MIIM_STATUS_LINK is 0 i.e. link is down > and this is the situation immediately after power up, > the code of

[U-Boot] [PATCH] drivers/net/tsec.c - mii_parse_sr does not wait for auto-negotiation completion bug fix

2009-03-24 Thread Michael Zaidman
drivers/net/tsec.c - mii_parse_sr does not wait for auto-negotiation completion bug fix In the case when the MIIM_STATUS_LINK is 0 i.e. link is down and this is the situation immediately after power up, the code of awaiting for auto-negotiation completion now will be executed. Signed-off-by: Mich

Re: [U-Boot] [PATCH] inka4x0: Add hardware diagnosis functions for inka4x0

2009-03-24 Thread Heiko Schocher
Hello Detlev, Detlev Zundel wrote: > This patch adds advanced diagnosis functions for the inka4x0 board. > > Signed-off-by: Andreas Pfefferle > Signed-off-by: Detlev Zundel > --- > board/inka4x0/Makefile|4 +- > board/inka4x0/inka4x0.c | 19 ++- > board/inka4x0/inkadiag.c | 541 >

[U-Boot] [PATCH] inka4x0: Use proper accessor macros for memory mapped registers.

2009-03-24 Thread Detlev Zundel
Signed-off-by: Detlev Zundel --- board/inka4x0/inka4x0.c | 131 --- 1 files changed, 67 insertions(+), 64 deletions(-) diff --git a/board/inka4x0/inka4x0.c b/board/inka4x0/inka4x0.c index 35747ed..2ef770b 100644 --- a/board/inka4x0/inka4x0.c +++ b/boa

[U-Boot] [PATCH] inka4x0: Add hardware diagnosis and RTC in configuration.

2009-03-24 Thread Detlev Zundel
This patch adds the board specific communication routines needed by the external 4543 RTC. Signed-off-by: Detlev Zundel Signed-off-by: Andreas Pfefferle --- board/inka4x0/inka4x0.c | 20 ++ include/configs/inka4x0.h | 90 ++-- 2 files change

[U-Boot] [PATCH] drivers/twserial: Add protocol driver for "three wire serial" interface.

2009-03-24 Thread Detlev Zundel
This pretty unintelligent interface is used on some RTC chips. Signed-off-by: Detlev Zundel --- Makefile|3 +- drivers/twserial/Makefile | 46 ++ drivers/twserial/soft_tws.c | 110 +++ include/tws.h

[U-Boot] [PATCH] rtc: add support for 4543 RTC (manufactured by e.g. EPSON)

2009-03-24 Thread Detlev Zundel
From: Andreas Pfefferle Signed-off-by: Detlev Zundel Signed-off-by: Andreas Pfefferle --- drivers/rtc/Makefile |1 + drivers/rtc/rtc4543.c | 118 + include/rtc.h |4 ++ 3 files changed, 123 insertions(+), 0 deletions(-) create

[U-Boot] [PATCH] command.c: Expose the core of do_help as _do_help to the rest of u-boot.

2009-03-24 Thread Detlev Zundel
Other commands implementing subcommands can reuse this code nicely. Signed-off-by: Detlev Zundel Signed-off-by: Andreas Pfefferle --- common/command.c | 20 +--- include/command.h |4 +++- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/common/command.c b/

[U-Boot] [PATCH] inka4x0: Add hardware diagnosis functions for inka4x0

2009-03-24 Thread Detlev Zundel
This patch adds advanced diagnosis functions for the inka4x0 board. Signed-off-by: Andreas Pfefferle Signed-off-by: Detlev Zundel --- board/inka4x0/Makefile|4 +- board/inka4x0/inka4x0.c | 19 ++- board/inka4x0/inkadiag.c | 541 + includ

[U-Boot] [PATCH v1 0/7] Update for inka4x0 plus some new features

2009-03-24 Thread Detlev Zundel
This patchset contains updates for the ink4x0 platform. Namely it adds hardware diagnostic funtions and an RTC driver. For a nice integration by using private command tables, do_help is extended to support this scenario also. To successfully convert all the pointer access to accessor macros, a b

[U-Boot] [PATCH] mpc5xxx: Add structure definition for several more register blocks.

2009-03-24 Thread Detlev Zundel
Signed-off-by: Detlev Zundel --- include/mpc5xxx.h | 124 + 1 files changed, 124 insertions(+), 0 deletions(-) diff --git a/include/mpc5xxx.h b/include/mpc5xxx.h index 6138d45..463d5ae 100644 --- a/include/mpc5xxx.h +++ b/include/mpc5xxx.h @@

Re: [U-Boot] u-boot fails to uncompress a "gzip'ed -9" kernel

2009-03-24 Thread Norbert van Bolhuis
Hi Tor, Did I ever respond to your email, I forgot. Anyway it's nice to see others have the same problem also. The root cause of this has been found, did you see this: It's a CPU memory cache problem (I could have known). details: Scott Wood wrote: > This board currently sets DBAT6 to cover al

Re: [U-Boot] [PATCH] Canyonlands SATA harddisk driver

2009-03-24 Thread Stefan Roese
On Tuesday 24 March 2009, Kazuaki Ichinohe wrote: > This patch adds a SATA harddisk driver for the canyonlands. Thanks. But your patch is linewrapped and therefor hard to read and can't be applied. And the commit message could be a little more descriptive. And please don't forget to add you Sig

[U-Boot] Writing a SATA driver

2009-03-24 Thread Chris Ziomkowski
Please forgive my dreadful ignorance. I have no experience with uBoot. I just downloaded the source code today. I need to write a driver for a custom SATA IP core for MicroBlaze on a Xilinx ML505. I have not been successful finding any documentation which explains how to do this with uBoot. F

[U-Boot] [PATCH v4] board support patch for phyCORE-MPC5200B-tiny

2009-03-24 Thread Jon Smirl
Add support for the Phytec phyCORE-MPC5200B-tiny. This code is from Pengutronix.de but they didn't sign the patch. Signed-off-by: Jon Smirl --- Makefile| 10 + board/phytec/pcm030/Makefile| 50 board/phytec/pcm030/config.mk | 42 +++ board/p

Re: [U-Boot] [PATCH 2] board support patch for phyCORE-MPC5200B-tiny

2009-03-24 Thread Jon Smirl
On Mon, Mar 23, 2009 at 10:55 PM, Jon Smirl wrote: >>> +/* >>> + * Returns OPENIP register base address. First thing called in the driver. >>> + */ >>> +unsigned int board_video_init(void) >>> +{ >>> +     ulong dummy; >>> +     dummy = in_be32((unsigned __iomem *)OPENIP_MMIO_BASE);  /*dummy read

Re: [U-Boot] [PATCH 1/2] LPC2468 support

2009-03-24 Thread Remco Poelstra
This patch includes support for the LPC2468 processor from NXP. The example board will follow when this patch is OK. Signed-off-by: Remco Poelstra --- diff -upNr u-boot-orig/cpu/arm720t/interrupts.c u-boot-cleanup/cpu/arm720t/interrupts.c --- u-boot-orig/cpu/arm720t/interrupts.c2009-03-

[U-Boot] [PATCH] ppc: cleanup compilererrors/warnings

2009-03-24 Thread Heiko Schocher
Hello Mike, actual u-boot top of tree builds with warnings/errors for the following boards: ads5121 cpci5200 mecp5200 v38b IAD210 MBX MBX860T NX823 RPXClassic debris PN62 following patch solves it for: ads5121, cpci5200, mecp5200, NX823, debris and PN62 Signed-off-by: Heiko Schocher --- but

[U-Boot] minicom garbled

2009-03-24 Thread SlinceArm
Hi , all i have one s3c2440 board , the bootloader is "vivi" and i try to install u-boot 1.1.4 to this board but i get garbled from my minicom :( then i use "kermit" , the issue was same. my setting , Baudrate : 115200 8N1 Hardware flow Control : NO Software flow Control : NO i searc

Re: [U-Boot] [PATCH 1/3] mpc5200: do not use printf in i2c_init()

2009-03-24 Thread Heiko Schocher
Hello Jon, Jon Smirl wrote: > On Sun, Mar 22, 2009 at 11:23 AM, Wolfgang Denk wrote: > >> Dear Jon Smirl, >> >> In message <9e4733910903220723u31546286q233c9b24b7a5...@mail.gmail.com> you >> wrote: >> >>> Would it be better to put the check for (gd->have_console) into printf >>> itself

Re: [U-Boot] [PATCH] sf: drop DEBUG defines

2009-03-24 Thread Haavard Skinnemoen
Mike Frysinger wrote: > Signed-off-by: Mike Frysinger > CC: Haavard Skinnemoen Acked-by: Haavard Skinnemoen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] i2c: rework multibus/multiadapter functionality

2009-03-24 Thread Heiko Schocher
Hello, I want now, because the merge window is open again, restart the the multibus/multiadapter discussion. To have a base for this discusion, I made in the i2c git tree (git://git.denx.de/u-boot-i2c.git) the following new 2 branches: "multibus": Patches from Sergey Kubushyn posted in the l