* [U-Boot-Users] AT91RM9200 Errata (Was: CSB637 support - big bug..)
@ 2005-08-24 8:33 Martin Krause
2005-08-24 8:38 ` Steven Scholz
2005-08-24 8:43 ` Anders Larsen
0 siblings, 2 replies; 12+ messages in thread
From: Martin Krause @ 2005-08-24 8:33 UTC (permalink / raw)
To: u-boot
Hi,
Anders Larsen wrote on :
> "Patrick .." <oc3an@gmx.net> schreibt:
> > Also, it is safe to use a divisor of 3 for the Master Clock, this
> > gives
> > 61.44MHz from a core of 184.32Mhz which is fine for the CSB637
> > (master clock limit is 80MHz), users should see a decent
> > improvement in performance by doing this as it will increase the
> > SDRAM bandwidth by a substantial amount.
>
> Well, I got the clock values from linux 2.6.12 board-csb637.c;
> does Linux still boot correctly with your change?
I already posted this on the list, but a little reminder won't hurt :)
A clock rate > 180 MHz could be problematic. According errata 42
(AC Characteristics: PLL Frequency Limitation), in AT91RM9200 errata
sheet (doc6015) the PLL is limited to 180 MHz. We already had problems
with this bug (with about 10%-15% of the CPUs). After configuring the
PLL for 179 MHz no errors occour any mor (before we used 207 MHz).
Regards,
Martin
^ permalink raw reply [flat|nested] 12+ messages in thread
* [U-Boot-Users] AT91RM9200 Errata (Was: CSB637 support - big bug..)
2005-08-24 8:33 [U-Boot-Users] AT91RM9200 Errata (Was: CSB637 support - big bug..) Martin Krause
@ 2005-08-24 8:38 ` Steven Scholz
2005-08-24 8:43 ` Anders Larsen
1 sibling, 0 replies; 12+ messages in thread
From: Steven Scholz @ 2005-08-24 8:38 UTC (permalink / raw)
To: u-boot
Martin,
> A clock rate > 180 MHz could be problematic. According errata 42
> (AC Characteristics: PLL Frequency Limitation), in AT91RM9200 errata
> sheet (doc6015) the PLL is limited to 180 MHz. We already had problems
> with this bug (with about 10%-15% of the CPUs). After configuring the
> PLL for 179 MHz no errors occour any mor (before we used 207 MHz).
Which errors and problems did you encounter?
--
Steven
^ permalink raw reply [flat|nested] 12+ messages in thread
* [U-Boot-Users] AT91RM9200 Errata (Was: CSB637 support - big bug..)
2005-08-24 8:33 [U-Boot-Users] AT91RM9200 Errata (Was: CSB637 support - big bug..) Martin Krause
2005-08-24 8:38 ` Steven Scholz
@ 2005-08-24 8:43 ` Anders Larsen
1 sibling, 0 replies; 12+ messages in thread
From: Anders Larsen @ 2005-08-24 8:43 UTC (permalink / raw)
To: u-boot
"Martin Krause" <Martin.Krause@tqs.de> schreibt:
>I already posted this on the list, but a little reminder won't hurt :)
>
>A clock rate > 180 MHz could be problematic. According errata 42
>(AC Characteristics: PLL Frequency Limitation), in AT91RM9200 errata
>sheet (doc6015) the PLL is limited to 180 MHz. We already had problems
>with this bug (with about 10%-15% of the CPUs). After configuring the
>PLL for 179 MHz no errors occour any mor (before we used 207 MHz).
Hi,
207 MHz is way beyond the limit - the 184 MHz of the CSB637 was
specified by Cogent, so /they/ are responsible for selecting chips
that can handle that frequency :-)
Cheers
Anders
^ permalink raw reply [flat|nested] 12+ messages in thread
* [U-Boot-Users] Re: [U-Boot-Users] AT91RM9200 Errata (Was: CSB637 support - big bug..)
2005-08-24 10:53 ` Anders Larsen
@ 2005-08-24 12:57 Patrick ..
2005-08-24 13:54 ` [U-Boot-Users] " Patrick ..
-1 siblings, 1 reply; 12+ messages in thread
From: Patrick .. @ 2005-08-24 12:57 UTC (permalink / raw)
To: u-boot
> "Patrick .." <oc3an@gmx.net> schreibt:
> >On another note, is there any reason you chose a master clock divisor of
> 4
> >instead of 3 for the CSB637?
>
> Hi,
>
> like I already said:
> "I got the clock values from linux 2.6.12 board-csb637.c"
> I didn't choose them myself.
>
> >I have looked over the data sheets for all relevant devices (SDRAM,
> >StrataFlash) and they definitely support at least 60Mhz (what divider 3
> >gives).
>
> Feel free to change it, then (but please make sure to update
> arch/arm/mach-at91rm9200/board-csb637.c accordingly, otherwise
> at least the serial interfaces will not work).
>
> Cheers
> Anders
>
> P.S.: PLEASE keep the list CC'ed.
>
No proglems, list is CC'd!! :)
Linux still appears to boot fine right up until it says.
RAMDISK: Couldn't find valid RAM disk image starting at 0.
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(1,0)
which is expected.
You are correct, the /arch/arm/mach-at91rm9200/board-csb637.c file had to be
edited in order to work with the new master clock. I believe there is a way
of detecting clock speeds which i will look up later. This would be better
than them being hard-coded.
This is probably a bit off topic for this list, but does anyone know a way
of making ram disk images that doesn't require root access (which i don't
have on the box i am working on)
I am aware of the following method:
dd if=/dev/zero of=rootfs.img bs=1k count=400
mkfs.ext2 -c rootfs.img
mount -o loop rootfs.img /mntpoint
cp -av rootfs/* /mntpoint
umount /mntpoint
gzip -v9 -c rootfs.img >rootfs.gz
However mount requires root access :(
-Patrick
--
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
^ permalink raw reply [flat|nested] 12+ messages in thread
* [U-Boot-Users] Re: [U-Boot-Users] Re: [U-Boot-Users] AT91RM9200 Errata (Was: CSB637 support - big bug..)
2005-08-24 12:57 [U-Boot-Users] " Patrick ..
@ 2005-08-24 13:54 ` Patrick ..
2005-08-24 14:14 ` Anders Larsen
0 siblings, 1 reply; 12+ messages in thread
From: Patrick .. @ 2005-08-24 13:54 UTC (permalink / raw)
To: u-boot
>>>This is probably a bit off topic for this list, but does anyone know a
>>
>>way
>>
>>>of making ram disk images that doesn't require root access (which i
>>
>>don't
>>
>>>have on the box i am working on)
>>
>>genext2fs ?
>>
>>--
>>Steven
>
>
Thanks, i'll check it out of cvs and have a look.
Aside from this I made an empty ram disk simply to see if the kernel would
mount it.
My configuration is this:
bootargs=mem=32M console=ttyS0,38400
Flash Address 10100000 contains linux kernel image
Flash Address 10200000 contains compressed ram disk
Unfortunately i ran into this error after executing bootm 10100000 10200000:
Linux version 2.6.13-rc2-csb (patrick at gt-server) (gcc version 3.4.4) #1 Wed
Aug 24 20:29:20 EST 2005
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: Cogent CSB637
initrd (0x10200040 - 0x1020059c) extends beyond physical memory - disabling
initrd
which looks like the ram disk isn't being decompressed into ram from flash.
Is there a simple solution to this problem? does the ram disk need to be
maually decompressed first?
Thanks,
-Patrick
--
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse f?r Mail, Message, More +++
^ permalink raw reply [flat|nested] 12+ messages in thread
* [U-Boot-Users] AT91RM9200 Errata (Was: CSB637 support - big bug..)
2005-08-24 13:54 ` [U-Boot-Users] " Patrick ..
@ 2005-08-24 14:14 ` Anders Larsen
2005-08-24 14:19 ` Steven Scholz
0 siblings, 1 reply; 12+ messages in thread
From: Anders Larsen @ 2005-08-24 14:14 UTC (permalink / raw)
To: u-boot
"Patrick .." <oc3an@gmx.net> schreibt:
>My configuration is this:
>bootargs=mem=32M console=ttyS0,38400
You don't have to use the MEM=32M option - U-Boot will pass
the actual memory configuration to the kernel anyway.
>Linux version 2.6.13-rc2-csb (patrick at gt-server) (gcc version 3.4.4) #1
>Wed
>initrd (0x10200040 - 0x1020059c) extends beyond physical memory -
>disabling
>initrd
>
>Is there a simple solution to this problem? does the ram disk need to be
>maually decompressed first?
Unfortunately yes - the 2.6 kernel is unable to handle an initrd
in flash (this is a FAQ, by the way).
Cheers
Anders
^ permalink raw reply [flat|nested] 12+ messages in thread
* [U-Boot-Users] AT91RM9200 Errata (Was: CSB637 support - big bug..)
2005-08-24 14:14 ` Anders Larsen
@ 2005-08-24 14:19 ` Steven Scholz
0 siblings, 0 replies; 12+ messages in thread
From: Steven Scholz @ 2005-08-24 14:19 UTC (permalink / raw)
To: u-boot
Anders,
>>Is there a simple solution to this problem? does the ram disk need to be
>>maually decompressed first?
>
> Unfortunately yes - the 2.6 kernel is unable to handle an initrd
> in flash (this is a FAQ, by the way).
So where is the FGA(*) then?
--
Steven
(*) FGA: Frequently Given Answer
^ permalink raw reply [flat|nested] 12+ messages in thread
* [U-Boot-Users] AT91RM9200 Errata (Was: CSB637 support - big bug..)
@ 2005-08-24 9:01 Martin Krause
0 siblings, 0 replies; 12+ messages in thread
From: Martin Krause @ 2005-08-24 9:01 UTC (permalink / raw)
To: u-boot
Hi Steven,
Steven Scholz wrote on :
> Martin,
>
> > A clock rate > 180 MHz could be problematic. According errata 42
> > (AC Characteristics: PLL Frequency Limitation), in AT91RM9200 errata
> > sheet (doc6015) the PLL is limited to 180 MHz. We already had
> > problems with this bug (with about 10%-15% of the CPUs). After
> > configuring the PLL for 179 MHz no errors occour any mor (before we
> > used 207 MHz).
>
> Which errors and problems did you encounter?
The Linux kernel (2.4.27 linuxarm tree from Denx) did not run stable on
the affected boards. We see sporadic failures and core dumps.
Regards,
Martin
^ permalink raw reply [flat|nested] 12+ messages in thread
* [U-Boot-Users] CSB637 support
@ 2005-08-23 14:53 Anders Larsen
[not found] ` <14310.1124866768@www15.gmx.net>
0 siblings, 1 reply; 12+ messages in thread
From: Anders Larsen @ 2005-08-23 14:53 UTC (permalink / raw)
To: u-boot
Wolfgang Denk <wd@denx.de> schreibt:
>> about csb637 support, but i am unable to find the actual patch.
>
>It was posted by Anders Larsen in 4 parts on 2005-04-29
Hi,
I've refreshed the patch(es) against current top-of-git.
Do you want me to re-send them?
Cheers
Anders
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2005-08-24 14:19 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-24 8:33 [U-Boot-Users] AT91RM9200 Errata (Was: CSB637 support - big bug..) Martin Krause
2005-08-24 8:38 ` Steven Scholz
2005-08-24 8:43 ` Anders Larsen
-- strict thread matches above, loose matches on Subject: below --
2005-08-24 12:57 [U-Boot-Users] " Patrick ..
2005-08-24 13:54 ` [U-Boot-Users] " Patrick ..
2005-08-24 14:14 ` Anders Larsen
2005-08-24 14:19 ` Steven Scholz
2005-08-24 9:01 Martin Krause
2005-08-23 14:53 [U-Boot-Users] CSB637 support Anders Larsen
[not found] ` <14310.1124866768@www15.gmx.net>
2005-08-24 7:42 ` [U-Boot-Users] AT91RM9200 Errata (Was: CSB637 support - big bug..) Anders Larsen
2005-08-24 9:01 ` Steven Scholz
2005-08-24 9:09 ` [U-Boot-Users] " Patrick ..
2005-08-24 9:15 ` Steven Scholz
2005-08-24 9:39 ` Anders Larsen
[not found] ` <28381.1124873294@www46.gmx.net>
2005-08-24 9:47 ` Anders Larsen
[not found] ` <2316.1124878461@www46.gmx.net>
2005-08-24 10:53 ` Anders Larsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox