I just got a ZedBoard and started playing with the default install.
I have plenty of questions but the two important ones are:
1) How do I cross-compile a basic C program for it ?
2) How can I rebuild the system using BuildRoot ?
Before you say RTFM, I did, but everything is geared towards using the Xilinx Design DVD provided with it. As I'm the software guy, in the past I avoided using this huge thing while working on other Xilinx cards (ML405 derivatives) by:
- having the electronics guys use it for their designs (with the appropriate BSP) and only provide me with the dts file
- get BuildRoot and build a toolchain for the ML405, uClibC and a BusyBox OS with it.
- get the linux-xlnx.git kernel and cross-compile with the buildroot toolchain and the previous dts
- embed the busybox target cpio filesystem in the kernel
- put the kernel on a flash
- write a very basic bootloader to read the kernel from the flash, store it in memory and jump to it.
I tried doing that but don't see any options for ZedBoard and/or Zynq in BuildRoot. Or is it under other names ?
If BuildRoot is not the proper way to go, what _minimal_ part of the large Vivado/ISE DVD do I need to install in order to get the cross compiler.
PS: the documentation, like here (http://www.wiki.xilinx.com/Build+Kernel#Zynq) mentions 'make' without a word about the cross-compiler configuration. Something's missing.