Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] microblazeel_v2 are 64-bit executables
@ 2012-05-16 23:24 chrisgriffith at cox.net
  2012-05-17 18:12 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: chrisgriffith at cox.net @ 2012-05-16 23:24 UTC (permalink / raw)
  To: buildroot

Hi everyone, I hope this is a good place for this, I did search the archives and the buglist, and I think it's more informational than a bug.

As background, I'm using buildroot-2012.05-rc1 on Ubuntu 11.10 inside VirtualBox on Windows 7, targeting a MicroBlaze AXI system with MMU on a Xilinx ML605 development board.

The little endian microblaze toolchain that buildroot auto-downloads from Xilinx's website is the "V2" or version 2, which is a 64-bit build (and therefore didn't work for me at first, you get "cannot execute binary file"). Running (for example) 'file gcc' on the downloaded tools results in

chris at chris-VirtualBox:~/buildroot/buildroot-2012.05-rc1/output/host/opt/ext-toolchain/microblazeel-unknown-linux-gnu/bin$ file gcc
gcc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped

In contrast, the "V1" or version 1 builds of the toolchain gives 

chris at chris-VirtualBox:~/mblinux/microblaze_v1.0_le/microblazeel-unknown-linux-gnu/microblazeel-unknown-linux-gnu/bin$ file gcc
gcc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

So it's not a dealbreaker to use the external V1 tools and say so in the buildroot config, I just thought you might like to know that the default downloaded MB toolchain doesn't always work from the get-go and maybe put in a warning or something.

Hope that helps somebody out,
Chris

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

end of thread, other threads:[~2012-05-17 18:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-16 23:24 [Buildroot] microblazeel_v2 are 64-bit executables chrisgriffith at cox.net
2012-05-17 18:12 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox