All of lore.kernel.org
 help / color / mirror / Atom feed
* i.MX6 - u-boot binary size getting changed
@ 2015-01-14 10:50 ansaris
  2015-01-14 11:01 ` Otavio Salvador
  0 siblings, 1 reply; 3+ messages in thread
From: ansaris @ 2015-01-14 10:50 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1954 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 5829 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: i.MX6 - u-boot binary size getting changed
  2015-01-14 10:50 i.MX6 - u-boot binary size getting changed ansaris
@ 2015-01-14 11:01 ` Otavio Salvador
  2015-01-14 11:37   ` ansaris
  0 siblings, 1 reply; 3+ messages in thread
From: Otavio Salvador @ 2015-01-14 11:01 UTC (permalink / raw)
  To: ansaris; +Cc: meta-freescale@yoctoproject.org

Hello Ansari,

On Wed, Jan 14, 2015 at 8:50 AM, ansaris <ansaris@iwavesystems.com> wrote:
...
> 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

The question makes a lot of sense but it should be targeted to the
U-Boot mailing list. Could you send it there?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: i.MX6 - u-boot binary size getting changed
  2015-01-14 11:01 ` Otavio Salvador
@ 2015-01-14 11:37   ` ansaris
  0 siblings, 0 replies; 3+ messages in thread
From: ansaris @ 2015-01-14 11:37 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 843 bytes --]

Hi,

Thank you for your valuable input.  We have posted the same in U-Boot 
mailing list.

Thank You,
Regards,
Ansari

On Wednesday 14 January 2015 04:31 PM, Otavio Salvador wrote:
> Hello Ansari,
>
> On Wed, Jan 14, 2015 at 8:50 AM, ansaris <ansaris@iwavesystems.com> wrote:
> ...
>> 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
> The question makes a lot of sense but it should be targeted to the
> U-Boot mailing list. Could you send it there?
>


[-- Attachment #2: Type: text/html, Size: 1534 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-14 11:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-14 10:50 i.MX6 - u-boot binary size getting changed ansaris
2015-01-14 11:01 ` Otavio Salvador
2015-01-14 11:37   ` ansaris

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.