Re: [U-Boot] Problem Booting RTEMS with u-boot on Phycore LPC3250

2012-09-17 Thread SAeeD
Dear Wolfgang,

Where exactly did you get the U-Boot source code from?


Various sources in fact:
http://bitshrine.org/gpp/u-boot-1.3.3-lpc32xx.patch
http://git.lpclinux.com/?p=uboot-2009.03-lpc32xx.git;a=summary
http://git.lpclinux.com/?p=uboot-2011.12-lpc32xx.git;a=summary
https://github.com/sobczyk/u-boot

I think the problem might be related to the big size of .Work section.
(About 63 MB while board's SRAM is 64 MB!)
Is it possible that clearing .Work, collapses U-Boot which is stored in
SRAM at 0x83fc?
BTW, it is a little weird that U-Boot loads .start @ 0x8000 and then
clears .vector at the same address:
Loading .start @ 0x8000 (1120 bytes)

Clearing .vector @ 0x8000 (5952 bytes)
Might the problem be related to the wrong structure of my ELF file?

Thanks,
SAeeD

On Mon, Sep 17, 2012 at 9:47 AM, Wolfgang Denk w...@denx.de wrote:

 Dear SAeeD,

 In message CAEdVrmO=+
 abwhnxtog9rkwspnpqq8uzqtqot+_mtleu3-hr...@mail.gmail.com you wrote:
 
  I have built an RTEMS 4.10.2 elf image for Phycore LPC3250. I am using
 ...
  I have tried both u-boot 1.3.3 and u-boot 2009.03 and have not found any
  improvements.

 These are two very old versions.  Forthermore, it appears that the
 Phycore LPC3250 is not supported in mainline U-Boot (mr what would the
 exact board name be?).

 Where exactly did you get the U-Boot source code from?

 Best regards,

 Wolfgang Denk

 --
 DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
 HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
 Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
 If A equals success, then the formula is A = X + Y + Z. X is work.  Y
 is play. Z is keep your mouth shut. - Albert Einstein

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Problem Booting RTEMS with u-boot on Phycore LPC3250

2012-09-16 Thread SAeeD
Hello

I have built an RTEMS 4.10.2 elf image for Phycore LPC3250. I am using
u-boot as my bootloader. Although I can boot the image in binary format,
unfortunately there is a problem to boot elf image with bootelf  command.
after executing bootelf command u-boot get stuck in an infinite loop with
the following messages:

Loading .start @ 0x8000 (1120 bytes)

Clearing .vector @ 0x8000 (5952 bytes)

Loading .text @ 0x8460 (68576 bytes)

Loading .rodata @ 0x80011040 (6208 bytes)

Clearing .robarrier @ 0x800012880 (972672 bytes)

Loading .data @ 0x8010 (2016 bytes)

Clearing .bss @ 0x801007e0 (5504 bytes)

Clearing .work @ 0x80101d60( 66036384 bytes)

I have tried both u-boot 1.3.3 and u-boot 2009.03 and have not found any
improvements.

RAM address info is located in range of 0x800 to 0x83ff; U-boot is
located in 0x83fc.
bootelf is called with argument 0x8100.
Any idea, hint, and advice on how to solve the problem would be appreciated.

Thanks.
SAeeD
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Problem Booting RTEMS with u-boot on Phycore LPC3250

2012-09-16 Thread Wolfgang Denk
Dear SAeeD,

In message CAEdVrmO=+abwhnxtog9rkwspnpqq8uzqtqot+_mtleu3-hr...@mail.gmail.com 
you wrote:

 I have built an RTEMS 4.10.2 elf image for Phycore LPC3250. I am using
...
 I have tried both u-boot 1.3.3 and u-boot 2009.03 and have not found any
 improvements.

These are two very old versions.  Forthermore, it appears that the
Phycore LPC3250 is not supported in mainline U-Boot (mr what would the
exact board name be?).

Where exactly did you get the U-Boot source code from?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
If A equals success, then the formula is A = X + Y + Z. X is work.  Y
is play. Z is keep your mouth shut. - Albert Einstein
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot