In most board bring-up logic, the procfs is auto-mounted on power up.
Like this from the STM32F4 Discovery:
#ifdef CONFIG_FS_PROCFS
/* Mount the procfs file system */
ret = mount(NULL, STM32_PROCFS_MOUNTPOINT, "procfs", 0, NULL);
if (ret < 0)
{
serr("ERROR: Failed to mount procfs at %s: %d\n",
STM32_PROCFS_MOUNTPOINT, ret);
}
#endif
Unfortunately, you picked a board without that logic in its bringup.
On 9/23/2020 10:06 AM, Nathan Hartman wrote:
On Mon, Sep 21, 2020, at 13:34, Nathan Hartman wrote:
Need to mount procfs for ifconfig to work.
On Wed, Sep 23, 2020 at 10:48 AM Matias N. <mat...@imap.cc> wrote:
It would be really helpful if the "procfs" word appeared in that error. That
error is really cryptic.
Agreed.
I have created issue 1883 [1] and labeled it a "Good First Issue" as a
reminder to fix this.
https://github.com/apache/incubator-nuttx/issues/1883
Nathan