public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Does eCos work with SH7705 CPU
@ 2009-11-30 13:10 m mariga
  2009-12-06  6:35 ` [ECOS] How to send USB enumeration data to host m mariga
  0 siblings, 1 reply; 3+ messages in thread
From: m mariga @ 2009-11-30 13:10 UTC (permalink / raw)
  To: ecos-discuss

Hello everyone,

Our company develops printer-application product using SH7705 CPU and likes 
to port eCos on that board.
Now,as I previously succeeded in porting eCos on SH7709 target,I made a rash 
promise that it's no problem at all.
But when I checked eCos source I realized that there is no SH7705 reference 
whatsoever.
There are not even variant definitions in cdl files.
I began to be afraid that I should be called a liar.

Anyway I must to do it ,so as a starting point, I tried to create SH7705 
template.
Although I have not yet inquired detail differences,roughly I followed a 
easy way to copy SH7709 variant definitions in several cdl files.
For example I made SH7705 variants from SH7709 variants like below,and 
succeeded in creating SH7705 skelton template.

for example,
-- original SH7709 variants
    cdl_option CYGPKG_HAL_SH_7709S {
        display       "SH 7709S microprocessor"
        parent        CYGPKG_HAL_SH_CPU
        implements    CYGINT_HAL_SH_VARIANT
        implements    CYGINT_HAL_SH_CPG_T3
        implements    CYGINT_HAL_SH_DMA_CHANNELS
        implements    CYGINT_HAL_SH_DMA_CHANNELS
        implements    CYGINT_HAL_SH_DMA_CHANNELS
        implements    CYGINT_HAL_SH_DMA_CHANNELS
        default_value 0
        no_define
        define        -file=system.h CYGPKG_HAL_SH_7709S
        description "
            The SH3 7709S microprocessor. This is an embedded part that in
            addition to the SH3 processor core has built in peripherals
            such as memory controllers, DMA controllers, A/D and D/A
            converters, serial ports and timers/counters."
        define_proc {
            puts $cdl_system_header "#define CYGBLD_HAL_CPU_MODULES_H 
<cyg/hal/mod_7709s.h>"
        }
    }
-- my-concocted SH7705 variant. This is roughly simply copied from above.
    cdl_option CYGPKG_HAL_SH_7705 {
        display       "SH 7705 microprocessor"
        parent        CYGPKG_HAL_SH_CPU
        implements    CYGINT_HAL_SH_VARIANT
        implements    CYGINT_HAL_SH_CPG_T3
        implements    CYGINT_HAL_SH_DMA_CHANNELS
        implements    CYGINT_HAL_SH_DMA_CHANNELS
        implements    CYGINT_HAL_SH_DMA_CHANNELS
        implements    CYGINT_HAL_SH_DMA_CHANNELS
        default_value 1
        no_define
        define        -file=system.h CYGPKG_HAL_SH_7705
        description "
            The SH3 7705 microprocessor. This is an embedded part that in
            addition to the SH3 processor core has built in peripherals
            such as memory controllers, DMA controllers, A/D and D/A
            converters, serial ports and timers/counters."
        define_proc {
            puts $cdl_system_header "#define CYGBLD_HAL_CPU_MODULES_H 
<cyg/hal/mod_7705.h>"
        }
    }

But I feel strong anxiety whether it is possible to port eCos on SH7705 
target.
Is there a fundamental reason it does not work on SH7705 target anyway ?
And if there are any important things to remember,would you please teach me.

m mariga


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-09  9:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-30 13:10 [ECOS] Does eCos work with SH7705 CPU m mariga
2009-12-06  6:35 ` [ECOS] How to send USB enumeration data to host m mariga
2009-12-09  9:25   ` [ECOS] Can not compile API file m mariga

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).