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: 
Highlighted
Explorer
Explorer
8,269 Views
Registered: ‎02-05-2008

boot.bin generated Vivado 2014.1 does not boot

Jump to solution

Hi

 

BOOT.bin generated by sdk 2014.1 does not boot.

Jothi

0 Kudos
1 Solution

Accepted Solutions
Explorer
Explorer
10,663 Views
Registered: ‎02-05-2008

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution
Hi,

The error was due to the SD. This was not enabled in vivado by default for microzed board. Now it works fine.

Thank you all for your responses

Jothi
0 Kudos
24 Replies
Xilinx Employee
Xilinx Employee
8,265 Views
Registered: ‎07-01-2010

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution
Hi Jothi,

What does the FSBL Debug messages indicate?

Regards,
Achutha
---------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------
0 Kudos
Explorer
Explorer
8,262 Views
Registered: ‎02-05-2008

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution
Hi,
No msg on the terminal. Even the configurtion is NOT done. I checked the bit file & u-boot by dow. It works fine.

Jothi
0 Kudos
Xilinx Employee
Xilinx Employee
8,252 Views
Registered: ‎07-01-2010

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution
Hi ,

Can you please refer to check the checklist and try to print the FSBL command so that we understand what is happening?

http://www.xilinx.com/support/answers/59476.htm

Regards,
Achutha
---------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------
0 Kudos
Scholar sampatd
Scholar
8,251 Views
Registered: ‎09-05-2011

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution

Here are few steps you can take to debug this issue:

 

1. Are you working on one of Xilinx evaluation boards?
If yes, then you can use one of the pre-built SD card image and check if the boot happens correctly. You can download the image from the wiki site:
http://www.wiki.xilinx.com/Zynq+2014.1+Release

 

2. Have you made sure that you have maintained correct file order while making the .BIN file? It should be
a. BIF
b. FSBL
c. BIT File
d. U-Boot
e. user application for example, test.elf

 

The order within the BIF file is important. Bitstream must be the partition after FSBL. 

 

Can you attach the .bif file?

 

3. You can enable the FSBL debug prints to better understand where the "hang" occurs. 

To enable this, set the FSBL compilation flags. 

a. In SDK, right click FSBL project > C/C++ Settings

b. 

fsbl_debug.PNG

 

set FSBL_DEBUG_INFO flag for detailed messages. 

 

4. Make sure that the application ELF has an execution address of greater than 1Mb.

0 Kudos
Explorer
Explorer
8,247 Views
Registered: ‎02-05-2008

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution

Hi

Thank for the info.

 

This is my bif file

 

the_ROM_image:
{
    /home/adithya/xilinx/Workspace_2014.1/vid_camera_2/vid_camera_2.sdk/SDK/SDK_Export/zynq_fsbl/Debug/zynq_fsbl.elf
    /home/adithya/xilinx/Workspace_2014.1/vid_camera_2/vid_camera_2.sdk/SDK/SDK_Export/hw_platform_0/system.bit
    /home/adithya/xilinx/u-boot-xlnx/u-boot.elf
}

 

I enabled DEBUG for fsbl

 

Jothi

0 Kudos
Scholar sampatd
Scholar
8,242 Views
Registered: ‎09-05-2011

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution
The bif file is correct.

Have you set the mode pins to boot from SD card?

Do you see any output on the serial terminal once you power on the board? If so, can you post the log?

0 Kudos
Xilinx Employee
Xilinx Employee
8,209 Views
Registered: ‎03-13-2012

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution

The FSBL needs the 'bootloader' attribute in the .bif. Prefix it with [bootloader].

0 Kudos
Scholar sampatd
Scholar
8,196 Views
Registered: ‎09-05-2011

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution

So your BIF file should look like

 

the_ROM_image:
{
[bootloader]/home/adithya/xilinx/Workspace_2014.1/vid_camera_2/vid_camera_2.sdk/SDK/SDK_Export/zynq_fsbl/Debug/zynq_fsbl.elf
/home/adithya/xilinx/Workspace_2014.1/vid_camera_2/vid_camera_2.sdk/SDK/SDK_Export/hw_platform_0/system.bit
/home/adithya/xilinx/u-boot-xlnx/u-boot.elf
}

 

 

