This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new d159606ffe5 boards/lm3s6965-ek: Exclude six procfs entries from 
qemu-protected.
d159606ffe5 is described below

commit d159606ffe53602147aeda100a2d5571018fb924
Author: Marco Casaroli <[email protected]>
AuthorDate: Mon Nov 16 22:00:13 2026 +0100

    boards/lm3s6965-ek: Exclude six procfs entries from qemu-protected.
    
    The kernel half of the flash (kflash, 128 KiB) of qemu-protected is
    full.  On master the kernel image is 8 bytes too large, and the link
    fails: "region `kflash' overflowed by 8 bytes" (Arm GNU 13.2).
    
    Exclude the small procfs entries that this QEMU configuration does not
    use: cpuinfo, iobinfo, meminfo, tcbinfo, uptime and version.  meminfo
    also takes memdump, which was excluded already, so its line goes.  The
    process entries (/proc/<pid>, for ps) stay.  Then 2936 bytes of kflash
    are free.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 boards/arm/tiva/lm3s6965-ek/configs/qemu-protected/defconfig | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/boards/arm/tiva/lm3s6965-ek/configs/qemu-protected/defconfig 
b/boards/arm/tiva/lm3s6965-ek/configs/qemu-protected/defconfig
index 42fb80a5626..6b9c4213a86 100644
--- a/boards/arm/tiva/lm3s6965-ek/configs/qemu-protected/defconfig
+++ b/boards/arm/tiva/lm3s6965-ek/configs/qemu-protected/defconfig
@@ -33,7 +33,12 @@ CONFIG_EXAMPLES_MODULE_DEVPATH="/dev/ram6"
 CONFIG_EXAMPLES_NETTEST=m
 CONFIG_FS_BINFS=y
 CONFIG_FS_PROCFS=y
-CONFIG_FS_PROCFS_EXCLUDE_MEMDUMP=y
+CONFIG_FS_PROCFS_EXCLUDE_CPUINFO=y
+CONFIG_FS_PROCFS_EXCLUDE_IOBINFO=y
+CONFIG_FS_PROCFS_EXCLUDE_MEMINFO=y
+CONFIG_FS_PROCFS_EXCLUDE_TCBINFO=y
+CONFIG_FS_PROCFS_EXCLUDE_UPTIME=y
+CONFIG_FS_PROCFS_EXCLUDE_VERSION=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_LIBC_DLFCN=y
 CONFIG_LIBC_ELF_RELOCATION_BUFFERCOUNT=64

Reply via email to