Skip to content

Ensure NanoPC‑T6 reset button remains active after kernel start - #4

Draft
edtubbs with Copilot wants to merge 2 commits into
copilot/fix-reset-button-functionalityfrom
copilot/fix-reset-button-issue
Draft

Ensure NanoPC‑T6 reset button remains active after kernel start#4
edtubbs with Copilot wants to merge 2 commits into
copilot/fix-reset-button-functionalityfrom
copilot/fix-reset-button-issue

Conversation

Copilot AI commented Feb 12, 2026

Copy link
Copy Markdown

The NanoPC‑T6 reset button works in U‑Boot but stops once the kernel takes over, indicating the runtime kernel is missing the PMIC reset-mode device tree patch. This change ensures the reset-mode patch is applied to the custom kernel actually used at runtime.

  • Kernel patch application
    • Move the NanoPC‑T6 DTS reset-mode patch into the custom kernel override so it’s applied consistently with the selected kernel package.

Example change:

customKernel = baseKernel.kernel.override {
  structuredExtraConfig = with lib.kernel; {
    MFD_RK8XX_SPI = yes;
    PINCTRL_RK805 = yes;
    INPUT_RK805_PWRKEY = yes;
  };
  kernelPatches = [
    {
      name = "rk3588-nanopc-t6.dtsi.patch";
      patch = ./rk3588-nanopc-t6.dtsi.patch;
    }
  ];
};

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: edtubbs <84785904+edtubbs@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix reset button functionality in kernel Ensure NanoPC‑T6 reset button remains active after kernel start Feb 12, 2026
Copilot AI requested a review from edtubbs February 12, 2026 20:19
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.

2 participants