Hi Nkem, > Hi all, > > I'm trying to add an odroid-c2 ethdriver implementation and I'm quite > confused bout an error im getting. > > ERROR:CAmkES:CPP failed: > /home/nkem/learningHydra/projects/global- > components/components/Ethdriver/Ethdriver.camkes:13:10: > fatal error: plat/eth_devices.h: No such file or directory > ERROR:CAmkES: #include <plat/eth_devices.h> > ERROR:CAmkES: ^~~~~~~~~~~~~~~~~~~~ > ERROR:CAmkES:compilation terminated. > ERROR:CAmkES: > CMake Error at > /home/nkem/learningHydra/projects/camkes-tool/camkes.cmake:545 (message): > Failed to generate /home/nkem/learningHydra/build/ast.pickle > Call Stack (most recent call first): > > It suggests I'm missing the eth_devices header for the odroid-c2 platform > but I think I have added all the necessary files in the correct folders. Is > there any way to know exactly what files I need or where to look to debug > this issue.
For this issue, you need to have the corresponding 'eth_devices.h' header file for the odroid-c2 in the 'plat' folder inside 'global-components/components/Ethdriver/include'. That file describes the necessary devices and configurations needed for the Ethernet device on the odroid-c2. You can take a look at the other platforms for reference. As for the files you need, you generally need to fulfill the following: - Have a working Ethernet driver for the odroid-c2 in libethdrivers inside the util_libs repository. - Have any other drivers that the Ethernet drivers need in the respective places in libplatsupport inside the util_libs repository. - Have the 'eth_devices.h' header file filled out for the odroid-c2 platform. Regards, Damon _______________________________________________ Devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
