Fwd: Re: [U-Boot-Users] U-boot - vxWorks booting problems

Den Denov yourden at hotmail.com
Wed Feb 26 13:50:08 CET 2003


Thanks for advice, but...
I try to load ELF converted by mkimage.
Here is crash dump - address similar to address of U-Boot itself
Any ideas?
:
=================
=> bootm 40040000
## Booting image at 40040000 ...
   Image Name:   vxw
   Created:      2003-02-24  12:23:14 UTC
   Image Type:   PowerPC VxWorks Kernel Image (uncompressed)
   Data Size:    2710984 Bytes =  2.6 MB
   Load Address: 00100000
   Entry Point:  00100000
   Verifying Checksum ... OK
   Loading Kernel Image w/o watchdog... OK
OK
   Image type is Kernel Image ... OK
   OS type: vxWorks. Start to boot ...
   Try to set LOADADDR to 100000 ...
   Setting up loadaddr 0x100000 ... OK
   Loadaddr read 0x100000 ... OK
## Ethernet MAC address not copied to NV RAM
   Bootaddr set to 0x4200 ... OK
   Bootline is cpm (0,0)TQM823L:vxworks e=192.168.100.51 h=192.168.100.155 
g=0.0.0.0 u=anonymous pw=user f=0x00 tn=TQM823L .
.. OK
   Start load ELF ... Loading .text @ 0x00100000 (489304 bytes)
Bus Fault @ 0x00fd5acc, fixup 0x00000000
Machine check in kernel mode.
Caused by (from msr): regs 00f9fac0 Machine check signal - probably due to 
mm fault
with mmu off
NIP: 00FD5ACC XER: C000867C LR: 00FD5B5C REGS: 00f9fac0 TRAP: 0200 DAR: 
00F9FB28
MSR: 00001002 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00

GPR00: 7CB00124 00F9FBB0 00000000 00100000 00077758 00000000 00177754 
4BFEF4F9
GPR08: 00000000 00177760 FFF02808 00001E48 00000000 00000000 00FE9500 
C0FC0000
GPR16: 00000000 00000000 00000800 00000001 00000000 00FE45A4 00F9FEB8 
00000002
GPR24: 00FE5BA4 00395B08 00000050 00000002 00100000 00F9FF94 00FE9D5C 
7CB00174
Call backtrace:
00FD5B1C 00FD5974 00FD5690 00FD4AA0 00FD45D0 00FD3DC8 00FD1438
00FC23B0
machine check
=================





>From: Pierre AUBERT <p.aubert at staubli.com>
>To: Mailing list U-Boot <u-boot-users at sourceforge.net>
>CC: Den Denov <yourden at hotmail.com>
>Subject: Re: [U-Boot-Users] U-boot - vxWorks booting problems
>Date: Wed, 26 Feb 2003 13:19:39 +0100
>
>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
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Scholarships for Techies!
>Can't afford IT training? All 2003 ictp students receive scholarships.
>Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
>www.ictp.com/training/sourceforge.asp
>_______________________________________________
>U-Boot-Users mailing list
>U-Boot-Users at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/u-boot-users


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail





More information about the U-Boot mailing list