cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
marcosgu
Observer
Observer
3,419 Views
Registered: ‎02-02-2017

promgen ERROR:Bitstream:32 - 0x62cfb4 bytes loaded up from 0x500000 overlaps load at 0x0

Hello,

 

I'm trying to merge a bit file with a bin file which then outputs into a final bin file using the promgen command shown below

 

promgen -w -p bin -c FF -o f_version7 -s 16384 -u 0 version7.bit -data_file up 500000 version7.bin -spi


Unfortunately i get the following:

 

Release 14.7 - Promgen P.20131013 (nt64)
Copyright (c) 1995-2013 Xilinx, Inc. All rights reserved.
0x947a5c (9730652) bytes loaded up from 0x0
ERROR:Bitstream:32 - 0x62cfb4 bytes loaded up from 0x500000 overlaps load at 0x0

 

I've spent some time reading through several threads and it appears as though I need at least ISE Webpack installed(?) which I believe I do.  But I am not sure if this solves anything.

 

Anybody have any ideas that can tell me what I am doing wrong or can point me in the right direction please?

0 Kudos
4 Replies
austin
Scholar
Scholar
3,409 Views
Registered: ‎02-27-2008

m,

 

What are you trying to accomplish?

 

A .bit and a .bin file are exactly the same thing:  a configuration.  They both start at the beginning of the device, and end at the end.  .bin is the binary image, .bit is the ascii 1's and 0's.  If they are the same design, then they are identical information, .bin as a long string of 0 and 1, .bit as ASCII character "0" for 0, and "1" for 1.

 

What you did makes perfect sense:  you tried to write over a bitstream with another, both starting at zero.

Austin Lesea
Principal Engineer
Xilinx San Jose
0 Kudos
marcosgu
Observer
Observer
3,375 Views
Registered: ‎02-02-2017

Hi Austin,

 

Ok, so the bit file is an FPGA configuration file and the bin file is a linux kernal binary image.  Basically, what I am trying to do is to concatenate the bit file with the bin file to create a single bin file which ill then use to download to an FPGA using the Program Flash tool (using XIlinx SDK).

0 Kudos
austin
Scholar
Scholar
3,359 Views
Registered: ‎02-27-2008

OK,

 

So, after the device is configured, you will then need to read in the binary, place it in you DDR memory, and start execution.

 

I am presuming this is a MicroBlaze system.  When the MicroBlaze wakes up, a BRAM is typically used for the boot loader to load the linux binary.

 

Are you following:(?)

 

http://www.wiki.xilinx.com/MicroBlaze

 

MicroBlaze U-Boot

MicroBlaze U-Boot
The purpose of this page is to document the U-Boot project for MicroBlaze. U-Boot provides a minimal boot loader with which a Linux kernel can be loaded into and booted from memory.

Austin Lesea
Principal Engineer
Xilinx San Jose
0 Kudos
marcosgu
Observer
Observer
3,267 Views
Registered: ‎02-02-2017

Hi Austin,

Thank you for your input. However, after reading more on the use of the promgen command I found what the issue was:

 

From the error:

0x947a5c (9730652) bytes loaded up from 0x0


which was being reported above I made the following change in the command

 

promgen -w -p bin -c FF -o f_version7 -s 16384 -u 0 version7.bit -data_file up 950000 version7.bin -spi

 

In other words I choose something that would cover the error.  This produced the following output

 

Release 14.7 – Promgen P.20131013 (nt64)
Copyright (c) 1995-2013 Xilinx, Inc. All rights reserved.
0x947a5c (9730652) bytes loaded up from 0x0
0x62cfb4 (6475700) bytes loaded up from 0x950000
Using user-specified prom size of 16384K
Writing file “f_version7.bin”.
Writing file “f_version7.prm”.
Writing file “f_version7.cfi”.


However, this did not get me out of the woods because at the time when I saw the linux kernal being booted up, it would pause indefinitely and never finish booting. So, in my bootloader script I also had to change the flash address to 0x950000 as well.

0 Kudos