* [U-Boot-Users] TQM823L flash recognition problem
@ 2008-06-27 22:08 Thomas Maenner
2008-06-30 11:03 ` Jens Gehrlein
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Maenner @ 2008-06-27 22:08 UTC (permalink / raw)
To: u-boot
Hi Everybody,
trying to use the u-boot V1.3.3 on a TQ Module:
TQM823L-AF Rev.311
which had u-boot v1.1.4 running without a problem, I now get this on two
modules:
--------------------
U-Boot 1.3.3 (Jun 27 2008 - 14:45:35)
CPU: PPC823EZTnnB2 at 50 MHz: 16 kB I-Cache 8 kB D-Cache
Board: TQM823LDB0A3-E50I.311
DRAM: 16 MB
FLASH: ## Unknown FLASH on Bank 2 - Size = 0x00000000 = 0 MB
4 MB
In: serial
Out: serial
Err: serial
Net: SCC ETHERNET
PCMCIA: No Card found
-------------------
The module has four AMD L160DB90VI onboard.
Compiled u-boot after "make TQM823L_config" without modifications.
- Anything I'm missing here?
- Was this answered before?
Thanks much for your help to point me in the right direction.
Tom
--
Linux hackers are funny people: They count the time in patchlevels
--
Thomas Maenner
E-Mail: mailto:tmaenner at aehr.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] TQM823L flash recognition problem
2008-06-27 22:08 [U-Boot-Users] TQM823L flash recognition problem Thomas Maenner
@ 2008-06-30 11:03 ` Jens Gehrlein
2008-06-30 16:39 ` [U-Boot-Users] [BULK] " Thomas Maenner
2008-07-06 22:14 ` [U-Boot-Users] " Wolfgang Denk
0 siblings, 2 replies; 4+ messages in thread
From: Jens Gehrlein @ 2008-06-30 11:03 UTC (permalink / raw)
To: u-boot
Hi Thomas,
Thomas Maenner schrieb:
> Hi Everybody,
>
> trying to use the u-boot V1.3.3 on a TQ Module:
> TQM823L-AF Rev.311
>
> which had u-boot v1.1.4 running without a problem, I now get this on two
> modules:
> --------------------
> U-Boot 1.3.3 (Jun 27 2008 - 14:45:35)
>
> CPU: PPC823EZTnnB2 at 50 MHz: 16 kB I-Cache 8 kB D-Cache
> Board: TQM823LDB0A3-E50I.311
> DRAM: 16 MB
> FLASH: ## Unknown FLASH on Bank 2 - Size = 0x00000000 = 0 MB
> 4 MB
> In: serial
> Out: serial
> Err: serial
> Net: SCC ETHERNET
> PCMCIA: No Card found
> -------------------
>
> The module has four AMD L160DB90VI onboard.
> Compiled u-boot after "make TQM823L_config" without modifications.
>
> - Anything I'm missing here?
> - Was this answered before?
>
> Thanks much for your help to point me in the right direction.
>
> Tom
Could you please change TQM823L.h:
-#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE }
+#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE +
0x400000 }
and try again?
There was a switch-over to use the CFI driver (see git history of file
TQM823L.h). AFAIK the CFI driver needs a list with fix start addresses
of each bank to start the CFI query on.
Best Regards,
Jens
^ permalink raw reply [flat|nested] 4+ messages in thread* [U-Boot-Users] [BULK] Re: TQM823L flash recognition problem
2008-06-30 11:03 ` Jens Gehrlein
@ 2008-06-30 16:39 ` Thomas Maenner
2008-07-06 22:14 ` [U-Boot-Users] " Wolfgang Denk
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Maenner @ 2008-06-30 16:39 UTC (permalink / raw)
To: u-boot
Thanks much Jens!!!
That did the trick - works fine so far!
Cheers
Tom
On Monday 30 June 2008 04:03:30 Jens Gehrlein wrote:
> Hi Thomas,
>
> Thomas Maenner schrieb:
> > Hi Everybody,
> >
> > trying to use the u-boot V1.3.3 on a TQ Module:
> > TQM823L-AF Rev.311
> >
> > which had u-boot v1.1.4 running without a problem, I now get this on two
> > modules:
> > --------------------
> > U-Boot 1.3.3 (Jun 27 2008 - 14:45:35)
> >
> > CPU: PPC823EZTnnB2 at 50 MHz: 16 kB I-Cache 8 kB D-Cache
> > Board: TQM823LDB0A3-E50I.311
> > DRAM: 16 MB
> > FLASH: ## Unknown FLASH on Bank 2 - Size = 0x00000000 = 0 MB
> > 4 MB
> > In: serial
> > Out: serial
> > Err: serial
> > Net: SCC ETHERNET
> > PCMCIA: No Card found
> > -------------------
> >
> > The module has four AMD L160DB90VI onboard.
> > Compiled u-boot after "make TQM823L_config" without modifications.
> >
> > - Anything I'm missing here?
> > - Was this answered before?
> >
> > Thanks much for your help to point me in the right direction.
> >
> > Tom
>
> Could you please change TQM823L.h:
>
> -#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE }
> +#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE +
> 0x400000 }
>
> and try again?
>
> There was a switch-over to use the CFI driver (see git history of file
> TQM823L.h). AFAIK the CFI driver needs a list with fix start addresses
> of each bank to start the CFI query on.
>
> Best Regards,
> Jens
--
Linux hackers are funny people: They count the time in patchlevels
--
Thomas Maenner
E-Mail: mailto:tmaenner at aehr.com
^ permalink raw reply [flat|nested] 4+ messages in thread* [U-Boot-Users] TQM823L flash recognition problem
2008-06-30 11:03 ` Jens Gehrlein
2008-06-30 16:39 ` [U-Boot-Users] [BULK] " Thomas Maenner
@ 2008-07-06 22:14 ` Wolfgang Denk
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2008-07-06 22:14 UTC (permalink / raw)
To: u-boot
In message <4868BD82.20407@tqs.de> Jens Gehrlein wrote:
>
> Could you please change TQM823L.h:
>
> -#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE }
> +#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE +
> 0x400000 }
Note that a proper patch (and without line wrapping) would have been
much more useful.
> There was a switch-over to use the CFI driver (see git history of file
> TQM823L.h). AFAIK the CFI driver needs a list with fix start addresses
> of each bank to start the CFI query on.
Thanks for pointing this out.
The big disadvantage of above code is that it requires a static
mapping of the second flash bank, i. e. it works only correctly for
fixed flash sizes. This may be not a big problem for the boards in
question here, but we use autoconfiguration everywhere else so this
doesn't fit in style.
The following patch tries to fix this in a more general way, but it
requires slight modification of the CFI driver to support this.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-07-06 22:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-27 22:08 [U-Boot-Users] TQM823L flash recognition problem Thomas Maenner
2008-06-30 11:03 ` Jens Gehrlein
2008-06-30 16:39 ` [U-Boot-Users] [BULK] " Thomas Maenner
2008-07-06 22:14 ` [U-Boot-Users] " Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox