This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
R: Problem flashing WinCE
> -----Messaggio originale-----
> Da: L D [mailto:embedpro@gmail.com]
> Inviato: martedì 16 marzo 2010 17:53
> A: Stefano Mora
> Cc: ecos-discuss@ecos.sourceware.org
> Oggetto: Re: [ECOS] Problem flashing WinCE
>
> On Tue, Mar 16, 2010 at 4:07 AM, Stefano Mora <smora@eos.pr.it> wrote:
> >
> >> -----Messaggio originale-----
> >> Da: L D [mailto:embedpro@gmail.com]
> >> Inviato: lunedì 15 marzo 2010 19:28
> >> A: Stefano Mora
> >> Cc: ecos-discuss@ecos.sourceware.org
> >> Oggetto: Re: [ECOS] Problem flashing WinCE
> >>
> >> On Mon, Mar 15, 2010 at 12:27 PM, Stefano Mora <smora@eos.pr.it>
> >> wrote:
> >> >
> >> > Hello L D,
> >> > This is my tests:
> >> >
> >> > RedBoot>
> >> > RedBoot> lo -r -b 0x0 nk.nb0
> >> > Using default protocol (TFTP)
> >> > Specified address (0x00000000) is not believed to be in RAM
> >> - continue
> >> > (y/n)? n
> >> > RedBoot>
> >> > RedBoot> lo -r -b 0x180000 -h 192.168.0.12 nk.nb0
> >> > Using default protocol (TFTP)
> >> > Raw file loaded 0x00180000-0x0217ffff, assumed entry at
> 0x00180000
> >> > RedBoot>
> >> > RedBoot> go ü
> >> >
> >> > I guess there is some mistakes in the building phase.
> >> Do you have a WinCE image that is known to work on that
> board or are
> >> you porting WinCE?
> >>
> >
> > I built the image and I tested it on the same board with a
> different bootloader (eBoot).
> > Now I need to run it with the RedBoot bootloader.
> >
> You startup assembler file probably expects to be running in
> Physical memory. I think iMX25 has SDRAM at 0x80000000 but
> you have to verify that. Also verify that the SDRAM is mapped
> to 0x80000000 in your Redboot port. If the above is true and
> 0x180000 is the entry point, try to start it like this.
>
> lo -r -b 0x180000 nk.nb0
> go 0x80180000
>
I guess the SDRAM is mapped @ 0x0. This is the output of the RedBoot:
RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version FSL 200933 - built 12:17:49, Jan 27 2010
Platform: MX25 3-Stack (Freescale i.MX25 based) PASS 1.1 [x32 DDR]
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
Copyright (C) 2003, 2004, 2005, 2006 eCosCentric Limited
RAM: 0x00000000-0x03f00000, [0x00095310-0x03e71000] available
FLASH: 0x00000000 - 0x80000000, 4096 blocks of 0x00080000 bytes each.
== Executing boot script in 1.000 seconds - enter ^C to abort
RedBoot> fis list
... Read from 0x03e80000-0x03eff000 at 0x00100000: ..
Name FLASH addr Mem addr Length Entry point
RedBoot 0x00000000 0x00000000 0x00080000 0x00000000
FIS directory 0x00100000 0x00100000 0x0007F000 0x00000000
RedBoot config 0x0017F000 0x0017F000 0x00001000 0x00000000
wince 0x00180000 0x00180000 0x01F00000 0x00180000
RedBoot>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss