mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
we were oom'ing on swap, so move some more things into rram
This commit is contained in:
parent
831cad011e
commit
7943e08c44
1 changed files with 12 additions and 5 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue