[meta-xilinx] System.bit fpga.bin
Edward Vidal
vidal.develone at gmail.com
Mon Feb 17 14:25:25 PST 2014
Hello,
What is the difference between system.bit & fpga.bin?
Both of these have the basic devices I am assuming?
When you have system.bit that is used in BOOT.bin with the FSBL
bootimage.bif
the_ROM_image:
{
[bootloader]/home/vidal/POKY/dora_build/poky/build/tmp/work/zedboard-poky-linux-gnueabi/u-boot-zynq/xilinx-zynq-r6/fsbl.elf
/home/vidal/zedboard_bit_files/system.bit
[load = 0x04000000, startup =
0x04000000]/home/vidal/POKY/dora_build/poky/build/tmp/work/zedboard-poky-linux-gnueabi/u-boot-zynq/xilinx-zynq-r6/git/u-boot.bin
}
In meta-topic you generate and fpga.bin which is using cf_adv7511_zed.
ls -la /usr/share/fpga.bin
-rw-r--r-- 1 root root 4045564 Feb 6 23:08 /usr/share/fpga.bin
I am thinking gets download with
via /dev/xdevcfg crw------- 1 root root 251, 0 Jan 1 1970 xdevcfg with
the script /etc/init.dfpga-image-load.sh
#!/bin/sh
BITFILE=/usr/share/fpga.bin
case "$1" in
start)
if [ ! -e /dev/xdevcfg ]; then
mknod /dev/xdevcfg c 259 0
fi
if [ ! -e "${BITFILE}" ]; then
echo "FPGA bitfile ${BITFILE} does not exist"
exit 1
fi
cat "${BITFILE}" > /dev/xdevcfg
result=`cat /sys/devices/amba.[0123]/f8007000.devcfg/prog_done`
if [ $result -ne 1 ]; then
echo "ERROR configuring FPGA, logic is not configured!"
exit 1
fi
;;
esac
Any an all help is appreciated.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20140217/fcde4fbe/attachment.html>
More information about the meta-xilinx
mailing list