This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: ecos bring up on s5pc100(cortex-a8)
- From: Michael Bergandi <mbergandi at gmail dot com>
- To: "xiaowei.cn.chen" <xiaowei dot cn dot chen at gmail dot com>
- Cc: ecos-discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 12 Jan 2011 22:13:22 -0500
- Subject: Re: [ECOS] ecos bring up on s5pc100(cortex-a8)
- References: <201101121621173750884@gmail.com>
> I am now porting ecos to Samsung S5pc100(cortex-A8).
Great, that would be the first Cortex-A8 contribution back to the tree.
> In the ecos.db, I add my own package and target.
>
> Can i use CYGPKG_HAL_CORTEXM as one of my packages in target?
>
> I've checked that cortex-m series and cortex-a series are both support thumb-2 instruction set.
>
> Am i right?
Well, yes, the Cortex-M and Cortex-A families both have Thumb2 support
in common. However, there are pretty significant differences between
them:
A series: cache/MMU, ARMv7-A instruction set, VFP, Jazelle, NEON,
MPcore (A9,A15)
M series: no cache/MMU, ARMv6-M ARMv7-M(E) instruction sets, FPU (M4), SIMD (M4)
I would think the differences are enough that a new Cortex-A hal
should be added. This may be more than you bargained for, but seems
like the 'right' way to go.
This is just my 2 cents on it. I hope someone else will chime in
correct me if I'm off base here.
--
Mike
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss