kernel builds w/ different memory configurations

24 Jan
2023
24 Jan
'23
9:25 a.m.
I have a target platform w/ 2 pre-defined memory configs. I've created separate .dts files w/ the different memory sizes and then in src/plat/sparrow/config.cmake do: if(KernelDebugBuild) list(APPEND KernelDTSList "tools/dts/sparrow-debug.dts") else() list(APPEND KernelDTSList "tools/dts/sparrow.dts") Overloading KernelDebugBuild is awkward (it seems contrary to it's purpose) and fragile. How is this handled for existing platforms? -Sam

24 Jan
24 Jan
9:37 a.m.
Sam,
You could try using "KernelCustomDTSOverlay", which came in from https://github.com/seL4/seL4/pull/628. Axel
855
Age (days ago)
858
Last active (days ago)
2 comments
2 participants
participants (2)
-
Axel Heider
-
Sam Leffler