I would like to check whether Linux kernel programs and data fit not only on Flash in WP7605 module, but on RAM in the module.
I am afraid that big bss(block started by symbol) data causes RAM shortage.
To check the former(fit on Flash), I have to check according to section 220.127.116.11(Flash Memory) in “Product Technical Specification”(4119652, Rev 12).
However, To check the latter(fit on RAM), I have no idea what to do.
Could you tell me how to check whether Linux kernel programs and data fit on RAM in WP7605 module?
not sure if “top” or “ps aux” command can help you
ps aux help me.
However, I would rather check below:
- memory map of WP7605
- definitions or manuals for memory allocation of RAM
How can I obtain these?
In this reply,
memory map means the list which shows the address I should access to read from or write to RAM, GPIO etc. For example:
memory allocation of RAM means the information for the Linux kernel program, the kernel data, the DMA buffer etc. using area in RAM. I think I can define memory allocation of some SoCs or processors by Device Tree.
I have found some files for Device Tree, but do not know which files are for WP7605.
What I am afraid:
When I update Linux kernel, the bss data of kernel (not process or user application) uses too much RAM area, which causes error and halts WP7605 before I can connect WP7605 from console and can execute commands
how about checking “cat /proc/iomem”?