How to install third-party kmods?
Modest Polykarpovich last edited by Modest Polykarpovich
Hello all. I want to use hardware clock in my device. Please tell me the repository for "kmod-rtc-pcf8563". I used next commands below:
root@Omega-D913:~# opkg update && opkg download kmod-rtc-pcf8563 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.gz Updated list of available packages in /var/opkg-lists/reboot_base Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.gz Updated list of available packages in /var/opkg-lists/reboot_packages Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/core/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_core Downloading http://repo.onion.io/omega2/packages/core/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/base/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_base Downloading http://repo.onion.io/omega2/packages/base/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/packages/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_packages Downloading http://repo.onion.io/omega2/packages/packages/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/routing/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_routing Downloading http://repo.onion.io/omega2/packages/routing/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/onion/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_onion Downloading http://repo.onion.io/omega2/packages/onion/Packages.sig Signature check passed. Collected errors: * opkg_download_cmd: Cannot find package kmod-rtc-pcf8563.
I found the next topic:
OpenWRT Forum: how-to-install-rtc-hardware-clock
Jeremy Shubert last edited by
You need to point to some different repo so that opkg can update with what you want...check out this instruction: https://docs.onion.io/omega2-docs/using-opkg.html
@Modest-Polykarpovich I build my own firmware so I can select the kmod I need in my build.
Modest Polykarpovich last edited by
@crispyoz, our own firmware is totally unacceptable! First - the applications or drivers have to be platform free. May be I want to change Omega microcomputer to another one. And Onion Team may be make updates and new firmware. How your users for example can use new firmware with your own build-in kernel-modules?! No, it must be easy - let's named it "policy".
Steve Veerman last edited by
I have not found kmod-rtc-pcf8563 in any of the official OpenWrt repositories as a separate package. I could be mistaken, but it appears that you will have to build your own regardless of which device you use (Onion Omega or otherwise). Onion might build it special for you if you ask.
Newest OpenWrt v18 repo
Newest OpenWrt v17 repo
Newest OpenWrt snapshot repo
Newest Onion repo
@Modest-Polykarpovich It is not a question of what you consider acceptable. I was simply suggesting a solution to your problem. If Omega does not suit your application you are free to change to a more suitable device, but you'll need make sure it is not OpenWrt based because you'll probably strike a similar issue, if not with this kmod but some other.
Either way, I'll get a good night's sleep