Xilinx Zynq-7000 User Manual page 61

Hide thumbs Also See for Zynq-7000:
Table of Contents

Advertisement

Device Tree Blob
The Device Tree is a data structure for describing hardware. Rather than hard coding every
detail of a device into an operating system, many aspects of the hardware can be described
in a data structure that is passed to the operating system at boot time. The device tree is
used both by open firmware, and in the standalone flattened device tree (FDT) form. The
DTC utility is used to compile the DTS file into a DTB file. DTC is part of the Linux source
directory.
A prototype of the ZC702 Zynq Base TRD device tree source is shown here:
/dts-v1/;
/{
model = "Xilinx Zynq ZC702";
compatible = "xlnx,zynq-zc702", "xlnx,zynq-7000";
[.......]
memory { memory parameters
};
chosen {
};
pmu {
pmu parameters
};
amba@0 {
[
... Peripheral definitions
PS component [GIC,Pl310 ,DDR controller,OCM,UART,SLCR,Timers,SWDT,Ethernet
GEM0,I2C0,,I2C1,SD,USB,GPIO,QSPI,Device configuration Interface, Xilinx XADC,DMA
Controller (dmac)]
PL component [Sobel Filter, Yuv2Rgb, TPG, Cre-sampler, VTC, Performance
Monitor, VDMA, LogiCore Compact Video Controller]
};
Boot-args explanation
console
Select the console by passing it the console parameter. The console parameter can be
given repeatedly, but the parameter can only be given once for each console
technology.
console=ttyPS<serial_port> [,<mode>]
console=tty<virtual_terminal>
root
Specify the path to the root file system.
root= /path/to/filesystem
IP
Configures IP addresses of devices and also how to set up the IP routing table
ip=<client-ip>:<server-ip>:<gatewayip>:<netmask>:<hostname>:
Zynq-7000 AP SoC ZC702 Base TRD
UG925 (v6.0) February 21, 2014
bootargs = "console=tty0 console=ttyPS0,115200 root=/dev/ram rw
ip=192.168.1.10:::255.255.255.0:ZC702:eth0 earlyprintk mem=768M";
linux,stdout-path = "/amba@0/uart@E0001000";
...]
www.xilinx.com
Getting Started with the PetaLinux SDK
Send Feedback
61

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents