This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PID ROM and eCos


Gary Thomas wrote:
> 
> Look at the startup code for the Cirrus Logic EDB7xxx boards.  They
> support this configuration where the image in ROM (FLASH or whatever)
> is linked at an address different from where they are stored.  If
> this case is detected, the ROM code simply gets copied to RAM at
> startup time.  Look in the file:
>   hal/arm/edb7xxx/current/include/hal_platform_setup.h

Why was it done this way, and not with a more explicit ROMRAM startup type?
If you have a separate startup type it is more under user control.

Anyway, you can also refer to the way the mips vrc4373 or sh edk7708 do it,
which use an explicit ROMRAM startup.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Un cheval, pas du glue. Pas du cheval, beaucoup du glue. || Opinions==mine

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]