graphit/unipi-kernel.git
5 years agoMerge branch 'test'
Miroslav Ondra [Wed, 21 Aug 2019 16:54:01 +0000 (18:54 +0200)]
Merge branch 'test'

5 years agochange version string 1.26 in unipi/src/unipi_common.h
Miroslav Ondra [Wed, 21 Aug 2019 16:46:44 +0000 (18:46 +0200)]
change version string 1.26 in unipi/src/unipi_common.h

5 years agoadd git url in debian/control
Miroslav Ondra [Wed, 21 Aug 2019 16:44:20 +0000 (18:44 +0200)]
add git url in debian/control

5 years agofix spi baudrate to 6MHz on arm64. H5 can set only 6MHz or 12MHz
Miroslav Ondra [Mon, 19 Aug 2019 16:23:29 +0000 (18:23 +0200)]
fix spi baudrate to 6MHz on arm64. H5 can set only 6MHz or 12MHz

5 years agoMerge branch 'master' into test
Miroslav Ondra [Tue, 13 Aug 2019 12:55:30 +0000 (14:55 +0200)]
Merge branch 'master' into test

5 years agoUpdate .gitlab-ci.yml
Miroslav Ondra [Tue, 13 Aug 2019 10:47:05 +0000 (12:47 +0200)]
Update .gitlab-ci.yml

5 years agochange unipi module version string 1.24
Miroslav Ondra [Tue, 13 Aug 2019 10:39:43 +0000 (12:39 +0200)]
change unipi module version string 1.24

5 years agoSquashed commit of the following:
Miroslav Ondra [Tue, 13 Aug 2019 10:36:27 +0000 (12:36 +0200)]
Squashed commit of the following:
    add ci/cd support for amd64
    fix rtc-unipi for kernel > 4.17
    fix module version 1.23. fix ci/cd. add uSE_UNIPI_CPUFREQ_PATCH directive
    remove cpufreq management in unipi_spi_set_cs. Hangups with Iqrf spi

5 years agofix debian/rules to take only one kernel-headers
Miroslav Ondra [Tue, 13 Aug 2019 02:24:38 +0000 (04:24 +0200)]
fix debian/rules to take only one kernel-headers

5 years agofix arnhf tag in gitlab-ci.yml
Miroslav Ondra [Sun, 11 Aug 2019 22:41:56 +0000 (00:41 +0200)]
fix arnhf tag in gitlab-ci.yml

5 years agouse include in gitlab-ci.yml
Miroslav Ondra [Sun, 11 Aug 2019 22:34:07 +0000 (00:34 +0200)]
use include in gitlab-ci.yml

5 years agoadd unipi repo to ci/cd script
Miroslav Ondra [Tue, 6 Aug 2019 15:02:44 +0000 (15:02 +0000)]
add unipi repo to ci/cd  script

5 years agoadd ci/cd support for amd64
Miroslav Ondra [Tue, 6 Aug 2019 14:52:51 +0000 (14:52 +0000)]
add ci/cd support for amd64

5 years agofix type in rtc-unipi.c
Miroslav Ondra [Tue, 6 Aug 2019 14:17:34 +0000 (14:17 +0000)]
fix type in rtc-unipi.c

5 years agofix type in rtc-unipi.c
Miroslav Ondra [Tue, 6 Aug 2019 14:15:05 +0000 (14:15 +0000)]
fix type in rtc-unipi.c

5 years agofix rtc-unipi for kernel > 4.17
Miroslav Ondra [Tue, 6 Aug 2019 14:11:16 +0000 (14:11 +0000)]
fix rtc-unipi for kernel > 4.17

5 years agoadd support for arm64
Miroslav Ondra [Tue, 6 Aug 2019 13:29:20 +0000 (13:29 +0000)]
add support for arm64

5 years agoUpdate .gitlab-ci.yml
Miroslav Ondra [Thu, 1 Aug 2019 08:34:35 +0000 (10:34 +0200)]
Update .gitlab-ci.yml

5 years agoUpdate .gitlab-ci.yml
Miroslav Ondra [Thu, 1 Aug 2019 08:33:51 +0000 (10:33 +0200)]
Update .gitlab-ci.yml

5 years agoUpdate .gitlab-ci.yml
Miroslav Ondra [Thu, 1 Aug 2019 08:32:21 +0000 (10:32 +0200)]
Update .gitlab-ci.yml

