This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: phyCore MPC565 board
- From: Rycerz Roman-G11565 <roman dot rycerz at motorola dot com>
- To: "'Joern Eggers'" <Joern dot Eggers at tews-elektronik dot com>, ecos-discuss at sources dot redhat dot com
- Date: Tue, 8 Mar 2005 13:04:23 -0600
- Subject: RE: [ECOS] phyCore MPC565 board
Joern
As far as the CS's go... eCos doesn't care as long and the .ldi file describes the memory layout accurately.
You can leave your CS's as they are, but you must make sure the BRx, Orx registers in the MPC565
Encompass the memory region you will need access to. This is usually done in the platform (*.s) file.
I'm not sure about the Redboot cfg your using I think it may assume it has a rom monitor its working with.,
The rom monitor can be in either internal or external flash, the board just needs to know where to boot from.
On the MPC565 I think there is a work in shadow memory that tell the chip to boot internal or external.
Roman
-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Joern Eggers
Sent: Tuesday, March 08, 2005 9:10 AM
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] phyCore MPC565 board
Hi,
I have patches for the phyCore MPC555 board and tried to get eCos
running on the phyCore MPC565 board, but I had no success yet. I am a
newbie to eCos, so may be I am making stupid mistakes. Anyway, this is a
short description of the problems I am facing: There are two different
types of external flash on the board, one at CS0 and the other one at
CS2. External RAM is always at CS1. The flash types are AM29BDD160G and
AM29LV320. I have got drivers for both. The base address of the CS8900a
ethernet controller, which is also on board, is mapped into the memory
region of the AM29LV320 external flash (either CS0 or CS2, depends on
the jumper settings).
I read somewhere, that eCos expects external RAM to be at CS0 and
external flash to be at CS1. Is this true? Unfortunately the board can
not be jumpered in that way. Is there a way to deal with this problem? I
also read that the internal flash of the controller must always be
enabled, and the ROM monitor must start from the internal flash. I tried
to compile RedBoot for RAM startup, uploaded it to the board via Insight
and started it by setting the program counter manually to the RAM. The
seems to be something running on the board (when I step through, the
code is obviously running in a loop), but nothing else then happens, not
even communication over the serial devices. The code seems to be
uploaded correctly, at least I can find the "RedBoot RAM startup" string
stuff in the RAM.
Has anyone already tried to port eCos to the phyCore MPC565 board, or
can someone help me answering my questions?
Many thanks in advance
Joern Eggers
TEWS Elektronik
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss