public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] U-boot - vxWorks booting problems
@ 2003-02-26 11:42 Den Denov
  2003-02-26 12:19 ` Pierre AUBERT
  0 siblings, 1 reply; 2+ messages in thread
From: Den Denov @ 2003-02-26 11:42 UTC (permalink / raw)
  To: u-boot

Hi all!

I begin use U-Boot at my custom board  based on TQM823L module.
It works fine.
But I have problem with vxWorks image to boot it.

Briefly. I compile vxWorks ram-based ELF image, make .bdx file from it and 
download BDX throught BDM using visionClick\visionICE.
When I says "GO 100000" it works fine!
After it I make binary image (using ElfToBin utility), make image from it 
using MKIMAGE utility from U_Boot, upload it to my target using u-boot 
serial interface, copy to flash - all ok.

When I says "bootm 40040000". Image start to load ok, but after message 
"Starting vxWorks at 0x100000" target crashed.

I try to make
cp.b 40040040 (where actually image w\o header placed) 100000 $filesize
its copied OK
But "go 100000" cause crash again.

I try set brakepoint at address 0x100000 and make step-by-step tracing. And 
wondering - code at 100000 after copy from flash looks different then I 
simple download BDX file through BDM before!

I think something wrong with vxWorks binary image after ElfToBin.

Please give me advices and suggestions about possible resolving my problem!

Den.



_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] U-boot - vxWorks booting problems
  2003-02-26 11:42 [U-Boot-Users] U-boot - vxWorks booting problems Den Denov
@ 2003-02-26 12:19 ` Pierre AUBERT
  0 siblings, 0 replies; 2+ messages in thread
From: Pierre AUBERT @ 2003-02-26 12:19 UTC (permalink / raw)
  To: u-boot

Den Denov wrote:

> Hi all!
>
> I begin use U-Boot at my custom board  based on TQM823L module.
> It works fine.
> But I have problem with vxWorks image to boot it.
>
> Briefly. I compile vxWorks ram-based ELF image, make .bdx file from it and
> download BDX throught BDM using visionClick\visionICE.
> When I says "GO 100000" it works fine!
> After it I make binary image (using ElfToBin utility), make image from it
> using MKIMAGE utility from U_Boot, upload it to my target using u-boot
> serial interface, copy to flash - all ok.
>
> When I says "bootm 40040000". Image start to load ok, but after message
> "Starting vxWorks at 0x100000" target crashed.
>
> I try to make
> cp.b 40040040 (where actually image w\o header placed) 100000 $filesize
> its copied OK
> But "go 100000" cause crash again.
>
> I try set brakepoint at address 0x100000 and make step-by-step tracing. And
> wondering - code at 100000 after copy from flash looks different then I
> simple download BDX file through BDM before!
>
> I think something wrong with vxWorks binary image after ElfToBin.
>
> Please give me advices and suggestions about possible resolving my problem!
>
> Den.
>

Hi Den,
have you tried to make an image directly from the elf file (using mkimage).
I use u-boot to boot a QNX OS which is also contained in an elf image, and I
use mkimage on the elf file, then I use bootm on this image and it works fine.

Hoping this helps.

Best regards

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-26 12:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-26 11:42 [U-Boot-Users] U-boot - vxWorks booting problems Den Denov
2003-02-26 12:19 ` Pierre AUBERT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox