OpenWRT 18.06.0 images for vocore/vocore2

kloczek
 
Posts: 15
Joined: Sat Jul 16, 2016 7:09 pm

OpenWRT 18.06.0 images for vocore/vocore2

Wed Aug 01, 2018 8:54 pm

I'm noit sure but looks like still there is no OpenWRT 18.06.0 images for vocore/vocore2.
Am I right?
https://openwrt.org/toh/bt/vg3503j/
https://downloads.openwrt.org/releases/ ... iq/xrx200/

vshymanskyy
 
Posts: 1
Joined: Sun Sep 23, 2018 6:19 pm

Re: OpenWRT 18.06.0 images for vocore/vocore2

Sun Sep 23, 2018 6:23 pm


GinDiamond
 
Posts: 39
Joined: Thu Mar 31, 2016 11:02 pm

Re: OpenWRT 18.06.0 images for vocore/vocore2

Mon Oct 01, 2018 3:37 pm

Is there a way to get i2c-tools on this? There doesn't seem to be a package for it anymore

Vonger
 
Posts: 683
Joined: Sun Oct 19, 2014 6:00 am

Re: OpenWRT 18.06.0 images for vocore/vocore2

Wed Jan 09, 2019 12:20 pm

GinDiamond wrote:Is there a way to get i2c-tools on this? There doesn't seem to be a package for it anymore

You can easily compile from source code, use this Makefile. openwrt one looks like broken because somebody add python library to it, compile it will use 10MB flash :[

#
# Copyright (C) 2007-2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=i2c-tools
PKG_VERSION:=3.1.2
PKG_RELEASE:=1

PKG_SOURCE_URL:=@KERNEL/software/utils/i2c-tools
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_HASH:=6d6079153cd49a62d4addacef4c092db1a46ba60b2807070a3fbe050262aef87

PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=COPYING

include $(INCLUDE_DIR)/package.mk

define Package/i2c/Default
URL:=http://lm-sensors.org/wiki/I2CTools
TITLE:=I2C
endef

define Package/i2c-tools
$(call Package/i2c/Default)
SECTION:=utils
CATEGORY:=Utilities
TITLE+=tools for Linux
endef

define Package/i2c-tools/description
This package contains an heterogeneous set of I2C tools for Linux. These tools
were originally part of the lm-sensors package.
endef

define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
LINUX="$(LINUX_DIR)" \
CC="$(TARGET_CC)" \
STAGING_DIR="$(STAGING_DIR)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
CFLAGS="$(TARGET_CFLAGS)"
endef

define Package/i2c-tools/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/i2cdetect $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/i2cdump $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/i2cset $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/i2cget $(1)/usr/sbin/
endef


$(eval $(call BuildPackage,i2c-tools))

velo
 
Posts: 5
Joined: Mon Jan 30, 2017 8:02 am

Re: OpenWRT 18.06.0 images for vocore/vocore2

Mon Jan 14, 2019 2:42 pm

If I may attach to this issue... I'm facing the same question: thank you for the Makefile. Can you give any pointers where this needs to go?

ICore
 
Posts: 12
Joined: Wed Jan 11, 2017 2:42 am

Re: OpenWRT 18.06.0 images for vocore/vocore2

Mon Jan 21, 2019 2:43 am

how about for vocore2 ultimate ?

Return to VoCore2/Lite/Ultimate

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest