we were oom'ing on swap, so move some more things into rram

This commit is contained in:
bunnie 2024-06-15 17:37:22 +08:00
parent 831cad011e
commit 7943e08c44

View file

@ -489,11 +489,18 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
Some("cramium-fpga") | Some("cramium-soc") => {
// placement in flash is a tension between dev convenience and RAM usage. Things in flash
// are resident, non-swapable, but end up making the slow kernel burn process take longer.
let cramium_flash_pkgs =
["xous-ticktimer", "xous-log", "cram-hal-service", "xous-names", "graphics-server"].to_vec();
let cramium_swap_pkgs =
["gam", "modals", "ime-plugin-shell", "ime-frontend", "cram-console", "usb-device-xous"]
.to_vec();
let cramium_flash_pkgs = [
"xous-ticktimer",
"xous-log",
"cram-hal-service",
"xous-names",
"graphics-server",
"gam",
"ime-plugin-shell",
"ime-frontend",
]
.to_vec();
let cramium_swap_pkgs = ["modals", "cram-console", "usb-device-xous"].to_vec();
// minimal config for USB debugging
// let cramium_swap_pkgs = ["usb-device-xous"].to_vec(); // , "cram-console"
if !builder.is_swap_set() {