5 years agoadd ci/cd support for scheduled package creating
Miroslav Ondra [Thu, 1 Aug 2019 08:27:15 +0000 (10:27 +0200)]
add ci/cd support for scheduled package creating

5 years agoremove package install in ci/cd (already in preinstalled image)
Miroslav Ondra [Wed, 31 Jul 2019 23:14:13 +0000 (01:14 +0200)]
remove package install in ci/cd (already in preinstalled image)

5 years agofix module version 1.23. fix ci/cd. add uSE_UNIPI_CPUFREQ_PATCH directive
Miroslav Ondra [Wed, 31 Jul 2019 16:25:55 +0000 (18:25 +0200)]
fix module version 1.23. fix ci/cd. add uSE_UNIPI_CPUFREQ_PATCH directive

5 years agoremove cpufreq management in unipi_spi_set_cs. Hangups with Iqrf spi
Miroslav Ondra [Wed, 31 Jul 2019 16:12:08 +0000 (18:12 +0200)]
remove cpufreq management in unipi_spi_set_cs. Hangups with Iqrf spi

5 years agofix package name in ci/cd definition
Miroslav Ondra [Wed, 31 Jul 2019 16:06:54 +0000 (18:06 +0200)]
fix package name in ci/cd definition

5 years agoadd ci/cd support
Miroslav Ondra [Wed, 31 Jul 2019 15:58:46 +0000 (17:58 +0200)]
add ci/cd support

5 years agorename changelog to end_of_changelog. fix name of neuron-kernel package
Miroslav Ondra [Wed, 31 Jul 2019 15:54:16 +0000 (17:54 +0200)]
rename changelog to end_of_changelog. fix name of neuron-kernel package

5 years agofix Makefiles and debian/rules to be conformed with ci/cd
Miroslav Ondra [Wed, 31 Jul 2019 13:28:30 +0000 (15:28 +0200)]
fix Makefiles and debian/rules to be conformed with ci/cd

5 years agofix ARCH settings in debian/rules
Miroslav Ondra [Wed, 19 Jun 2019 12:27:04 +0000 (14:27 +0200)]
fix ARCH settings in debian/rules

5 years agoadd modules_install to Makefile. Fix ARCH in unipi Makefile
Miroslav Ondra [Tue, 11 Jun 2019 17:12:45 +0000 (19:12 +0200)]
add modules_install to Makefile. Fix ARCH in unipi Makefile

5 years agoadd COPYING (GPL v2 license)
Miroslav Ondra [Tue, 11 Jun 2019 14:13:17 +0000 (16:13 +0200)]
add COPYING (GPL v2 license)

6 years agopackage ver 1.22
Miroslav Ondra [Mon, 29 Apr 2019 08:24:57 +0000 (10:24 +0200)]
package ver 1.22

6 years agofix variables initial settings
Miroslav Ondra [Tue, 23 Apr 2019 08:11:15 +0000 (10:11 +0200)]
fix variables initial settings

6 years agofix flaot to int conversion in unipi_iio
Miroslav Ondra [Wed, 27 Mar 2019 15:53:19 +0000 (16:53 +0100)]
fix flaot to int conversion in unipi_iio

6 years agoMerge branch 'master' of https://git.unipi.technology/UniPi/unipi-kernel
Miroslav Ondra [Wed, 27 Mar 2019 15:49:48 +0000 (16:49 +0100)]
Merge branch 'master' of https://git.unipi.technology/UniPi/unipi-kernel

6 years agorework spi to use async calling and RT kthread
Miroslav Ondra [Wed, 27 Mar 2019 15:49:22 +0000 (16:49 +0100)]
rework spi to use async calling and RT kthread

6 years agov1.20
Miroslav Ondra [Wed, 20 Feb 2019 16:42:55 +0000 (17:42 +0100)]
v1.20

6 years agofix setting line discipline on standard uarts
Miroslav Ondra [Wed, 6 Feb 2019 23:04:32 +0000 (00:04 +0100)]
fix setting line discipline on standard uarts

6 years agofix error checking in spi_send_op
Miroslav Ondra [Wed, 6 Feb 2019 23:00:42 +0000 (00:00 +0100)]
fix error checking in spi_send_op

