nixos/sd-image-aarch64.nix: Set avoid_warnings in RPi config.txt

Also add some comments on the existing config settings as well.

+9
+9
nixos/modules/installer/cd-dvd/sd-image-aarch64.nix
··· 42 42 populateBootCommands = let 43 43 configTxt = pkgs.writeText "config.txt" '' 44 44 kernel=u-boot-rpi3.bin 45 + 46 + # Boot in 64-bit mode. 45 47 arm_control=0x200 48 + 49 + # U-Boot used to need this to work, regardless of whether UART is actually used or not. 50 + # TODO: check when/if this can be removed. 46 51 enable_uart=1 52 + 53 + # Prevent the firmware from smashing the framebuffer setup done by the mainline kernel 54 + # when attempting to show low-voltage or overtemperature warnings. 55 + avoid_warnings=1 47 56 ''; 48 57 in '' 49 58 (cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/boot/)