UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
4,668 Views
Registered: ‎06-13-2011

Zynq (ZC702) + bitstream in 14.4 ?

I noticed on the wiki for 14.4 that the flash partitions (item 3 below) were listed as being changed to better allow for the bitstream. 

 

releaseChanges14_4.png

 

I looked inside the u-boot source and commit for the changes and the first partition has not been increased in size.

 

zynq: Updated flash offsets in Linux autoboot

Changed flash layout to include u-boot environments.

Updated flash layout:
part1[0x000000 - 0x100000]: 1MB, fsbl+uboot+uboot_env
part2[0x100000 - 0x600000]: 5MB, kernel
part3[0x600000 - 0x620000]: 128kiB, devicetree
part4[0x620000 - 0xC00000]: 5.896MB, ramdisk

 

Is the bitstream still supposed to be part of the boot.bin which still only has 1MB of allocated space, or is the bitstream supposed to be put by itself in another partition?  The bitstream is ~4.2MB, so the numbers above don't really leave enough room for the bitstream above the other partitions anyway.

 

It looks like I still need to increase partition1 to keep things working even though the release notes hint otherwise.

 

Thanks,

 

Steve

0 Kudos
5 Replies
Explorer
Explorer
4,565 Views
Registered: ‎02-17-2013

Re: Zynq (ZC702) + bitstream in 14.4 ? I can't export hardare bitstream for sdk

Hey 

 


I generated the system.bit unfortunately when I want export hardware for sdk I can't check the box include bitstream I don't understand. I use the ise 14.4. Do you have ideas of the problem ?
Cordially.

0 Kudos
Explorer
Explorer
4,563 Views
Registered: ‎02-17-2013

Re: Zynq (ZC702) + bitstream in 14.4 ? I can't export hardare bitstream for sdk

 
probleme.jpg
0 Kudos
Xilinx Employee
Xilinx Employee
4,553 Views
Registered: ‎11-28-2007

Re: Zynq (ZC702) + bitstream in 14.4 ? I can't export hardare bitstream for sdk

As the note next to "Include bitstream" says, you need to open the implemented design first then the bitstream checkbox will be active.

 

 

Cheers,
Jim
0 Kudos
Observer s381168
Observer
4,429 Views
Registered: ‎02-09-2013

Re: Zynq (ZC702) + bitstream in 14.4 ?

Did you ever get an answer about the partition sizes???

0 Kudos
Highlighted
Scholar milosoftware
Scholar
4,422 Views
Registered: ‎10-26-2012

Re: Zynq (ZC702) + bitstream in 14.4 ?

Looking at the partition table, the bitstream will never fit anyway as it occupies ~4MB.

 

Basically, the thing to do here is completely ignore this and create your own partition table tailored to your needs. After all, you wouldn't really want to load a ramfs into a SPI flash, just to name one. I've never been able to produce a Zynq kernel that's over 3MB in size, let alone 5MB.

 

Basically, build it as you'd want to have it, change the partition table in the devicetree, and optionally change u-boot if you've moved the environment location. For example, mine looks like this (booting and running a UBI root fs from the flash)

 

root@zynq-zc702:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00060000 00010000 "qspi-bootloader"
mtd1: 00010000 00010000 "qspi-u-boot-env"
mtd2: 00010000 00010000 "qspi-device-tree"
mtd3: 00400000 00010000 "qspi-linux"
mtd4: 00b80000 00010000 "qspi-rootfs"

As you may notice, there's no bitstream partition. The bitstream is in the rootfs.

0 Kudos