Re: Flashed image doesn't load



Hi Henrik!

Yes I did a clean sysgen...

I'll just try everything again...

It would be a nice feature to have, one flashed image for quick demo
purposes but keeping the boot loader to be able to download development
images to RAM only (for development :) ).

Thanks!!

"Henrik Viklund" <henrik.viklund@xxxxxxxxx> wrote in message
news:1158221755.500058.185580@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
<correction>
Having browsed through M3 BSP, It sure looks like they have added
support for "IMGFLASH=1". 0x9AA81000 maps to the secondary flash, so it
seems like it is stored and that it jumps to the correct position.
</correction>

And you've done a "sysgen" with "clean before build"?

Henrik Viklund
http://www.addlogic.se

Henrik Viklund wrote:
<speculation>
The M2 BSP did not support the "IMGFLASH=1" option, so you had to copy
the image from flash to RAM before jumping. Have they really
implemented that for M3?
</speculation>

Henrik Viklund
http://www.addlogic.se

Fredrik Jansson wrote:
Hi Yannick,

Yes, I have both KITL and debugging disabled.

Thanks!
Fredrik


"Yannick Chamming's [eMVP]" <ychammings_nospam@xxxxxxxxxx> wrote in
message
news:evnqb671GHA.4228@xxxxxxxxxxxxxxxxxxxxxxx
Have you disabled KITL in your image ? If not, the image might be
waiting
for a KITL connection to PB

--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO
Windows Embedded Manager
ychammings AT adeneo DOT adetelgroup DOT com>
http://www.adeneo-embedded.com
Tél : +33 (0)4.72.18.08.40
Fax : +33 (0)4.72.18.08.41
----------------------------------------------------------------

"Fredrik Jansson" <fredrik.jansson@xxxxxxxxxxxxx> a écrit dans le
message
de news: %23tgnGJz1GHA.4772@xxxxxxxxxxxxxxxxxxxxxxx
Hi!

I have a PXA27x Processor Developer's Kit from Intel. I have been
working
with an image for a while and decided to try to flash it.

I have flashed the "standard" Mainstone III boot loader and I use it
to
download images via ethernet to the device.

This time I disabled debug, kitl etc and enabled "Write Run-time
Image to
Flash Memory (IMGFLASH=1) and sysgened the image.

When I download it I see the following and it boots correctly...

INFO: FlashErase: erasing flash BAA80000 to BB97FFFF. Please wait...
............................................................
INFO: FlashWrite: writing to flash...
...........................................................
INFO: FlashWrite: verifying the data written to flash...
INFO: FlashWrite: flash programmed successfully!
ROMHDR at Address 9AA80044h
INFO: FlashErase: erasing flash BAA40000 to BAA7FFFF. Please wait...
.
INFO: FlashWrite: writing to flash...

INFO: FlashWrite: verifying the data written to flash...
INFO: FlashWrite: flash programmed successfully!
Download successful! Jumping to image at 0x9AA81000 (physical
0x81000)...
Got EDBG_CMD_JUMPIMG
Got EDBG_CMD_CONFWindows CE Kernel for ARM (Thumb Enabled) Built on
Jun
24 2004 at 18:25:00
ProcessorType=0411 Revision=7
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable =
9aa843dc
Sp=ffffc7cc


When restarting the device I manually choose "Launch existing flash
resident image now" and gets the following:

Microsoft Windows CE Ethernet Bootloader Common Library Version 1.1
Built
Nov 9 2005 06:15:26
Microsoft Windows CE Ethernet Bootloader 1.11 for the Intel
MainstoneIII
Development Platform Built Jun 19 2006

Press [ENTER] to download now or [SPACE] to cancel.

Initiating image download in 3 seconds.

EBoot Loader Configuration:

0) IP address: 192.168.19.60
1) Subnet mask: 255.255.255.0
2) Boot delay: 3 seconds
3) DHCP: (Enabled)
4) Reset to factory default configuration
5) RNDIS MAC address: 0-E-C-80-7A-CE
6) Download new image at startup
7) Boot device order: PCMCIA0 -> PCMCIA1 -> SMSC -> USB
8) Debug serial port: BTUART
D) Download image now
L) Launch existing flash resident image now
U) Boot to ULDR: (No)


Enter your selection: l
INFO: Trying to locate/initialize PCMCIA NIC in slot 0...
INFO: Trying to locate/initialize PCMCIA NIC in slot 1...
INFO: Trying to initialize the built-in SMSC NIC...
INFO: SMSC LAN91C111 Ethernet controller initialized.
INFO: MAC address: 0-E-C-80-7A-CE
System ready!
Preparing for download...
INFO: Using device name: 'MAINSTN31438'
Download successful! Jumping to image at 0x9AA81000 (Windows CE
Kernel
for ARM (Thumb Enabled) Built on Jun 24 2004 at 18:25:00
ProcessorType=0411 Revision=7
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable =
9aa843dc
Sp=ffffc7cc


After this the device goes quiet and doesn't boot...

Does anyone have any ideas? Maybe this isn't the way to do it...

Best regards,
Fredrik Jansson





.



Relevant Pages

  • Re: Flashed image doesnt load
    ... with an image for a while and decided to try to flash it. ... When I download it I see the following and it boots correctly... ... INFO: FlashWrite: verifying the data written to flash... ... Microsoft Windows CE Ethernet Bootloader Common Library Version 1.1 Built ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Flashed image doesnt load
    ... with an image for a while and decided to try to flash it. ... When I download it I see the following and it boots correctly... ... INFO: FlashWrite: verifying the data written to flash... ... Microsoft Windows CE Ethernet Bootloader Common Library Version 1.1 Built ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Flashed image doesnt load
    ... with an image for a while and decided to try to flash it. ... When I download it I see the following and it boots correctly... ... INFO: FlashWrite: verifying the data written to flash... ... Microsoft Windows CE Ethernet Bootloader Common Library Version 1.1 Built ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Flashed image doesnt load
    ... with an image for a while and decided to try to flash it. ... When I download it I see the following and it boots correctly... ... INFO: FlashWrite: verifying the data written to flash... ... Microsoft Windows CE Ethernet Bootloader Common Library Version 1.1 Built ...
    (microsoft.public.windowsce.platbuilder)
  • RE: Flashed image doesnt load
    ... with an image for a while and decided to try to flash it. ... When I download it I see the following and it boots correctly... ... INFO: FlashWrite: verifying the data written to flash... ... Microsoft Windows CE Ethernet Bootloader Common Library Version 1.1 Built ...
    (microsoft.public.windowsce.platbuilder)