From 03773b872987fb16725f2eba6536cc87f000eb4d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 20 Nov 2014 21:31:22 +0100 Subject: [PATCH] odu: Send a LLDP frame on boot We need to wait some time between activating the ethernet and being able to send the first frame. I have not investigated why that is the case. Fixes: SYS#488 --- .../defaultenv-phycore-am335x/init/lldp | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/init/lldp diff --git a/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/init/lldp b/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/init/lldp new file mode 100644 index 000000000..0f4d31c0c --- /dev/null +++ b/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/init/lldp @@ -0,0 +1,5 @@ +echo "Going to send LLDP probe in 2s" +# Activate the ethernet and wait... 2s has been tried with a Phytec devboard +lldp +sleep 2s +lldp