{"id":19297227,"url":"https://github.com/dgibson/dtc","last_synced_at":"2025-10-21T05:43:58.833Z","repository":{"id":8619236,"uuid":"10261783","full_name":"dgibson/dtc","owner":"dgibson","description":"Device Tree Compiler","archived":false,"fork":false,"pushed_at":"2025-04-18T07:55:39.000Z","size":1779,"stargazers_count":261,"open_issues_count":19,"forks_count":139,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-04-18T21:43:02.309Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dgibson.png","metadata":{"files":{"readme":"README.license","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2013-05-24T07:53:04.000Z","updated_at":"2025-04-18T07:55:42.000Z","dependencies_parsed_at":"2023-02-15T20:31:42.806Z","dependency_job_id":"d0fed4dc-22f7-471d-a9f9-f96dff71f859","html_url":"https://github.com/dgibson/dtc","commit_stats":{"total_commits":1083,"total_committers":148,"mean_commits":"7.3175675675675675","dds":0.6131117266851338,"last_synced_commit":"72fc810c3025f07de718f5f32a290a6cd5d1f4ee"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgibson%2Fdtc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgibson%2Fdtc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgibson%2Fdtc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgibson%2Fdtc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgibson","download_url":"https://codeload.github.com/dgibson/dtc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250206152,"owners_count":21392195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T23:01:48.591Z","updated_at":"2025-10-21T05:43:58.755Z","avatar_url":"https://github.com/dgibson.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"Licensing and contribution policy of dtc and libfdt\n===================================================\n\nThis dtc package contains two pieces of software: dtc itself, and\nlibfdt which comprises the files in the libfdt/ subdirectory.  These\ntwo pieces of software, although closely related, are quite distinct.\ndtc does not incorporate or rely on libfdt for its operation, nor vice\nversa.  It is important that these two pieces of software have\ndifferent license conditions.\n\nAs SPDX license tags in each source file attest, dtc is licensed\nunder the GNU GPL.  The full text of the GPL can be found in the file\nentitled 'GPL' which should be included in this package.  dtc code,\ntherefore, may not be incorporated into works which do not have a GPL\ncompatible license.\n\nlibfdt, however, is GPL/BSD dual-licensed.  That is, it may be used\neither under the terms of the GPL, or under the terms of the 2-clause\nBSD license (aka the ISC license).  The full terms of that license can\nbe found are in the file entitled 'BSD-2-Clause'. This is, in\npractice, equivalent to being BSD licensed, since the terms of the BSD\nlicense are strictly more permissive than the GPL.\n\nI made the decision to license libfdt in this way because I want to\nencourage widespread and correct usage of flattened device trees,\nincluding by proprietary or otherwise GPL-incompatible firmware or\ntools.  Allowing libfdt to be used under the terms of the BSD license\nmakes that it easier for vendors or authors of such software to do so.\n\nThis does mean that libfdt code could be \"stolen\" - say, included in a\nproprietary firmware and extended without contributing those extensions\nback to the libfdt mainline.  While I hope that doesn't happen, I\nbelieve the goal of allowing libfdt to be widely used is more\nimportant than avoiding that.  libfdt is quite small, and hardly\nrocket science; so the incentive for such impolite behaviour is small,\nand the inconvenience caused thereby is not dire.\n\nLicenses such as the LGPL which would allow code to be used in non-GPL\nsoftware, but also require contributions to be returned were\nconsidered.  However, libfdt is designed to be used in firmwares and\nother environments with unusual technical constraints.  It's difficult\nto anticipate all possible changes which might be needed to meld\nlibfdt into such environments and so difficult to suitably word a\nlicense that puts the boundary between what is and isn't permitted in\nthe intended place.  Again, I judged encouraging widespread use of\nlibfdt by keeping the license terms simple and familiar to be the more\nimportant goal.\n\n**IMPORTANT** It's intended that all of libfdt as released remain\npermissively licensed this way.  Therefore only contributions which\nare released under these terms can be merged into the libfdt mainline.\n\n\nDavid Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n(principal original author of dtc and libfdt)\n2 November 2007\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgibson%2Fdtc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgibson%2Fdtc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgibson%2Fdtc/lists"}