Skip to content

Linux: pin upstream v7.3-rc4, build it with amdxdna in-tree, keep it current - #17

Merged
bong-water-water-bong merged 2 commits into
mainfrom
linux-pin
Sep 23, 2026
Merged

bong-water-water-bong merged 2 commits into
mainfrom
linux-pin

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

Pins the kernel that provides the engine's NPU (amdxdna) and GPU (amdgpu) drivers, the same way HRX, XDNA and ZINC are pinned.

  • third_party/linux = upstream torvalds/linux v7.3-rc4 (93f51579), as a gitlink. It's fetched at depth 1 only when you build.
  • config/kernel/strixhalo.config is Strix Halo's current kernel config, copied verbatim (7.2.0-next-20260821-unstable-ogc). That config had amdxdna switched off: the system loaded a separately built amdxdna.ko. strixhalo.fragment builds it in-tree (DRM_ACCEL_AMDXDNA=m) and sets LOCALVERSION=-1bit.
  • scripts/build-kernel.sh <out> builds with LLVM (clang + lld), out of tree, and writes bindeb-pkg packages. It refuses to continue if olddefconfig dropped amdxdna.
  • bump-linux.yml runs daily and moves the pin to the newest upstream tag (release or -rc).
  • docs/kernel.md and a docs/PORTING.md row.

Verified

  • Built on a 256-core box (Ubuntu 24.04, clang 18) from the git.kernel.org v7.3-rc4 tarball. Its embedded commit id was checked to equal 93f51579 before building.
  • linux-image-7.3.0-rc4-1bit contains vmlinuz-7.3.0-rc4-1bit, amdxdna.ko.xz and amdgpu.ko.xz. The final config keeps DRM_ACCEL_AMDXDNA=m.
  • The packages are staged on Strix Halo in ~/kernel-debs/7.3.0-rc4-1bit/. They are not installed. Installing needs a reboot, which stops every NPU/GPU job on the box, so it's a separate, deliberate step (docs/kernel.md).

🤖 Generated with Claude Code

bong-water-water-bong and others added 2 commits September 23, 2026 17:31
…-tree, keep it current

third_party/linux = v7.3-rc4 (93f51579). config/kernel/strixhalo.config is the
config of the kernel Strix Halo ran on 2026-09-23 (7.2.0-next-20260821-ogc),
which had amdxdna switched off; strixhalo.fragment turns on
DRM_ACCEL_AMDXDNA=m (plus DRM_ACCEL, amdgpu, HSA, LOCALVERSION -1bit).
scripts/build-kernel.sh builds Debian packages with LLVM, out of tree, and
refuses if olddefconfig dropped amdxdna. bump-linux.yml follows the newest
upstream tag daily. Installing is deliberate and separate (docs/kernel.md).

Verified: built on a 256-core box from the git.kernel.org v7.3-rc4 tarball
(embedded commit id checked = 93f51579); linux-image-7.3.0-rc4-1bit contains
vmlinuz, amdxdna.ko.xz and amdgpu.ko.xz.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bong-water-water-bong
bong-water-water-bong merged commit d01b486 into main Sep 23, 2026
1 check passed
@bong-water-water-bong
bong-water-water-bong deleted the linux-pin branch September 23, 2026 20:45
bong-water-water-bong added a commit that referenced this pull request Sep 26, 2026
…in llama.cpp-vulkan 4a2c0656) (#149)

* ZAYA1-VL-8B and the Zamba2-VL template fix; serve --mmproj decodes an image in one ubatch

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Pin llama.cpp f30cc43 (ZAYA1-VL, #18) and llama.cpp-vulkan 4a2c0656 (Zamba2-VL template, #17)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* registry: regenerate for llama.cpp f30cc43 and llama.cpp-vulkan 4a2c0656 (Zaya1VLForConditionalGeneration mapped)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: bong-water-water-bong <bong-water-water-bong@1bit.gg>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant