From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id F0BD6E007DC; Fri, 17 Oct 2014 09:09:51 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from sip2-98.nexcess.net (iwavesystems.com [207.32.180.10]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 6DABAE006EF for ; Fri, 17 Oct 2014 09:09:42 -0700 (PDT) Received: (qmail 30325 invoked by uid 108); 17 Oct 2014 12:09:42 -0400 Received: from unknown (HELO ?192.168.2.104?) (124.124.219.229) by sip2-98.nexcess.net with SMTP; 17 Oct 2014 12:09:42 -0400 Message-ID: <54413F3C.7020506@iwavesystems.com> Date: Fri, 17 Oct 2014 21:39:32 +0530 From: ansaris User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Fabio Estevam References: <543FE36A.7050200@iwavesystems.com> <54410CD8.700@iwavesystems.com> <54413510.1080605@iwavesystems.com> In-Reply-To: Cc: "meta-freescale@yoctoproject.org" , Otavio Salvador Subject: Re: Booting u-boot from DDR Through JTAG Debugger X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2014 16:09:52 -0000 Content-Type: multipart/alternative; boundary="------------080503000600070101050606" --------------080503000600070101050606 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi, We came to know with System.map file, that the TEXT_BASE & start address are below respectively u-boot-2008.09 (LTIB) ================ 0x27800000, 0x27800bc0 u-boot-imx (Yocto) ============ 0x17800000, 0x17800000 Please suggest us. Thank You, Regards, Ansari On Friday 17 October 2014 08:59 PM, Fabio Estevam wrote: > On Fri, Oct 17, 2014 at 12:26 PM, ansaris wrote: >> Hi, >> >> Sorry for in-convenience. Please find the details below. >> >> We are using our imx6 custom board for our development with solo (512MB of >> RAM) processor. >> In our custom board there is no USB OTG port. For programming, we are using >> JTAG debugger. >> >> Initially we have used “L3.0.35_4.1.0_130816” (LTIB) release BSP. We have >> downloaded the u-boot-2008.09 from the LTIB. >> With our customization in the source code we have generated u-boot.bin and >> uboot (elf) binary. >> Using JTAG we have downloaded the u-boot.bin binary or uboot (elf) into the >> target's RAM and executed. >> In this case we are able to boot the target and the bootloader console came >> in the debug port. >> 1) memory load tftp://192.168.0.1/u-boot.bin bin 0x27800000 >> 2)set cpsr 0xD3 >> 3) set sp 0x200 >> 4)set pc 0x27800bc0 >> 5)go >> >> >> Currently we are using L3.10.17_1.0.0-GA (Yocto dora) release BSP. We have >> downloaded the u-boot-imx (u-boot.2013.14) from the Yocto. >> With our customization in the source code we have generated u-boot.imx, >> u-boot.bin binaries. >> Using JTAG we have downloaded the u-boot.imx binary into the target's RAM >> and executed. >> In this case we are not able to boot the target. >> We have downloaded the u-boot.bin instead of u-boot.imx but the result is >> same. >> 1) memory load tftp://192.168.0.1/u-boot.imx bin 0x17800000 >> 2)set cpsr 0xD3 >> 3) set sp 0x200 >> 4)set pc 0x17800000 > Why are the load address different? > > By the way, this is a bit off topic in this list. > --------------080503000600070101050606 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Hi,

We came to know with System.map file, that the TEXT_BASE & start address are below respectively

u-boot-2008.09 (LTIB)
================
0x27800000, 0x27800bc0

u-boot-imx (Yocto)
============
0x17800000, 0x17800000

Please suggest us.


Thank You,
Regards,
Ansari


On Friday 17 October 2014 08:59 PM, Fabio Estevam wrote:
On Fri, Oct 17, 2014 at 12:26 PM, ansaris <ansaris@iwavesystems.com> wrote:
Hi,

Sorry for in-convenience.  Please find the details below.

We are using our imx6 custom board  for our development with solo (512MB of
RAM) processor.
In our custom board there is no USB OTG port.  For programming, we are using
JTAG debugger.

Initially we have used “L3.0.35_4.1.0_130816” (LTIB) release BSP.  We have
downloaded the u-boot-2008.09 from the LTIB.
With our customization in the source code we have generated u-boot.bin and
uboot (elf) binary.
Using JTAG we have downloaded the u-boot.bin binary or uboot (elf) into the
target's RAM and executed.
In this case we are able to boot the target and the bootloader console came
in the debug port.
1) memory load tftp://192.168.0.1/u-boot.bin bin 0x27800000
2)set cpsr 0xD3
3) set sp 0x200
4)set pc 0x27800bc0
5)go


Currently we are using L3.10.17_1.0.0-GA (Yocto dora) release BSP.  We have
downloaded the u-boot-imx (u-boot.2013.14) from the Yocto.
With our customization in the source code we have generated u-boot.imx,
u-boot.bin binaries.
Using JTAG we have downloaded the u-boot.imx binary into the target's RAM
and executed.
In this case we are not able to boot the target.
We have downloaded the u-boot.bin instead of u-boot.imx but the result is
same.
1) memory load tftp://192.168.0.1/u-boot.imx bin 0x17800000
2)set cpsr 0xD3
3) set sp 0x200
4)set pc 0x17800000
Why are the load address different?

By the way, this is a bit off topic in this list.


--------------080503000600070101050606--