How do you guys cross compile for Zynq (Cortex A9)?

Emb Aud embaudarm at gmail.com
Mon May 23 03:32:58 UTC 2016


Thank you.  That was easy.

I made some progress tonight getting a kernel module to cross compile too.
Using "make buildenv..."  It actually worked and loaded on the Zybo, but I
think it has some errors with stripping out export symbols.

Interestingly, I think that make kernel-toolchain makes an entirely
different set of build tools than the contets of that tmp directory that
you pointed out.  I'm not using those, but make buildenv seems to be
necessary to set up the environment so that my kernel module will build at
all (though badly).



On Sun, May 22, 2016 at 5:53 PM, Thomas Skibo <thomasskibo at yahoo.com> wrote:

>
> >   Can anyone tell me how you are compiling your Zynq programs?
>
> I actually compile programs on the Zedboard itself rather than try to
> cross-compile.
>
> But, I just managed to compile Hello World using the cross-compiler built
> with buildworld:
>
> /usr/obj/arm.armv6/usr/src/tmp/usr/bin/cc -o hello hello.c
>
> I tested it on Zedboard and it works.
>
> —Thomas
>
>
>> Thomas Skibo
> thomasskibo at yahoo.com
>
>
>
>


More information about the freebsd-arm mailing list