liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

aarch64.nix (479B)


      1 {
      2   lim,
      3   pkgs,
      4   config,
      5   ...
      6 }:
      7 {
      8   config = {
      9     kernel.config = {
     10       CPU_LITTLE_ENDIAN = "y";
     11       CPU_BIG_ENDIAN = "n";
     12       # CMDLINE_FROM_BOOTLOADER availability is conditional
     13       # on CMDLINE being set to something non-empty
     14       CMDLINE = "\"empty=false\"";
     15       CMDLINE_FROM_BOOTLOADER = "y";
     16 
     17       OF = "y";
     18       # USE_OF = "y";
     19     };
     20     hardware.ram.startAddress = lim.parseInt "0x40000000";
     21     system.outputs.u-boot = pkgs.ubootQemuAarch64;
     22   };
     23 }