Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Remove old kc705-trd reference
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
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>
|
|
* 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>
|
|
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>
|
|
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>
|
|
Update the paths for kernel device tree and pre-processor includes.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
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>
|
|
Update the KC705 TRD device tree to be compatible for u-boot 2016.01.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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 trees are built individually for each machine
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
|
|
* 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>
|