Commit f5cebde5 authored by Joanne Hugé's avatar Joanne Hugé

add kernel PPM patch

parent eff389ca
......@@ -5,7 +5,7 @@
You can check your FPGA version by doing:
```
root@orsXXX:~# AMARISOFT_PATH/trx_sdr/sdr_util version
root@orsXXX:~# AMARISOFT_INSTALL/trx_sdr/sdr_util version
SDR board utilities version 2023-09-09, Copyright (C) 2012-2023 Amarisoft
=== Device /dev/sdr0 ===
Board ID: 0x4b01 (SDR50)
......@@ -22,13 +22,19 @@ PCIe bus: bus=0x01 FPGA PCI gen2 x1 (4.0Gb/s) OK
Please check "Software version" is 2023-09-09
# Patch your FPGA
# Upgrade your FPGA
To patch your FPGA, first get the ORS 2023-09-09 bitstream from Rapid.Space, then:
Do not use the ./sdr_util upgrade from Amarisoft, it will not work for ORS.
To upgrade your FPGA, first get the ORS 2023-09-09 bitstream from Rapid.Space, then:
```
root@orsXXX:~/ors-root-access/flash-fpga# ./init.sh
root@orsXXX:~/ors-root-access/flash-fpga# ./patch-FPGA.sh
root@orsXXX:~/ors-root-access/flash-fpga# ./upgrade-FPGA.sh
```
Then do a hard reboot by unplugging the ORS and replugging it (make sure not to unplug it from the POE cable)
# Patch your SDR driver
root@orsXXX:~# cd AMARISOFT_INSTALL/trx_sdr
root@orsXXX:~/AMARISOFT_INSTALL/trx_sdr# patch -p1 kernel/main.c < ~/ors-root-access/kernel-ppm.patch
--- /root/2023-09-14/trx_sdr-linux-2023-09-14/kernel/main.c 2023-09-14 10:06:02.000000000 +0000
+++ kernel/main.c 2024-07-16 14:11:34.257516942 +0000
@@ -4239,7 +4239,7 @@
if (cdcm6208_initialize(s, PROFILE_INTERNAL) < 0)
return -1;
ss->tcxo_freq = 38400000; /* in Hz */
- PPM = 10;
+ PPM = 25;
}
if (s->has_si5324) { /* CPRI 10G */
if (si5324_init(s, PROFILE_INTERNAL) < 0)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment