adding a serial port to microzed board

Status
Not open for further replies.

bobdxcool

Member level 5
Joined
Mar 9, 2012
Messages
82
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
2,042
I am running xillinux on my microzed board. I need to define a new serial port on the board using vivado. I was able to add this to the IP core and the device is ready. But,how do I make this port visible on ubuntu (xillinux) like ttyPS0. DO I need to add this port to the device tree and generate the dtb file and boot.bin file ? IF so, how do I modify the device tree ?

1.) Now again, instead of vivado if I use ISE, then would I be able to update the device tree source file in the ISE software itself and generate the device tree .dtb file ? If so, where can I find and edit this dts file ?

2.) And for building the new boot.bin file in ISE, I can use https://xillybus.com/downloads/u-boot-xillinux-1.3.elf.zip for the microzed or can I use the bin file for microzed from https://xillybus.com/downloads/xillinux-eval-microzed-1.3c.zip ?

3.) Even after using the ISE and creating the new .dtb (if possible in ISE), do I have to edit dtc files on the xillinux OS in the micozed board ?

4.) If I need to follow step 3 to get everything working, based on this link, https://xillybus.com/tutorials/device-tree-zynq-1

I can go only upto to cd /usr/src/kernels/3.12.0-xillinux-1.3/scripts/dtc/

If I type cd /dtc again, it says dtc not a directory.

How do I access the device tree script and add the address mapping to the bus in the peripheral section ?
How do I compile this and make the new device tree start on every boot ?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…