6 years agofixed frequency detection
Miroslav Ondra [Wed, 6 Feb 2019 22:51:00 +0000 (23:51 +0100)]
fixed frequency detection

6 years agoAdded 0xb20 to the list of firmwares requiring 7.5MHz
tomunipi [Tue, 15 Jan 2019 16:26:04 +0000 (17:26 +0100)]
Added 0xb20 to the list of firmwares requiring 7.5MHz

6 years agofixed null pointer dereference with loading module on system with no unipi board
Miroslav Ondra [Wed, 31 Oct 2018 01:41:41 +0000 (02:41 +0100)]
fixed null pointer dereference with loading module on system with no unipi board

6 years agoMerge branch 'master' of https://git.unipi.technology/UniPi/unipi-kernel
Miroslav Ondra [Tue, 16 Oct 2018 17:49:05 +0000 (19:49 +0200)]
Merge branch 'master' of https://git.unipi.technology/UniPi/unipi-kernel

6 years agodisabled long spi tranfers (256 -> 62)
Miroslav Ondra [Tue, 16 Oct 2018 17:48:35 +0000 (19:48 +0200)]
disabled long spi tranfers (256 -> 62)

6 years agoAdded dummy method for reading secondary analog output via IIO
Tom Knot [Tue, 16 Oct 2018 13:11:14 +0000 (15:11 +0200)]
Added dummy method for reading secondary analog output via IIO

6 years agoMerge branch 'master' of https://git.unipi.technology/UniPi/unipi-kernel
Miroslav Ondra [Tue, 16 Oct 2018 09:54:40 +0000 (11:54 +0200)]
Merge branch 'master' of https://git.unipi.technology/UniPi/unipi-kernel

6 years agoversion 1.17.1.20180919-1
Miroslav Ondra [Tue, 16 Oct 2018 09:46:06 +0000 (11:46 +0200)]
version 1.17.1.20180919-1

6 years agoAdded attributes for rebooting the I/O group and saving current state to non-volatile...
Tom Knot [Thu, 27 Sep 2018 14:20:54 +0000 (16:20 +0200)]
Added attributes for rebooting the I/O group and saving current state to non-volatile memory

6 years agoadd README.md
Miroslav Ondra [Fri, 21 Sep 2018 00:46:45 +0000 (02:46 +0200)]
add README.md

6 years agoadd debian package generator definition
Miroslav Ondra [Fri, 21 Sep 2018 00:44:18 +0000 (02:44 +0200)]
add debian package generator definition

6 years agoremve devel from version string
Miroslav Ondra [Fri, 14 Sep 2018 14:37:56 +0000 (16:37 +0200)]
remve devel from version string
add more use LED to B-1000

6 years agomove gpio,leds,iio init/remove from unipispi to platform
Miroslav Ondra [Tue, 11 Sep 2018 10:50:17 +0000 (12:50 +0200)]
move gpio,leds,iio init/remove from unipispi to platform

6 years agofixed primary_worker allocation
Miroslav Ondra [Thu, 6 Sep 2018 17:50:08 +0000 (19:50 +0200)]
fixed primary_worker allocation
fixed uart ports removing
temporary disabled LED, GPIO, IIO subsystem

6 years agocleaned neuronspi_devtype
Miroslav Ondra [Thu, 6 Sep 2018 08:05:47 +0000 (10:05 +0200)]
cleaned neuronspi_devtype
fixed unregistering

6 years agoadd support for detecting Axon models via chip_select of first board
Miroslav Ondra [Wed, 5 Sep 2018 13:19:49 +0000 (15:19 +0200)]
add support for detecting Axon models via chip_select of first board

6 years agorefactor board detection in spi probe
Miroslav Ondra [Wed, 5 Sep 2018 12:47:25 +0000 (14:47 +0200)]
refactor board detection in spi probe

6 years agoformat cdev debug messages
Miroslav Ondra [Wed, 5 Sep 2018 09:36:30 +0000 (11:36 +0200)]
format cdev debug messages
clean old code

6 years agomove io definitions from unipi_spi.h to iio.h and iio.c
Miroslav Ondra [Wed, 5 Sep 2018 09:17:29 +0000 (11:17 +0200)]
move io definitions from unipi_spi.h to iio.h and iio.c

6 years agomove chardev private data from h to unipi_spi.c
Miroslav Ondra [Wed, 5 Sep 2018 09:08:37 +0000 (11:08 +0200)]
move chardev private data from h to unipi_spi.c
remove duplicate structure in neuronspi_file_data (global neuronspi_s_dev)

