Bump fd628-aml to 4c4cc6e.

Change PKG_SITE to point to the updated repository.
Update fd628.service to reflect the device name change to le-vfd.
This commit is contained in:
Arthur Liberman 2018-02-14 20:32:31 +02:00
parent d4bf255b00
commit 4efc46b366
2 changed files with 9 additions and 6 deletions

View File

@ -17,11 +17,11 @@
################################################################################
PKG_NAME="fd628-aml"
PKG_VERSION="6993a86"
PKG_SHA256="5eb30d485d23c9be427528b3604d564565194f759281677c2b1b66419e6edc15"
PKG_VERSION="4c4cc6e"
PKG_SHA256="c52780595c1e72cbe153011a54f6f3b946e9c77d5e13f4dd48ad70cce7905a43"
PKG_ARCH="arm aarch64"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/tanixbox/tx3mini_linux_fd628"
PKG_SITE="https://github.com/arthur-liberman/linux_fd628"
PKG_URL="https://github.com/arthur-liberman/linux_fd628/archive/$PKG_VERSION.tar.gz"
PKG_SOURCE_DIR="linux_fd628-$PKG_VERSION*"
PKG_DEPENDS_TARGET="toolchain linux"

View File

@ -1,12 +1,15 @@
[Unit]
Description=Amlogic FD628 Service
ConditionPathExists=/proc/device-tree/fd628_dev
ConditionPathExists=/proc/device-tree/le-vfd/
ConditionPathExists=/storage/.config/vfd.conf
[Service]
Type=oneshot
ExecStart=/usr/sbin/modprobe aml_fd628
ExecStart=/usr/sbin/FD628Service
EnvironmentFile=/storage/.config/vfd.conf
ExecStart=/bin/sh -c '[ `cat /proc/device-tree/le-vfd/compatible` = "le,vfd" ] && /sbin/modprobe aml_fd628 vfd_gpio_clk=${vfd_gpio_clk} vfd_gpio_dat=${vfd_gpio_dat} vfd_gpio_stb=${vfd_gpio_stb} vfd_chars=${vfd_chars} vfd_dot_bits=${vfd_dot_bits} vfd_display_type=${vfd_display_type}
ExecStart=/bin/sh -c '[ `cat /proc/device-tree/le-vfd/compatible` = "le,vfd" ] && /usr/sbin/FD628Service
RemainAfterExit=yes
[Install]
WantedBy=basic.target