obsolete - gen-mhs-devtree

Generate MHS Device Tree (deprecated page for old way to do it)

Purpose

This git package contains a tool to generate a device tree from a .mhs file.

Downloading

This project is managed through git on Xilinx's servers.
To download:

git clone git://git.xilinx.com/gen-mhs-devtree.git

To update:
git pull

Usage

From Xilinx Platform Studio:

From XPS, select

  • Project
    • Project Options
      • set Project Peripheral Repository to the 'edk_lib' folder from the gen-mhs-devtree project.
    • Rescan User Repositories
  • Software
    • OS & Library Settings
      • From the dropdown list, select fdt as the OS.
    • Generate Libraries and BSPs

7/11/08 Problems Found

I generated a device tree and found the following problems with it.

1. I had to add "console=…." to the boot args
2. I had to manually add this to the device tree, linux,stdout-path = "/plb@0/serial@83e00000";
3. timebase-frequency = <0>;

  • This should not be 0, but should be the frequency the processor is running at, typically 300000000 for 405 processor or 400000000 for 440, depending on your hardware design.
page_revision: 12, last_edited: 1254167855|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License