ifconfig eth0 192.168.1.11 netmask 255.255.255.0 up
ifconfig eth1 192.168.1.12 netmask 255.255.255.0 up
To clean the entire build directory, removing all compiled files but keeping your configuration intact, use the following:
petalinux-build -x mrproper
petalinux-build -c device-tree -x cleansstate
petalinux-build -c device-tree
petalinux-build -c kernel -x distclean
petalinux-build -c kernel
/*
/include/ "pl.dtsi"
/ {
fragment@2 {
target = <&amba>;
overlay2: __overlay__ {
xxv_ethernet_10g: ethernet@a0020000 {
local-mac-address = [00 0a 35 00 01 22];
};
xxv_ethernet_10g_1: ethernet@a0030000 {
local-mac-address = [00 0a 35 00 01 23];
};
};
};
};
*/