[Buildroot] Need help with cross-compiler configuration
Aseem Sharma
aseem.sharma19 at gmail.com
Wed Aug 30 14:49:33 UTC 2017
Hi,
I am naive to buildroot & processor world trying to compile
"buildroot-2017.02.5" for "Marvell ARM Armada 166E processor (compatible to
ARMv5TE instruction-set)" based old system.
I compiled the buildroot (kernel, rootfs & cross-compiler) by setting arm926t
(little-endian) as target arch/variant as suggested by Arnout/Baruch in
response to my old query. However, now I am having trouble booting the
system with the new buildroot created zImage. I do not seem to get any
output/log on the system screen after flashing this new image onto the
system.
To verify if the buildroot is configured correctly for my system, I tried
to create a helloWorld program using the buildroot internal cross-compiler
and then tried to run it on the arm based system (running old 2005
buildroot release). Following is the exact error message that I observe:
*hello.c on Host:*
#include <stdio.h>
int main()
{
printf("Hello, World!");
return 0;
}
*Command Line used to Compile on Host:*
sudo /home/administrator/Downloads/buildroot_2017/buildroot-2017.0
2.5/output/host/usr/bin/arm-linux-gcc --sysroot=/home/administrator/
Downloads/buildroot_2017/buildroot-2017.02.5/output/staging -o test hello.c
*Screen Output on Target:*
*# *./test
*./test: line 1: syntax error: unexpected ")"*
*#*
*#* cat ./test | more * -------> Just to
prove its not a shell script!*
bFLTD? Üc0 ÜeY¦Á)° ãà ãä å -å-å åÀ-å
å
0åÊêRëÉX at -é å 0å0`àS½0åS3ÿ/½è
å, at -é`àA á¡àÁ°0åS3ÿ/½è 40å@-é Óå@ áRã½Úÿÿë0åSã
å á0 ã0Äå½è @-é80åSã
*Please let me know if I am missing something. *
Thanks in advance.
Best Regards,
Aseem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170830/2213192c/attachment.html>
More information about the buildroot
mailing list