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

tools/litex_json2dts_linux.py: adding ip= bootarg when localip and remoteip are provided #1895

Merged

Conversation

trabucayre
Copy link
Collaborator

Configuring network interface may be done by three different ways:

  1. using ifconfig to configure interface and route for gateway
  2. updating */etc/network/interfaces with all required informations
  3. using ip= bootargs (requires to have a kernel configured with CONFIG_IP_PNP=y

First option needs a user's manual intervention and must be done for each boot. Second is hardcoded and this file must be updated when user change ip configuration.

Last option is more easy since, when ethernet is enabled, json contains all required informations to fill the ip= bootargs.

…moteip are provided

Signed-off-by: Gwenhael Goavec-Merou <[email protected]>
@enjoy-digital
Copy link
Owner

Thanks @trabucayre!

@enjoy-digital enjoy-digital merged commit dc229f8 into enjoy-digital:master Feb 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants