Hi,

I am trying to run the hello world example in
/apps/examples/elf/tests/hello in the simulator. I cleared the existing
configuration using make distclean and then regenerated the .config file
for sim:nsh configuration. I have added the following lines to the end of
the .config file:

  CONFIG_LIBC_ARCH_ELF=y
  CONFIG_ELF=y
  CONFIG_EXAMPLES_ELF=y
  CONFIG_EXAMPLES_ELF_ROMFS=y
  CONFIG_EXAMPLES_ELF_DEVPATH="/dev/ram6"
  CONFIG_EXAMPLES_ELF_DEVMINOR=6
  CONFIG_ELF_SYMBOL_CACHECOUNT=256
  CONFIG_ELF_RELOCATION_BUFFERCOUNT=256
  CONFIG_LIBC_ARCH_ELF_64BIT=y

When I run the simulator after a make I get the following error:
nsh: init: fopen failed: 2

Could you please let me know if I am missing more configuration settings?

Thanks,
Tanushree

Reply via email to