Re: Flashed image doesn't load
- From: "Anthony Pellerin" <apellerin@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Sep 2006 09:22:38 +0200
By selecting the "write image to flash", you are probably (check your BSP
and mainly config.bib) a XIP image. If so, your bootloader shouod not copy
the content of flash to RAM and then jump on it but should simply jump to
the beginning of the image in flash.
Make the same test with generating the image without "write runtime image to
flash" and write it to the flash.
HTH
--
--
--
----------------------------------------------------------------
Anthony Pellerin (eMVP)
ADENEO (ADESET)
Windows Embedded Consultant
<apellerin AT adeneo DOT adetelgroup DOT com>
http://www.adeneo.adetelgroup.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------
"Fredrik Jansson" <fredrik.jansson@xxxxxxxxxxxxx> a écrit dans le message de
news: edN0Ra81GHA.3464@xxxxxxxxxxxxxxxxxxxxxxx
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
.
- References:
- Flashed image doesn't load
- From: Fredrik Jansson
- Re: Flashed image doesn't load
- From: Yannick Chamming's [eMVP]
- Re: Flashed image doesn't load
- From: Fredrik Jansson
- Flashed image doesn't load
- Prev by Date: Re: Flashed image doesn't load
- Next by Date: Re: DMA Buffer allocation Problem..
- Previous by thread: Re: Flashed image doesn't load
- Next by thread: PCI dump switch and NMI
- Index(es):
Relevant Pages
|