[U-Boot] program exception trap 700

2008-11-23 Thread raj shekar
  I  am working on  mpc8548cds board …   Feature : POST DIAGNOSTICS;   In  u-boot :  post/memory.c,cpu.c..etc..   Need your suggestion…   There is function pointers in post.c which calls the respective function to perform diag test ( example ram , cpu, ether ..etc ) which will be picked from test

Re: [U-Boot] ARM pull request

2008-11-23 Thread Dirk Behme
Jean-Christophe PLAGNIOL-VILLARD wrote: > Hi Wolfgang, > please pull > The following changes since commit 9b827cf1720acda2473afa516956eab6f7cca9a1: > Selvamuthukumar (1): > Align end of bss by 4 bytes > > are available in the git repository at: > > git://git.denx.de/u-boot-arm.git mas

[U-Boot] [PATCH-OMAP3] OMAP3: Convert readl/writel and replace hardcoded values

2008-11-23 Thread Dirk Behme
Convert readl/writel to base + offset style. Replace hardcoded values with macros. No functional change. Signed-off-by: Dirk Behme <[EMAIL PROTECTED]> --- cpu/arm_cortexa8/omap3/board.c | 56 --- cpu/arm_cortexa8/omap3/clock.c | 47 - cpu/arm_cortexa8/omap3

Re: [U-Boot] ppc405ep boot freeze with u-boot 1.3.4

2008-11-23 Thread Reto Stalder
Hi Stefan > On Friday 21 November 2008, Reto Stalder wrote: >> I have a custom ppc405ep board with 128MB SDRAM, very similar to the >> AMCC Taihu board. U-Boot 1.1.4 works perfectly fine. But version 1.3.4 >> freezes after saying "Relocating now" in debug mode. > > This is an indication of an SDR

Re: [U-Boot] [PATCH-OMAP3] OMAP3: Convert readl/writel and replace hardcoded values

