Bläddra i källkod

initial updates

pull/64/head
Luigi Cruz 3 år sedan
förälder
incheckning
bc62178566
29 ändrade filer med 29 tillägg och 56 borttagningar
  1. +0
    -5
      stage4/04-enable-xcompmgr/00-run.sh
  2. +2
    -2
      stage4/04-pisdr-system/01-run.sh
  3. +1
    -1
      stage4/04-pisdr-system/wallpaper/desktop-items-0.conf
  4. Binär
      stage4/04-pisdr-system/wallpaper/kevin-quezada-lmt.jpg
  5. +2
    -5
      stage4/05-pisdr-uhd/00-run.sh
  6. +0
    -0
      stage4/06-pisdr-soapysdr/00-packages-nr
  7. +0
    -0
      stage4/06-pisdr-soapysdr/01-run.sh
  8. +0
    -0
      stage4/06-pisdr-soapysdr/02-run.sh
  9. +0
    -0
      stage4/07-pisdr-limesdr/00-packages-nr
  10. +0
    -0
      stage4/07-pisdr-limesdr/00-run.sh
  11. +0
    -19
      stage4/07-pisdr-soapysdr/03-run.sh
  12. +0
    -0
      stage4/08-pisdr-airspy/00-run.sh
  13. +0
    -0
      stage4/08-pisdr-airspy/01-run.sh
  14. +0
    -0
      stage4/08-pisdr-airspy/02-run.sh
  15. +0
    -0
      stage4/08-pisdr-airspy/03-run.sh
  16. +0
    -0
      stage4/09-pisdr-rtlsdr/00-run.sh
  17. +0
    -0
      stage4/09-pisdr-rtlsdr/01-run.sh
  18. +0
    -0
      stage4/10-pisdr-plutosdr/00-packages-nr
  19. +0
    -0
      stage4/10-pisdr-plutosdr/00-run.sh
  20. +0
    -0
      stage4/10-pisdr-plutosdr/01-run.sh
  21. +0
    -0
      stage4/10-pisdr-plutosdr/03-run.sh
  22. +0
    -0
      stage4/11-pisdr-hackrf/00-run.sh
  23. +0
    -0
      stage4/11-pisdr-hackrf/01-run.sh
  24. +0
    -19
      stage4/11-pisdr-plutosdr/02-run.sh
  25. +1
    -1
      stage4/12-pisdr-gnuradio/00-packages-nr
  26. +19
    -0
      stage4/12-pisdr-gnuradio/00-run.sh
  27. +2
    -2
      stage4/12-pisdr-gnuradio/01-run.sh
  28. +1
    -1
      stage4/13-pisdr-gnuradio-mod/01-run.sh
  29. +1
    -1
      stage4/13-pisdr-gnuradio-mod/02-run.sh

+ 0
- 5
stage4/04-enable-xcompmgr/00-run.sh Visa fil

@@ -1,5 +0,0 @@
#!/bin/bash -e

on_chroot << EOF
raspi-config nonint do_xcompmgr 0
EOF

+ 2
- 2
stage4/04-pisdr-system/01-run.sh Visa fil

@@ -5,11 +5,11 @@ install -v -o 1000 -g 1000 -m 755 shortcut/sdrangel.desktop "${ROOTFS_DIR}/home/
install -v -o 1000 -g 1000 -m 755 shortcut/gpredict.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/"

install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/usr/share/rpd-wallpaper/"
install -v -o 1000 -g 1000 -m 755 wallpaper/donald-giannatti-vla.jpg "${ROOTFS_DIR}/usr/share/rpd-wallpaper/"
install -v -o 1000 -g 1000 -m 755 wallpaper/kevin-quezada-lmt.jpg "${ROOTFS_DIR}/usr/share/rpd-wallpaper/"

install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config/"
install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config/menus/"
install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config/pcmanfm/"
install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config/pcmanfm/LXDE-pi/"

install -v -o 1000 -g 1000 -m 644 wallpaper/desktop-items-0.conf "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config/pcmanfm/LXDE-pi/"
install -v -o 1000 -g 1000 -m 644 wallpaper/desktop-items-0.conf "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config/pcmanfm/LXDE-pi/"

+ 1
- 1
stage4/04-pisdr-system/wallpaper/desktop-items-0.conf Visa fil

@@ -1,4 +1,4 @@
[*]
wallpaper_mode=crop
wallpaper_common=1
wallpaper=/usr/share/rpd-wallpaper/donald-giannatti-vla.jpg
wallpaper=/usr/share/rpd-wallpaper/kevin-quezada-lmt.jpg

Binär
stage4/04-pisdr-system/wallpaper/kevin-quezada-lmt.jpg Visa fil

Före Efter
Bredd: 5184  |  Höjd: 3456  |  Storlek: 3.2 MiB

+ 2
- 5
stage4/05-pisdr-uhd/00-run.sh Visa fil

@@ -11,14 +11,11 @@ fi
cd uhd/host
mkdir -p build
cd build
cmake -DCMAKE_CXX_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15 -Wno-psabi" \
-DCMAKE_C_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15 -Wno-psabi" \
-DCMAKE_ASM_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15" \
-GNinja -DCMAKE_BUILD_TYPE=Release ../
cmake -GNinja -DCMAKE_BUILD_TYPE=Release ../
ninja install
cp /usr/local/lib/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/
ldconfig
uhd_images_downloader
cd ..
rm -fr build
EOF
EOF

stage4/07-pisdr-soapysdr/00-packages-nr → stage4/06-pisdr-soapysdr/00-packages-nr Visa fil


