Page 1 of 1

Need help creating parallella.bit.bin

PostPosted: Mon Nov 02, 2015 9:12 am
by shmueli
Hi.
I'm trying to boot Ubuntu headless image with a custom FPGA configuration.

I've done the following steps:
1) Used Win32 Disk Imager to flash an SD-card with the latest Ubuntu 14.04 Parallella (Zynq7020) headless image.
2) Logged in the terminal with MobaXterm. - Everything works fine :)
3) Downloaded FSBL.elf and u-boot.elf from: https://github.com/parallella/parallella-flash.
4) Used Vivado 2014.3.1 to generate a bitstream from the parallella_7020_headless.xpr.zip project, which can be found here: https://github.com/parallella/parallell ... o/releases.
5) Exported everything to SDK and used the "create zynq boot image" tool to bundle FSBL.elf, elink2_top_wrapper.bit, and u-boot.elf into parallella.bit.bin (in this exact order).
6) Replaced the parallella.bit.bin file on my SD-card with the one I've just made. Did not change devicetree.dtb and uImage.
7) Tried to log in with MobaXterm. - No success :( Advanced IP Scanner doesn't even find the device.

What am I missing?
Please help.

Re: Need help creating parallella.bit.bin

PostPosted: Mon Nov 02, 2015 10:53 am
by kirill
parallella.bit.bin is not the same as boot.bin that you are generating. It contains only FPGA bit stream in "raw" binary format. You generate it using bootgen tool from SDK with "-split bin" option, here is a sample script and sample .bif file

https://github.com/Kirill888/parallella ... bootbin.sh
https://github.com/Kirill888/parallella ... r/7010.bif

FSBL and u-boot can not be changed via sd-card, if you need custom version of those you have to flash into internal ROM, and better have JTAG ready in case things go wrong.