From: Álvaro Fernández Rojas Date: Sun, 21 Jan 2024 12:39:33 +0000 (+0100) Subject: bcm27xx: drop unneeded github workflow and readme patches X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=09bc806229345819788712b575a168ff63152297;p=openwrt%2Fstaging%2Fnbd.git bcm27xx: drop unneeded github workflow and readme patches These patches can be dropped since we don't care about RPi's Github CI and READMEs. Signed-off-by: Álvaro Fernández Rojas --- diff --git a/target/linux/bcm27xx/patches-6.1/950-0149-Update-issue-templates-2736.patch b/target/linux/bcm27xx/patches-6.1/950-0149-Update-issue-templates-2736.patch deleted file mode 100644 index c394b48981..0000000000 --- a/target/linux/bcm27xx/patches-6.1/950-0149-Update-issue-templates-2736.patch +++ /dev/null @@ -1,47 +0,0 @@ -From f1457e83cd211ef7c8c90e9a69d044366621c83f Mon Sep 17 00:00:00 2001 -From: James Hughes -Date: Fri, 2 Nov 2018 11:55:49 +0000 -Subject: [PATCH] Update issue templates (#2736) - ---- - .github/ISSUE_TEMPLATE/bug_report.md | 34 ++++++++++++++++++++++++++++ - 1 file changed, 34 insertions(+) - create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md - ---- /dev/null -+++ b/.github/ISSUE_TEMPLATE/bug_report.md -@@ -0,0 +1,34 @@ -+--- -+name: Bug report -+about: Create a report to help us fix your issue -+ -+--- -+ -+**Is this the right place for my bug report?** -+This repository contains the Linux kernel used on the Raspberry Pi. If you believe that the issue you are seeing is kernel-related, this is the right place. If not, we have other repositories for the GPU firmware at [github.com/raspberrypi/firmware](https://github.com/raspberrypi/firmware) and Raspberry Pi userland applications at [github.com/raspberrypi/userland](https://github.com/raspberrypi/userland). If you have problems with the Raspbian distribution packages, report them in the [github.com/RPi-Distro/repo](https://github.com/RPi-Distro/repo). If you simply have a question, then [the Raspberry Pi forums](https://www.raspberrypi.org/forums) are the best place to ask it. -+ -+**Describe the bug** -+Add a clear and concise description of what you think the bug is. -+ -+**To reproduce** -+List the steps required to reproduce the issue. -+ -+**Expected behaviour** -+Add a clear and concise description of what you expected to happen. -+ -+**Actual behaviour** -+Add a clear and concise description of what actually happened. -+ -+**System** -+ Copy and paste the results of the raspinfo command in to this section. Alternatively, copy and paste a pastebin link, or add answers to the following questions: -+ -+* Which model of Raspberry Pi? e.g. Pi3B+, PiZeroW -+* Which OS and version (`cat /etc/rpi-issue`)? -+* Which firmware version (`vcgencmd version`)? -+* Which kernel version (`uname -a`)? -+ -+**Logs** -+If applicable, add the relevant output from `dmesg` or similar. -+ -+**Additional context** -+Add any other relevant context for the problem. diff --git a/target/linux/bcm27xx/patches-6.1/950-0368-Use-GitHubs-issue-form-for-bug-reports.patch b/target/linux/bcm27xx/patches-6.1/950-0368-Use-GitHubs-issue-form-for-bug-reports.patch deleted file mode 100644 index 7d08793af6..0000000000 --- a/target/linux/bcm27xx/patches-6.1/950-0368-Use-GitHubs-issue-form-for-bug-reports.patch +++ /dev/null @@ -1,163 +0,0 @@ -From b9bf4e573a1e07ef999636cdb61f393df61cc447 Mon Sep 17 00:00:00 2001 -From: Andreas Blaesius -Date: Wed, 5 Jan 2022 20:38:39 +0100 -Subject: [PATCH] Use GitHubs issue form for bug reports - -Use GitHubs issue form for bug reports. - -- modern look -- user don't need to mess with given markdown parts while filling the issue template - -Setup config.yml for general questions and problems with the Raspbian distribution packages. ---- - .github/ISSUE_TEMPLATE/bug_report.md | 34 ---------- - .github/ISSUE_TEMPLATE/bug_report.yml | 91 +++++++++++++++++++++++++++ - .github/ISSUE_TEMPLATE/config.yml | 9 +++ - 3 files changed, 100 insertions(+), 34 deletions(-) - delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md - create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml - create mode 100644 .github/ISSUE_TEMPLATE/config.yml - ---- a/.github/ISSUE_TEMPLATE/bug_report.md -+++ /dev/null -@@ -1,34 +0,0 @@ ----- --name: Bug report --about: Create a report to help us fix your issue -- ----- -- --**Is this the right place for my bug report?** --This repository contains the Linux kernel used on the Raspberry Pi. If you believe that the issue you are seeing is kernel-related, this is the right place. If not, we have other repositories for the GPU firmware at [github.com/raspberrypi/firmware](https://github.com/raspberrypi/firmware) and Raspberry Pi userland applications at [github.com/raspberrypi/userland](https://github.com/raspberrypi/userland). If you have problems with the Raspbian distribution packages, report them in the [github.com/RPi-Distro/repo](https://github.com/RPi-Distro/repo). If you simply have a question, then [the Raspberry Pi forums](https://www.raspberrypi.org/forums) are the best place to ask it. -- --**Describe the bug** --Add a clear and concise description of what you think the bug is. -- --**To reproduce** --List the steps required to reproduce the issue. -- --**Expected behaviour** --Add a clear and concise description of what you expected to happen. -- --**Actual behaviour** --Add a clear and concise description of what actually happened. -- --**System** -- Copy and paste the results of the raspinfo command in to this section. Alternatively, copy and paste a pastebin link, or add answers to the following questions: -- --* Which model of Raspberry Pi? e.g. Pi3B+, PiZeroW --* Which OS and version (`cat /etc/rpi-issue`)? --* Which firmware version (`vcgencmd version`)? --* Which kernel version (`uname -a`)? -- --**Logs** --If applicable, add the relevant output from `dmesg` or similar. -- --**Additional context** --Add any other relevant context for the problem. ---- /dev/null -+++ b/.github/ISSUE_TEMPLATE/bug_report.yml -@@ -0,0 +1,91 @@ -+name: "Bug report" -+description: Create a report to help us fix your issue -+body: -+- type: markdown -+ attributes: -+ value: | -+ **Is this the right place for my bug report?** -+ This repository contains the Linux kernel used on the Raspberry Pi. -+ If you believe that the issue you are seeing is kernel-related, this is the right place. -+ If not, we have other repositories for the GPU firmware at [github.com/raspberrypi/firmware](https://github.com/raspberrypi/firmware) and Raspberry Pi userland applications at [github.com/raspberrypi/userland](https://github.com/raspberrypi/userland). -+ -+ If you have problems with the Raspbian distribution packages, report them in the [github.com/RPi-Distro/repo](https://github.com/RPi-Distro/repo). -+ If you simply have a question, then [the Raspberry Pi forums](https://www.raspberrypi.org/forums) are the best place to ask it. -+ -+- type: textarea -+ id: description -+ attributes: -+ label: Describe the bug -+ description: | -+ Add a clear and concise description of what you think the bug is. -+ validations: -+ required: true -+ -+- type: textarea -+ id: reproduce -+ attributes: -+ label: Steps to reproduce the behaviour -+ description: | -+ List the steps required to reproduce the issue. -+ validations: -+ required: true -+ -+- type: dropdown -+ id: model -+ attributes: -+ label: Device (s) -+ description: On which device you are facing the bug? -+ multiple: true -+ options: -+ - Raspberry Pi Zero -+ - Raspberry Pi Zero W / WH -+ - Raspberry Pi Zero 2 W -+ - Raspberry Pi 1 Mod. A -+ - Raspberry Pi 1 Mod. A+ -+ - Raspberry Pi 1 Mod. B -+ - Raspberry Pi 1 Mod. B+ -+ - Raspberry Pi 2 Mod. B -+ - Raspberry Pi 2 Mod. B v1.2 -+ - Raspberry Pi 3 Mod. A+ -+ - Raspberry Pi 3 Mod. B -+ - Raspberry Pi 3 Mod. B+ -+ - Raspberry Pi 4 Mod. B -+ - Raspberry Pi 400 -+ - Raspberry Pi CM1 -+ - Raspberry Pi CM3 -+ - Raspberry Pi CM3 Lite -+ - Raspberry Pi CM3+ -+ - Raspberry Pi CM3+ Lite -+ - Raspberry Pi CM4 -+ - Raspberry Pi CM4 Lite -+ - Other -+ validations: -+ required: true -+ -+- type: textarea -+ id: system -+ attributes: -+ label: System -+ description: | -+ Copy and paste the results of the raspinfo command in to this section. -+ Alternatively, copy and paste a pastebin link, or add answers to the following questions: -+ * Which OS and version (`cat /etc/rpi-issue`)? -+ * Which firmware version (`vcgencmd version`)? -+ * Which kernel version (`uname -a`)? -+ validations: -+ required: true -+ -+- type: textarea -+ id: logs -+ attributes: -+ label: Logs -+ description: | -+ If applicable, add the relevant output from `dmesg` or similar. -+ -+- type: textarea -+ id: additional -+ attributes: -+ label: Additional context -+ description: | -+ Add any other relevant context for the problem. -+ ---- /dev/null -+++ b/.github/ISSUE_TEMPLATE/config.yml -@@ -0,0 +1,9 @@ -+blank_issues_enabled: false -+contact_links: -+ - name: "⛔ Question" -+ url: https://www.raspberrypi.org/forums -+ about: "Please do not use GitHub for asking questions. If you simply have a question, then the Raspberry Pi forums are the best place to ask it. Thanks in advance for helping us keep the issue tracker clean!" -+ - name: "⛔ Problems with the Raspbian distribution packages" -+ url: https://github.com/RPi-Distro/repo -+ about: "If you have problems with the Raspbian distribution packages, please report them in the github.com/RPi-Distro/repo." -+ diff --git a/target/linux/bcm27xx/patches-6.1/950-0506-.github-Add-Github-Workflow-for-KUnit.patch b/target/linux/bcm27xx/patches-6.1/950-0506-.github-Add-Github-Workflow-for-KUnit.patch deleted file mode 100644 index bb3c3f160a..0000000000 --- a/target/linux/bcm27xx/patches-6.1/950-0506-.github-Add-Github-Workflow-for-KUnit.patch +++ /dev/null @@ -1,74 +0,0 @@ -From d172f330087422b8f33ad5e0f60f903820e7b321 Mon Sep 17 00:00:00 2001 -From: Maxime Ripard -Date: Thu, 8 Dec 2022 13:17:42 +0100 -Subject: [PATCH] .github: Add Github Workflow for KUnit - -Now that we have some KUnit coverage, let's add a github actions file to -run them on each push or pull request. - -Signed-off-by: Maxime Ripard ---- - .github/workflows/kunit.yml | 57 +++++++++++++++++++++++++++++++++++++ - 1 file changed, 57 insertions(+) - create mode 100644 .github/workflows/kunit.yml - ---- /dev/null -+++ b/.github/workflows/kunit.yml -@@ -0,0 +1,57 @@ -+name: KUnit Tests -+ -+on: -+ pull_request: -+ branches: [ "rpi-*"] -+ -+ push: -+ branches: [ "rpi-*"] -+ -+jobs: -+ core: -+ name: Generic DRM/KMS Unit Tests -+ runs-on: ubuntu-latest -+ -+ steps: -+ - uses: actions/checkout@v3 -+ -+ - name: Run Generic DRM Tests -+ run: | -+ ./tools/testing/kunit/kunit.py run \ -+ --kunitconfig=drivers/gpu/drm/tests -+ -+ vc4-arm: -+ name: VC4 Unit Tests on ARM -+ runs-on: ubuntu-latest -+ -+ steps: -+ - uses: actions/checkout@v3 -+ -+ - name: Install Dependencies -+ run: | -+ sudo apt-get update -+ sudo apt-get install -y gcc-arm-linux-gnueabihf qemu-system-arm -+ -+ - name: Run VC4 Tests -+ run: | -+ ./tools/testing/kunit/kunit.py run \ -+ --kunitconfig=drivers/gpu/drm/vc4/tests \ -+ --cross_compile=arm-linux-gnueabihf- --arch=arm -+ -+ vc4-arm64: -+ name: VC4 Unit Tests on ARM64 -+ runs-on: ubuntu-latest -+ -+ steps: -+ - uses: actions/checkout@v3 -+ -+ - name: Install Dependencies -+ run: | -+ sudo apt-get update -+ sudo apt-get install -y gcc-aarch64-linux-gnu qemu-system-arm -+ -+ - name: Run VC4 Tests -+ run: | -+ ./tools/testing/kunit/kunit.py run \ -+ --kunitconfig=drivers/gpu/drm/vc4/tests \ -+ --cross_compile=aarch64-linux-gnu- --arch=arm64 diff --git a/target/linux/bcm27xx/patches-6.1/950-0507-.github-workflows-Add-dtoverlaycheck-workflow.patch b/target/linux/bcm27xx/patches-6.1/950-0507-.github-workflows-Add-dtoverlaycheck-workflow.patch deleted file mode 100644 index 92a7b7edf4..0000000000 --- a/target/linux/bcm27xx/patches-6.1/950-0507-.github-workflows-Add-dtoverlaycheck-workflow.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 4aec59014afc64d912502d70194a8823b0a6150a Mon Sep 17 00:00:00 2001 -From: Dave Stevenson -Date: Tue, 6 Dec 2022 18:11:58 +0000 -Subject: [PATCH] .github/workflows: Add dtoverlaycheck workflow - -Signed-off-by: Dave Stevenson ---- - .github/workflows/dtoverlaycheck.yml | 48 ++++++++++++++++++++++++++++ - 1 file changed, 48 insertions(+) - create mode 100644 .github/workflows/dtoverlaycheck.yml - ---- /dev/null -+++ b/.github/workflows/dtoverlaycheck.yml -@@ -0,0 +1,48 @@ -+name: Pi dtoverlay checks -+ -+on: -+ pull_request: -+ paths-ignore: -+ - '.github/**' -+ branches: [ "rpi-*" ] -+ push: -+ paths-ignore: -+ - '.github/**' -+ branches: [ "rpi-*" ] -+ workflow_dispatch: -+ -+env: -+ UTILS_DIR: "${{github.workspace}}/utils" -+ -+jobs: -+ dtoverlaycheck: -+ runs-on: ubuntu-latest -+ -+ steps: -+ - name: Install toolchain -+ run: | -+ sudo apt update -+ sudo apt-get install gcc-arm-linux-gnueabihf libfdt-dev device-tree-compiler -+ timeout-minutes: 10 -+ -+ - uses: actions/checkout@v3 -+ with: -+ fetch-depth: 1 -+ clean: true -+ -+ - name: overlaycheck -+ run: | -+ git clone https://github.com/raspberrypi/utils ${{env.UTILS_DIR}} -+ cd ${{env.UTILS_DIR}} -+ pwd -+ mkdir build -+ cd build -+ pwd -+ cmake .. -+ make -j4 -+ sudo make install -+ cd ${{github.workspace}} -+ pwd -+ make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- bcm2711_defconfig -+ make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- dtbs -+ ${{env.UTILS_DIR}}/overlaycheck/overlaycheck diff --git a/target/linux/bcm27xx/patches-6.1/950-0508-.github-workflows-Create-workflow-to-CI-kernel-build.patch b/target/linux/bcm27xx/patches-6.1/950-0508-.github-workflows-Create-workflow-to-CI-kernel-build.patch deleted file mode 100644 index 101f6dafca..0000000000 --- a/target/linux/bcm27xx/patches-6.1/950-0508-.github-workflows-Create-workflow-to-CI-kernel-build.patch +++ /dev/null @@ -1,285 +0,0 @@ -From baa2e8235af7143148d8799c5caed2a2eefd9107 Mon Sep 17 00:00:00 2001 -From: Dave Stevenson -Date: Fri, 11 Nov 2022 17:09:32 +0000 -Subject: [PATCH] .github/workflows: Create workflow to CI kernel - builds - -Builds the bcmrpi, bcm2709, bcm2711, and bcm2835 32 bit kernels, -and defconfig and bcm2711 64bit kernels, saving the artifacts for -7 days. - -Signed-off-by: Dave Stevenson ---- - .github/workflows/kernel-build.yml | 266 +++++++++++++++++++++++++++++ - 1 file changed, 266 insertions(+) - create mode 100644 .github/workflows/kernel-build.yml - ---- /dev/null -+++ b/.github/workflows/kernel-build.yml -@@ -0,0 +1,266 @@ -+name: Pi kernel build tests -+ -+on: -+ pull_request: -+ paths-ignore: -+ - '.github/**' -+ branches: [ "rpi-*" ] -+ push: -+ paths-ignore: -+ - '.github/**' -+ branches: [ "rpi-*" ] -+ workflow_dispatch: -+ -+env: -+ NUM_JOBS: 3 -+ -+jobs: -+ build-bcm2835: -+ -+ runs-on: ubuntu-latest -+ -+ steps: -+ - name: Update install -+ run: -+ sudo apt-get update -+ -+ - name: Install toolchain -+ run: -+ sudo apt-get install gcc-arm-linux-gnueabihf -+ timeout-minutes: 5 -+ -+ - uses: actions/checkout@v3 -+ with: -+ fetch-depth: 1 -+ clean: true -+ -+ - name: Build kernel -+ run: | -+ mkdir ${{github.workspace}}/build -+ make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcm2835_defconfig -+ make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} Image modules dtbs -+ mkdir -p ${{github.workspace}}/install/boot -+ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -+ cp ${{github.workspace}}/build/arch/arm/boot/dts/*.dtb ${{github.workspace}}/install/boot/ -+ cp -r ${{github.workspace}}/build/arch/arm/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/ -+ cp ${{github.workspace}}/build/arch/arm/boot/Image ${{github.workspace}}/install/boot/ -+ -+ - name: Tar build -+ run: tar -cvf bcm2835_build.tar -C ${{github.workspace}}/install . -+ -+ - name: Upload results -+ uses: actions/upload-artifact@v3 -+ with: -+ name: bcm2835_build -+ path: bcm2835_build.tar -+ retention-days: 7 -+ -+ build-arm64: -+ -+ runs-on: ubuntu-latest -+ -+ steps: -+ - name: Update install -+ run: -+ sudo apt-get update -+ -+ - name: Install toolchain -+ run: -+ sudo apt-get install gcc-aarch64-linux-gnu -+ timeout-minutes: 5 -+ -+ - uses: actions/checkout@v3 -+ with: -+ fetch-depth: 1 -+ clean: true -+ -+ - name: Build kernel -+ run: | -+ mkdir ${{github.workspace}}/build -+ make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build defconfig -+ make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} Image.gz modules dtbs -+ mkdir -p ${{github.workspace}}/install/boot -+ make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -+ cp ${{github.workspace}}/build/arch/arm64/boot/dts/broadcom/*.dtb ${{github.workspace}}/install/boot/ -+ cp -r ${{github.workspace}}/build/arch/arm64/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/ -+ cp ${{github.workspace}}/build/arch/arm64/boot/Image.gz ${{github.workspace}}/install/boot/ -+ -+ - name: Tar build -+ run: tar -cvf arm64_build.tar -C ${{github.workspace}}/install . -+ -+ - name: Upload results -+ uses: actions/upload-artifact@v3 -+ with: -+ name: arm64_build -+ path: arm64_build.tar -+ retention-days: 7 -+ -+ build-bcmrpi: -+ -+ runs-on: ubuntu-latest -+ -+ steps: -+ - name: Update install -+ run: -+ sudo apt-get update -+ -+ - name: Install toolchain -+ run: -+ sudo apt-get install gcc-arm-linux-gnueabihf -+ timeout-minutes: 5 -+ -+ - uses: actions/checkout@v3 -+ with: -+ fetch-depth: 1 -+ clean: true -+ -+ - name: Build kernel -+ run: | -+ mkdir ${{github.workspace}}/build -+ make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcm2711_defconfig -+ make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} zImage modules dtbs -+ mkdir -p ${{github.workspace}}/install/boot -+ make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -+ cp ${{github.workspace}}/build/arch/arm/boot/dts/*.dtb ${{github.workspace}}/install/boot/ -+ cp -r ${{github.workspace}}/build/arch/arm/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/ -+ cp ${{github.workspace}}/build/arch/arm/boot/zImage ${{github.workspace}}/install/boot/ -+ -+ - name: Tar build -+ run: tar -cvf bcmrpi_build.tar -C ${{github.workspace}}/install . -+ -+ - name: Upload results -+ uses: actions/upload-artifact@v3 -+ with: -+ name: bcmrpi_build -+ path: bcmrpi_build.tar -+ retention-days: 7 -+ -+ build-bcm2709: -+ -+ runs-on: ubuntu-latest -+ -+ steps: -+ - name: Update install -+ run: -+ sudo apt-get update -+ -+ - name: Install toolchain -+ run: -+ sudo apt-get install gcc-arm-linux-gnueabihf -+ timeout-minutes: 5 -+ -+ - uses: actions/checkout@v3 -+ with: -+ fetch-depth: 1 -+ clean: true -+ -+ - name: Build kernel -+ run: | -+ mkdir ${{github.workspace}}/build -+ make ARCH=arm KERNEL=kernel7 CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcm2709_defconfig -+ make ARCH=arm KERNEL=kernel7 CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} zImage modules dtbs -+ mkdir -p ${{github.workspace}}/install/boot -+ make ARCH=arm KERNEL=kernel7 CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -+ cp ${{github.workspace}}/build/arch/arm/boot/dts/*.dtb ${{github.workspace}}/install/boot/ -+ cp -r ${{github.workspace}}/build/arch/arm/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/ -+ cp ${{github.workspace}}/build/arch/arm/boot/zImage ${{github.workspace}}/install/boot/ -+ -+ - name: Tar build -+ run: tar -cvf bcm2709_build.tar -C ${{github.workspace}}/install . -+ -+ - name: Upload results -+ uses: actions/upload-artifact@v3 -+ with: -+ name: bcm2709_build -+ path: bcm2709_build.tar -+ retention-days: 7 -+ -+ build-bcm2711: -+ -+ runs-on: ubuntu-latest -+ -+ steps: -+ - name: Update install -+ run: -+ sudo apt-get update -+ -+ - name: Install toolchain -+ run: -+ sudo apt-get install gcc-arm-linux-gnueabihf -+ timeout-minutes: 5 -+ -+ - uses: actions/checkout@v3 -+ with: -+ fetch-depth: 1 -+ clean: true -+ -+ - name: Build kernel -+ run: | -+ mkdir ${{github.workspace}}/build -+ make ARCH=arm KERNEL=kernel7l CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcm2711_defconfig -+ make ARCH=arm KERNEL=kernel7l CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} zImage modules dtbs -+ mkdir -p ${{github.workspace}}/install/boot -+ make ARCH=arm KERNEL=kernel7l CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -+ cp ${{github.workspace}}/build/arch/arm/boot/dts/*.dtb ${{github.workspace}}/install/boot/ -+ cp -r ${{github.workspace}}/build/arch/arm/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/ -+ cp ${{github.workspace}}/build/arch/arm/boot/zImage ${{github.workspace}}/install/boot/ -+ -+ - name: Tar build -+ run: tar -cvf bcm2711_build.tar -C ${{github.workspace}}/install . -+ -+ - name: Upload results -+ uses: actions/upload-artifact@v3 -+ with: -+ name: bcm2711_build -+ path: bcm2711_build.tar -+ retention-days: 7 -+ -+ build-bcm2711-arm64: -+ -+ runs-on: ubuntu-latest -+ -+ steps: -+ - name: Update install -+ run: -+ sudo apt-get update -+ -+ - name: Install toolchain -+ run: -+ sudo apt-get install gcc-arm-linux-gnueabihf -+ timeout-minutes: 5 -+ -+ - uses: actions/checkout@v3 -+ with: -+ fetch-depth: 1 -+ clean: true -+ -+ - name: Install toolchain -+ run: -+ sudo apt-get install gcc-aarch64-linux-gnu -+ timeout-minutes: 5 -+ -+ - uses: actions/checkout@v3 -+ with: -+ fetch-depth: 1 -+ clean: true -+ -+ - name: Build kernel -+ run: | -+ mkdir ${{github.workspace}}/build -+ make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build bcm2711_defconfig -+ make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} Image.gz modules dtbs -+ mkdir -p ${{github.workspace}}/install/boot -+ make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -+ cp ${{github.workspace}}/build/arch/arm64/boot/dts/broadcom/*.dtb ${{github.workspace}}/install/boot/ -+ cp -r ${{github.workspace}}/build/arch/arm64/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/ -+ cp ${{github.workspace}}/build/arch/arm64/boot/Image.gz ${{github.workspace}}/install/boot/ -+ -+ - name: Tar build -+ run: tar -cvf bcm2711_arm64_build.tar -C ${{github.workspace}}/install . -+ -+ - name: Upload results -+ uses: actions/upload-artifact@v3 -+ with: -+ name: bcm2711_arm64_build -+ path: bcm2711_arm64_build.tar -+ retention-days: 7 diff --git a/target/linux/bcm27xx/patches-6.1/950-0509-README-Add-README.md-with-CI-kernel-build-status-tag.patch b/target/linux/bcm27xx/patches-6.1/950-0509-README-Add-README.md-with-CI-kernel-build-status-tag.patch deleted file mode 100644 index 610efdc8a7..0000000000 --- a/target/linux/bcm27xx/patches-6.1/950-0509-README-Add-README.md-with-CI-kernel-build-status-tag.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 81eebfa296eb1454cde3bf1cbd919f8b9eb6cf64 Mon Sep 17 00:00:00 2001 -From: Dave Stevenson -Date: Mon, 14 Nov 2022 17:14:15 +0000 -Subject: [PATCH] README: Add README.md with CI kernel build status - tags - -This is a copy of README with the tags added. - -You can not delete the file README as then checkpatch complains -you aren't in a kernel tree. - -Signed-off-by: Dave Stevenson ---- - README.md | 30 ++++++++++++++++++++++++++++++ - 1 file changed, 30 insertions(+) - create mode 100644 README.md - ---- /dev/null -+++ b/README.md -@@ -0,0 +1,30 @@ -+Linux kernel -+============ -+ -+There are several guides for kernel developers and users. These guides can -+be rendered in a number of formats, like HTML and PDF. Please read -+Documentation/admin-guide/README.rst first. -+ -+In order to build the documentation, use ``make htmldocs`` or -+``make pdfdocs``. The formatted documentation can also be read online at: -+ -+ https://www.kernel.org/doc/html/latest/ -+ -+There are various text files in the Documentation/ subdirectory, -+several of them using the Restructured Text markup notation. -+ -+Please read the Documentation/process/changes.rst file, as it contains the -+requirements for building and running the kernel, and information about -+the problems which may result by upgrading your kernel. -+ -+Build status for rpi-5.15.y: -+[![Pi kernel build tests](https://github.com/raspberrypi/linux/actions/workflows/kernel-build.yml/badge.svg?branch=rpi-5.15.y)](https://github.com/raspberrypi/linux/actions/workflows/kernel-build.yml) -+[![dtoverlaycheck](https://github.com/raspberrypi/linux/actions/workflows/dtoverlaycheck.yml/badge.svg?branch=rpi-5.15.y)](https://github.com/raspberrypi/linux/actions/workflows/dtoverlaycheck.yml) -+ -+Build status for rpi-6.0.y: -+[![Pi kernel build tests](https://github.com/raspberrypi/linux/actions/workflows/kernel-build.yml/badge.svg?branch=rpi-6.0.y)](https://github.com/raspberrypi/linux/actions/workflows/kernel-build.yml) -+[![dtoverlaycheck](https://github.com/raspberrypi/linux/actions/workflows/dtoverlaycheck.yml/badge.svg?branch=rpi-6.0.y)](https://github.com/raspberrypi/linux/actions/workflows/dtoverlaycheck.yml) -+ -+Build status for rpi-6.1.y: -+[![Pi kernel build tests](https://github.com/raspberrypi/linux/actions/workflows/kernel-build.yml/badge.svg?branch=rpi-6.1.y)](https://github.com/raspberrypi/linux/actions/workflows/kernel-build.yml) -+[![dtoverlaycheck](https://github.com/raspberrypi/linux/actions/workflows/dtoverlaycheck.yml/badge.svg?branch=rpi-6.1.y)](https://github.com/raspberrypi/linux/actions/workflows/dtoverlaycheck.yml) diff --git a/target/linux/bcm27xx/patches-6.1/950-0538-.github-workflows-Set-warnings-as-errors-for-builds.patch b/target/linux/bcm27xx/patches-6.1/950-0538-.github-workflows-Set-warnings-as-errors-for-builds.patch deleted file mode 100644 index f880a637c1..0000000000 --- a/target/linux/bcm27xx/patches-6.1/950-0538-.github-workflows-Set-warnings-as-errors-for-builds.patch +++ /dev/null @@ -1,63 +0,0 @@ -From 0a1c5c32cfe570a688a09c90ab16052fcb258342 Mon Sep 17 00:00:00 2001 -From: Phil Elwell -Date: Fri, 13 Jan 2023 14:32:45 +0000 -Subject: [PATCH] .github/workflows: Set warnings-as-errors for builds - -To avoid code with build warnings being introduced into the tree, force -CONFIG_WERROR=y in the build workflow. - -Signed-off-by: Phil Elwell ---- - .github/workflows/kernel-build.yml | 6 ++++++ - 1 file changed, 6 insertions(+) - ---- a/.github/workflows/kernel-build.yml -+++ b/.github/workflows/kernel-build.yml -@@ -38,6 +38,7 @@ jobs: - run: | - mkdir ${{github.workspace}}/build - make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcm2835_defconfig -+ scripts/config --file ${{github.workspace}}/build/.config --set-val CONFIG_WERROR y - make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} Image modules dtbs - mkdir -p ${{github.workspace}}/install/boot - make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -@@ -78,6 +79,7 @@ jobs: - run: | - mkdir ${{github.workspace}}/build - make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build defconfig -+ scripts/config --file ${{github.workspace}}/build/.config --set-val CONFIG_WERROR y - make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} Image.gz modules dtbs - mkdir -p ${{github.workspace}}/install/boot - make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -@@ -118,6 +120,7 @@ jobs: - run: | - mkdir ${{github.workspace}}/build - make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcm2711_defconfig -+ scripts/config --file ${{github.workspace}}/build/.config --set-val CONFIG_WERROR y - make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} zImage modules dtbs - mkdir -p ${{github.workspace}}/install/boot - make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -@@ -158,6 +161,7 @@ jobs: - run: | - mkdir ${{github.workspace}}/build - make ARCH=arm KERNEL=kernel7 CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcm2709_defconfig -+ scripts/config --file ${{github.workspace}}/build/.config --set-val CONFIG_WERROR y - make ARCH=arm KERNEL=kernel7 CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} zImage modules dtbs - mkdir -p ${{github.workspace}}/install/boot - make ARCH=arm KERNEL=kernel7 CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -@@ -198,6 +202,7 @@ jobs: - run: | - mkdir ${{github.workspace}}/build - make ARCH=arm KERNEL=kernel7l CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcm2711_defconfig -+ scripts/config --file ${{github.workspace}}/build/.config --set-val CONFIG_WERROR y - make ARCH=arm KERNEL=kernel7l CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} zImage modules dtbs - mkdir -p ${{github.workspace}}/install/boot - make ARCH=arm KERNEL=kernel7l CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -@@ -248,6 +253,7 @@ jobs: - run: | - mkdir ${{github.workspace}}/build - make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build bcm2711_defconfig -+ scripts/config --file ${{github.workspace}}/build/.config --set-val CONFIG_WERROR y - make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} Image.gz modules dtbs - mkdir -p ${{github.workspace}}/install/boot - make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install diff --git a/target/linux/bcm27xx/patches-6.1/950-0540-.github-workflows-Correct-kernel-builds-artifacts.patch b/target/linux/bcm27xx/patches-6.1/950-0540-.github-workflows-Correct-kernel-builds-artifacts.patch deleted file mode 100644 index 359efd5c85..0000000000 --- a/target/linux/bcm27xx/patches-6.1/950-0540-.github-workflows-Correct-kernel-builds-artifacts.patch +++ /dev/null @@ -1,147 +0,0 @@ -From 3e32a992acb7248183a3eb1d92503ac2d2eb2617 Mon Sep 17 00:00:00 2001 -From: Phil Elwell -Date: Wed, 18 Jan 2023 09:34:31 +0000 -Subject: [PATCH] .github/workflows: Correct kernel builds artifacts - -Modify the kernel build workflow to create artifacts with the correct -names and structure, both as an example of what we expect and in case -anyone wants to use the output. - -Signed-off-by: Phil Elwell ---- - .github/workflows/kernel-build.yml | 76 ++++++++++++++++-------------- - 1 file changed, 41 insertions(+), 35 deletions(-) - ---- a/.github/workflows/kernel-build.yml -+++ b/.github/workflows/kernel-build.yml -@@ -37,14 +37,15 @@ jobs: - - name: Build kernel - run: | - mkdir ${{github.workspace}}/build -- make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcm2835_defconfig -+ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcm2835_defconfig - scripts/config --file ${{github.workspace}}/build/.config --set-val CONFIG_WERROR y -- make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} Image modules dtbs -- mkdir -p ${{github.workspace}}/install/boot -+ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} zImage modules dtbs -+ mkdir -p ${{github.workspace}}/install/boot/overlays - make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install - cp ${{github.workspace}}/build/arch/arm/boot/dts/*.dtb ${{github.workspace}}/install/boot/ -- cp -r ${{github.workspace}}/build/arch/arm/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/ -- cp ${{github.workspace}}/build/arch/arm/boot/Image ${{github.workspace}}/install/boot/ -+ cp ${{github.workspace}}/build/arch/arm/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/overlays/ -+ cp ${{github.workspace}}/arch/arm/boot/dts/overlays/README ${{github.workspace}}/install/boot/overlays/ -+ cp ${{github.workspace}}/build/arch/arm/boot/zImage ${{github.workspace}}/install/boot/kernel.img - - - name: Tar build - run: tar -cvf bcm2835_build.tar -C ${{github.workspace}}/install . -@@ -78,14 +79,15 @@ jobs: - - name: Build kernel - run: | - mkdir ${{github.workspace}}/build -- make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build defconfig -+ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build defconfig - scripts/config --file ${{github.workspace}}/build/.config --set-val CONFIG_WERROR y -- make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} Image.gz modules dtbs -- mkdir -p ${{github.workspace}}/install/boot -- make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -+ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} Image.gz modules dtbs -+ mkdir -p ${{github.workspace}}/install/boot/overlays -+ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install - cp ${{github.workspace}}/build/arch/arm64/boot/dts/broadcom/*.dtb ${{github.workspace}}/install/boot/ -- cp -r ${{github.workspace}}/build/arch/arm64/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/ -- cp ${{github.workspace}}/build/arch/arm64/boot/Image.gz ${{github.workspace}}/install/boot/ -+ cp ${{github.workspace}}/build/arch/arm64/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/overlays/ -+ cp ${{github.workspace}}/arch/arm64/boot/dts/overlays/README ${{github.workspace}}/install/boot/overlays/ -+ cp ${{github.workspace}}/build/arch/arm64/boot/Image.gz ${{github.workspace}}/install/boot/kernel8.img - - - name: Tar build - run: tar -cvf arm64_build.tar -C ${{github.workspace}}/install . -@@ -119,14 +121,15 @@ jobs: - - name: Build kernel - run: | - mkdir ${{github.workspace}}/build -- make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcm2711_defconfig -+ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcmrpi_defconfig - scripts/config --file ${{github.workspace}}/build/.config --set-val CONFIG_WERROR y -- make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} zImage modules dtbs -- mkdir -p ${{github.workspace}}/install/boot -- make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -+ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} zImage modules dtbs -+ mkdir -p ${{github.workspace}}/install/boot/overlays -+ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install - cp ${{github.workspace}}/build/arch/arm/boot/dts/*.dtb ${{github.workspace}}/install/boot/ -- cp -r ${{github.workspace}}/build/arch/arm/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/ -- cp ${{github.workspace}}/build/arch/arm/boot/zImage ${{github.workspace}}/install/boot/ -+ cp ${{github.workspace}}/build/arch/arm/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/overlays/ -+ cp ${{github.workspace}}/arch/arm/boot/dts/overlays/README ${{github.workspace}}/install/boot/overlays/ -+ cp ${{github.workspace}}/build/arch/arm/boot/zImage ${{github.workspace}}/install/boot/kernel.img - - - name: Tar build - run: tar -cvf bcmrpi_build.tar -C ${{github.workspace}}/install . -@@ -160,14 +163,15 @@ jobs: - - name: Build kernel - run: | - mkdir ${{github.workspace}}/build -- make ARCH=arm KERNEL=kernel7 CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcm2709_defconfig -+ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcm2709_defconfig - scripts/config --file ${{github.workspace}}/build/.config --set-val CONFIG_WERROR y -- make ARCH=arm KERNEL=kernel7 CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} zImage modules dtbs -- mkdir -p ${{github.workspace}}/install/boot -- make ARCH=arm KERNEL=kernel7 CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -+ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} zImage modules dtbs -+ mkdir -p ${{github.workspace}}/install/boot/overlays -+ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install - cp ${{github.workspace}}/build/arch/arm/boot/dts/*.dtb ${{github.workspace}}/install/boot/ -- cp -r ${{github.workspace}}/build/arch/arm/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/ -- cp ${{github.workspace}}/build/arch/arm/boot/zImage ${{github.workspace}}/install/boot/ -+ cp ${{github.workspace}}/build/arch/arm/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/overlays/ -+ cp ${{github.workspace}}/arch/arm/boot/dts/overlays/README ${{github.workspace}}/install/boot/overlays/ -+ cp ${{github.workspace}}/build/arch/arm/boot/zImage ${{github.workspace}}/install/boot/kernel7.img - - - name: Tar build - run: tar -cvf bcm2709_build.tar -C ${{github.workspace}}/install . -@@ -201,14 +205,15 @@ jobs: - - name: Build kernel - run: | - mkdir ${{github.workspace}}/build -- make ARCH=arm KERNEL=kernel7l CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcm2711_defconfig -+ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcm2711_defconfig - scripts/config --file ${{github.workspace}}/build/.config --set-val CONFIG_WERROR y -- make ARCH=arm KERNEL=kernel7l CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} zImage modules dtbs -- mkdir -p ${{github.workspace}}/install/boot -- make ARCH=arm KERNEL=kernel7l CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -+ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} zImage modules dtbs -+ mkdir -p ${{github.workspace}}/install/boot/overlays -+ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install - cp ${{github.workspace}}/build/arch/arm/boot/dts/*.dtb ${{github.workspace}}/install/boot/ -- cp -r ${{github.workspace}}/build/arch/arm/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/ -- cp ${{github.workspace}}/build/arch/arm/boot/zImage ${{github.workspace}}/install/boot/ -+ cp ${{github.workspace}}/build/arch/arm/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/overlays/ -+ cp ${{github.workspace}}/arch/arm/boot/dts/overlays/README ${{github.workspace}}/install/boot/overlays/ -+ cp ${{github.workspace}}/build/arch/arm/boot/zImage ${{github.workspace}}/install/boot/kernel7l.img - - - name: Tar build - run: tar -cvf bcm2711_build.tar -C ${{github.workspace}}/install . -@@ -252,14 +257,15 @@ jobs: - - name: Build kernel - run: | - mkdir ${{github.workspace}}/build -- make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build bcm2711_defconfig -+ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build bcm2711_defconfig - scripts/config --file ${{github.workspace}}/build/.config --set-val CONFIG_WERROR y -- make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} Image.gz modules dtbs -- mkdir -p ${{github.workspace}}/install/boot -- make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -+ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} Image.gz modules dtbs -+ mkdir -p ${{github.workspace}}/install/boot/overlays -+ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install - cp ${{github.workspace}}/build/arch/arm64/boot/dts/broadcom/*.dtb ${{github.workspace}}/install/boot/ -- cp -r ${{github.workspace}}/build/arch/arm64/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/ -- cp ${{github.workspace}}/build/arch/arm64/boot/Image.gz ${{github.workspace}}/install/boot/ -+ cp ${{github.workspace}}/build/arch/arm64/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/overlays/ -+ cp ${{github.workspace}}/arch/arm64/boot/dts/overlays/README ${{github.workspace}}/install/boot/overlays/ -+ cp ${{github.workspace}}/build/arch/arm64/boot/Image.gz ${{github.workspace}}/install/boot/kernel8.img - - - name: Tar build - run: tar -cvf bcm2711_arm64_build.tar -C ${{github.workspace}}/install . diff --git a/target/linux/bcm27xx/patches-6.1/950-0547-.github-workflows-Switch-to-a-matrix-build.patch b/target/linux/bcm27xx/patches-6.1/950-0547-.github-workflows-Switch-to-a-matrix-build.patch deleted file mode 100644 index 51f32be5a0..0000000000 --- a/target/linux/bcm27xx/patches-6.1/950-0547-.github-workflows-Switch-to-a-matrix-build.patch +++ /dev/null @@ -1,333 +0,0 @@ -From 3ca614742a496b66a9b92ce6be05ff555fdfc2c2 Mon Sep 17 00:00:00 2001 -From: Phil Elwell -Date: Mon, 23 Jan 2023 16:50:51 +0000 -Subject: [PATCH] .github/workflows: Switch to a matrix build - -Remove the per-build duplication by putting build parameters in a -matrix. - -Signed-off-by: Phil Elwell ---- - .github/workflows/kernel-build.yml | 293 ++++++----------------------- - 1 file changed, 59 insertions(+), 234 deletions(-) - ---- a/.github/workflows/kernel-build.yml -+++ b/.github/workflows/kernel-build.yml -@@ -15,177 +15,40 @@ env: - NUM_JOBS: 3 - - jobs: -- build-bcm2835: -- -- runs-on: ubuntu-latest -- -- steps: -- - name: Update install -- run: -- sudo apt-get update -- -- - name: Install toolchain -- run: -- sudo apt-get install gcc-arm-linux-gnueabihf -- timeout-minutes: 5 -- -- - uses: actions/checkout@v3 -- with: -- fetch-depth: 1 -- clean: true -- -- - name: Build kernel -- run: | -- mkdir ${{github.workspace}}/build -- make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcm2835_defconfig -- scripts/config --file ${{github.workspace}}/build/.config --set-val CONFIG_WERROR y -- make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} zImage modules dtbs -- mkdir -p ${{github.workspace}}/install/boot/overlays -- make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -- cp ${{github.workspace}}/build/arch/arm/boot/dts/*.dtb ${{github.workspace}}/install/boot/ -- cp ${{github.workspace}}/build/arch/arm/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/overlays/ -- cp ${{github.workspace}}/arch/arm/boot/dts/overlays/README ${{github.workspace}}/install/boot/overlays/ -- cp ${{github.workspace}}/build/arch/arm/boot/zImage ${{github.workspace}}/install/boot/kernel.img -- -- - name: Tar build -- run: tar -cvf bcm2835_build.tar -C ${{github.workspace}}/install . -- -- - name: Upload results -- uses: actions/upload-artifact@v3 -- with: -- name: bcm2835_build -- path: bcm2835_build.tar -- retention-days: 7 -- -- build-arm64: -- -- runs-on: ubuntu-latest -- -- steps: -- - name: Update install -- run: -- sudo apt-get update -- -- - name: Install toolchain -- run: -- sudo apt-get install gcc-aarch64-linux-gnu -- timeout-minutes: 5 -- -- - uses: actions/checkout@v3 -- with: -- fetch-depth: 1 -- clean: true -- -- - name: Build kernel -- run: | -- mkdir ${{github.workspace}}/build -- make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build defconfig -- scripts/config --file ${{github.workspace}}/build/.config --set-val CONFIG_WERROR y -- make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} Image.gz modules dtbs -- mkdir -p ${{github.workspace}}/install/boot/overlays -- make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -- cp ${{github.workspace}}/build/arch/arm64/boot/dts/broadcom/*.dtb ${{github.workspace}}/install/boot/ -- cp ${{github.workspace}}/build/arch/arm64/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/overlays/ -- cp ${{github.workspace}}/arch/arm64/boot/dts/overlays/README ${{github.workspace}}/install/boot/overlays/ -- cp ${{github.workspace}}/build/arch/arm64/boot/Image.gz ${{github.workspace}}/install/boot/kernel8.img -- -- - name: Tar build -- run: tar -cvf arm64_build.tar -C ${{github.workspace}}/install . -- -- - name: Upload results -- uses: actions/upload-artifact@v3 -- with: -- name: arm64_build -- path: arm64_build.tar -- retention-days: 7 -- -- build-bcmrpi: -- -- runs-on: ubuntu-latest -- -- steps: -- - name: Update install -- run: -- sudo apt-get update -- -- - name: Install toolchain -- run: -- sudo apt-get install gcc-arm-linux-gnueabihf -- timeout-minutes: 5 -- -- - uses: actions/checkout@v3 -- with: -- fetch-depth: 1 -- clean: true -- -- - name: Build kernel -- run: | -- mkdir ${{github.workspace}}/build -- make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcmrpi_defconfig -- scripts/config --file ${{github.workspace}}/build/.config --set-val CONFIG_WERROR y -- make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} zImage modules dtbs -- mkdir -p ${{github.workspace}}/install/boot/overlays -- make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -- cp ${{github.workspace}}/build/arch/arm/boot/dts/*.dtb ${{github.workspace}}/install/boot/ -- cp ${{github.workspace}}/build/arch/arm/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/overlays/ -- cp ${{github.workspace}}/arch/arm/boot/dts/overlays/README ${{github.workspace}}/install/boot/overlays/ -- cp ${{github.workspace}}/build/arch/arm/boot/zImage ${{github.workspace}}/install/boot/kernel.img -- -- - name: Tar build -- run: tar -cvf bcmrpi_build.tar -C ${{github.workspace}}/install . -- -- - name: Upload results -- uses: actions/upload-artifact@v3 -- with: -- name: bcmrpi_build -- path: bcmrpi_build.tar -- retention-days: 7 -- -- build-bcm2709: -- -+ build: - runs-on: ubuntu-latest -+ strategy: -+ matrix: -+ include: -+ - name: bcm2835 -+ arch: arm -+ defconfig: bcm2835_defconfig -+ kernel: kernel - -- steps: -- - name: Update install -- run: -- sudo apt-get update -- -- - name: Install toolchain -- run: -- sudo apt-get install gcc-arm-linux-gnueabihf -- timeout-minutes: 5 -- -- - uses: actions/checkout@v3 -- with: -- fetch-depth: 1 -- clean: true -+ - name: arm64 -+ arch: arm64 -+ defconfig: defconfig -+ kernel: kernel8 - -- - name: Build kernel -- run: | -- mkdir ${{github.workspace}}/build -- make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcm2709_defconfig -- scripts/config --file ${{github.workspace}}/build/.config --set-val CONFIG_WERROR y -- make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} zImage modules dtbs -- mkdir -p ${{github.workspace}}/install/boot/overlays -- make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -- cp ${{github.workspace}}/build/arch/arm/boot/dts/*.dtb ${{github.workspace}}/install/boot/ -- cp ${{github.workspace}}/build/arch/arm/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/overlays/ -- cp ${{github.workspace}}/arch/arm/boot/dts/overlays/README ${{github.workspace}}/install/boot/overlays/ -- cp ${{github.workspace}}/build/arch/arm/boot/zImage ${{github.workspace}}/install/boot/kernel7.img -+ - name: bcmrpi -+ arch: arm -+ defconfig: bcmrpi_defconfig -+ kernel: kernel - -- - name: Tar build -- run: tar -cvf bcm2709_build.tar -C ${{github.workspace}}/install . -+ - name: bcm2709 -+ arch: arm -+ defconfig: bcm2709_defconfig -+ kernel: kernel7 - -- - name: Upload results -- uses: actions/upload-artifact@v3 -- with: -- name: bcm2709_build -- path: bcm2709_build.tar -- retention-days: 7 -- -- build-bcm2711: -+ - name: bcm2711 -+ arch: arm -+ defconfig: bcm2711_defconfig -+ kernel: kernel7l - -- runs-on: ubuntu-latest -+ - name: bcm2711_arm64 -+ arch: arm64 -+ defconfig: bcm2711_defconfig -+ kernel: kernel8 - - steps: - - name: Update install -@@ -194,59 +57,11 @@ jobs: - - - name: Install toolchain - run: -- sudo apt-get install gcc-arm-linux-gnueabihf -- timeout-minutes: 5 -- -- - uses: actions/checkout@v3 -- with: -- fetch-depth: 1 -- clean: true -- -- - name: Build kernel -- run: | -- mkdir ${{github.workspace}}/build -- make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build bcm2711_defconfig -- scripts/config --file ${{github.workspace}}/build/.config --set-val CONFIG_WERROR y -- make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} zImage modules dtbs -- mkdir -p ${{github.workspace}}/install/boot/overlays -- make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -- cp ${{github.workspace}}/build/arch/arm/boot/dts/*.dtb ${{github.workspace}}/install/boot/ -- cp ${{github.workspace}}/build/arch/arm/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/overlays/ -- cp ${{github.workspace}}/arch/arm/boot/dts/overlays/README ${{github.workspace}}/install/boot/overlays/ -- cp ${{github.workspace}}/build/arch/arm/boot/zImage ${{github.workspace}}/install/boot/kernel7l.img -- -- - name: Tar build -- run: tar -cvf bcm2711_build.tar -C ${{github.workspace}}/install . -- -- - name: Upload results -- uses: actions/upload-artifact@v3 -- with: -- name: bcm2711_build -- path: bcm2711_build.tar -- retention-days: 7 -- -- build-bcm2711-arm64: -- -- runs-on: ubuntu-latest -- -- steps: -- - name: Update install -- run: -- sudo apt-get update -- -- - name: Install toolchain -- run: -- sudo apt-get install gcc-arm-linux-gnueabihf -- timeout-minutes: 5 -- -- - uses: actions/checkout@v3 -- with: -- fetch-depth: 1 -- clean: true -- -- - name: Install toolchain -- run: -- sudo apt-get install gcc-aarch64-linux-gnu -+ if [[ "${{matrix.arch}}" == "arm64" ]]; then -+ sudo apt-get install gcc-aarch64-linux-gnu; -+ else -+ sudo apt-get install gcc-arm-linux-gnueabihf; -+ fi - timeout-minutes: 5 - - - uses: actions/checkout@v3 -@@ -254,25 +69,35 @@ jobs: - fetch-depth: 1 - clean: true - -- - name: Build kernel -+ - name: Build kernel ${{matrix.name}} - run: | - mkdir ${{github.workspace}}/build -- make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build bcm2711_defconfig -+ export ARCH=${{matrix.arch}} -+ if [[ "$ARCH" == "arm64" ]]; then -+ export CROSS_COMPILE=aarch64-linux-gnu- -+ export DTS_SUBDIR=broadcom -+ export IMAGE=Image.gz -+ else -+ export CROSS_COMPILE=arm-linux-gnueabihf- -+ export DTS_SUBDIR= -+ export IMAGE=zImage -+ fi -+ make O=${{github.workspace}}/build ${{matrix.defconfig}} - scripts/config --file ${{github.workspace}}/build/.config --set-val CONFIG_WERROR y -- make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} Image.gz modules dtbs -+ make O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} $IMAGE modules dtbs - mkdir -p ${{github.workspace}}/install/boot/overlays -- make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -- cp ${{github.workspace}}/build/arch/arm64/boot/dts/broadcom/*.dtb ${{github.workspace}}/install/boot/ -- cp ${{github.workspace}}/build/arch/arm64/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/overlays/ -- cp ${{github.workspace}}/arch/arm64/boot/dts/overlays/README ${{github.workspace}}/install/boot/overlays/ -- cp ${{github.workspace}}/build/arch/arm64/boot/Image.gz ${{github.workspace}}/install/boot/kernel8.img -+ make O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install -+ cp ${{github.workspace}}/build/arch/${ARCH}/boot/dts/${DTS_SUBDIR}/*.dtb ${{github.workspace}}/install/boot/ -+ cp ${{github.workspace}}/build/arch/${ARCH}/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/overlays/ -+ cp ${{github.workspace}}/arch/${ARCH}/boot/dts/overlays/README ${{github.workspace}}/install/boot/overlays/ -+ cp ${{github.workspace}}/build/arch/${ARCH}/boot/$IMAGE ${{github.workspace}}/install/boot/${{matrix.kernel}}.img - - - name: Tar build -- run: tar -cvf bcm2711_arm64_build.tar -C ${{github.workspace}}/install . -+ run: tar -cvf ${{matrix.name}}_build.tar -C ${{github.workspace}}/install . - - - name: Upload results - uses: actions/upload-artifact@v3 - with: -- name: bcm2711_arm64_build -- path: bcm2711_arm64_build.tar -+ name: ${{matrix.name}}_build -+ path: ${{matrix.name}}_build.tar - retention-days: 7 diff --git a/target/linux/bcm27xx/patches-6.1/950-0555-README.md-Replace-6.0-build-status-with-6.2.patch b/target/linux/bcm27xx/patches-6.1/950-0555-README.md-Replace-6.0-build-status-with-6.2.patch deleted file mode 100644 index 889ae948a8..0000000000 --- a/target/linux/bcm27xx/patches-6.1/950-0555-README.md-Replace-6.0-build-status-with-6.2.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 1cc246c143210efe249978419b094b03bf2137e0 Mon Sep 17 00:00:00 2001 -From: Phil Elwell <8911409+pelwell@users.noreply.github.com> -Date: Wed, 25 Jan 2023 10:19:52 +0000 -Subject: [PATCH] README.md: Replace 6.0 build status with 6.2 - -6.0 is EOL and 6.2 is heading towards release, so update the build status display accordingly. ---- - README.md | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - ---- a/README.md -+++ b/README.md -@@ -21,10 +21,10 @@ Build status for rpi-5.15.y: - [![Pi kernel build tests](https://github.com/raspberrypi/linux/actions/workflows/kernel-build.yml/badge.svg?branch=rpi-5.15.y)](https://github.com/raspberrypi/linux/actions/workflows/kernel-build.yml) - [![dtoverlaycheck](https://github.com/raspberrypi/linux/actions/workflows/dtoverlaycheck.yml/badge.svg?branch=rpi-5.15.y)](https://github.com/raspberrypi/linux/actions/workflows/dtoverlaycheck.yml) - --Build status for rpi-6.0.y: --[![Pi kernel build tests](https://github.com/raspberrypi/linux/actions/workflows/kernel-build.yml/badge.svg?branch=rpi-6.0.y)](https://github.com/raspberrypi/linux/actions/workflows/kernel-build.yml) --[![dtoverlaycheck](https://github.com/raspberrypi/linux/actions/workflows/dtoverlaycheck.yml/badge.svg?branch=rpi-6.0.y)](https://github.com/raspberrypi/linux/actions/workflows/dtoverlaycheck.yml) -- - Build status for rpi-6.1.y: - [![Pi kernel build tests](https://github.com/raspberrypi/linux/actions/workflows/kernel-build.yml/badge.svg?branch=rpi-6.1.y)](https://github.com/raspberrypi/linux/actions/workflows/kernel-build.yml) - [![dtoverlaycheck](https://github.com/raspberrypi/linux/actions/workflows/dtoverlaycheck.yml/badge.svg?branch=rpi-6.1.y)](https://github.com/raspberrypi/linux/actions/workflows/dtoverlaycheck.yml) -+ -+Build status for rpi-6.2.y: -+[![Pi kernel build tests](https://github.com/raspberrypi/linux/actions/workflows/kernel-build.yml/badge.svg?branch=rpi-6.2.y)](https://github.com/raspberrypi/linux/actions/workflows/kernel-build.yml) -+[![dtoverlaycheck](https://github.com/raspberrypi/linux/actions/workflows/dtoverlaycheck.yml/badge.svg?branch=rpi-6.2.y)](https://github.com/raspberrypi/linux/actions/workflows/dtoverlaycheck.yml) diff --git a/target/linux/bcm27xx/patches-6.1/950-0556-.github-workflows-Retain-artifacts-for-90-days.patch b/target/linux/bcm27xx/patches-6.1/950-0556-.github-workflows-Retain-artifacts-for-90-days.patch deleted file mode 100644 index abc61e8b68..0000000000 --- a/target/linux/bcm27xx/patches-6.1/950-0556-.github-workflows-Retain-artifacts-for-90-days.patch +++ /dev/null @@ -1,18 +0,0 @@ -From 05a9a53de8785c82332081a5f44cc34dc9fa5f0c Mon Sep 17 00:00:00 2001 -From: Phil Elwell -Date: Wed, 25 Jan 2023 15:01:43 +0000 -Subject: [PATCH] .github/workflows: Retain artifacts for 90 days - -Signed-off-by: Phil Elwell ---- - .github/workflows/kernel-build.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/.github/workflows/kernel-build.yml -+++ b/.github/workflows/kernel-build.yml -@@ -100,4 +100,4 @@ jobs: - with: - name: ${{matrix.name}}_build - path: ${{matrix.name}}_build.tar -- retention-days: 7 -+ retention-days: 90 diff --git a/target/linux/bcm27xx/patches-6.1/950-0583-workflows-We-all-love-checkpatch-so-add-it-to-the-CI.patch b/target/linux/bcm27xx/patches-6.1/950-0583-workflows-We-all-love-checkpatch-so-add-it-to-the-CI.patch deleted file mode 100644 index 109ae27c40..0000000000 --- a/target/linux/bcm27xx/patches-6.1/950-0583-workflows-We-all-love-checkpatch-so-add-it-to-the-CI.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 6c110195b1f9b4e39676065d5973ecf603746862 Mon Sep 17 00:00:00 2001 -From: Dave Stevenson -Date: Wed, 8 Mar 2023 15:28:19 +0000 -Subject: [PATCH] workflows: We all love checkpatch, so add it to the - CI workflows - -This is currently running on defaults, so the --strict desired -for media drivers and similar won't be observed. That may be -possible to add later. - -Signed-off-by: Dave Stevenson ---- - .github/workflows/checkpatch.yml | 18 ++++++++++++++++++ - .github/workflows/ci_checkpatch.conf | 4 ++++ - 2 files changed, 22 insertions(+) - create mode 100644 .github/workflows/checkpatch.yml - create mode 100644 .github/workflows/ci_checkpatch.conf - ---- /dev/null -+++ b/.github/workflows/checkpatch.yml -@@ -0,0 +1,18 @@ -+name: Advisory checkpatch review -+on: [pull_request] -+ -+jobs: -+ review: -+ name: checkpatch review -+ runs-on: ubuntu-latest -+ steps: -+ - name: 'Calculate PR commits + 1' -+ run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> $GITHUB_ENV -+ - uses: actions/checkout@v3 -+ with: -+ ref: ${{ github.event.pull_request.head.sha }} -+ fetch-depth: ${{ env.PR_FETCH_DEPTH }} -+ - name: Copy checkpatch.conf -+ run: cp ${{github.workspace}}/.github/workflows/ci_checkpatch.conf ${{github.workspace}}/.checkpatch.conf -+ - name: Run checkpatch review -+ uses: webispy/checkpatch-action@v9 ---- /dev/null -+++ b/.github/workflows/ci_checkpatch.conf -@@ -0,0 +1,4 @@ -+--no-tree -+--ignore FILE_PATH_CHANGES -+--ignore GIT_COMMIT_ID -+--ignore SPDX_LICENSE_TAG