6 years agouart unused code cleaning, debug message formating
Miroslav Ondra [Wed, 5 Sep 2018 08:31:56 +0000 (10:31 +0200)]
uart unused code cleaning, debug message formating

6 years agomoved interrupt handling from uart to spi (primary_worker)
Miroslav Ondra [Wed, 5 Sep 2018 08:08:14 +0000 (10:08 +0200)]
moved interrupt handling from uart to spi (primary_worker)
changed polled mode interrupt from thread to hrtimer
set variables probe_always_succeeds, always_create_uart as local to probe function
cleaning unused code

6 years agorefactor iio initialization
Miroslav Ondra [Tue, 4 Sep 2018 17:08:03 +0000 (19:08 +0200)]
refactor iio initialization

6 years agorefactor platform, led, sysfs initialization
Miroslav Ondra [Tue, 4 Sep 2018 12:14:01 +0000 (14:14 +0200)]
refactor platform, led, sysfs initialization

6 years agoadd hrtimer to schedule tx_proc and to monitor tx_fifo
Miroslav Ondra [Mon, 3 Sep 2018 20:40:04 +0000 (22:40 +0200)]
add hrtimer to schedule tx_proc and to monitor tx_fifo

6 years agochanged neuronspi_spi_send_message to neuronspi_spi_send_op using structured buffers
Miroslav Ondra [Tue, 28 Aug 2018 10:18:08 +0000 (12:18 +0200)]
changed neuronspi_spi_send_message to neuronspi_spi_send_op using structured buffers
buffers for spi_transfer are aligned (using unaligned buffers caused unexpected memory change)
support for crc calc in neuronspi_spi_send_op
changed uart behavior - checking tx queue, rx ordering
fixed regmap

6 years agoAdded missing extern declaration
Tom Knot [Tue, 14 Aug 2018 17:22:23 +0000 (19:22 +0200)]
Added missing extern declaration

6 years agoUpdated versionstring
Tom Knot [Tue, 14 Aug 2018 16:09:26 +0000 (18:09 +0200)]
Updated versionstring

6 years agoAdded locking behaviour to prevent byte swapping due to UART/SPI asynchronousness
Tom Knot [Tue, 14 Aug 2018 16:02:57 +0000 (18:02 +0200)]
Added locking behaviour to prevent byte swapping due to UART/SPI asynchronousness

6 years agoAdded always-create-tty flag
Tom Knot [Mon, 6 Aug 2018 14:55:47 +0000 (16:55 +0200)]
Added always-create-tty flag

6 years agofixed module version
Miroslav Ondra [Thu, 2 Aug 2018 20:00:28 +0000 (22:00 +0200)]
fixed module version
fixed processing on-boot undefined boards
fixed raspbian script

6 years agorewrite line discipline to be compatible with PARMRK
Miroslav Ondra [Thu, 2 Aug 2018 10:03:41 +0000 (12:03 +0200)]
rewrite line discipline to be compatible with PARMRK
fixed ioctl timeout settings for 32b calling on 64bit system (compat_ioctl)

6 years agofixed debug message
Miroslav Ondra [Fri, 20 Jul 2018 02:12:38 +0000 (04:12 +0200)]
fixed debug message

6 years agoMerge branch 'uart_timeout'
Tom Knot [Thu, 19 Jul 2018 14:32:19 +0000 (16:32 +0200)]
Merge branch 'uart_timeout'

6 years agoUpdated version format
Tom Knot [Thu, 19 Jul 2018 14:31:58 +0000 (16:31 +0200)]
Updated version format

6 years agoMerge branch 'uart_timeout'
Tom Knot [Thu, 19 Jul 2018 14:07:23 +0000 (16:07 +0200)]
Merge branch 'uart_timeout'

6 years agoFurther renaming to the new naming scheme
Tom Knot [Thu, 19 Jul 2018 14:06:20 +0000 (16:06 +0200)]
Further renaming to the new naming scheme

6 years ago- Changed Neuron to UniPi where appropriate
Tom Knot [Wed, 18 Jul 2018 10:51:47 +0000 (12:51 +0200)]
- Changed Neuron to UniPi where appropriate

- Swapped version format to YYYY:MM:DD

