You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/09/27 03:12:22 UTC

[incubator-nuttx] branch master updated: stm32f746g-disco, stm32f769i-disco: "ifconfig: Could not open /proc/net (is procfs mounted?): 20": In case of "netnsh" configuration network adapter did not work and ifconfig reported the error.

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

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


The following commit(s) were added to refs/heads/master by this push:
     new ea42f84  stm32f746g-disco, stm32f769i-disco: "ifconfig: Could not open /proc/net (is procfs mounted?): 20": In case of "netnsh" configuration network adapter did not work and ifconfig reported the error.
ea42f84 is described below

commit ea42f84d9a30983933844f593a34d9a71f9493bf
Author: Alexander Lunev <al...@mail.ru>
AuthorDate: Sun Sep 26 20:42:34 2021 +0300

    stm32f746g-disco, stm32f769i-disco: "ifconfig: Could not open /proc/net (is procfs mounted?): 20":
    In case of "netnsh" configuration network adapter did not work and ifconfig reported the error.
---
 boards/arm/stm32f7/stm32f746g-disco/configs/netnsh/defconfig | 1 +
 boards/arm/stm32f7/stm32f769i-disco/configs/netnsh/defconfig | 1 +
 2 files changed, 2 insertions(+)

diff --git a/boards/arm/stm32f7/stm32f746g-disco/configs/netnsh/defconfig b/boards/arm/stm32f7/stm32f746g-disco/configs/netnsh/defconfig
index 310e275..302f71b 100644
--- a/boards/arm/stm32f7/stm32f746g-disco/configs/netnsh/defconfig
+++ b/boards/arm/stm32f7/stm32f746g-disco/configs/netnsh/defconfig
@@ -18,6 +18,7 @@ CONFIG_ARMV7M_DCACHE=y
 CONFIG_ARMV7M_DCACHE_WRITETHROUGH=y
 CONFIG_ARMV7M_DTCM=y
 CONFIG_ARMV7M_ICACHE=y
+CONFIG_BOARD_LATE_INITIALIZE=y
 CONFIG_BOARD_LOOPSPERMSEC=43103
 CONFIG_BUILTIN=y
 CONFIG_DEBUG_SYMBOLS=y
diff --git a/boards/arm/stm32f7/stm32f769i-disco/configs/netnsh/defconfig b/boards/arm/stm32f7/stm32f769i-disco/configs/netnsh/defconfig
index d9f269a..4a71193 100644
--- a/boards/arm/stm32f7/stm32f769i-disco/configs/netnsh/defconfig
+++ b/boards/arm/stm32f7/stm32f769i-disco/configs/netnsh/defconfig
@@ -19,6 +19,7 @@ CONFIG_ARMV7M_DCACHE_WRITETHROUGH=y
 CONFIG_ARMV7M_DTCM=y
 CONFIG_ARMV7M_ICACHE=y
 CONFIG_ARMV7M_LAZYFPU=y
+CONFIG_BOARD_LATE_INITIALIZE=y
 CONFIG_BOARD_LOOPSPERMSEC=43103
 CONFIG_BUILTIN=y
 CONFIG_ETH0_PHY_LAN8742A=y