AR# 69119

|

2016.4/2017.1 PetaLinux: Static IP assignment in PetaLinux menu configuration "Subsystem Auto Hardware Settings" not working

Description

In PetaLinux 2016.4/2017.1, Static IP assignment in the PetaLinux menu configuration "Subsystem Auto Hardware Settings" does not work on all Zynq devices.

Solution

To work around this issue, follow the steps below:

1) Create a directory using the following command:

$ mkdir -p <plnx-proj-root>/project-spec/meta-user/recipes-core/init-ifupdown/init-ifupdown

2) Copy your custom interface file (a sample interface file is attached):

$ cp <custom_interface_file> <plnx-proj-root>/project-spec/meta-user/recipes-core/init-ifupdown/init-ifupdown/interfaces

3) Create a bbappend file:

$ vim <plnx-proj-root>/project-spec/meta-user/recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend

4) Add the following content to the init-ifupdown_1.0.bbappend file.

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

5) Add the following content to the file <plnx-proj-root>/project-spec/meta-user/conf/petalinuxbsp.conf

SIGGEN_UNLOCKED_RECIPES += "init-ifupdown"

6) Rebuild init-ifupdown recipe.

$ petalinux-build -c init-ifupdown

7) Add the package to rootfs.

$ petalinux-build

Attachments

Associated Attachments

Name File Size File Type
interfaces 146 Bytes NA
AR# 69119
Date 09/04/2017
Status Active
Type General Article
Devices
Tools
People Also Viewed