On Mon, Dec 02, 2013 at 03:33:06PM +0100, Tudor Florea wrote: > Do not use fixed MAC address in dts file to avoid duplicate MAC > address in the same LAN segment
Should be updated to 3.10 anyway... -- Denys > Signed-off-by: Tudor Florea <[email protected]> > --- > .../avoid_duplicate_mac_addr.patch | 30 > ++++++++++++++++++++ > recipes-kernel/linux/linux-keystone_3.8.4.bb | 1 + > 2 files changed, 31 insertions(+) > create mode 100644 > recipes-kernel/linux/linux-keystone-3.8.4/avoid_duplicate_mac_addr.patch > > diff --git > a/recipes-kernel/linux/linux-keystone-3.8.4/avoid_duplicate_mac_addr.patch > b/recipes-kernel/linux/linux-keystone-3.8.4/avoid_duplicate_mac_addr.patch > new file mode 100644 > index 0000000..d29b76c > --- /dev/null > +++ b/recipes-kernel/linux/linux-keystone-3.8.4/avoid_duplicate_mac_addr.patch > @@ -0,0 +1,30 @@ > +diff --git a/arch/arm/boot/dts/k2hk-evm.dts b/arch/arm/boot/dts/k2hk-evm.dts > +index 50e7fe6..ae46287 100644 > +--- a/arch/arm/boot/dts/k2hk-evm.dts > ++++ b/arch/arm/boot/dts/k2hk-evm.dts > +@@ -2462,7 +2462,7 @@ > + rx-channel = "netrx1"; > + rx-queue-depth = <128 128 0 0>; > + rx-buffer-size = <1500 4096 0 0>; > + efuse-mac = <0>; > +- local-mac-address = [02 18 31 7e 3e 6f]; > ++ /*local-mac-address = [02 18 31 7e 3e > 6f]; */ > + }; > + }; > + > +@@ -2721,13 +2721,13 @@ > + rx-channel = "xgerx0"; > + rx-queue-depth = <128 0 0 0>; > + rx-buffer-size = <1500 0 0 0>; > +- local-mac-address = [02 18 31 7e 3e > 5e]; /*+++FIXME*/ > ++ /* local-mac-address = [02 18 31 7e 3e > 5e]; */ > + }; > + interface-1 { > + rx-channel = "xgerx1"; > + rx-queue-depth = <128 128 0 0>; > + rx-buffer-size = <1500 4096 0 0>; > +- local-mac-address = [02 18 31 7e 3e > 5f]; /*+++FIXME*/ > ++ /* local-mac-address = [02 18 31 7e 3e > 5f]; */ > + }; > + }; > + > diff --git a/recipes-kernel/linux/linux-keystone_3.8.4.bb > b/recipes-kernel/linux/linux-keystone_3.8.4.bb > index 709ef8f..17c3b1b 100644 > --- a/recipes-kernel/linux/linux-keystone_3.8.4.bb > +++ b/recipes-kernel/linux/linux-keystone_3.8.4.bb > @@ -26,4 +26,5 @@ PR = "${MACHINE_KERNEL_PR}" > SRC_URI = > "git://arago-project.org/git/projects/linux-keystone.git;protocol=git;branch=${BRANCH}\ > file://defconfig\ > > file://libtraceevent-Remove-hard-coded-include-to-usr-local-include-in-Makefile.patch\ > + file://avoid_duplicate_mac_addr.patch\ > " > -- > 1.7.10.4 > > _______________________________________________ > meta-ti mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/meta-ti _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
