{"id":21232598,"url":"https://github.com/jeonghanlee/ccat-env","last_synced_at":"2025-07-10T17:31:13.824Z","repository":{"id":99840857,"uuid":"156771002","full_name":"jeonghanlee/CCAT-env","owner":"jeonghanlee","description":"Configuration environment for Beckhoff CCAT FPGA Kernel mode driver to run EtherCAT Master on CX devices ","archived":false,"fork":false,"pushed_at":"2019-11-28T17:15:11.000Z","size":13,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T15:35:15.979Z","etag":null,"topics":["beckhoff","ccat","dkms","ethercat","kernel-modules"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeonghanlee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-11-08T21:26:08.000Z","updated_at":"2024-10-09T13:25:35.000Z","dependencies_parsed_at":"2023-05-10T15:45:22.387Z","dependency_job_id":null,"html_url":"https://github.com/jeonghanlee/CCAT-env","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jeonghanlee/CCAT-env","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeonghanlee%2FCCAT-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeonghanlee%2FCCAT-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeonghanlee%2FCCAT-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeonghanlee%2FCCAT-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeonghanlee","download_url":"https://codeload.github.com/jeonghanlee/CCAT-env/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeonghanlee%2FCCAT-env/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264618974,"owners_count":23638381,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beckhoff","ccat","dkms","ethercat","kernel-modules"],"created_at":"2024-11-20T23:53:22.866Z","updated_at":"2025-07-10T17:31:13.497Z","avatar_url":"https://github.com/jeonghanlee.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"CCAT-env \n====\n\nConfiguration environment for Beckhoff CCAT FPGA Kernel mode driver [1] to run EtherCAT Master on CX devices \n\nThe following instruction is **invalid** for CentOS7. Please see CentOS7 section below.\n\n## DKMS Setup, Build, and Install Kernel modules\n\n\n```sh\n$ make init\n$ make dkms_add\n$ make dkms_build\n$ make dkms_install\n```\n\nIn order to remove them\n\n```sh\n$ make dkms_uninstall\n$ make dkms_remove\n```\n\n## Kernel modules configuration\n\n* Create and load the autoload configuration in /etc/modules-load.d/*.conf\n* Remove and load the kernel module with modprobe\n\n```sh\n$ make setup\n```\n\nIn order to clean the configuration,\n\n```sh\n$ make setup_clean\n```\n\n## Notice\n\nIf one would like to setup IgH EtherCAT Master via https://github.com/icshwi/etherlabmaster, please *DO NOT* run the dkms_setup.bash script.\n\n## DKMS Systemd Service\nIf one has already the running dkms.service in systemd, the next reboot with new kernl image will make the kernel module be ready. However, if one doesn't have one, please run bash dkms/dkms_setup.bash in order to enable dkms.service.\n\n```\n$ bash dkms/dkms_setup.bash\n$ systemctl status dkms\n● dkms.service - Builds and install new kernel modules through DKMS\n   Loaded: loaded (/etc/systemd/system/dkms.service; enabled; vendor preset: ena\n   Active: active (exited) since Sun 2018-07-29 01:13:59 CEST; 4s ago\n     Docs: man:dkms(8)\n  Process: 3271 ExecStart=/bin/sh -c dkms autoinstall --verbose --kernelver $(un\n Main PID: 3271 (code=exited, status=0/SUCCESS)\n\n```\n\n\n## CentOS7\n\nWe cannot use the dkms, because of the following error:\n```\nmake: Entering directory `/usr/src/kernels/3.10.0-1062.1.2.el7.x86_64'\narch/x86/Makefile:166: *** CONFIG_RETPOLINE=y, but not supported by the compiler. Compiler update recommended..  Stop.\nmake: Leaving directory `/usr/src/kernels/3.10.0-1062.1.2.el7.x86_64'\n```\n\nThus, one should setup it as follows:\n\n* Install kernel modules\n```\nmake init\nmake patch\nmake centos7_modules\nsudo make centos7_modules_install\nmake setup\n```\n\n* Remove all kernel modules, and its configuration\n```\nmake setup_clean\n```\n\n\n## References\n[1] https://github.com/Beckhoff/CCAT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeonghanlee%2Fccat-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeonghanlee%2Fccat-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeonghanlee%2Fccat-env/lists"}