public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugs.ecos.sourceware.org
To: ecos-patches@ecos.sourceware.org
Subject: [Bug 1001291] New HAL for Cortex-M3 Smartfusion device
Date: Mon, 14 Nov 2011 00:28:00 -0000	[thread overview]
Message-ID: <20111114002748.035E72F78010@mail.ecoscentric.com> (raw)
In-Reply-To: <bug-1001291-104@http.bugs.ecos.sourceware.org/>

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001291

--- Comment #21 from Jonathan Larmour <jifl@ecoscentric.com> 2011-11-14 00:27:37 GMT ---
(In reply to comment #20)
> So we can start with HAL.
> 
> First one trivial issue:
> CYGNUM_HAL_KERNEL_COUNTERS_CLOCK_ISR_DEFAULT_PRIORITY is set to 0xE0, and
> description is "Set clock ISR priority to lowest priority.", probably carried
> from other HAL. Since device is said to have 5 priority bits, please change
> either value or description. (I wander if we should consider a CDL for lowest
> ISR priority on architecture level).

I would recommend against it at architecture level as it's harder to choose a
good default_value there - it is only in the context of the processor you are
likely to know about other interrupt sources.

> CYG_HAL_STARTUP: I can see that you have followed our discussion from mailing
> list. Please consider the following:

I've missed this discussion, can you tell me what the subject was and on which
list?

> Basic idea is to cover all (or most) memory layouts not employing external
> memory on variant level. Since this is a fresh port I would suggest to do it.
> 
> 1. Placing CYG_HAL_STARTUP in variant tree will avoid it's cloning in
> forthcoming (i hope they will come) platform trees and at the same time provide
> consistent propagation of it's updates (enhancements and bugs) in each of them.
> In order to keep all startup together, platform's CYG_HAL_PLF_STARTUP, if
> present, can be "parenthed" by CYG_HAL_STARTUP. Note: "If present means" if
> there is external memory, for single-chip boards we can/should omit it.
>
> 1.1. Together with CYG_HAL_STARTUP come MLT filesets (fileset = ldi + header)
> affected by. Normally, this will require a new pkgconf directory in variant.
> Further, all values in MLT files (memory sizes, locations, etc.) can be
> parametrized in CDL so it would be possible to cover many, (hopefully all)
> combinations of on-chip memory with a handful of MLT filesets.
> 
> 2. Platforms with external memory is going to use CYG_HAL_PLF_STARTUP as well
> as their own MLT filesets in order to override CYG_PLF_STARUP. However they
> will also be able to make use of CYG_HAL_STARTUP (for eventual single-chip
> emulation, etc.).

I'm not very keen on the idea of the startup types being split over two
variables.

Let's take a step back. What problem is actually needing to be solved by
CYG_HAL_PLF_STARTUP? I can't help but think that there surely must be a better
way to improve the abstraction in the architectural HAL if there's insufficient
abstraction at the moment.

Just another little issue: in
CYGSEM_HAL_CORTEXM_A2FXXX_DEFINES_IDLE_THREAD_ACTION it talks about
"overwriting" but I believe it was intended to say "overriding".

Jifl

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

  parent reply	other threads:[~2011-11-14  0:28 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-20 21:01 [Bug 1001291] New: " bugzilla-daemon
2011-07-20 21:02 ` [Bug 1001291] " bugzilla-daemon
2011-07-20 21:03 ` bugzilla-daemon
2011-07-20 21:03 ` bugzilla-daemon
2011-07-20 21:04 ` bugzilla-daemon
2011-07-20 21:05 ` bugzilla-daemon
2011-07-20 21:05 ` bugzilla-daemon
2011-07-20 21:06 ` bugzilla-daemon
2011-07-20 21:07 ` bugzilla-daemon
2011-07-20 21:09 ` bugzilla-daemon
2011-07-20 21:11 ` bugzilla-daemon
2011-07-20 21:20 ` bugzilla-daemon
2011-07-23 11:36 ` bugzilla-daemon
2011-07-26 12:47 ` bugzilla-daemon
2011-10-12 22:05 ` bugzilla-daemon
2011-10-13  7:22 ` bugzilla-daemon
2011-10-13 16:37 ` bugzilla-daemon
2011-11-10  4:33 ` bugzilla-daemon
2011-11-11 16:37 ` bugzilla-daemon
2011-11-11 16:40 ` bugzilla-daemon
2011-11-11 17:48 ` bugzilla-daemon
2011-11-14  0:28 ` bugzilla-daemon [this message]
2011-11-14  8:33 ` bugzilla-daemon
2011-11-14 22:05 ` bugzilla-daemon
2011-11-14 22:31 ` bugzilla-daemon
2011-11-20 13:35 ` bugzilla-daemon
2011-11-20 13:38 ` bugzilla-daemon
2011-12-03 15:48 ` bugzilla-daemon
2011-12-03 16:50 ` bugzilla-daemon
2011-12-18 16:25 ` bugzilla-daemon
2011-12-18 16:25 ` bugzilla-daemon
2011-12-18 16:26 ` bugzilla-daemon
2011-12-18 16:27 ` bugzilla-daemon
2011-12-18 16:28 ` bugzilla-daemon
2011-12-18 16:28 ` bugzilla-daemon
2011-12-18 16:29 ` bugzilla-daemon
2011-12-18 16:30 ` bugzilla-daemon
2011-12-18 16:33 ` bugzilla-daemon
2012-01-02 18:39 ` bugzilla-daemon
2012-01-07 14:23 ` bugzilla-daemon
2012-01-07 14:37 ` bugzilla-daemon
2012-01-07 22:45 ` bugzilla-daemon
2012-01-07 23:10 ` bugzilla-daemon
2012-01-07 23:22 ` bugzilla-daemon
2012-01-08  8:49 ` bugzilla-daemon
2012-02-10 13:24 ` bugzilla-daemon
2012-02-12 10:16 ` bugzilla-daemon
2012-02-12 12:16 ` bugzilla-daemon
2012-02-13  1:39 ` bugzilla-daemon
2012-02-26 11:26 ` bugzilla-daemon
2012-02-26 11:26 ` bugzilla-daemon
2012-02-26 11:30 ` bugzilla-daemon
2012-02-26 11:30 ` bugzilla-daemon
2012-02-26 11:31 ` bugzilla-daemon
2012-02-26 11:33 ` bugzilla-daemon
2012-02-28 17:48 ` bugzilla-daemon
2012-02-28 17:49 ` bugzilla-daemon
2012-03-07 21:48 ` bugzilla-daemon
2012-03-07 21:50 ` bugzilla-daemon
2012-03-07 21:51 ` bugzilla-daemon
2012-03-07 21:52 ` bugzilla-daemon
2012-03-07 21:53 ` bugzilla-daemon
2012-03-07 21:55 ` bugzilla-daemon
2012-03-07 22:00 ` bugzilla-daemon
2012-03-12 18:36 ` bugzilla-daemon
2012-03-12 22:10 ` bugzilla-daemon
2012-03-13 19:07 ` bugzilla-daemon
2012-03-13 20:24 ` bugzilla-daemon
2012-03-31 14:38 ` bugzilla-daemon
2012-04-01  8:04 ` bugzilla-daemon
2012-04-01  9:07 ` bugzilla-daemon
2012-04-01 19:37 ` bugzilla-daemon
2013-02-12 20:41 ` bugzilla-daemon
2017-02-15  7:18 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111114002748.035E72F78010@mail.ecoscentric.com \
    --to=bugzilla-daemon@bugs.ecos.sourceware.org \
    --cc=ecos-patches@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).