Skip to content

Commit

Permalink
starfive visionfive2: add workaround for starfive-tech/linux#101
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao committed May 17, 2023
1 parent e122959 commit 3734ae1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions starfive/visionfive/v2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
kernelParams =
lib.mkDefault [ "console=tty0" "console=ttyS0,115200n8" "earlycon=sbi" ];

# workaround for https://github.com/starfive-tech/linux/issues/101
# detected buffer overflow in __fortify_strlen
blacklistedKernelModules = [ "clk-starfive-jh7110-vout" ];

initrd.availableKernelModules = [ "dw_mmc_starfive" ];

loader = {
Expand Down

0 comments on commit 3734ae1

Please sign in to comment.