* RPX Lite w MontaVista 1.2
@ 2000-12-14 8:10 Brett Carswell
2000-12-14 17:20 ` Dan Malek
0 siblings, 1 reply; 6+ messages in thread
From: Brett Carswell @ 2000-12-14 8:10 UTC (permalink / raw)
To: 'linuxppc-embedded@lists.linuxppc.org'
Hi,
I have downloaded the MontaVista CDK 1.2 and installed everything for the
RPX lite. I followed the documentation and I can load the s record image
into an RPX Lite board (850SR) using tftp no problem - I did a memory dump
and the first few bytes match the srec file. When I type go 200000 to try to
start the kernel the board just goes off with the fairies. I enabled the bus
monitor and the board resets so I assume it's accessing memory outside of
what's configured. The RPX lite is running the PlanetCore Boot Loader v1.01.
Here are the keys for the RPX lite :
Baud = 9600
Multiplier (Clock multiplier) = 6
Board = LICC_E
Revision = BW
Processor = 850
Variant = SR
DRam (MBytes on board dram) = 16
Cols (On board dram columns) = 10
NVRam (KBytes on board NV Ram) = 0
Sttm (Degrees C*10) = 131
Twirl = Y
ICache = N
SYPCR = FFFFF080
RAMtest = Y
RestoreCE (Cannot go to ram if set) = N
SerOut (Serial output of loader) = Always
RS232 (Enable rs232 drivers) = Y
IP = 192.168.0.122
Target = 192.168.0.89
File = zImage
ENET = 0010EC000DB4
TftpRAM = High
Start = 0
Format = NetSrec
Autoboot = N
The memory map is
IMMR = 0xFA200000
Address Mask Size WP Mach
CS0 FC000000 FC000000 Word N GPCM
CS1 00000000 FF000000 Word N UPMA
CS2 (not used)
CS3 FA400000 FF7F8000 Word N GPCM
CS4 (not used)
CS5 (not used)
CS6 (not used)
CS7 (not used)
Any help would be appreciated.
Thanks in advance,
Brett Carswell
Nu-Lec Industries (ACN 085 972 425)
35-37 South Street, Lytton, Brisbane, Qld, 4178, Australia
PO Box 761, Wynnum, Qld, 4178, Australia
Direct Dial Phone No: +61 7 3249 5498
Switchboard Phone No: +61 7 3249 5444
Facsimile No: +61 7 3249 5888
Email Address: BrettC@nulec.com.au
World Wide Web Site: http://www.nulec.com.au
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RPX Lite w MontaVista 1.2
2000-12-14 8:10 Brett Carswell
@ 2000-12-14 17:20 ` Dan Malek
0 siblings, 0 replies; 6+ messages in thread
From: Dan Malek @ 2000-12-14 17:20 UTC (permalink / raw)
To: Brett Carswell; +Cc: 'linuxppc-embedded@lists.linuxppc.org'
Brett Carswell wrote:
> I have downloaded the MontaVista CDK 1.2 and installed everything for the
> RPX lite. I followed the documentation and I can load the s record image
> into an RPX Lite board (850SR)
Hmmm....I left some debug stuff in arch/ppc/mbxboot/embed_config.c....
Edit that file, remove the:
{
int i;
cp = (u_char *)0xfa000000;
.....
}
piece of code that appears early in the function rpx_cfg(). If you
don't have a board with NVRAM, this will certainly fail.
Sorry about that, let me know how it goes.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: RPX Lite w MontaVista 1.2
@ 2000-12-17 22:03 Brett Carswell
2000-12-18 3:02 ` Dan Malek
0 siblings, 1 reply; 6+ messages in thread
From: Brett Carswell @ 2000-12-17 22:03 UTC (permalink / raw)
To: 'Dan Malek'; +Cc: 'linuxppc-embedded@lists.linuxppc.org'
I enabled the NVRAM in the config and everything works great now.
Thanks
> -----Original Message-----
> From: Dan Malek [mailto:dan@mvista.com]
> Sent: Friday, 15 December 2000 3:20 AM
> To: Brett Carswell
> Cc: 'linuxppc-embedded@lists.linuxppc.org'
> Subject: Re: RPX Lite w MontaVista 1.2
>
>
>
> Brett Carswell wrote:
>
> > I have downloaded the MontaVista CDK 1.2 and installed
> everything for the
> > RPX lite. I followed the documentation and I can load the s
> record image
> > into an RPX Lite board (850SR)
>
> Hmmm....I left some debug stuff in arch/ppc/mbxboot/embed_config.c....
> Edit that file, remove the:
>
> {
> int i;
> cp = (u_char *)0xfa000000;
>
> .....
> }
>
> piece of code that appears early in the function rpx_cfg(). If you
> don't have a board with NVRAM, this will certainly fail.
>
> Sorry about that, let me know how it goes.
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RPX Lite w MontaVista 1.2
2000-12-17 22:03 RPX Lite w MontaVista 1.2 Brett Carswell
@ 2000-12-18 3:02 ` Dan Malek
0 siblings, 0 replies; 6+ messages in thread
From: Dan Malek @ 2000-12-18 3:02 UTC (permalink / raw)
To: Brett Carswell; +Cc: 'linuxppc-embedded@lists.linuxppc.org'
Brett Carswell wrote:
>
> I enabled the NVRAM in the config and everything works great now.
That's weird. Something else is wrong. The NVRAM config is irrelevant
on the RPX-lite (and I think all 8xx boards). The code I suggested you
remove is run long before the kernel, and the information you sent
earlier indicated the actual NVRAM was not mapped in the memory
controller.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RPX Lite w MontaVista 1.2
@ 2000-12-19 19:18 Matthew Locke
2000-12-20 3:52 ` Dan Malek
0 siblings, 1 reply; 6+ messages in thread
From: Matthew Locke @ 2000-12-19 19:18 UTC (permalink / raw)
To: Dan Malek, Brett Carswell; +Cc: 'linuxppc-embedded@lists.linuxppc.org'
no that works too. The old bootloader (RPX-Utility) always setup the BR/OR
for NVRAM even if the board did not have NVRAM populated. In the new
bootloader NVRAM is not mapped by default. if you enable NVRAM in its config
it will setup the BR/OR and then the kernel can access that area of memory.
Obviously, if you acutally try to do something with that area...
------Original Message------
From: Dan Malek <dan@mvista.com>
To: Brett Carswell <BrettC@nulec.com.au>
Sent: December 18, 2000 3:02:12 AM GMT
Subject: Re: RPX Lite w MontaVista 1.2
Brett Carswell wrote:
>
> I enabled the NVRAM in the config and everything works great now.
That's weird. Something else is wrong. The NVRAM config is irrelevant
on the RPX-lite (and I think all 8xx boards). The code I suggested you
remove is run long before the kernel, and the information you sent
earlier indicated the actual NVRAM was not mapped in the memory
controller.
-- Dan
_____________________________________
OneMain.com, Your Hometown Internet.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RPX Lite w MontaVista 1.2
2000-12-19 19:18 Matthew Locke
@ 2000-12-20 3:52 ` Dan Malek
0 siblings, 0 replies; 6+ messages in thread
From: Dan Malek @ 2000-12-20 3:52 UTC (permalink / raw)
To: Matthew Locke
Cc: Brett Carswell, 'linuxppc-embedded@lists.linuxppc.org'
Matthew Locke wrote:
> ..... In the new
> bootloader NVRAM is not mapped by default. if you enable NVRAM in its config
I apologize....major confusion. I thought the reference was to
the NVRAM configuration in the Linux kernel, not the menu item on
the bootloader menu.
That's why it works. Thanks.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2000-12-20 3:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-17 22:03 RPX Lite w MontaVista 1.2 Brett Carswell
2000-12-18 3:02 ` Dan Malek
-- strict thread matches above, loose matches on Subject: below --
2000-12-19 19:18 Matthew Locke
2000-12-20 3:52 ` Dan Malek
2000-12-14 8:10 Brett Carswell
2000-12-14 17:20 ` Dan Malek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).