Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
6539ff81
Commit
6539ff81
authored
Mar 28, 2017
by
Wilson Thong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#219 add minimum support for running and building UE and eNB
parent
57e84918
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
5 deletions
+49
-5
cmake_targets/build_ue
cmake_targets/build_ue
+5
-0
cmake_targets/tools/build_helper
cmake_targets/tools/build_helper
+7
-1
cmake_targets/tools/init_nas_s1
cmake_targets/tools/init_nas_s1
+4
-4
cmake_targets/tools/run_ue_s1
cmake_targets/tools/run_ue_s1
+33
-0
No files found.
cmake_targets/build_ue
0 → 100644
View file @
6539ff81
#!/bin/bash
#sudo ./build_oai -c -C -I --install-optional-packages --install-system-files --UE -w USRP -V
#sudo ./build_oai -c -C -I --install-optional-packages --UE -w USRP -V
#sudo ./build_oai -c -C --UE -w USRP -V
sudo
./build_oai
-c
-C
--UE
-w
USRP
cmake_targets/tools/build_helper
View file @
6539ff81
...
@@ -164,7 +164,13 @@ compilations() {
...
@@ -164,7 +164,13 @@ compilations() {
} > $dlog/$2.$REL.txt 2>&1
} > $dlog/$2.$REL.txt 2>&1
set -e
set -e
echo_info "Log file for compilation has been written to: $dlog/$2.$REL.txt"
echo_info "Log file for compilation has been written to: $dlog/$2.$REL.txt"
if [ -s $3 ] ; then
echo "#!/bash/bin" > domake_$2.sh
echo "$SUDO make -j`nproc` $2" >> domake_$2.sh
echo "$SUDO cp $3 $4" >> domake_$2.sh
chmod 775 domake_$2.sh
if [ -s $3 ] ; then
cp $3 $4
cp $3 $4
echo_success "$2 compiled"
echo_success "$2 compiled"
check_warnings "$dlog/$2.$REL.txt"
check_warnings "$dlog/$2.$REL.txt"
...
...
cmake_targets/tools/init_nas_s1
View file @
6539ff81
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
#
#
#######################################
#######################################
LTEIF
=
oip
0
LTEIF
=
oip
1
#OPENAIR_DIR=/home/oai/svn-oai/openair4G
#OPENAIR_DIR=/home/oai/svn-oai/openair4G
load_module
()
{
load_module
()
{
...
@@ -48,11 +48,11 @@ load_module() {
...
@@ -48,11 +48,11 @@ load_module() {
sudo
insmod
$1
sudo
insmod
$1
}
}
load_module
$OPENAIR_DIR
/targets/bin/ue_ip.ko
load_module
../..
/targets/bin/ue_ip.ko
if
[
"
$1
"
=
"UE"
]
;
then
if
[
"
$1
"
=
"UE"
]
;
then
echo
"bring up
oip0
interface for UE"
echo
"bring up
$LTEIF
interface for UE"
ifconfig
oip0
up
ifconfig
$LTEIF
up
fi
fi
ip route flush cache
ip route flush cache
...
...
cmake_targets/tools/run_ue_s1
0 → 100644
View file @
6539ff81
#!/bin/bash
# Carrier frequency in Hz
#FREQ=2660000000 #FDD
FREQ
=
2350000000
#TDD
NRB
=
50
TA
=
0
#9:trace, 8/7:debug, 6:info, 4:warn, 3:error
LOGLEVEL
=
6
#enable or disable soft scope
#SCOPE=''
SCOPE
=
'-d'
#enable or disable VCD logging
VCD
=
''
#VCD='-V'
ISTDD
=
'-T'
#ISTDD=''
#use external clock
ECLK
=
"--external-clock"
#ECLK=""
#UE scan carrier
#ISSCAN="--ue-scan-carrier"
ISSCAN
=
""
sudo
sh
-c
'./init_nas_s1 UE'
cd
../../targets/bin/
sudo
-E
./lte-softmodem.Rel10
-U
-C
$FREQ
-r
$NRB
$ISSCAN
--ue-txgain
70
--ue-rxgain
80
-A
$TA
$ECLK
-W
$ISTDD
-g
$LOGLEVEL
$SCOPE
2>&1 |
sudo tee
/tmp/UE.log
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