Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sam_e70_xplained:running samples/net/sockets/civetweb/ failed #28155

Closed
Zhaoningx opened this issue Sep 8, 2020 · 3 comments
Closed

sam_e70_xplained:running samples/net/sockets/civetweb/ failed #28155

Zhaoningx opened this issue Sep 8, 2020 · 3 comments
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug Stale

Comments

@Zhaoningx
Copy link
Collaborator

Describe the bug
running samples/net/sockets/civetweb/, and the result just keep waiting interface until time out.

To Reproduce
Steps to reproduce the behavior:
west build -b sam_e70_xplained samples/net/sockets/civetweb/
west flash
see error

*** Booting Zephyr OS build v2.4.0-rc1-11-g8c3efc7be5fe ***
Hello World! sam_e70_xplained
[00:00:00.000,000] soc: CIDR mismatch: chip = 0xa1020e01 vs HAL = 0xa1020e00
[00:00:00.000,000] eth_sam: MAC: 00:00:00:00:00:00
[00:00:00.000,000] eth_sam: Queue 0 activated
[00:00:00.000,000] eth_sam: Queue 1 set to idle
[00:00:00.000,000] eth_sam: Queue 2 set to idle
[00:00:00.000,000] eth_sam_phy: Soft Reset of ETH PHY
*** Booting Zephyr OS build v2.4.0-rc1-11-g8c3efc7be5fe ***
[00:00:00.090,000] eth_sam_phy: PHYID: 0x221561 at addr: 0
[00:00:00.095,000] net_config: Initializing network
[00:00:00.095,000] net_config: Waiting interface 1 (0x20420a70) to be up...
[IMPLEMENTATION MISSING : sscanf]
[00:01:33.098,000] net_config: Timeout while waiting network interface
[00:01:33.098,000] net_config: Network initialization failed (-62)

Environment (please complete the following information):
OS: Fedora28
Toolchain: Zephyr-sdk-0.11.3
Commit ID: g8c3efc7be5fe

@Zhaoningx Zhaoningx added the bug The issue is a bug, or the PR is fixing a bug label Sep 8, 2020
@MaureenHelm MaureenHelm added the priority: low Low impact/importance bug label Sep 8, 2020
@jukkar
Copy link
Member

jukkar commented Sep 8, 2020

I just flashed some other sample to this board and noticed that the MAC address was all zeros. This caused issues when trying to get IP address. The error I saw was not Network initialization failed so the issue described here might be something else.
Anyway, I needed to set CONFIG_ETH_SAM_GMAC_MAC_I2C_EEPROM=y in order the network interface work properly.

@Zhaoningx
Copy link
Collaborator Author

Hi ,how's it going and what to do next step?

@github-actions
Copy link

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug Stale
Projects
None yet
Development

No branches or pull requests

4 participants