6 years agofixed script raspbian
Miroslav Ondra [Mon, 16 Jul 2018 07:45:10 +0000 (09:45 +0200)]
fixed script raspbian

6 years agofixed script raspbian to reflect incorrect tag setting
Miroslav Ondra [Mon, 16 Jul 2018 07:42:23 +0000 (09:42 +0200)]
fixed script raspbian to reflect incorrect tag setting

6 years agoFixed a small syntax mistake
Tom Knot [Mon, 9 Jul 2018 09:30:21 +0000 (11:30 +0200)]
Fixed a small syntax mistake

6 years agoFixed mixed declaration
Tom Knot [Mon, 9 Jul 2018 09:25:13 +0000 (11:25 +0200)]
Fixed mixed declaration

6 years agoFixed secondary AO
Tom Knot [Mon, 9 Jul 2018 09:22:57 +0000 (11:22 +0200)]
Fixed secondary AO

6 years agoFixed ai current unit
Tom Knot [Wed, 4 Jul 2018 13:26:29 +0000 (15:26 +0200)]
Fixed ai current unit

6 years agoRemoved 64bit division
Tom Knot [Wed, 4 Jul 2018 13:22:26 +0000 (15:22 +0200)]
Removed 64bit division

6 years agoFixed remainders and resistance units
Tom Knot [Wed, 4 Jul 2018 13:20:24 +0000 (15:20 +0200)]
Fixed remainders and resistance units

6 years agoAdded debug print to current
Tom Knot [Wed, 4 Jul 2018 13:15:04 +0000 (15:15 +0200)]
Added debug print to current

6 years agoChanged scaling to mA
Tom Knot [Wed, 4 Jul 2018 13:09:59 +0000 (15:09 +0200)]
Changed scaling to mA

6 years agoChanged computation for current output
Tom Knot [Wed, 4 Jul 2018 13:03:14 +0000 (15:03 +0200)]
Changed computation for current output

6 years ago- Removed debug prints
Tom Knot [Wed, 4 Jul 2018 12:56:22 +0000 (14:56 +0200)]
- Removed debug prints

- Fixed division by zero

6 years agoFixed offset for stm analog
Tom Knot [Wed, 4 Jul 2018 12:41:12 +0000 (14:41 +0200)]
Fixed offset for stm analog

6 years ago- Added division by 10
Tom Knot [Wed, 4 Jul 2018 12:37:22 +0000 (14:37 +0200)]
- Added division by 10

- Added debug prints

6 years agoRemoved secondary ao mode (as it is always voltage)
Tom Knot [Wed, 4 Jul 2018 12:11:34 +0000 (14:11 +0200)]
Removed secondary ao mode (as it is always voltage)

6 years agoRenamed analog attribute modes
Tom Knot [Wed, 4 Jul 2018 10:49:06 +0000 (12:49 +0200)]
Renamed analog attribute modes

6 years agoFixed a trivial syntax mistake
Tom Knot [Tue, 3 Jul 2018 19:17:47 +0000 (21:17 +0200)]
Fixed a trivial syntax mistake

6 years agoSwapped floating point byte order when reading from Modbus
Tom Knot [Tue, 3 Jul 2018 19:15:21 +0000 (21:15 +0200)]
Swapped floating point byte order when reading from Modbus

6 years agoFixed small syntax mistake
Tom Knot [Fri, 29 Jun 2018 09:22:27 +0000 (11:22 +0200)]
Fixed small syntax mistake

6 years agoFixed wrong datatype for irq flags
Tom Knot [Fri, 29 Jun 2018 09:21:24 +0000 (11:21 +0200)]
Fixed wrong datatype for irq flags

6 years ago- Added further locks
Tom Knot [Fri, 29 Jun 2018 09:12:03 +0000 (11:12 +0200)]
- Added further locks

- c_iflags hopefully does not get set

6 years ago- Changed module description to be more accurate
Tom Knot [Wed, 27 Jun 2018 16:15:18 +0000 (18:15 +0200)]
- Changed module description to be more accurate

- Removed unnecessary counting of work invocation (work is only allowed to be queued once)
- Removed superfluous flags declaration

6 years agoAdded more spinlocks to TX_PROC
Tom Knot [Wed, 27 Jun 2018 15:37:58 +0000 (17:37 +0200)]
Added more spinlocks to TX_PROC