kmem: capDL memory analyzer Script that analyzes the CAmkES-generated capDL spec for memory use. By default the memory footprint of each "component" is displayed. (Shared memory regions are also displayed separately as it's unclear which of multiple components to charge.) The -d option gives each component a breakdown by memory type: - "elf": data loadeed from .text or .data ELF segments, - "bss": zero-initialized memory, - "ipc_buffer": CAmkES-generated per-thread IPC buffers, - "stack": CAmkES-generated thread stacks, - "copyregion": unmapped VSpace regions, and - "mmio": device-backed memory, typically used to access MMIO registers but also used to reach Renode-loaded data like the cpio archive of builtin applications & models (NB: mmio + copyregion sections do not count against memory use as they are allocated from dedicated memory that does not have physical memory backing). By default the last release build will be analyzed (also selected with the -R option). The -D option can be used to select the last debug build. Change-Id: I8ed1d6249fca13e5dfd2a10159e2399463901229
Shodan is a project to build a low-power secure embeded platform for Ambient ML applications. The target platform leverages RISC-V and OpenTitan.
This directory holds scripts used in developing Shodan:
[more scripts will appear here as more of the project is released]
Every file containing source code includes copyright and license information. For dependent / non-Google code these are inherited from the upstream repositories. If there are Google modifications you may find the Google Apache license found below.
Apache header:
Copyright 2022 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.