From 141e6918279366c5058992290d4822cc0b2f39e9 Mon Sep 17 00:00:00 2001 From: shekar-adv <164714854+shekar-adv@users.noreply.github.com> Date: Wed, 2 Apr 2025 17:54:33 +0800 Subject: [PATCH 1/3] Create build-kernel.yml --- .github/workflow/build-kernel.yml | 51 +++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/workflow/build-kernel.yml diff --git a/.github/workflow/build-kernel.yml b/.github/workflow/build-kernel.yml new file mode 100644 index 0000000000000..392e62e212238 --- /dev/null +++ b/.github/workflow/build-kernel.yml @@ -0,0 +1,51 @@ +name: Build RK3566 Kernel + +on: + push: + branches: + - main + pull_request: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout Kernel Source + uses: actions/checkout@v4 + + - name: Install Dependencies + run: | + sudo apt update + sudo apt install -y build-essential gcc-aarch64-linux-gnu bc bison flex libssl-dev libncurses-dev + + - name: Configure Kernel + run: | + make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- rk356x_defconfig + + - name: Compile Kernel + run: | + make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j$(nproc) + + - name: Upload Kernel Image + uses: actions/upload-artifact@v4 + with: + name: rk3566-kernel + path: arch/arm64/boot/Image.gz + + - name: Create Boot Image + run: | + mkbootimg --kernel arch/arm64/boot/Image.gz \ + --ramdisk ramdisk.img \ + --cmdline "console=ttyFIQ0 root=/dev/mmcblk0p5 rw" \ + --output boot.img + + - name: Upload Boot Image + uses: actions/upload-artifact@v4 + with: + name: boot-image + path: boot.img + From 58ff82b32a136c5f7524a677b48d8aadad6b69f7 Mon Sep 17 00:00:00 2001 From: shekar-adv <164714854+shekar-adv@users.noreply.github.com> Date: Wed, 2 Apr 2025 17:57:17 +0800 Subject: [PATCH 2/3] Create build-kernel.yml --- .github/workflows/build-kernel.yml | 51 ++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/workflows/build-kernel.yml diff --git a/.github/workflows/build-kernel.yml b/.github/workflows/build-kernel.yml new file mode 100644 index 0000000000000..1117e239b346b --- /dev/null +++ b/.github/workflows/build-kernel.yml @@ -0,0 +1,51 @@ +name: Build RK3566 Kernel + +on: + push: + branches: + - main + pull_request: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout Kernel Source + uses: actions/checkout@v4 + + - name: Install Dependencies + run: | + sudo apt update + sudo apt install -y build-essential gcc-aarch64-linux-gnu bc bison flex libssl-dev libncurses-dev + + - name: Configure Kernel + run: | + make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- rk356x_defconfig + + - name: Compile Kernel + run: | + make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j$(nproc) + + - name: Upload Kernel Image + uses: actions/upload-artifact@v4 + with: + name: rk3566-kernel + path: arch/arm64/boot/Image.gz + + - name: Create Boot Image + run: | + mkbootimg --kernel arch/arm64/boot/Image.gz \ + --ramdisk ramdisk.img \ + --cmdline "console=ttyFIQ0 root=/dev/mmcblk0p5 rw" \ + --output boot.img + + - name: Upload Boot Image + uses: actions/upload-artifact@v4 + with: + name: boot-image + path: boot.img + From 1f767e8ab17d1628f9d5700c762ec86ab4c59e59 Mon Sep 17 00:00:00 2001 From: shekar-adv <164714854+shekar-adv@users.noreply.github.com> Date: Wed, 2 Apr 2025 17:59:15 +0800 Subject: [PATCH 3/3] Delete .github/workflow directory --- .github/workflow/build-kernel.yml | 51 ------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 .github/workflow/build-kernel.yml diff --git a/.github/workflow/build-kernel.yml b/.github/workflow/build-kernel.yml deleted file mode 100644 index 392e62e212238..0000000000000 --- a/.github/workflow/build-kernel.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: Build RK3566 Kernel - -on: - push: - branches: - - main - pull_request: - branches: - - main - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout Kernel Source - uses: actions/checkout@v4 - - - name: Install Dependencies - run: | - sudo apt update - sudo apt install -y build-essential gcc-aarch64-linux-gnu bc bison flex libssl-dev libncurses-dev - - - name: Configure Kernel - run: | - make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- rk356x_defconfig - - - name: Compile Kernel - run: | - make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j$(nproc) - - - name: Upload Kernel Image - uses: actions/upload-artifact@v4 - with: - name: rk3566-kernel - path: arch/arm64/boot/Image.gz - - - name: Create Boot Image - run: | - mkbootimg --kernel arch/arm64/boot/Image.gz \ - --ramdisk ramdisk.img \ - --cmdline "console=ttyFIQ0 root=/dev/mmcblk0p5 rw" \ - --output boot.img - - - name: Upload Boot Image - uses: actions/upload-artifact@v4 - with: - name: boot-image - path: boot.img -