cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
4,740 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
Highlighted
Explorer
Explorer
4,637 Views
Registered: ‎02-17-2013

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
Highlighted
Explorer
Explorer
4,635 Views
Registered: ‎02-17-2013

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

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
Observer
4,501 Views
Registered: ‎02-09-2013

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

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

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