summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/device-tree/device-tree.bb
Commit message (Collapse)AuthorAgeFilesLines
* device-tree: Add include for dummy qspi nodeNathan Rossi2016-05-071-1/+4
| | | | | | | | | | | | The zynq-7000.dtsi include does not have a qspi node in mainline kernels. To resolve this issue provide a dummy node with no properties. The dummy node does not affect the node provided by zynq-7000.dtsi in other kernels. This was previously done in the individual device trees, instead this is now provided by a common include. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* device-tree.bb: Add deprecation warning for 'zynq7-base.dtsi'Nathan Rossi2016-04-121-0/+12
| | | | | | | | | | | | | | | The zynq7-base.dtsi include is deprecated and will be removed in the future. This informs users of its deprecation, in order to encourage users to move to the 'zynq-7000.dtsi' include. This include is deprecated in favour of the 'zynq-7000.dtsi' include which is available and kept up to date in kernel releases as well as the linux-xlnx vendor tree releases. The device-tree recipe automatically provides this include (and dependent includes) to allow for custom device-trees to be built without needing to embed or patch the kernel source. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* device-tree.bb: Rework pre-processor and dtc flagsNathan Rossi2016-04-121-11/+11
| | | | | | | | | | | Add 'DEVICETREE_PP_FLAGS' for handling of flags for the pre-processor step. Also merge the building of the include path args into the variables with inline python. Use BUILD_CPP instead of CPP to avoid dependence on the target toolchain. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* device-tree.bb: Update kernel include paths for zynq/zynqmpNathan Rossi2016-04-121-2/+9
| | | | | | Update the paths for kernel device tree and pre-processor includes. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* device-tree: Add C pre-process for dtsJason Wu2016-04-121-1/+5
| | | | | Signed-off-by: Jason Wu <jason.wu.misc@gmail.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* recipes-bsp:device-tree: Allow to reuse the dtses from kernel treeJason Wu2016-04-121-11/+7
| | | | | | | Use the -i set the include folder for dtc instead of copying file. Signed-off-by: Jason Wu <jason.wu.misc@gmail.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* device-tree.bb: Move zynq7-base.dtsi into recipe sourceNathan Rossi2016-03-061-0/+3
| | | | | | | | | * Move zynq7-base.dtsi out of conf/machine/boards and into the files/ directory of the device-tree recipe * Also move the config from machine-xilinx-default.inc that includes the dtsi for zynq targets Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* device-tree.bb: Add support to use kernel source tree includesNathan Rossi2016-03-061-4/+23
| | | | | | | | | | * Add support to use the base platform includes directly from the currently selected kernel source tree * Setup 'zynq-7000.dtsi' as default for 'zynq' targets * Setup 'zynqmp.dtsi' as default for 'zynqmp' targets * Remove use of awk, use basename -s instead Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* qemumicroblaze: Remove device-tree usageNathan Rossi2015-09-241-1/+0
| | | | | | | | | * Remove the qemumicroblaze device-tree as instead of using a in layer device tree the device tree that is provided as part of QEMU is used * Update device-tree recipe removing the need for the runqemu compatiblity for qemumicroblaze Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* device-tree.bb: Set S directory as WORKDIRNathan Rossi2015-03-311-0/+2
| | | | | | | | * This sorts out the S directory doesn't exist warning/check which occurs due to the recipe not having a primary source which is unpacked Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* device-tree.bb: Set package arch to machine archNathan Rossi2014-11-171-1/+1
| | | | | | * Device trees are built individually for each machine Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* device-tree: Add recipe for creating device tree blobsNathan Rossi2014-10-271-0/+81
* Using the linux-dtb.inc steps, create a recipe external from the kernel recipe to handle the building of device tree blobs. * For backwards compatibility create a symlink with the kernel imagetype Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>