aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/device-tree
AgeCommit message (Collapse)Author
2017-12-13meta-xilinx: Restructuring meta-xilinx to support multiple layersManjukumar Matha
As discussed previously on mailing list, we are proceeding with layer restructuring. For rocko release we will have the following layers meta-xilinx ->meta-xilinx-bsp (current meta-xilinx) ->meta-xilinx-contrib In the subsequent releases we will add other layers from Xilinx meta-xilinx ->meta-xilinx-bsp (current meta-xilinx) ->meta-petalinux ->meta-xilinx-tools ->meta-xilinx-contrib This will provide one clone to get all the required meta layers from Xilinx for a complete solution, and the users can blacklist any layer which they don't want to use using bblayer.conf. This will enables us to help our vendors/partners to add their reference designs, board definitions etc. Recipe changes : * Move reference design zybo-linux-bd.bb to meta-xilinx-contrib * Move kernel patches realted to zybo-linux-bd-zynq7 board to meta-xilinx-contrib * Update README Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2017-12-06kc705-microblazeel: Updates to match v2017.3 bitstreamNathan Rossi
Update the device tree and machine configuration to match the updated bitstream. The bitstream was updated to v10.0 of the MicroBlaze core although mainline GCC does not currently support v10.0+. Additionally the design now enables divide-hard feature support. Memory and device addresses are unchanged. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2017-12-04device-tree.bb: Add variable to override device tree padding sizeManjukumar Matha
Add DT_PADDING_SIZE variable which can override the default setting. There are instances where it is necessary to change device tree padding size. Reviewed-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2017-12-04device-tree.bb: Provide override device tree directoryManjukumar Matha
Provide a way to override device tree work directory and include file directory, this might be particalarly helpful while using this recipes in other layers, for example in meta-xilinx-tools to override workdir and point it to dtg based build directory Reviewed-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2017-12-04device-tree.bb: Remove multiple inherit statementsManjukumar Matha
Merge all the inherit classes in a single line Reviewed-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2017-11-21device-tree: Setup COMPATIBLE_MACHINENathan Rossi
Setup COMPATIBLE_MACHINE for the device-tree recipe so that it is only available to machines that have provided sources/device-trees. The COMPATIBLE_MACHINE is defined by overrides to match any machine ('.*') which sets the targeted override. This allows for easy reuse of sources across similar machines. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2017-11-07device-tree: Populate the built device tree blobs into the sysrootNathan Rossi
Populate any built dtb's into the sysroot so that other recipes can use the output products. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2017-06-08zybo-linux-bd-zynq7: Change gem0 phy to match kernel definitionNathan Rossi
Change the device tree for the gem0 phy to match that of the kernel device tree for ZYBO. This removes the compatible string and uses the phy address of 0 (broadcast). This lets the kernel auto detect the phy since there are no other devices on the MDIO bus for gem0. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2017-04-26device-tree: Improve, clean up and remove MACHINE_DEVICETREENathan Rossi
This change improves and does a number of clean up to the device-tree recipe. This includes adding support for building overlays, default inclusion of kernel device tree sources, updated license value and general clean ups to the logic. This change also removes the support for MACHINE_DEVICETREE, and additionally the now unused xilinx-utils.bbclass. Note: In order to support overlays dtc version 1.4.3 or newer is needed, currently in oe-core only 1.4.2 is available. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2017-04-26device-tree.bbappend: Move use of MACHINE_DEVICETREE to SRC_URINathan Rossi
Remove the use of MACHINE_DEVICETREE for providing sources to device-tree, instead provide the device tree sources as SRC_URI entires. Whilst this was already being done automatically by the MACHINE_DEVICETREE logic it also created a non-standard way of providing the device tree sources to the recipe. The setup of SRC_URI is done via the use of a device-tree.bbappend instead of directly in the device-tree.bb recipe itself. This is for two reason, separation of the source from the build logic as well as to provide an example for how a user can extend the device-tree recipe to provide custom device tree sources in their layer. This change also moves the paths to the sources around, this is to align the names of the directories to match the OVERRIDES so that when expanding the file paths it will search the subdirs based on the OVERRIDES or machine names. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2017-03-24device-tree/microzed-zynq7.dts: Replace with kernel source versionNathan Rossi
Replace the existing device tree content with the content of the zynq-microzed.dts from the kernel source. Specifically based on commit df2f3c48b9cd51e2612a1598342769d09d849f39. This resolves the issues with the ethernet phy as well as adding pinctrl for USB. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2017-02-01device-tree: Remove zynq7-base.dtsiNathan Rossi
This include has been deprecated for two releases. It is now completely obsolete and being removed. Remove the deprecation warning message as well. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-12-04kc705-microblazeel: Update to 2016.3 Xilinx designManjukumar Matha
Change kc705-microblazeel to reflect v2016.3 Xilinx tools. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-11-19zybo-linux-bd-zynq7: Update the device-tree for linux-xlnx v4.6Nathan Rossi
Update the bindings where required for the v4.6 linux-xlnx kernel. These changes are incompatible with older linux-xlnx kernels due to changes in the Xilinx DRM bindings. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-10-27qemu* -> *qemu-*: Rename QEMU machinesNathan Rossi
Rename the QEMU machines to match the <board>-<design>-<arch> convention. QEMU only machines no longer need to be named qemu*. Note for qemuzynq it is special in that it does not model a board, as such it has no board in the name being just 'qemu-zynq7'. This updates the README.md to match the new machine names. Additional update all occurrences of the qemu* machines Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
2016-10-11device-tree: Remove old runqemu compatibility outputsNathan Rossi
Remove the symlinking of ${KERNEL_IMAGETYPE}-${DTS}.dtb for compatibility with runqemu. This is now handled with the machines QB_DTB variable. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
2016-09-28device-tree: Use deploy class to handle shared stateNathan Rossi
Use the deploy class and DEPLOYDIR to ensure that deploy objects are populated into the shared state cache. This ensures that the objects are also correctly populated into the output deploy directory regardless of whether the do_deploy task is executed. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-05-13kc705-microblazeel.dts: Add KC705 dtsManjukumar Matha
Update the dts according to the hardware design Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-05-13kc705-trd-microblazeel: Remove kc705-trd filesManjukumar Matha
Remove old kc705-trd reference Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-05-07device-tree: Add include for dummy qspi nodeNathan Rossi
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>
2016-05-03conf/machine: Add zybo-linux-bd-zynq7 machine supportJason Wu
* base on Zybo linux_bd reference design * Add device tree with required nodes * hdf is fetch from Digilent github Signed-off-by: Jason Wu <jason.wu.misc@gmail.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-04-12device-tree.bb: Add deprecation warning for 'zynq7-base.dtsi'Nathan Rossi
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>
2016-04-12device-tree.bb: Rework pre-processor and dtc flagsNathan Rossi
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>
2016-04-12device-tree.bb: Update kernel include paths for zynq/zynqmpNathan Rossi
Update the paths for kernel device tree and pre-processor includes. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-04-12device-tree: Add C pre-process for dtsJason Wu
Signed-off-by: Jason Wu <jason.wu.misc@gmail.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-04-12recipes-bsp:device-tree: Allow to reuse the dtses from kernel treeJason Wu
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>
2016-03-31device-tree/kc705-trd-microblazeel: Update for u-boot supportNathan Rossi
Update the KC705 TRD device tree to be compatible for u-boot 2016.01. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-03-06picozed-zynq7: Rework device tree to use kernel source includeNathan Rossi
* Rework the picozed-zynq7.dts device tree to use the kernel source include 'zynq-7000.dtsi' * Store the new device tree in the device-tree recipe directory * Remove existing device tree from conf/machine/boards Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-03-06microzed-zynq7: Rework device tree to use kernel source includeNathan Rossi
* Rework the microzed-zynq7.dts device tree to use the kernel source include 'zynq-7000.dtsi' * Store the new device tree in the device-tree recipe directory * Remove existing device tree from conf/machine/boards Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-03-06kc705-trd-microblazeel: Move device tree to device-tree recipeNathan Rossi
* Move the device tree into the source files directory for the device-tree recipe * Use non-immediate set for MACHINE_DEVICETREE Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-03-06qemuzynq: Rework device tree to use kernel source includeNathan Rossi
* Rework the qemuzynq.dts device tree to use the kernel source include 'zynq-7000.dtsi' * Store the new device tree in the device-tree recipe directory Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-03-06device-tree.bb: Move zynq7-base.dtsi into recipe sourceNathan Rossi
* 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>
2016-03-06device-tree.bb: Add support to use kernel source tree includesNathan Rossi
* 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>
2015-09-24qemumicroblaze: Remove device-tree usageNathan Rossi
* 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>
2015-03-31device-tree.bb: Set S directory as WORKDIRNathan Rossi
* 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>
2014-11-17device-tree.bb: Set package arch to machine archNathan Rossi
* Device trees are built individually for each machine Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
2014-10-27device-tree: Add recipe for creating device tree blobsNathan Rossi
* 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>