Jump to content
  • 0

how to link device tree bin to u-boot binary?


aliumair

Question

Hi

 

My first post to this forum.

I am trying to compile U-boot for my Zybo board. I cloned U-boot from Github Xilinx. In the U-boot dir, I ran the following make commands:

> make zynq_zybo_config

> make

Make went fine and created u-boot executable.

I loaded and ran fsbl first. It went fine and I saw right output on terminal.

Then I load u-boot and tried running it and got the following error

No valid device tree binary found - please append one to U-Boot binary, use u-boot-dtb.bin or define CONFIG_OF_EMBED. For sandbox, use -d <file.dtb>
 

Can somebody help me understand how to append u-boot-dtb.bin to u-boot bin. I can see u-boot-dtb.bin in the same directory where I have u-boot file.

 

An advance thanks :)

 

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

Hi @aliumair,

Here is an older Instructable for using the U-BOOT and the Zybo. It uses Vivado 2016.1 but should be similar process with a newer version of Vivado.

On the resource center here  under Additional Resources there is the SD card OOB QSPI Demo that should be helpful with how the device tree and u-boot files should look.  For the SD card OOB QSI Demo copy the files found in this compressed file to a microSD card and boot the ZYBO from it to restore the Quad SPI flash with the factory default. It will take several minutes to complete. 

The Zybo Base System Design in the Additional resources might be a good source of information as well.

Another good source of information is the ZYNQ Book here.

cheers,

Jon

Link to comment
Share on other sites

On 2/2/2019 at 1:22 AM, jpeyron said:

Hi @Sarika Athya,

I will reach out to more embedded linux engineers to see if they have any input for you. I did find some web pages that look like they would be helpful here  and here .The  Xilinx's u-boot might be helpful as well.

thank you,

Jon

Hi jpeyron..

thanks for your reply ..its really helpful for me .. i have been successfully run linux on zynq using JTAG....

but can you please tell me how to access processor after running linux on zynq ...i mean i need commands for access the processor....

like      ..........         cat /proc/cpuinfo   

like i need  help command  ...

any pdf or any document you have .......

i am adding the log of linux after running ............

 

 

##############################################################3

rcS Complete


zynq> help
-/bin/ash: help: not found

zynq> zynq help
-/bin/ash: zynq: not found
zynq> taskset --help
BusyBox v1.20.1 (2012-11-27 13:37:12 MST) multi-call binary.

Usage: taskset [-p] [MASK] [PID | PROG ARGS]

Set or get CPU affinity

    -p    Operate on an existing PID

zynq> cat /proc/cpuinfo
processor    : 0
model name    : ARMv7 Processor rev 0 (v7l)
BogoMIPS    : 650.00
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
CPU implementer    : 0x41
CPU architecture: 7
CPU variant    : 0x3
CPU part    : 0xc09
CPU revision    : 0

processor    : 1
model name    : ARMv7 Processor rev 0 (v7l)
BogoMIPS    : 650.00
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
CPU implementer    : 0x41
CPU architecture: 7
CPU variant    : 0x3
CPU part    : 0xc09
CPU revision    : 0

Hardware    : Xilinx Zynq Platform
Revision    : 0003
Serial        : 0000000000000000
zynq> --help
-/bin/ash: --help: not found
zynq> ls
README          home            lost+found      root            update_qspi.sh
bin             lib             mnt             sbin            usr
dev             licenses        opt             sys             var
etc             linuxrc         proc            tmp

thanks

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...