This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Changing the default boot flash device in Redboot
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Vanitha Ramaswami <vanitha at agilis dot st dot com dot sg>
- Cc: 'Andrew Lunn' <andrew at lunn dot ch>,"'ecos-discuss at ecos dot sourceware dot org'" <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 30 Nov 2004 10:32:32 +0100
- Subject: Re: [ECOS] Changing the default boot flash device in Redboot
- References: <01C4D700.81031050.vanitha@agilis.st.com.sg>
On Tue, Nov 30, 2004 at 05:17:42PM -0000, Vanitha Ramaswami wrote:
> Hello,
>
> The hardware person says there is a jumper in our custom IXP425 board, that will allow us to boot from IXP425 Flash located on CS1.
> Can you tell me, what changes should i do to redboot to boot from the flash in CS1.
You need to modify the .h and .ldi file in your hals include/pkgconf/
directory. You need to give the address the FLASH is mapped to when
its not at address location 0.
Andrew
>
> THanks
> Vanitha
>
> On Tuesday, October 05, 2004 4:59 PM, Andrew Lunn [SMTP:andrew@lunn.ch] wrote:
> > On Tue, Oct 05, 2004 at 04:50:53PM -0000, Vanitha Ramaswami wrote:
> > > Hi All,
> > >
> > > I want to change the default boot flash device changed to another flash
> > > chip located in CS1 in my IXP425 reference platform. The version of redboot
> > > i have right now boots from the flash located in CS0. Where should i change
> > > in redboot in order to boot from the flash chip located in CS1 ? I am able
> > > to recompile the redboot source and run in my platform. Can you tell the
> > > places where should i look at to change the default boot flash chip?
> >
> > Before changing the software, i have another question. Is the hardware
> > capable of booting from a different address?
> >
> > Normally at boot time the flash is mapped to address 0. Early on in
> > the boot sequence this mapping is changed to that there is RAM at
> > address 0. Can you control the hardware which does this mapping so
> > that it maps a different flash device to 0 at boot time? Is there a
> > jumper on the board?
> >
> > Andrew
> >
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss