romfs — ROMFS helper utilities
The romfs module provides helper utilities for inspecting the read-only
filesystem (ROMFS) mounted at /rom.
Functions
- romfs.ls_romfs() None
Lists every file present in the ROMFS mounted at
/romand prints diagnostic information about each entry tostdout.For each file, the following information is printed:
addr: The memory address of the file’s data, masked to 28 bits and formatted as an 8-digit hexadecimal value.size: The size of the file in bytes, obtained from the length of amemoryviewof the open file.alignment: The largest power-of-two alignment (checked against128,64,32,16,8,4) that the file’s address satisfies. If the address is not aligned to any of these boundaries,NOT alignedis printed instead.name: The file name within/rom.
This function takes no arguments and returns
None.