[U-Boot-Users] `bootelf` pSOS application + kernel

KokHow Teh KokHow.Teh at marconi.com
Wed Jun 29 05:04:23 CEST 2005


Hi;
      I have a pSOS application + kernel at load address 0x40000 and entry
point 0x40004. I have no success booting it. Any insight is appreciated.

u-boot> tftp 200000 hello
Using FCC2 ETHERNET device
TFTP from server 147.128.28.42; our IP address is 147.128.28.44
Filename 'hello'.
Load address: 0x200000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #
done
Bytes transferred = 1332052 (145354 hex)
u-boot> bootelf 200000
Loading .text @ 0x00040000 (537156 bytes)
Loading .sdata2 @ 0x000c3244 (5 bytes)
Loading .utext @ 0x000c4000 (10520 bytes)
Clearing .bss @ 0x000c8000 (33064 bytes)
Loading .data @ 0x000c6920 (3128 bytes)
Clearing .sbss @ 0x000d0d60 (20 bytes)
Loading .udata @ 0x000c7558 (12 bytes)
## Starting application at

U-Boot 1.1.2 (Jun 29 2005 - 10:51:12)



>>> PSOS binary: <<<
hello:     file format elf32-powerpc

Disassembly of section .DAE_exp:
Disassembly of section .IAE_exp:
Disassembly of section .RST_exp:
Disassembly of section .text:

00040000 <_START-0x4>:
   40000:       7c 63 1b 78     mr      r3,r3

00040004 <_START>:
   40004:       7c 63 1b 78     mr      r3,r3
   40008:       3c 40 00 0d     lis     r2,13
   4000c:       38 42 b2 34     addi    r2,r2,-19916
   40010:       3d a0 00 0e     lis     r13,14
   40014:       39 ad 8d 50     addi    r13,r13,-29360
   40018:       7c 60 00 a6     mfmsr   r3
   4001c:       54 63 04 5e     rlwinm  r3,r3,0,17,15
   40020:       7c 60 01 24     mtmsr   r3
   40024:       48 00 64 3c     b       46460 <HdwInit>
<snip>



Regards,
TEH






More information about the U-Boot mailing list