Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
ors-root-access
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ors-root-access
Commits
f5cebde5
Commit
f5cebde5
authored
Sep 16, 2024
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add kernel PPM patch
parent
eff389ca
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
4 deletions
+21
-4
README.md
README.md
+10
-4
kernel-ppm.patch
kernel-ppm.patch
+11
-0
No files found.
README.md
View file @
f5cebde5
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
You can check your FPGA version by doing:
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
SDR board utilities version 2023-09-09, Copyright (C) 2012-2023 Amarisoft
=== Device /dev/sdr0 ===
=== Device /dev/sdr0 ===
Board ID: 0x4b01 (SDR50)
Board ID: 0x4b01 (SDR50)
...
@@ -22,13 +22,19 @@ PCIe bus: bus=0x01 FPGA PCI gen2 x1 (4.0Gb/s) OK
...
@@ -22,13 +22,19 @@ PCIe bus: bus=0x01 FPGA PCI gen2 x1 (4.0Gb/s) OK
Please check "Software version" is 2023-09-09
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# ./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)
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
kernel-ppm.patch
0 → 100644
View file @
f5cebde5
--- /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)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment