Wykres commitów

35 Commity (main)

Autor SHA1 Wiadomość Data
David Michaeli 211e5a3ff2 re-added pmod sync-inout in firmware
modem spi freq 4MHz
2024-04-09 13:15:15 +03:00
David Michaeli 1b34c568ff update firmware for tx control signals output on pmod
added dsp flow example
2024-03-16 12:14:41 +02:00
David Michaeli f8793a7ffe firmware removed debug on LEDs
driver cleanup unused variables
2024-03-14 23:26:20 +02:00
David Michaeli 96828b4bcc firmware update - syncs, ioctrl, smi_ctrl(dir and channel)
fpga driver update
smi_stream_driver update thanks to @matteoserva great work
2024-03-14 22:59:38 +02:00
matteo serva 4577e41b61 Revert "moved buffers initialization"
This reverts commit baccfb4805.
2024-03-13 21:41:38 +01:00
matteo serva baccfb4805 moved buffers initialization 2024-03-13 20:22:36 +01:00
matteo serva 7c6f853dc1 fixing spurious wakeup while waiting for write pipe 2024-03-08 09:03:11 +01:00
matteo serva 75d25800bc Improved kernel module:
- Using cyclic dma for data transfer
- removed kernel threads. Now everything done in callbacks
- keeping multiple transactions running to avoid delays
- discarding data if too late
- logging the module performance
- cleaned out the code
- modified communication with userspace to fix polling
- removed redundant locks
- changed buffers behavior to improve efficiency
- fixed compatibility with latest raspbian kernel
2024-03-02 22:39:21 +01:00
David Michaeli b4e98fc210 Kernel Module - replaced kmalloc with vmalloc for larger memory allocations for kfifos
changed kfifo_alloc to kfifo_init accordingly
2024-02-28 01:40:51 +02:00
David Michaeli 1e4dd2fbad further update to the flush errors in module 2024-02-08 01:38:21 +02:00
David Michaeli 2c7f8d9cd9 buffer flush improvement 2024-02-06 18:07:39 +02:00
David Michaeli 8bdaa6336d Merge branch 'main' of https://github.com/cariboulabs/cariboulite 2024-02-06 16:23:28 +02:00
David Michaeli 661c48b198 fixed flushing mechanism - includes double buffer streams that are also flushed 2024-02-06 16:04:18 +02:00
David Michaeli a13b719e52 module changes for flush over rpizero 2024-02-05 19:42:27 +02:00
David Michaeli 4d993d25ef Added of flushing to rx buffer.
bug fix in cpp api
2024-01-21 14:09:51 +02:00
David Michaeli acaed4836f driver changes - channel switching, sema timeout reduction, api frequency ranges bugfix for hif 2024-01-11 00:18:30 +02:00
David Michaeli b1ca9bf3ca
Merge pull request #147 from sergeyvfx/driver
Fix detection of linux headers on Raspberry Pi OS
2023-12-05 15:22:38 +02:00
3B85A591 403d8eb717
NC 2023-12-04 12:28:06 -08:00
3B85A591 89a04f0bae
Add warning if it isn't installing to the currently used kernel 2023-12-04 12:09:26 -08:00
3B85A591 3c3800e5eb
Update install.sh 2023-12-04 11:56:52 -08:00
3B85A591 912ac9a7ea
Fix install sh 2023-12-04 11:55:34 -08:00
Sergey Sharybin 168cc11ba2 Fix detection of linux headers on Raspberry Pi OS
On the Raspberry Pi OS the Linux headers are split into multiple packages and
directories under /usr/src: the configuration and actual header files are in
different packages. Presumably, this is done this way to allow re-using the
header files of the same kernel by all Raspberry Pi kernel flavors.

This made the logic before this change to not consider valid linux headers
directory be so: /usr/src/linux-headers-${KERNEL_RELEASE} does not contain
include/linux/user.h.

Tweak the code so that it additionally considers directories which contains
include/generated/autoconf.h to be kernel headers directory. This file is
checked by the linux header's directory Makefile and it is not found the kernel
configuration is considered invalid. This path sees to be hardcoded, so it
should be the same on all platforms.
2023-10-21 14:27:22 +02:00
David Michaeli 15fa286dc6 smi read arbitrary size vector read 2023-10-01 23:19:11 +00:00
David Michaeli a698dcf02a Kernel Driver: module timeout issue when switching streaming channels. caused due to waiting to a timeout on the previous channel. That
stream stopped thus the buffer never filled up. solved by aboting the waiting semaphore on channel switch
SMI: fixed low sample rate timeouts and a function for timeout calculation on read
Radio: FPGA soft reset on start caused faulty operation. needs investigation.
Radio: removed redundant sleeps
Various bug fixes.
2023-09-26 17:29:23 +00:00
David Michaeli 7430f7527c trying to eliminate timeouts in fast channel transitions 2023-07-09 13:13:04 +00:00
David Michaeli 1fdefef246 integration 2023-07-03 14:21:50 +03:00
David Michaeli 35b847434d removed no more needed files in software repo 2023-06-13 13:59:16 +03:00
David Michaeli e2496f4228 bugfix in app_menu, param change in dump1090 2023-06-13 06:55:19 +01:00
David Michaeli cc786d6d82 added kernel module runtime parameter change (ioctls) 2023-06-08 08:47:58 +00:00
David Michaeli 77d251e2a3 install - reduce buffers for rpizero
radio - mixer bugfix
2023-06-07 06:08:02 +00:00
David Michaeli 5ff5f17f0b added kernel object parameters for different versions of caribou and rpi
added the modification in install scripts
compile kernel module with optimization
2023-06-06 08:21:04 +00:00
David Michaeli 27d00ce6d3 Merge branch 'main' of https://github.com/cariboulabs/cariboulite 2023-06-05 06:19:37 +00:00
David Michaeli 25851685ea firmware merging
updating of install script - consolidation udev into driver and adding to main install
2023-06-05 06:18:30 +00:00
David Michaeli 49f5e660e6 Update README.md 2023-06-04 23:27:02 +03:00
David Michaeli 603d4664ca 1. creation of device driver dir - loadable with "install.sh" file.
2. creation of udev file loading for smi to load automatically with the correct permissions
3. firmware bugfix - negate 2.4GHZ I/Q ddr data
2023-06-04 19:57:15 +00:00