diff options
Diffstat (limited to 'sys-kernel/sifive-sources')
-rw-r--r-- | sys-kernel/sifive-sources/Manifest | 10 | ||||
-rw-r--r-- | sys-kernel/sifive-sources/sifive-sources-5.13.9.ebuild | 38 | ||||
-rw-r--r-- | sys-kernel/sifive-sources/sifive-sources-5.14.3.ebuild | 56 |
3 files changed, 104 insertions, 0 deletions
diff --git a/sys-kernel/sifive-sources/Manifest b/sys-kernel/sifive-sources/Manifest index f3fecc6..f673945 100644 --- a/sys-kernel/sifive-sources/Manifest +++ b/sys-kernel/sifive-sources/Manifest @@ -4,12 +4,22 @@ DIST genpatches-5.12-12.extras.tar.xz 3412 BLAKE2B 8fcf6c407be25db368dbb3e6be390 DIST genpatches-5.12-22.base.tar.xz 1085632 BLAKE2B 328a25218394a93755d29335f0a827faaad2fc823bb25bf8ef36385eaf8b30427c4075bc0074969fe0923a975d88d7573fda0b8e1288e787f03afc6cc77d25ac SHA512 08a71f09955c92bd92f4c67a018349a9b1d7ac5e1dad7efa3f1cdd2968a4c82042308613069e5bb65a0c38f19d05db5a0ff25d17726809cf12ba018fff5bf564 DIST genpatches-5.12-22.experimental.tar.xz 70168 BLAKE2B ad642f4dd65ab934f7ad5de9e30bd9aff1a52da5d32e958e753c73b19e8d9a7987a0181e5048c9e47675bcea2a1bd4df1e71f900eea976fd484560fabf332dcf SHA512 1169012901b5e5363242398fd3b6fbbef3db0d62df9d3c24e4e4336a6de917abb58f7d4be4c2ed064d697b6121d4833bbcefacdf2e3babb411960da5f4c46b5f DIST genpatches-5.12-22.extras.tar.xz 3420 BLAKE2B 61d7d8bf8c88a1f0ee16efd07dca0fcb82a48574dcf545421e5e8302128acd5e28fbcadc4d1a82f0b2049491988691e3f8b85c99d50ec1c81a4a4549c96b9651 SHA512 20a505a8247ba33f8c0c201b809b22073ec589f4d83b1089c6787afbe42760443a964fd12fbe2dc6ec778c6d3067db04d93ec098551ff9ed6e5030d5830fce9e +DIST genpatches-5.13-11.base.tar.xz 589756 BLAKE2B 0b13c74d913e8e268f8dfaa8e51f99fef28eca19492a49156dc0e76190d22372bf2b4bc50270e3eac5f9e160a32550df1c29cf986a9bd97ea7787774ea0abd59 SHA512 3290b51ed8ecf09b055e1cd5d0cbe8faf729bf38a03626f1a90d7afafe675e3a31b1f370608d8aa34162d71ef1763456763afaf5eba6c622bbec85310e820b1e +DIST genpatches-5.13-11.experimental.tar.xz 67620 BLAKE2B 214e06680cde4d003d9d2e186759baa31296583ff2010696359eb8bf6c5bf639f8d458d3a9a55d8154490e24fad07b3f80cdc8014dd3c83e0329f32781715b62 SHA512 d362ecf9254a3475be6dd7a77cdf1885b68f05450b8339db5f3f053e7dfa9e5f327adc4dd17d8bcf8186022bd3e04867818950a1f6ee2581703f5bbf45208d7a +DIST genpatches-5.13-11.extras.tar.xz 3436 BLAKE2B 52a2ffba1b76be4f31bc28b803516e07778aceb8687c6d7098dc54faac608e8f76c263d1fb42302db5f32e2554e08d5f0861bac5370ae68e56d9c62ab9b56774 SHA512 206bc1e1bc561574c0e8b75e8c70221751bb47973c90c93c0ea187fd85af951e9ac91f54981e6caf386d47bfd14d0963b6da8a8e14008a37f04c787e6ff6e62c DIST genpatches-5.13-6.base.tar.xz 447968 BLAKE2B afcec75958e44f3ef7da0b2ab3e2a3d9574fbacac23d028335ce241838e36355d813fb89944ab4ed45153f5317997f18e153514f877bee6a490969b75242c043 SHA512 05afae24abbd06771ecc88b8bd93e765e7c41e9ea6826510d291cb8b10387be747ac7738e3df8cbef1d7488c96fd3fcba1138a7cbe9dc7348a76b5df51c95a74 DIST genpatches-5.13-6.experimental.tar.xz 67640 BLAKE2B d5fc5275ca0668becdacdc7dacec2ca395967e33868de28c56a18d10764d1315bd0366d579a34fb9eb25471dc098f39f097e5e4f85b8cd5a8f3fa1d5708e715a SHA512 94db0f615c37c8059a7038071cc928ad1cd067cb21059ffd8398c490ae9a4966eed460a0242a906ffa099ad5f2d80b707da780b670641b00685296e9eb37bdcc DIST genpatches-5.13-6.extras.tar.xz 3420 BLAKE2B 9ad0d2bf1b2621b328d142cd464b6de2676c8a4f0caef8ee4c5d7fa60db56d73b9056917e07ca421b02e6de1564b3d5f900299721b6b412cb145efa9bea8d60c SHA512 a7906d25d02082217bec37c435b316880e1af9922018b88569cdb4cf8c2cf5fd789bdac946100f2b1a9e0e2125a69222fc853ab1496abdd30ca00497afcb8fd8 +DIST genpatches-5.14-4.base.tar.xz 20400 BLAKE2B 2b0781d16dcc40dd8db831fca56c87e4edf29f0bb54a75949eb251eb98a3da1f0f635cd37ec887498ab4527071edad95f2e22d742aa37e3a1957d5eada102f43 SHA512 48d883b13c1ece3c62a3892b4d06bf1e14990e4a6ec62ca0b96432069a11f05fdb51c3d62187fd8dc70adbf7c93d18aefcb496a4d9be8d42bc9c9dcb52aaad5c +DIST genpatches-5.14-4.experimental.tar.xz 5408 BLAKE2B b2ce3ee820369e9060a6edc646636f6c4056ef3050b622d0047e80392aec7da59b7b56c2416a2d83ce95c1aa75c10378d9a5723ff7c0537ed81d882b235db91f SHA512 fc8954f3f7d3d05583a748ea43cd0a0e182f8963ecb9bb73e3e4b722de4d6bd79930ef27100b2f4d4ea93742cb4d98bb69f9dddffb931d2fb9278ace81ffd2a4 +DIST genpatches-5.14-4.extras.tar.xz 3848 BLAKE2B b7ff12e366e9db24cdfd67da87e3429b2d39cd7d13fa6cb1e780e59a54fa465641b0b6440c51306cf0f4ccd3952f6f4e8993200f29f9cee36b6be4e84b014291 SHA512 99b0d40e43236e77f188608973e30cd4f1562f6d90c1f71fd95fd9b0e8146744b3b8862e84b9b33e69193cff0a7223a0e9f25cbb030a3f80e4c2d86ac6b50873 DIST linux-5.12.tar.xz 118112412 BLAKE2B 842d921b9a73d2aaade763dbd2ec67bdfe0275baa6d628b775f5c87574ad7dc86f0419afcd48c10c1235f4bffa16084243f2cf4556e6afcd391e975fe8ba530b SHA512 be03b6fee1d1ea8087b09874d27c0a602c0b04fd90ad38b975bd2c8455a07e83c29b56814aaf1389e82305fae0e4c2d1701075a7f0a7295dd28149f967ec5b3d DIST linux-5.13.tar.xz 119297284 BLAKE2B 9c4c12e2394dec064adff51f7ccdf389192eb27ba7906db5eda543afe3d04afca6b9ea0848a057571bf2534eeb98e1e3a67734deff82c0d3731be205ad995668 SHA512 a8edf97e9d38a49f1be2bde1e29ad96274bb2c6f7e8a2bebaa1161dd4df9cabcbaec4ff644c45bee94f86ae47725087d6deed0cd954209cec717621d137db85e +DIST linux-5.14.tar.xz 120669872 BLAKE2B 0047f5aaa3940dff97f4055ef544faafbbb5282128e6afe21d2f47d8dc8c395806a17016febfa050117d16f59e74b882cb8b9c5011d68f119c230d0a4d120524 SHA512 8e4f3ec3d36f774280f75dc7b004a43e09417af58f12e9c9f8348976659d4cfda7ad905f306f43fed66a27922e5c45db22e46bbfa7a0b9f365012380de3b6f64 DIST meta-sifive-2021.05.zip 664346 BLAKE2B ca98d75c4fc255f3ec99c3e9667e1a5e43fc1db88b83010db3766ff8e70acfaf2741dde96da65265aeef5ca82e1cc93a96ea771dd48cc2c9ff4af24d3feb4b82 SHA512 e60052fc183ddd89a4b0a2a443aedfe22c20ce1134925d6c0d52946ce9a5ca04750408fcb7b191ecc30b4d4b21c9e2f262d0d2b89527923a7cd82dc01a7f2345 +DIST meta-sifive-2021.08.zip 784034 BLAKE2B 941a431921f0179a54f648bbc7b34cc49f17d80c791a706ca781c3fff28a6b067e738052d730f0d5436bf4716402488ca80119c5dadca4227c37c8c4bd60f491 SHA512 3ff0bb79b8da6367166a41796217789668078bb80c32b2492263e1e80147f6898927c9842995d5358da5b1931909df325e4b36b0d00b1956cf09485038db4d1a EBUILD sifive-sources-5.12.11.ebuild 1303 BLAKE2B 52e5effae7594eefa58f8107a015ab94c0ea634b033f6cc2b60bcb071ec1e7855f47e327de57244aaf83bc18dd2ecb1296155cc62897d58324b88334b9b69a87 SHA512 702387f07a537e77fa4f515e0a2ac8cb01c7a25359b058d92ddabad5530cb69f5cbd0bc5e38441566ff5b016f819095de58566d8998710410dc831104674cc5e EBUILD sifive-sources-5.12.19.ebuild 2781 BLAKE2B 36df0ba0f147ffbf20dfbeb079d4c8a862b9f793f7b753708dde3b01533affacdb35ed349839904aa0a4489c46cd047e0a68a4303c570347002083c9059f956a SHA512 60bdc4f7356d81b60937f103c4f4356583602015a0f2984dce413d7f799ac5a72e85ba6efe5ed4a25a9a43b0ac79a6493e79b94e8294e6fd938bf1bf0a469b26 EBUILD sifive-sources-5.13.4.ebuild 2024 BLAKE2B 980ed70fd944764fa86c834b8eec452c1d06109b07973bd7d69379bcb0bdbdedd20567baa6eae20c6358d11d737259bb7d788eb82e17b2979fa07395ab8306d3 SHA512 0128417020da84e8bec31b0205609ba4d60de00ffbbdcfbb1552223e9b7ee7b856b63da4c9d2bc068f0b81a4f9e8a18412296fe2f100ffd7fb97fb9c95ed417a +EBUILD sifive-sources-5.13.9.ebuild 1303 BLAKE2B f717234bc40f260045877bf49eca5a9c819acdb5c10483954c6ae199aef16b00a8cc762d6ecfacfe2ee01bc372994521707afacd4e0765a37776c1b5bee89e63 SHA512 3989f4cd448b94c918bf3af0b4cd2cd2e072056a6aaa84c5bee027e26ff4e8a3013731154f4a293e651c001c6c68ede4ba59319b9d56d9635378ff2db20caffb +EBUILD sifive-sources-5.14.3.ebuild 1916 BLAKE2B c222a860956f2dd045ab30c7152826681285072b0fa9aec76e27a32c40c1e977fb32d649dce269c14eaf41bda5df435dcd4716a8741f3744c770da771486aa3c SHA512 cee71532b491b001f2a9a1cffb471416c08df23f22214ef69530dca61b47eba2b872b4e88bf1c8a7b810d252e6a8480e0268248aaf9b76c603ebbfac3bc0e744 diff --git a/sys-kernel/sifive-sources/sifive-sources-5.13.9.ebuild b/sys-kernel/sifive-sources/sifive-sources-5.13.9.ebuild new file mode 100644 index 0000000..4acc420 --- /dev/null +++ b/sys-kernel/sifive-sources/sifive-sources-5.13.9.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="11" + +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +HOMEPAGE="https://github.com/sifive/meta-sifive" +IUSE="experimental" + +META_SIFIVE="2021.08" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and meta-sifive-${META_SIFIVE} patches" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} https://github.com/sifive/meta-sifive/archive/refs/heads/${META_SIFIVE}.zip -> meta-sifive-${META_SIFIVE}.zip" + +src_prepare() { + unpack meta-sifive-${META_SIFIVE}.zip + eapply "${WORKDIR}/linux-${KV_FULL}/meta-sifive-${META_SIFIVE}/recipes-kernel/linux/files" + cp "${WORKDIR}/linux-${KV_FULL}/meta-sifive-${META_SIFIVE}/recipes-kernel/linux/files/defconfig" "${WORKDIR}/linux-${KV_FULL}/arch/riscv/configs/unmatched_defconfig" + rm -R "${WORKDIR}/linux-${KV_FULL}/meta-sifive-${META_SIFIVE}" + eapply_user +} + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/sifive-sources/sifive-sources-5.14.3.ebuild b/sys-kernel/sifive-sources/sifive-sources-5.14.3.ebuild new file mode 100644 index 0000000..e749a09 --- /dev/null +++ b/sys-kernel/sifive-sources/sifive-sources-5.14.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="4" + +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +HOMEPAGE="https://github.com/sifive/meta-sifive" +IUSE="experimental" + +META_SIFIVE="2021.08" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and meta-sifive-${META_SIFIVE} patches" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} https://github.com/sifive/meta-sifive/archive/refs/heads/${META_SIFIVE}.zip -> meta-sifive-${META_SIFIVE}.zip" + + +src_prepare() { + unpack meta-sifive-${META_SIFIVE}.zip + local SIFIVE_PATCH + local SIFIVE_PATCHES=" + 0001-riscv-sifive-fu740-cpu-1-2-3-4-set-compatible-to-sif.patch + 0003-riscv-sifive-unmatched-add-D12-PWM-LED.patch + 0004-riscv-sifive-unmatched-add-gpio-poweroff-node.patch + 0005-riscv-sifive-unmatched-add-D2-RGB-LED.patch + 0006-riscv-sifive-unmatched-remove-A00-from-model.patch + 0007-riscv-sifive-unmatched-define-LEDs-color.patch + 0009-SiFive-HiFive-Unleashed-Add-PWM-LEDs-D1-D2-D3-D4.patch + 0010-riscv-sifive-unleashed-define-opp-table-cpufreq.patch + " + + local SIFIVE_PATH="${WORKDIR}/linux-${KV_FULL}/meta-sifive-${META_SIFIVE}/recipes-kernel/linux/files" + for SIFIVE_PATCH in $SIFIVE_PATCHES + do + eapply "${SIFIVE_PATH}/${SIFIVE_PATCH}" + done + + cp "${WORKDIR}/linux-${KV_FULL}/meta-sifive-${META_SIFIVE}/recipes-kernel/linux/files/defconfig" "${WORKDIR}/linux-${KV_FULL}/arch/riscv/configs/unmatched_defconfig" + rm -R "${WORKDIR}/linux-${KV_FULL}/meta-sifive-${META_SIFIVE}" + eapply_user +} + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} |