2008-11-23 Thread Wolfgang Denk
Dear Dirk, In message <[EMAIL PROTECTED]> you wrote: > Convert readl/writel to base + offset style. Replace hardcoded values with > macros. I think repeating the sequence "base + offset(foo)" again and again is not exactly nice or easy to read. > - writel((a_add_high | a_add_low), SDRC_CS_

Re: [U-Boot] [PATCH-OMAP3] OMAP3: Convert readl/writel and replace hardcoded values

2008-11-23 Thread Dirk Behme
Dear Wolfgang, Wolfgang Denk wrote: > Dear Dirk, > > In message <[EMAIL PROTECTED]> you wrote: > >>Convert readl/writel to base + offset style. Replace hardcoded values with >>macros. > > > I think repeating the sequence "base + offset(foo)" again and again > is not exactly nice or easy to r

Re: [U-Boot] [PATCH-OMAP3] OMAP3: Convert readl/writel and replace hardcoded values

2008-11-23 Thread Wolfgang Denk
Dear Dirk, In message <[EMAIL PROTECTED]> you wrote: > > > I think repeating the sequence "base + offset(foo)" again and again > > is not exactly nice or easy to read. ... > >>- writel((a_add_high | a_add_low), SDRC_CS_CFG); > >>+ writel((a_add_high | a_add_low), sdrc_base + OFFS(SDRC_CS_CF

[U-Boot] Booting zImage on IXP425 BE

2008-11-23 Thread Horst Rennfler
Good evening... I have an IXP425 based platform which currently has redboot installed and want to replace it with u-boot of course :-) I can start latest u-boot from git inside redboot, display flash information, doing memory test, tftp images onto it without problems... What bugs me is the fact

Re: [U-Boot] Booting zImage on IXP425 BE

2008-11-23 Thread Jean-Christophe PLAGNIOL-VILLARD
On 21:15 Sun 23 Nov , Horst Rennfler wrote: > Good evening... > I have an IXP425 based platform which currently has redboot installed > and want to replace it with u-boot of course :-) > > I can start latest u-boot from git inside redboot, display flash > information, > doing memory test, tftp

Re: [U-Boot] [PATCH-OMAP3] OMAP3: Convert readl/writel and replace hardcoded values

2008-11-23 Thread Graeme Russ
On Mon, Nov 24, 2008 at 6:47 AM, Wolfgang Denk <[EMAIL PROTECTED]> wrote: > Dear Dirk, > > you should really use structures like this: > >struct ecc_control { >u32 ecc_config; >u32 ecc_control; >u32 ecc_size_config; >u32 ecc1_

Re: [U-Boot] [PATCH-OMAP3] OMAP3: Convert readl/writel and replace hardcoded values

2008-11-23 Thread Wolfgang Denk
Dear Graeme, in message <[EMAIL PROTECTED]> you wrote: > > Do you mean to instance the ecc_control struct at a specific memory > location and use writel(0x000, &ptr->ecc_config);? If so, why not Yes - this, and all other blocks of registers. > simply use ptr->ecc_config = 0x? Because in gen

Re: [U-Boot] Booting zImage on IXP425 BE

2008-11-23 Thread Horst Rennfler
When I call the zImage directly I see then of course with the DEBUG: => go 0x8000 ## Starting application at 0x8000 ... Error: unrecognized/unsupported machine ID (r1 = 0x02fddea8). Available machine support: ID (hex)NAME 00f5Intel IXDP425 Development Platform Please che

Re: [U-Boot] [PATCH-OMAP3] OMAP3: Convert readl/writel and replace hardcoded values

2008-11-23 Thread Graeme Russ
Wolfgang, On Mon, Nov 24, 2008 at 10:04 AM, Wolfgang Denk <[EMAIL PROTECTED]> wrote: > Dear Graeme, > > in message <[EMAIL PROTECTED]> you wrote: >> >> Do you mean to instance the ecc_control struct at a specific memory >> location and use writel(0x000, &ptr->ecc_config);? If so, why not > > Yes -

Re: [U-Boot] [PATCH-OMAP3] OMAP3: Convert readl/writel and replace hardcoded values

2008-11-23 Thread Graeme Russ
On Mon, Nov 24, 2008 at 10:47 AM, Wolfgang Denk <[EMAIL PROTECTED]> wrote: > Linux/Documentation/ Hmmm, thats a big mouthful to chew for such a small bootloader Maybe we could start to pick out particular specific pieces that apply directly to the U-Boot source? > architecture does that in a s

Re: [U-Boot] [PATCH-OMAP3] OMAP3: Convert readl/writel and replace hardcoded values

2008-11-23 Thread Wolfgang Denk
Dear Graeme, In message <[EMAIL PROTECTED]> you wrote: > > > The only clean and portable and thus reliable way is to use the (CPU > > specific) accessor macros or functions. > > Will do :) thanks. > It seems to me that more and more of these 'style' issues are > cropping up. Should there be a

Re: [U-Boot] [PATCH] at91rm9200: fix broken boot from nor flash

2008-11-23 Thread Wolfgang Denk
Dear Jens, In message <[EMAIL PROTECTED]> you wrote: > This patch fix the broken boot from NOR Flash on AT91RM9200 boards, if > CONFIG_AT91RM9200 is defined and nor preloader is used. > > Please see >

Re: [U-Boot] Booting zImage on IXP425 BE

2008-11-23 Thread Lejin K Joy
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Horst Rennfler Sent: Monday, November 24, 2008 1:46 AM To: u-boot@lists.denx.de Subject: [U-Boot] Booting zImage on IXP425 BE Good evening... I have an IXP425 based platform which currently has redboot insta

[U-Boot] program exception trap 700

2008-11-23 Thread raj shekar
  I  am working on  mpc8548cds board …   Feature : POST DIAGNOSTICS;   In  u-boot :  post/memory.c,cpu.c..etc..   Need your suggestion…   There is function pointers in post.c which calls the respective function to perform diag test ( example ram , cpu, ether ..etc ) which will be p

Re: [U-Boot] [PATCH] UBI: Change size of UBI commands to default to hex instead of decimal

2008-11-23 Thread Stefan Roese
Hi Wolfgang, On Friday 21 November 2008, Wolfgang Denk wrote: > In message <[EMAIL PROTECTED]> you wrote: > > Currently the size parameters of the UBI commands (e.g. "ubi write") are > > decoded as decimal instead of hex as default. This patch now interprets > > all these values consistantly as he

[U-Boot] [PATCH] UBI: Change parsing of size in commands to default to hex

2008-11-23 Thread Stefan Roese
Currently the size parameters of the UBI commands (e.g. "ubi write") are decoded as decimal instead of hex as default. This patch now interprets all these values consistantly as hex, as all other standard U-Boot commands do. Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> --- common/cmd_ubi.c |