Skip to content

Conversation

@extinguish
Copy link

Summary

Since the directory structure of the examples/elf project has been reorganized, the corresponding ROMFS_IMAGEFILE path also needs to be adjusted.
this pull request is depends on: apache/nuttx-apps#3224

Impact

has no impact on non-elf operations

Testing

has passed the ostest

Since the directory structure of the examples/elf project
has been reorganized, the corresponding ROMFS_IMAGEFILE path
also needs to be adjusted.

Signed-off-by: guoshichao <[email protected]>
Copy link
Contributor

@linguini1 linguini1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's a testing concern that this would break ostest. Can you just include some test logs from the H743ZI board that you can still access the ROMFS image after boot?

@linguini1
Copy link
Contributor

I guess the CI is failing because of the dependency on the nuttx-apps PR?

Copy link
Contributor

@cederom cederom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @extinguish, please fix the CI build problem, looks like similar problem in apache/nuttx-apps#3224 ?

====================================================================================
Configuration/Tool: nucleo-h743zi/elf,CONFIG_ARM_TOOLCHAIN_CLANG
2025-11-28 13:05:33
------------------------------------------------------------------------------------
  Cleaning...
  Configuring...
  Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
  Enabling CONFIG_ARM_TOOLCHAIN_CLANG
  Building NuttX...
Error: <inline asm>:5:12: error: Could not find incbin file '../../apps/examples/elf/main/elf_romfs.img'
    5 |    .incbin "../../apps/examples/elf/main/elf_romfs.img"
      |            ^
1 error generated.
make[2]: *** [/github/workspace/sources/nuttx/boards/Board.mk:83: stm32_romfs_initialize.o] Error 1
make[2]: Target 'libboard.a' not remade because of errors.
make[1]: *** [Makefile:187: board/libboard.a] Error 2
make[1]: Target 'nuttx' not remade because of errors.
make: *** [tools/Unix.mk:552: nuttx] Error 2
make: Target 'all' not remade because of errors.
/github/workspace/sources/nuttx/tools/testbuild.sh: line 385: /github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory
  [1/1] Normalize nucleo-h743zi/elf
HEAD detached at pull/17397/merge
Untracked files:
  (use "git add <file>..." to include in what will be committed)
	boards/arm/stm32h7/nucleo-h743zi/scripts/flash.ld.tmp

nothing added to commit but untracked files present (use "git add" to track)

@cederom
Copy link
Contributor

cederom commented Nov 28, 2025

I guess the CI is failing because of the dependency on the nuttx-apps PR?

Nope, part in nuttx-apps fails too, something needs a fix, or there is a circular dependency that should not be here :-)

CONFIG_STM32H7_USART3=y
CONFIG_STM32_ROMFS=y
CONFIG_STM32_ROMFS_IMAGEFILE="../../apps/examples/elf/tests/romfs.img"
CONFIG_STM32_ROMFS_IMAGEFILE="../../apps/examples/elf/main/elf_romfs.img"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: if the user is using "nuttx-apps" instead of "apps" this link will not work. I think we need to find a way to fix it. Not a blocking for this PR, but I suggest we discuss about possible solutions to it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch @acassis ! this path must not be hardcoded! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Board: arm Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants