summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/dtc
AgeCommit message (Collapse)Author
2022-02-20meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie
license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26kernel: introduce python3-dtschema-wrapperBruce Ashfield
The 5.16 kernel introduced mandatory schema checking on any dtb file built through the kernel. That funcionality is provided via python3-dt-schema. The dependencies to enable that functionality is not small, and may not always be desired (in particular on architectures that do not support dtbs, or in development cycles). It may also be useful for allowing a non-conformant dts to be compiled. This commit introduces a set of wrapper scripts that when added as a depenency to the kernel, can pass both the validation testing and validation steps of a dts. We use the wrapper by default, while more dts file are brought up to spec and the dt-validation matures upstream. To enable valiation, simply add 'dt-valiation' to the PACKAGECONFIG variable and the full dt-schema package will be selected and validation will occur. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-11-13dtc: fix mingw buildRoss Burton
Backport a patch to fix the build of fdtdump with mingw, which so the tools now build successfully with mingw. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13dtc: add PACKAGECONFIGs for tools and yamlRoss Burton
Leave yaml off by default. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13dtc: use Meson to buildRoss Burton
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13dtc: merge .bb/.incRoss Burton
No reason for these to be split, so merge them. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30meta: Add explict branch to git SRC_URIsRichard Purdie
There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. This update was made with the script added to contrib in this patch which aims to help others convert other layers. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03dtc: set precise BSD licenseRoss Burton
"BSD" is ambiguous, use the precise license BSD-2-Clause. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30Convert to new override syntaxRichard Purdie
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12dtc: upgrade 1.6.0 -> 1.6.1wangmy
0001-fdtdump-Fix-gcc11-warning.patch removed since it is included in 1.6.1 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01dtc: Fix array-bounds errorKhem Raj
Fixes | libfdt/libfdt.h:251:28: error: array subscript 'struct fdt_header[0]' is partly outside array bounds of 'unsigned char[4]' [-Werror=array-bounds] | 251 | fdth->name = cpu_to_fdt32(val); \ | | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23dtc: improve reproducibilityOleksiy Obitotskyy
Makefile override CFLAGS, so -fmacro/debug-prefix-map optiions was omitted and binaries contains absolute patch to sources. Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07dtc: update to 1.6.0Richard Leitner
This also fixes issues with gcc 10's default change to "-fno-common". Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-06dtc:upgrade 1.5.0 -> 1.5.1Zang Ruochen
-License-Update: -file://GPL : Updated mailing address. -file://libfdt/libfdt.h : Removed part of the copyright description of this file. Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-04-16dtc: upgrade 1.4.7 -> 1.5.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-06dtc: update to 1.4.7Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-29dtc: upgrade to 1.4.6Alexander Kanavin
Drop upstreamed patch. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-09dtc: refresh patchesRoss Burton
The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-06dtc: add rdepends_${PN}-misc = diffutilsIoan-Adrian Ratiu
Needed by dtdiff which calls `diff` to display its result. Signed-off-by: Ioan-Adrian Ratiu <adi@adirat.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-11-29dtc: update to 1.4.5Alexander Kanavin
Also fix upstream check and disable newly added python2-only bindings (as there is no clear need for them and python 2 is deprecated). Add a backported patch to address format errors when compiling. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-09-21dtc: Add HOMEPAGE info into recipe file.Huang Qiyu
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-16dtc: upgrade to 1.4.4Alexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-10-28dtc: update to 1.4.2Alexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-01-16dtc: Upgrade to 1.4.1 (git based)Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-12-11dtc: don't use autotools as this doesn't use autotoolsRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-21dtc: old SRC_URI died, changing to new working oneKrzysztof Sywula
Signed-off-by: Krzysztof Sywula <krzysztof.m.sywula@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-23dtc: add bash to RDEPENDS_dtc-miscRobert Yang
Bash script: dtc-misc/usr/bin/dtdiff There are two files in this pacakge, another one is (binary): dtc-misc/usr/bin/convert-dtsv0 Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-28autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie
This patch goes through the OE-Core recipes and marks those which use autotools but don't support a separate build directory (${S} != ${B}). A new class, autotools-brokensep is used for this purpose. This doesn't introduce any change in behaviour in its own right. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-30remove the unnecessary protocol parametersJackie Huang
It's not necessary to specify the protocol parameter when it's the default protocol for the fetcher, e.g. the default protocol for git fetcher it git, "protocol=git" isn't needed. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-05dtc: Update to 1.4.0 Git TagSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-11dtc.inc: fix for libdir == /usr/lib64Matthew McClintock
On 64bit systems dtc will still install libaries in /usr/lib unless we havet this override Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-15dtc: Fix License warningSaul Wold
WARNING: dtc: No generic license file exists for: GPL2 in any provider Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-01-03Add Upstream-Status to patchesSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-11-07dtc: Add patch to correctly install shared libraries and linksSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-11-07dtc: update to latest git versionMatthew McClintock
Also remove patches that are no longer needed, as well as use the installation that is provided by the Makefile. Put all the extra stuff in a new dtc-misc package Signed-off-by: Matthew McClintock <msm@freescale.com>
2011-07-01Drop PRIORITY variableRichard Purdie
As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-01dtc: Cleanup and update recipeSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-11dtc: fix compilation with gcc 4.6.0Nitin A Kamble
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-05-04poky-default-revisions: move the SRCREV to recipe fileYu Ke
in this case, those non poky distro can also use these recipe normally Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-02-09dtc: add LIC_FILES_CHKSUM to dtc-nativeBruce Ashfield
The new license processing rules error if dtc-native itself doesn't have license information. Previously only the .inc files contained this information, so we make a copy and leave the existing license info to be removed pending further review. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-01-02dtc: add patch to remove -Os for PPCSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-12-16recipes-kernel: Update SUMMARY and DESCRIPTIONMark Hatle
Add missing SUMMARY and updated DESCRIPTION fields if necessary Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-12-02dtc:Add license checksum and add the GPL informationMei Lei
Add GPL file and libfdt.h file checksum to bb file and add the "GPLv2|BSD" according to the License file Signed-off-by: Mei Lei <lei.mei@intel.com>
2010-09-10dtc: Drop unneeded SRCREVRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-10dtc: device tree compiler recipesAdrian Alonso
* Device tree compiler recipes from OE * v2 reorder patchset * remove BBCLASSEXTENDDED from dtc-native.inc * v3 remove installing dtc in ${STAGING_BINDIR} * fix PR variable follow Poky guidelines * v4 fix PV variable Signed-off-by: Adrian Alonso <aalonso00@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>