0 Kudos
Explorer
Explorer
8,194 Views
Registered: ‎02-05-2008

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution
Hi,
The fsbl is attributed as boot loader. Still I do not see any msg on terminal and done pin did not go high. The boot in generated by 14.7 works fine. But the one generated by 2013.4 or 2014.1 did not work

Jothi
0 Kudos
Xilinx Employee
Xilinx Employee
7,718 Views
Registered: ‎07-01-2010

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution
Hi Jothi,

If you are using Xilinx evaluation board can you please try using the files in the wikipage suggested by Sampat and see if that works?
http://www.wiki.xilinx.com/Zynq+2014.1+Release

Regards,
Achutha
---------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------
0 Kudos
Explorer
Explorer
7,716 Views
Registered: ‎02-05-2008

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution
Hi
I am using microzed board.
0 Kudos
Scholar milosoftware
Scholar
7,714 Views
Registered: ‎10-26-2012

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution

Sound like the MIO and/or clock settings are incorrect. This happens on some board/pin/clock configurations. I've been in the same situation with a 7030 board, where the ISE yields a booting config but Vivado does not.

 

Vivado has a few bugs in the MIO clock and pinmux programming. I've reported what I've found so far, and Xilinx promised to fix them in the 2014.2 release.

 

Easiest way to work around the Vivado-not-creating-a-correct-configuration problem:

 

- Open your ISE project, and "export" the Zynq configuration into an XML file.

- Open the Vivado project, open the Zynq in the block design, and import the ISE exported config into Vivado.

 

Create the bootloader from this.

 

This will usually yield a working FSBL (or u-boot SPL, which uses the same ps7_init files). There appear to be settings in the PS part that Vivado won't let you edit, but when set wrongly will make the board fail to boot.

0 Kudos
Explorer
Explorer
7,712 Views
Registered: ‎02-05-2008

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution
Hi
Thank you for the response. I have tried it thro jtag debug. I could see the fsbl msgs on terminal. Now I have created a BOOT.bin with bit, fsbl file. How do I Dow this?
0 Kudos
Explorer
Explorer
7,694 Views
Registered: ‎02-05-2008

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution

Hi,

 

I am using Microzed board. The BOOT.bin generated with 2014.1 gives the following mesg

 

Xilinx First Stage Boot Loader
Release 2014.1  May 15 2014-16:13:30
Devcfg driver initialized
Silicon Version 3.1
ILLEGAL_BOOT_MODE
FSBL Status = 0xA000
                                                                                     
This Boot Mode Doesn't Support Fallback                   
In FsblHookFallback function     

 

The BOOT.bin generated by 14.7 works fine on the same board

 

What could be the problem?

 

Jothi

 

0 Kudos
Scholar sampatd
Scholar
7,690 Views
Registered: ‎09-05-2011

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution
IS the FSBL within BOOT.bin generated by 2014.1 SDK ot 14.7 SDK?
You will need to use the FSBL generated using 2014.1 SDK.

What about u-boot ? Is it from the 2014.1 release for MicroZed as well?
0 Kudos
Explorer
Explorer
10,664 Views
Registered: ‎02-05-2008

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution
Hi,

The error was due to the SD. This was not enabled in vivado by default for microzed board. Now it works fine.

Thank you all for your responses

Jothi
0 Kudos
Adventurer
Adventurer
6,696 Views
Registered: ‎02-04-2014

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution

Hi all,

 

This is most like what I want to achieve. 

 