stage4/07-pisdr-soapysdr/01-run.sh → stage4/06-pisdr-soapysdr/01-run.sh Visa fil


stage4/07-pisdr-soapysdr/02-run.sh → stage4/06-pisdr-soapysdr/02-run.sh Visa fil


stage4/08-pisdr-limesdr/00-packages-nr → stage4/07-pisdr-limesdr/00-packages-nr Visa fil


stage4/08-pisdr-limesdr/00-run.sh → stage4/07-pisdr-limesdr/00-run.sh Visa fil


+ 0
- 19
stage4/07-pisdr-soapysdr/03-run.sh Visa fil

@@ -1,19 +0,0 @@
#!/bin/bash

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"

if [ ! -d "gr-soapy" ]; then
git clone --depth 1 https://gitlab.com/librespacefoundation/gr-soapy.git
fi

cd gr-soapy
mkdir -p build
cd build
cmake -GNinja ..
ninja install
ldconfig
cd ..
rm -fr build
EOF

stage4/09-pisdr-airspy/00-run.sh → stage4/08-pisdr-airspy/00-run.sh Visa fil


stage4/09-pisdr-airspy/01-run.sh → stage4/08-pisdr-airspy/01-run.sh Visa fil


stage4/09-pisdr-airspy/02-run.sh → stage4/08-pisdr-airspy/02-run.sh Visa fil


stage4/09-pisdr-airspy/03-run.sh → stage4/08-pisdr-airspy/03-run.sh Visa fil


stage4/10-pisdr-rtlsdr/00-run.sh → stage4/09-pisdr-rtlsdr/00-run.sh Visa fil


stage4/10-pisdr-rtlsdr/01-run.sh → stage4/09-pisdr-rtlsdr/01-run.sh Visa fil


stage4/11-pisdr-plutosdr/00-packages-nr → stage4/10-pisdr-plutosdr/00-packages-nr Visa fil


stage4/11-pisdr-plutosdr/00-run.sh → stage4/10-pisdr-plutosdr/00-run.sh Visa fil


stage4/11-pisdr-plutosdr/01-run.sh → stage4/10-pisdr-plutosdr/01-run.sh Visa fil


stage4/11-pisdr-plutosdr/03-run.sh → stage4/10-pisdr-plutosdr/03-run.sh Visa fil


stage4/12-pisdr-hackrf/00-run.sh → stage4/11-pisdr-hackrf/00-run.sh Visa fil


stage4/12-pisdr-hackrf/01-run.sh → stage4/11-pisdr-hackrf/01-run.sh Visa fil


+ 0
- 19
stage4/11-pisdr-plutosdr/02-run.sh Visa fil

@@ -1,19 +0,0 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios"
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios"

if [ ! -d "gr-iio" ]; then
git clone --single-branch --branch upgrade-3.8 --depth 1 https://github.com/analogdevicesinc/gr-iio
fi

cd gr-iio
mkdir -p build
cd build
cmake -GNinja -DINSTALL_UDEV_RULE=ON ..
ninja install
ldconfig
cd ..
rm -fr build
EOF

stage4/06-pisdr-gnuradio/00-packages-nr → stage4/12-pisdr-gnuradio/00-packages-nr Visa fil

@@ -15,10 +15,10 @@ libportaudio2
pulseaudio
libjack-dev
libgmp-dev
libsdl1.2-dev
liblog4cpp5-dev
libqwt-qt5-dev
libqt5opengl5-dev
libcodec2-dev

python3-numpy
python3-mako

+ 19
- 0
stage4/12-pisdr-gnuradio/00-run.sh Visa fil

@@ -0,0 +1,19 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"

if [ ! -d "volk" ]; then
git clone --single-branch --branch v2.5.0 --depth 1 --recurse-submodules --shallow-submodules https://github.com/gnuradio/volk.git
fi

cd volk
mkdir -p build
cd build
cmake -GNinja -DCMAKE_BUILD_TYPE=Release ..
ninja install
ldconfig
cd ..
rm -fr build
EOF

stage4/06-pisdr-gnuradio/00-run.sh → stage4/12-pisdr-gnuradio/01-run.sh Visa fil

@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"

if [ ! -d "gnuradio" ]; then
git clone --single-branch --branch maint-3.8 --depth 1 --recurse-submodules --shallow-submodules https://github.com/gnuradio/gnuradio.git
git clone --single-branch --branch maint-3.9 --depth 1 --recurse-submodules --shallow-submodules https://github.com/gnuradio/gnuradio.git
fi

cd gnuradio
@@ -17,4 +17,4 @@ ninja install
ldconfig
cd ..
rm -fr build
EOF
EOF

stage4/08-pisdr-limesdr/01-run.sh → stage4/13-pisdr-gnuradio-mod/01-run.sh Visa fil

@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios"
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios"

if [ ! -d "gr-limesdr" ]; then
git clone --single-branch --branch gr-3.8 --depth 1 https://github.com/myriadrf/gr-limesdr.git
git clone --single-branch --branch gr39 --depth 1 https://github.com/daniestevez/gr-limesdr.git
fi

cd gr-limesdr

stage4/13-pisdr-osmocom/00-run.sh → stage4/13-pisdr-gnuradio-mod/02-run.sh Visa fil

@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"

if [ ! -d "gr-osmosdr" ]; then
git clone --single-branch --branch gr3.8 --depth 1 git://git.osmocom.org/gr-osmosdr
git clone --single-branch --branch master --depth 1 git://git.osmocom.org/gr-osmosdr
fi

cd gr-osmosdr

Laddar…
Avbryt
Spara