describe role of flash config

module-based-network
Daniel Barlow 2023-03-07 22:03:31 +00:00
parent 8611dab602
commit bfbbe00d58
1 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,11 @@ in {
type = types.nonEmptyStr;
};
flash = {
# start address and size of whichever partition (often
# called "firmware") we're going to overwrite with our
# kernel uimage and root fs. Not the entire flash, as
# that often also contains the bootloader, data for
# for wireless devices, etc
address = mkOption { type = types.str; };
size = mkOption { type = types.str; };
};