adding_metadata_to_gr
David Michaeli 2024-02-06 16:23:28 +02:00
commit 8bdaa6336d
23 zmienionych plików z 38181 dodań i 296 usunięć

Wyświetl plik

@ -17,6 +17,12 @@ CaribouLite is an affordable, educational, open-source SDR evaluation platform a
</tr>
</table>
## NOTE: No Support for RPI-5
Due to the architectural changes in RPI5 - the new I/O controller called "RP1" chip, CaribouLite is not supported on RPI5. We assume that the reason is the removal of the SMI interface altogether from the external interfaces by Broadcomm's team.
So, if you intend to use CaribouLite on RPI5 please don't - it won't work. Why was the SMI interface deprecated by Broadcomm (either from its hardware or kernel SW support)? Most probably due to the same reason this interface was not documented in the first place - no interest in supporting a high-speed external interface within the 40-pin connector.
Edit: The workaround we are working to support RPI5 anyway - trying to utilize the Display and Camera I/O pins from the 40-pin connector to stream information - FPGA + Kernel module adaptation.
# Getting Started & Installation
Use the following steps to install the CaribouLite on your choice of RPI board
1. Mount the CaribouLite on a **un-powered** RPI device using the 40-pin header.

Wyświetl plik

@ -510,7 +510,7 @@ static long smi_stream_ioctl(struct file *file, unsigned int cmd, unsigned long
//-------------------------------
case SMI_STREAM_IOC_FLUSH_FIFO:
{
// moved to read file operation
// moved to read file operation
break;
}
//-------------------------------

Wyświetl plik

@ -109,7 +109,7 @@ int main ()
try
{
s1g->SetFrequency(900000000);
s1g->FlushBuffers();
//s1g->FlushBuffers();
}
catch (...)
{
@ -125,7 +125,7 @@ int main ()
try
{
hif->SetFrequency(2400000000);
hif->FlushBuffers();
//hif->FlushBuffers();
}
catch (...)
{
@ -133,7 +133,7 @@ int main ()
}
hif->SetRxGain(0);
hif->SetAgc(false);
hif->StartReceiving(receivedSamples, 20000);
hif->StartReceiving(receivedSamples);
getchar();
}

Wyświetl plik

@ -35,13 +35,7 @@ sudo apt-get -y install swig avahi-daemon libavahi-client-dev python3-distutils
if grep -iq "NAME=\"Ubuntu\"" /etc/os-release; then
sudo apt-get install rpi.gpio-common
echo "Adding user `whoami` to dialout, root groups"
if [[ "`groups ``whoami`" == *`whoami`* ]]; then
echo "` User already in the group`"
else
sudo usermod -aG dialout, root "${USER}"
fi
sudo usermod -aG dialout,root "${USER}"
fi
sudo depmod -a

Wyświetl plik

@ -56,7 +56,7 @@ static void caribou_smi_print_smi_settings(caribou_smi_st* dev, struct smi_setti
printf(" dma enable: %c, passthru enable: %c\n", settings->dma_enable ? 'Y':'N', settings->dma_passthrough_enable ? 'Y':'N');
printf(" dma threshold read: %d, write: %d\n", settings->dma_read_thresh, settings->dma_write_thresh);
printf(" dma panic threshold read: %d, write: %d\n", settings->dma_panic_read_thresh, settings->dma_panic_write_thresh);
printf(" native kernel chunk size: %ld bytes\n", dev->native_batch_len);
printf(" native kernel chunk size: %d bytes\n", dev->native_batch_len);
}
//=========================================================================
@ -765,7 +765,7 @@ int caribou_smi_flush_fifo(caribou_smi_st* dev)
{
if (!dev) return -1;
if (!dev->initialized) return -1;
int ret = ioctl(dev->filedesc, SMI_STREAM_IOC_FLUSH_FIFO, 1);
int ret = read(dev->filedesc, NULL, 0);
if (ret != 0)
{
ZF_LOGE("failed flushing driver fifos");

Plik binarny nie jest wyświetlany.