[meta-xilinx] should elvis' meta-xilinx layer be synced with poky right now?
Elvis Dowson
elvis.dowson at gmail.com
Sat Apr 20 11:23:39 PDT 2013
Hi Robert,
I've updated the meta-xilinx repo with a few updates:
- zc702: Add Xylon FrameBuffer HDMI output support as described in the Zynq TRD 14.4 document
- zedboard: Add initial un-tested machine configuration, kernel and u-boot support.
Here are a few settings and code snippets to help you get started
local.conf file settings
#
# Xilinx ISE Design Tools
#
# Set Xilinx tools installation path
XILINX_LOC ?= "/tool/xilinx/14.5/ISE_DS"
#
# Xilinx target board configuration.
#
# Set the target machine details
#MACHINE ?= "virtex-5-ml507-powerpc-440"
#MACHINE ?= "virtex-5-ml507-powerpc-440-softfloat"
#MACHINE ?= "spartan-6-sp601-microblazeel"
#MACHINE ?= "spartan-6-sp601-microblazeel-softfloat"
#MACHINE ?= "spartan6-sp605"
#MACHINE ?= "zynq-7-zc702"
MACHINE ?= "zynq-7-zedboard"
#MACHINE ?= "qemuppc"
# Set the target board details
#XILINX_BOARD ?= "ml507"
#XILINX_BOARD ?= "sp601"
#XILINX_BOARD ?= "zc702"
XILINX_BOARD ?= "zedboard"
#
# Set Xilinx Platform Studio hardware project path
#
# Set Xilinx BSP path
#XILINX_BSP_PATH ?= "/project/xilinx-ml507-xps-14.3-aalonso"
#XILINX_BSP_PATH ?= "/project/xilinx-ml507-base-trd-ppc440-fpu"
#XILINX_BSP_PATH ?= "/project/xilinx-sp601-base-trd-microblazeel-fpu-14.4"
#XILINX_BSP_PATH ?= "/project/xilinx-zc702-adv7511-hdmi"
XILINX_BSP_PATH ?= "/project/xilinx-zynq-base-trd-14.4"
command snippets for various tasks, e.g create ramdisk, update ramdisk, make ramdisk uimage bootable, etc
# Build yocto
cd /tool/yocto/poky;source oe-init-build-env build
time bitbake core-image-minimal
time bitbake -c fetchall core-image-minimal
time bitbake meta-toolchain
# Xilinx - Launch ISE 14.5
. /tool/xilinx/14.5/ISE_DS/settings64.sh
cd /tool/xilinx/14.5/ISE_DS
PlanAhead/bin/planAhead &
EDK/bin/lin64/xps &
EDK/bin/lin64/xsdk &
ISE/bin/lin64/ise &
# Xilinx - Create a new ramdisk
mkdir -p /media/ramdisk
mkdir -p /project/xilinx-zedboard-ramdisk/
cd /project/xilinx-zedboard-ramdisk/
dd if=/dev/zero of=ramdisk.image bs=1024 count=16384
mke2fs -F ramdisk.img -L "ramdisk" -b 1024 -m 0
tune2fs ramdisk.image -i 0
chmod 777 ramdisk.image
# Xilinx - Update ramdisk
cd /project/xilinx-zedboard-ramdisk/
gunzip ramdisk.image.gz
sudo mount -o loop ramdisk.image /media/ramdisk
cd /media/ramdisk
sudo rm -Rf *
sudo tar xvf '/tool/yocto/poky/build/tmp/deploy/images/core-image-minimal-zynq-7-zedboard.tar.gz' .
sudo gedit /media/ramdisk/etc/inittab
cd ..
sudo umount /media/ramdisk
cd /project/xilinx-zedboard-ramdisk/
gzip -9 ramdisk.image
mkimage -A arm -T ramdisk -C gzip -d ramdisk.image.gz uramdisk.image.gz
cp uramdisk.image.gz '/media/elvis/boot'
# Start DHCP services
sudo service isc-dhcp-server start
For the ZC702 board, I was able to get HDMI output work at 1080p resolution.
I suspect that for the ZedBoard, if I can hazzard a guess
a. console output might work.
b. hdmi output, you might run into issues, but check if the Zynq Base TRD 14.4 instructions work. The current zeboard.dts file doesn't include the definitions for the xylon fb so you might
want to adapt it from another source to enable it, once you've got the console working.
I briefly tried the xilinx 3.8 kernel, but it hung after displaying "Loading kernel", so I didn't spend anymore time on it.
I just focussed on updating and testing the xilinx linux 3.6 kernel recipes to the xilinx-v14.4 tag.
Let me know if you run into any issues.
Best regards,
Elvis Dowson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20130420/07ff5967/attachment.html>
More information about the meta-xilinx
mailing list