From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 49735E00860; Wed, 14 Jan 2015 02:57:34 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, HTML_FONT_FACE_BAD, HTML_MESSAGE,T_FROM_12LTRDOM autolearn=no 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 * 1.0 HTML_FONT_FACE_BAD BODY: HTML font face is not a word * 0.0 T_FROM_12LTRDOM From a 12-letter domain X-Greylist: delayed 400 seconds by postgrey-1.32 at yocto-www; Wed, 14 Jan 2015 02:57:18 PST Received: from sip2-98.nexcess.net (iwavesystems.com [207.32.180.10]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0BA85E004FF for ; Wed, 14 Jan 2015 02:57:18 -0800 (PST) Received: (qmail 556 invoked by uid 108); 14 Jan 2015 05:50:35 -0500 Received: from unknown (HELO ?192.168.2.104?) (115.119.206.100) by sip2-98.nexcess.net with SMTP; 14 Jan 2015 05:50:35 -0500 Message-ID: <54B649F6.6000302@iwavesystems.com> Date: Wed, 14 Jan 2015 16:20:30 +0530 From: ansaris User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: "meta-freescale@yoctoproject.org" Subject: i.MX6 - u-boot binary size getting changed 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: Wed, 14 Jan 2015 10:57:34 -0000 Content-Type: multipart/alternative; boundary="------------020909010806030703030500" --------------020909010806030703030500 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi, We are using imx6Q sabresd platform for our development with Linux 3.10.17_1.0.0-GA BSP. We have installed the meta-tool chain in our 64bit Host PC and 32 bit Host PC using below steps. $bitbake meta-toolchain $sudo sh tmp/deploy/sdk/poky-eglibc-x86_64-arm-toolchain-.sh The u-boot source code is compiled in 32bit host PC and with this u-boot.imx binary, the target board is booted. At u-boot level, the command "bdinfo" displays below information. arch_number = 0x0000112D boot_params = 0x10000100 DRAM bank = 0x00000000 -> start = 0x10000000 -> size = 0x40000000 eth0name = FEC ethaddr = 00:01:02:03:04:05 current eth = FEC ip_addr = baudrate = 115200 bps TLB addr = 0x4FFF0000 relocaddr = 0x4FF68000 reloc off = 0x38768000 irq_sp = 0x4F565F38 sp start = 0x4F565F28 Then the u-boot source code is compiled in 64bit host PC and with this u-boot.imx binary, the target board is booted. At u-boot level, the command "bdinfo" displays below information. arch_number = 0x0000112D boot_params = 0x10000100 DRAM bank = 0x00000000 -> start = 0x10000000 -> size = 0x40000000 eth0name = FEC ethaddr = 00:01:02:03:04:05 current eth = FEC ip_addr = baudrate = 115200 bps TLB addr = 0x4FFF0000 relocaddr = 0x4FF66000 reloc off = 0x38766000 irq_sp = 0x4F563F38 sp start = 0x4F563F28 We would like to know, why the "relocaddr & reloc off "(as highlighted above) are different? since the source codes are same and compiled in different host PC (64bit & 32bit). In addition, we checked the u-boot.imx binary file size. We could see the difference in the file size as below u-boot.imx(compiled in 32bit host PC) - 313644 bytes u-boot.imx(compiled in 64bit host PC) - 318780 bytes Thank You, Regards, Ansari --------------020909010806030703030500 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Hi,

We are using imx6Q sabresd platform for our development with Linux 3.10.17_1.0.0-GA BSP.

We have installed the meta-tool chain in our 64bit Host PC and 32 bit Host PC using below steps.
$bitbake meta-toolchain
$sudo sh tmp/deploy/sdk/poky-eglibc-x86_64-arm-toolchain-<version>.sh

The u-boot source code is compiled in 32bit host PC and with this u-boot.imx binary, the target board is booted.
At u-boot level, the command "bdinfo" displays below information.
arch_number = 0x0000112D
boot_params = 0x10000100
DRAM bank   = 0x00000000
-> start    = 0x10000000
-> size     = 0x40000000
eth0name    = FEC
ethaddr     = 00:01:02:03:04:05
current eth = FEC
ip_addr     = <NULL>
baudrate    = 115200 bps
TLB addr    = 0x4FFF0000
relocaddr   = 0x4FF68000
reloc off   = 0x38768000

irq_sp      = 0x4F565F38
sp start    = 0x4F565F28
Then the u-boot source code is compiled in 64bit host PC and with this u-boot.imx binary, the target board is booted.
At u-boot level, the command "bdinfo" displays below information.
arch_number = 0x0000112D
boot_params = 0x10000100
DRAM bank   = 0x00000000
-> start    = 0x10000000
-> size     = 0x40000000
eth0name    = FEC
ethaddr     = 00:01:02:03:04:05
current eth = FEC
ip_addr     = <NULL>
baudrate    = 115200 bps
TLB addr    = 0x4FFF0000
relocaddr   = 0x4FF66000
reloc off   = 0x38766000

irq_sp      = 0x4F563F38
sp start    = 0x4F563F28

We would like to know, why the "relocaddr & reloc off "(as highlighted above) are different?  since the source codes are same and compiled in different host PC (64bit & 32bit).
In addition, we checked the u-boot.imx binary file size.  We could see the difference in the file size as below
u-boot.imx(compiled in 32bit host PC) - 313644 bytes
u-boot.imx(compiled in 64bit host PC) - 318780 bytes


Thank You,
Regards,
Ansari
--------------020909010806030703030500--