I am using the zynq706 board and generated the custom FPGA design for it using vivado 2014.2. Now at the end I got *.hdf file. With the use of the hdf file, I generated the FSBL (http://www.wiki.xilinx.com/Build+FSBL) and device tree (http://www.wiki.xilinx.com/Build+Device+Tree+Blob). But in device tree generation I got two files:ps.dtsi and system.dts files. Now if I want to use dts file to generate dtb files I have to combine both these files to make one dts file. 

Now my question is:

 

1. Is this the right way (manually) to merge two files ps.dtsi and system.dts file?

2. In my custom SDK, I am using u-boot.bin and u-boot.elf files to generate the final boot.bin files, But I am not sure are those u-boot.bin and u-boot.elf files are hardare dependent or Xilinx specific? SO if I use zedboard or zynq706, can I use the same u-boot.bin and u-boot.elf file.

 

This is important for me to going forward with my new zynq706 board. 

 

I am not using the petalinux SDK but using other SDK where they are using xbootgen.c to generate the boot.bin  file.

 

Regards

Tushar

 

0 Kudos
Xilinx Employee
Xilinx Employee
6,689 Views
Registered: ‎03-13-2012

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution

tusharup wrote:

I am using the zynq706 board and generated the custom FPGA design for it using vivado 2014.2. Now at the end I got *.hdf file. With the use of the hdf file, I generated the FSBL (http://www.wiki.xilinx.com/Build+FSBL) and device tree (http://www.wiki.xilinx.com/Build+Device+Tree+Blob). But in device tree generation I got two files:ps.dtsi and system.dts files. Now if I want to use dts file to generate dtb files I have to combine both these files to make one dts file. 

Now my question is:

 

1. Is this the right way (manually) to merge two files ps.dtsi and system.dts file?


No, the dtsi should be included in the dts file with an include statement. Something like this: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/zynq-zc702.dts#n15

 


tusharup wrote:

2. In my custom SDK, I am using u-boot.bin and u-boot.elf files to generate the final boot.bin files, But I am not sure are those u-boot.bin and u-boot.elf files are hardare dependent or Xilinx specific? SO if I use zedboard or zynq706, can I use the same u-boot.bin and u-boot.elf file.

 


 No, zc706 and zed have their own targets in U-Boot. Please have a look here: http://www.wiki.xilinx.com/Build+U-Boot#x-Task%20Description-U-Boot%20for%20Zynq%20AP%20SoC

 

 

0 Kudos
Adventurer
Adventurer
6,683 Views
Registered: ‎02-04-2014

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution

yes perfect, Got your point but now my concern for #1 is that , I want to generate the dtb file with the use of 

./scripts/dtc/dtc -I dts -O dtb -o <devicetree name>.dtb <devicetree name>.dts
0 Kudos
Adventurer
Adventurer
4,201 Views
Registered: ‎02-04-2014

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution

How do i have whole dts file, to generate the dtb file from it.

 

 

and in the case of #2 I downloaded the source code:

 

linux-host> cd <u-boot-xlnx>

linux-host> export BUILD_DIR=$PWD/build

linux-host> export CROSS_COMPILE=arm-xilix-linux-gnueabi-gcc

linux-host> make zynq_zc70x_config

linux-host> make

 

But in this way I'm getting following error:

 

#/bin/sh : arm-xilinx-linux-gnueabi-gccgcc: command not found.

 

I'm not sure why arm-xilinx-linux-gnueabi-gcc got concatenated with gcc.

 

Regards

0 Kudos
Xilinx Employee
Xilinx Employee
4,199 Views
Registered: ‎03-13-2012

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution

I don't get the problem you have whith the dts files.

You include the dtsi in your dts file using an include statement and then genrate the dtb just the way you outlined in your previous post. Done.

 

Regarding U-Boot: Looks like you have set CROSS_COMPILE to something weird. It should be just 'arm-xilix-linux-gnueabi-'.

0 Kudos
Adventurer
Adventurer
4,193 Views
Registered: ‎02-04-2014

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution

oh yes.

My mistake, now both the things are working fine. 

 

Thanks

 

0 Kudos
Adventurer
Adventurer
4,163 Views
Registered: ‎02-04-2014

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution

Hi Sorenb:

 

I have little confusinon about the http://www.wiki.xilinx.com/Build+Device+Tree+Blob. 

I am using the vivado 2014.3, and as per guide I have to use

 

# Otherwise for SDK 2014.2 use this repo:

git clone git://github.com/Xilinx/device-tree-xlnx.git

 

But now after doing this I don't the structure like 

 

<bsp repo>/bsp/device-tree_v0_00_x/data/device-tree_v2_1_0.mld
<bsp repo>/bsp/device-tree_v0_00_x/data/device-tree_v2_1_0.tcl

 

 So now how do I follow the guide and generate the dts file for the zynq706.

 

Regards

Tushar

0 Kudos
Xilinx Employee
Xilinx Employee
4,153 Views
Registered: ‎03-13-2012

Re: boot.bin generated Vivado 2014.1 does not boot

Jump to solution

I don't know. I don't use DTG. But if anybody figures that out, updating the wiki would be appreciated - if it needs an update.

0 Kudos