2025-02-10 21:55:08 +00:00
|
|
|
{
|
|
|
|
lim,
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
2023-09-20 21:53:59 +00:00
|
|
|
{
|
|
|
|
config = {
|
|
|
|
kernel.config = {
|
2025-02-10 21:55:08 +00:00
|
|
|
CPU_LITTLE_ENDIAN = "y";
|
|
|
|
CPU_BIG_ENDIAN = "n";
|
2023-09-20 21:53:59 +00:00
|
|
|
# CMDLINE_FROM_BOOTLOADER availability is conditional
|
|
|
|
# on CMDLINE being set to something non-empty
|
2025-02-10 21:55:08 +00:00
|
|
|
CMDLINE = "\"empty=false\"";
|
2023-09-20 21:53:59 +00:00
|
|
|
CMDLINE_FROM_BOOTLOADER = "y";
|
2023-09-30 20:52:13 +00:00
|
|
|
|
|
|
|
OF = "y";
|
2023-10-01 21:12:41 +00:00
|
|
|
# USE_OF = "y";
|
2023-09-20 21:53:59 +00:00
|
|
|
};
|
2023-11-05 15:18:19 +00:00
|
|
|
hardware.ram.startAddress = lim.parseInt "0x40000000";
|
2023-12-29 17:07:47 +00:00
|
|
|
system.outputs.u-boot = pkgs.ubootQemuAarch64;
|
2023-09-20 21:53:59 +00:00
|
|
|
};
|
|
|
|
}
|