長らくホームにしてたFedoraからUbuntuに変わったこともあるので、ZYBO用Linux KernelとU-BootをYoctoで作ったSDK(gcc4.9.2)でビルドしてみた。
git clone git://github.com/Xilinx/linux-xlnx.git
export ARCH=armexport CROSS_COMPILE=arm-poky-linux-gnueabi-
% cd linux-xlnx
% make xilinx_zynq_defconfig
% make menuconfig
% make UIMAGE_LOADADDR=0x8000 uImage
git clone git://github.com/Xilinx/u-boot-xlnx.git
% cd u-boot-xlnx
% make zynq_zybo_defconfig
% make
u-bootのビルドでopensslのヘッダーが無いとエラーが出たのでlibssl-devをインストールした。
% sudo apt-get install libssl-dev
mkimageも無かったのでu-bootでtoolsも作成。
% make tools
まぁ、こんなところだね。
旧Kernel
Linux version 3.17.0-xilinx (hidemi@saturn) (gcc version 4.9.1 20140717 (Red Hat Cross 4.9.1-1) (GCC) ) #2 SMP PREEMPT Mon Feb 23 01:18:07 JST 2015
新Kernel
Linux version 4.0.0-xilinx-17527-g0e8578a (hidemi@saturn) (gcc version 4.9.2 (GCC) ) #1 SMP PREEMPT Mon Jul 6 03:21:36 JST 2015
タイムスタンプを見ると、ビルドは半年ぐらい前だったんだね。