forked from DGNum/liminix
added hardware.ram.startAddress config
it's not 0 on arm32, so this will be useful for qemu
This commit is contained in:
parent
629624bb25
commit
863045b86b
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue