This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: structure XScale HAL ?
- From: Bob Koninckx <bob dot koninckx at mech dot kuleuven dot ac dot be>
- To: david at mind dot be
- Cc: ecos-discuss at sources dot redhat dot com
- Date: 14 Nov 2002 17:18:22 +0100
- Subject: Re: [ECOS] structure XScale HAL ?
- References: <20021114170927.D21024@mind.be>
Looks very similar to the powerpc HAL. Maybe you can get some
inspiration there ?
Bob
On Thu, 2002-11-14 at 17:09, david@mind.be wrote:
> Hello,
>
> I was wondering if anybody else has been using the xscale HAL for a port other
> than the IQ-80321 ?
> Or has this been a one-off implementation for the IQ-80321 ?
> As I am currently doing a port to a pxa-250 based board, I have been dissecting
> the xscale tree a bit, and I think that the current structure of the xscale
> tree needs some rearranging, so I would appreciate some feedback on the following:
>
> Currently, CYGPKG_HAL_ARM_XSCALE_IQ80321 has CYGPKG_HAL_ARM_XSCALE_CORE as its
> parent. But the IQ-80321 is a board based on the IOP321 cpu, which in turn has
> an XScale core.
> Similarly, the port I am doing is for a board based on the PXA250 cpu, which also has an XScale core.
> So, to have a clean port, I think it would be best to have a 3-level
> structure instead of the current 2-level structure:
> - XSCALE_CORE (with core specific stuff)
> - XSCALE_PXA250 (with cpu specific stuff)
> - XSCALE_my_board (with board specific stuff)
>
> With the current 2-level structure of the IQ-80321 port, the cpu-support
> for the IOP321 gets mixed with the board-support for the IQ-80321, which also
> means that the IOP321 specific stuff cannot be easily used for other ports
> with that same cpu.
> I think it would also be nice to have separate directories in the tree for
> this (e.g. xscale/core , xscale/cpu, xscale/board).
>
> But before starting with that structure for my port, I would like to know what
> anybody else is doing.
> (If it's a daft idea, I will also stick to the 2-level structure ;-)
>
> Best Regards,
> David
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
--
----------------------------------------------------------------------
ir. Bob Koninckx
Katholieke Universiteit Leuven
Division Production Engineering, tel. +32 16 322535
Machine Design and Automation fax. +32 16 322987
Celestijnenlaan 300B bob.koninckx@mech.kuleuven.ac.be
B-3001 Leuven Belgium http://www.mech.kuleuven.ac.be/pma
----------------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss