forked from dan/liminix
1
0
Fork 0

added hardware.ram.startAddress config

it's not 0 on arm32, so this will be useful for qemu
This commit is contained in:
Daniel Barlow 2023-11-05 15:11:58 +00:00
parent 629624bb25
commit 863045b86b
2 changed files with 7 additions and 0 deletions

View File

@ -10,6 +10,7 @@
OF = "y"; OF = "y";
USE_OF = "y"; USE_OF = "y";
}; };
hardware.ram.startAddress = 0;
boot.commandLine = [ boot.commandLine = [
"console=ttyS0,115200" # true of all mips we've yet encountered "console=ttyS0,115200" # true of all mips we've yet encountered
]; ];

View File

@ -29,6 +29,12 @@ in {
description = "\"Default\" output: what gets built for this device when outputs.default is requested. Typically this is \"flashimage\" or \"vmroot\""; description = "\"Default\" output: what gets built for this device when outputs.default is requested. Typically this is \"flashimage\" or \"vmroot\"";
type = types.nonEmptyStr; type = types.nonEmptyStr;
}; };
ram = {
startAddress = mkOption {
type = types.int;
};
};
flash = { flash = {
# start address and size of whichever partition (often # start address and size of whichever partition (often
# called "firmware") we're going to overwrite with our # called "firmware") we're going to overwrite with our