Skip to content

Commit

Permalink
nixos/sd-image-armv7l-multiplatform: Port RPi config.txt changes from…
Browse files Browse the repository at this point in the history
… aarch64 image

As was done in commit cd2e740.
  • Loading branch information
dezgeg committed Feb 7, 2018
1 parent 237ae9a commit a008a9c
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -43,11 +43,18 @@ in
sdImage = {
populateBootCommands = let
configTxt = pkgs.writeText "config.txt" ''
# Prevent the firmware from smashing the framebuffer setup done by the mainline kernel
# when attempting to show low-voltage or overtemperature warnings.
avoid_warnings=1
[pi2]
kernel=u-boot-rpi2.bin
[pi3]
kernel=u-boot-rpi3.bin
# U-Boot used to need this to work, regardless of whether UART is actually used or not.
# TODO: check when/if this can be removed.
enable_uart=1
'';
in ''
Expand Down

0 comments on commit a008a9c

Please sign in to comment.