This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problem about redboot
- To: ness <root at t2-design dot com>
- Subject: Re: [ECOS] Problem about redboot
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 26 Oct 2000 03:04:25 +0100
- CC: ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat UK Ltd.
- References: <Pine.LNX.4.21.0010260855130.762-100000@localhost.localdomain>
ness wrote:
>
> Hi
> I am porting redboot for mips vrc4373. We just need ethernet debug, so
> I did not write flash driver.
> When I invoke hal_if_init to initial the hal_virtual_vector_table, I
> meet the problem.Two functions (hal_ctrlc_isr_init and hal_ctrlc_isr) are
> multiple defined. In the directory common they are defined first, and in
> the directory mips they are defined second. I do not know how to change
> them.
The vrc4373 doesn't implement the "standard" virtual vector support. What
you are seeing is an oversight that the hal_ctrl_isr* functions in
hal/common were not sufficiently conditionally compiled, which I will fix.
[ Jesper, I will make these functions conditional on
CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT ]
To implement redboot you would need to implement virtual vectors for the
vrc4373 platform. There are plenty of examples in other platforms.
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault