Ethernet Bringup on Xilinx zc702 board
Moritz.Ulmer at dlr.de
Moritz.Ulmer at dlr.de
Mon Sep 18 08:10:53 UTC 2017
Hi Sebastian,
I'd like to lift the mystery. First of all, thanks for your pointer to check out cgem_attach(). This worked with the Zedboard but I always landed in the idle-loop on the GigaZee board. The cause for this was that there were no cgem related symbols in the executable generated from our custom BSP for the GigaZee. After further searching, it turned out to be our renamed include guard. The code that includes the network interface checks if the include guard for the zedboard bsp is set. Since we modified it, which in general makes sense, it was not included despite being available in the libbsd library. 4 chars silently broke the network stack.
TLDR: Renamed the BSP include guard and broke the networking stack
Wish you a productive upcoming week!
Moritz Ulmer
________________________________________
From: Sebastian Huber [sebastian.huber at embedded-brains.de]
Sent: Friday, September 15, 2017 10:10
To: Ulmer, Moritz Christian; users at rtems.org
Cc: Chris Johns
Subject: Re: Ethernet Bringup on Xilinx zc702 board
Hello Moritz,
this BSP doesn't use the FDT. It would make the BSP more flexible if
someone adds FDT support to it. You can use a debugger to figure out why
the cgem_attach() function fails.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the users
mailing list