Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions .github/workflows/build-kernel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Build Linux Kernel (siklu_arm64_defconfig)

on:
workflow_dispatch:
push:
branches:
- tg-v6.18
pull_request:
branches:
- tg-v6.18

jobs:
build:
runs-on: ubuntu-latest
env:
ARCH: arm64
CROSS_COMPILE: aarch64-linux-gnu-
steps:
- name: Log runner CPU info
run: |
echo "CPU core count: $(nproc)"
echo "Processor info:"
lscpu

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential bc flex bison libssl-dev libncurses-dev crossbuild-essential-arm64 gcc-aarch64-linux-gnu g++-aarch64-linux-gnu

- name: Checkout repository
uses: actions/checkout@v4

- name: Configure kernel (siklu_arm64_defconfig )
run: make ARCH=arm64 siklu_arm64_defconfig

- name: Cache build dependencies and kernel outputs
uses: actions/cache@v4
with:
# --- Optimized Cache Path: Targeting ALL generated, costly artifacts ---
path: |
.config
vmlinux
arch/arm64/boot/Image
Module.symvers
modules.order
vmlinux.o
**/*.ko
**/*.o
**/*.cmd
**/*.d
**/*.lds
**/*.s
**/*.dtb
include/generated/utsrelease.h
include/generated/compile.h

# --- Integrity Cache Key: Ensures cache is reused only if core inputs are identical ---
key: ${{ runner.os }}-kernel-${{ hashFiles('.config', 'arch/arm64/Makefile') }}
restore-keys: |
${{ runner.os }}-kernel-

- name: Build kernel with arm64 architecture
run: make -j$(nproc)

- name: Archive kernel image
uses: actions/upload-artifact@v4
with:
name: kernel-image
path: arch/arm64/boot/Image
2 changes: 0 additions & 2 deletions arch/arm64/boot/dts/marvell/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ dtb-$(CONFIG_ARCH_MVEBU) += armada-8040-db.dtb
dtb-$(CONFIG_ARCH_MVEBU) += armada-8040-mcbin.dtb
dtb-$(CONFIG_ARCH_MVEBU) += armada-8040-mcbin-singleshot.dtb
dtb-$(CONFIG_ARCH_MVEBU) += armada-8040-puzzle-m801.dtb
dtb-$(CONFIG_ARCH_MVEBU) += armada-8040-n366.dtb

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we remove these entries, how will the DTBs compile when built from devices?

Copy link
Author

@himanshus2025 himanshus2025 Dec 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

devices(yocto) does it separately , I had discussion with @shmuelhazan & @astrunin on this concern. .#61

dtb-$(CONFIG_ARCH_MVEBU) += falcon.dtbo
dtb-$(CONFIG_ARCH_MVEBU) += armada-8080-db.dtb
dtb-$(CONFIG_ARCH_MVEBU) += cn9130-db.dtb
dtb-$(CONFIG_ARCH_MVEBU) += cn9130-db-B.dtb
Expand Down
1 change: 0 additions & 1 deletion arch/arm64/boot/dts/qcom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp468.dtb
dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp474.dtb
dtb-$(CONFIG_ARCH_QCOM) += ipq5424-rdp466.dtb
dtb-$(CONFIG_ARCH_QCOM) += ipq6018-cp01-c1.dtb
dtb-$(CONFIG_ARCH_QCOM) += ipq6018-siklu-ctu-100.dtb
dtb-$(CONFIG_ARCH_QCOM) += ipq8074-hk01.dtb
dtb-$(CONFIG_ARCH_QCOM) += ipq8074-hk10-c1.dtb
dtb-$(CONFIG_ARCH_QCOM) += ipq8074-hk10-c2.dtb
Expand Down
Loading