Ver código fonte

Release Version 6.0 (#64)

* initial updates

* disable X86 SIMD for uhd

* add dependencies to hackrf

* replace swig with pybind

* add gnuradio 3.9 dependencies

* Install pybind11 via pip

* compile pybind11 from source

* fix volk build script perm

* ignore apt packages for dump1090

* fix dpkg ignore dependencies

* remove dump1090

* update foxtelem

* update foxtelem filename

* upgrade to bullseye

* change i386 to arm32v7 docker

* revert arch detection

* use native docker image to build

* Add missing dependency.

* fix dependency

* add dependency

* Fix dependencies.

* add raspi-config package

* update packages to bullseye

* add missing packages

* remove pip install of ninja and cmake

* set uhd arch to armhf

* nuke python2

* change armhf to armv6-m

* add hardware float to the armv6 flags

* tweak armv6 build

* disable neon for armv6

* fix rtlsdr-airband build

* Add multicore compression.

* First batch of new software for v6.0.

* Remove uneeeded dependencies.

* Second batch of new applications for v6.0.

* Third batch of new applications for v6.0.

* Forth batch of new applications for v6.0.

* Fix SDRplay build script.

* Fix char escape.

* Fix LeanDVB build.

* Fix QtDAB build.

* Add more desktop shortcuts.

* final fixes
tags/v6.0.0
Luigi Cruz 2 anos atrás
committed by GitHub
pai
commit
0cce144976
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
100 arquivos alterados com 374 adições e 189 exclusões
  1. +2
    -2
      Dockerfile
  2. +14
    -0
      LICENSE
  3. +10
    -0
      README.md
  4. +4
    -16
      build-docker.sh
  5. +4
    -4
      build.sh
  6. +3
    -1
      depends
  7. +1
    -1
      export-image/04-finalise/01-run.sh
  8. +9
    -0
      inspectrum.desktop
  9. +5
    -2
      scripts/common
  10. +20
    -5
      scripts/dependencies_check
  11. +3
    -3
      scripts/qcow2_handling
  12. +1
    -0
      stage0/02-firmware/01-packages
  13. +1
    -1
      stage1/00-boot-files/files/cmdline.txt
  14. +23
    -8
      stage1/00-boot-files/files/config.txt
  15. +3
    -1
      stage1/02-net-tweaks/00-run.sh
  16. +1
    -1
      stage1/03-install-packages/00-packages
  17. +3
    -4
      stage2/01-sys-tweaks/00-packages
  18. +2
    -2
      stage2/01-sys-tweaks/00-patches/07-resize-init.diff
  19. +4
    -3
      stage2/02-net-tweaks/01-run.sh
  20. +0
    -3
      stage2/02-net-tweaks/files/wait.conf
  21. +2
    -2
      stage3/00-install-packages/00-packages
  22. +1
    -1
      stage3/00-install-packages/00-packages-nr
  23. +3
    -1
      stage3/01-tweaks/00-run.sh
  24. +10
    -10
      stage4/00-install-packages/00-packages
  25. +22
    -22
      stage4/00-install-packages/01-packages
  26. +0
    -5
      stage4/04-enable-xcompmgr/00-run.sh
  27. +8
    -1
      stage4/04-pisdr-system/00-packages
  28. +11
    -3
      stage4/04-pisdr-system/01-run.sh
  29. +4
    -2
      stage4/04-pisdr-system/03-run.sh
  30. +0
    -8
      stage4/04-pisdr-system/04-run.sh
  31. +9
    -0
      stage4/04-pisdr-system/shortcut/glrpt.desktop
  32. +9
    -0
      stage4/04-pisdr-system/shortcut/inspectrum.desktop
  33. +9
    -0
      stage4/04-pisdr-system/shortcut/limesuite.desktop
  34. +9
    -0
      stage4/04-pisdr-system/shortcut/osc.desktop
  35. +9
    -0
      stage4/04-pisdr-system/shortcut/qtdab.desktop
  36. +9
    -0
      stage4/04-pisdr-system/shortcut/quisk.desktop
  37. +0
    -9
      stage4/04-pisdr-system/shortcut/sdrangel.desktop
  38. +9
    -0
      stage4/04-pisdr-system/shortcut/sdrpp.desktop
  39. +9
    -0
      stage4/04-pisdr-system/shortcut/urh.desktop
  40. +9
    -0
      stage4/04-pisdr-system/shortcut/wsjtx.desktop
  41. +1
    -1
      stage4/04-pisdr-system/wallpaper/desktop-items-0.conf
  42. BIN
      stage4/04-pisdr-system/wallpaper/donald-giannatti-vla.jpg
  43. BIN
      stage4/04-pisdr-system/wallpaper/kevin-quezada-lmt.jpg
  44. +5
    -5
      stage4/05-pisdr-uhd/00-run.sh
  45. +1
    -1
      stage4/06-pisdr-soapysdr/00-packages-nr
  46. +0
    -0
      stage4/06-pisdr-soapysdr/01-run.sh
  47. +0
    -0
      stage4/06-pisdr-soapysdr/02-run.sh
  48. +21
    -0
      stage4/07-pisdr-sdrplay/00-run.sh
  49. +4
    -4
      stage4/07-pisdr-sdrplay/01-run.sh
  50. +0
    -19
      stage4/07-pisdr-soapysdr/03-run.sh
  51. +0
    -0
      stage4/08-pisdr-airspy/00-run.sh
  52. +0
    -0
      stage4/08-pisdr-airspy/01-run.sh
  53. +0
    -0
      stage4/08-pisdr-airspy/02-run.sh
  54. +0
    -0
      stage4/08-pisdr-airspy/03-run.sh
  55. +0
    -19
      stage4/08-pisdr-limesdr/01-run.sh
  56. +1
    -1
      stage4/09-pisdr-limesdr/00-packages-nr
  57. +0
    -0
      stage4/09-pisdr-limesdr/00-run.sh
  58. +0
    -0
      stage4/10-pisdr-plutosdr/00-packages-nr
  59. +0
    -0
      stage4/10-pisdr-plutosdr/00-run.sh
  60. +0
    -0
      stage4/10-pisdr-plutosdr/01-run.sh
  61. +0
    -0
      stage4/10-pisdr-plutosdr/03-run.sh
  62. +0
    -0
      stage4/11-pisdr-rtlsdr/00-packages-nr
  63. +0
    -0
      stage4/11-pisdr-rtlsdr/00-run.sh
  64. +0
    -0
      stage4/11-pisdr-rtlsdr/01-run.sh
  65. +1
    -0
      stage4/12-pisdr-hackrf/00-packages
  66. +8
    -4
      stage4/13-pisdr-gnuradio/00-packages-nr
  67. +19
    -0
      stage4/13-pisdr-gnuradio/00-run.sh
  68. +2
    -2
      stage4/13-pisdr-gnuradio/01-run.sh
  69. +19
    -0
      stage4/14-pisdr-gnuradio-mod/01-run.sh
  70. +1
    -1
      stage4/14-pisdr-gnuradio-mod/02-run.sh
  71. +19
    -0
      stage4/14-pisdr-gnuradio-mod/03-run.sh
  72. +0
    -1
      stage4/15-pisdr-gqrx/00-packages-nr
  73. +0
    -0
      stage4/15-pisdr-gqrx/00-run.sh
  74. +0
    -0
      stage4/16-pisdr-cygnusrf/00-run.sh
  75. +0
    -0
      stage4/17-pisdr-rtl443/00-run.sh
  76. +0
    -1
      stage4/18-pisdr-sdrangel/00-packages-nr
  77. +0
    -0
      stage4/18-pisdr-sdrangel/00-run.sh
  78. +0
    -0
      stage4/18-pisdr-sdrangel/01-run.sh
  79. +0
    -0
      stage4/18-pisdr-sdrangel/02-run.sh
  80. +0
    -0
      stage4/18-pisdr-sdrangel/03-run.sh
  81. +0
    -0
      stage4/18-pisdr-sdrangel/04-run.sh
  82. +0
    -0
      stage4/18-pisdr-sdrangel/05-run.sh
  83. +0
    -0
      stage4/19-pisdr-libacars/00-packages-nr
  84. +0
    -0
      stage4/19-pisdr-libacars/00-run.sh
  85. +0
    -0
      stage4/20-pisdr-acarsdec/00-run.sh
  86. +0
    -0
      stage4/21-pisdr-multimonng/00-run.sh
  87. +4
    -0
      stage4/22-pisdr-hamlib/00-packages-nr
  88. +1
    -0
      stage4/22-pisdr-hamlib/00-run.sh
  89. +0
    -0
      stage4/23-pisdr-gpredict/00-packages-nr
  90. +2
    -1
      stage4/23-pisdr-gpredict/00-run.sh
  91. +1
    -1
      stage4/24-pisdr-rpitx/00-packages-nr
  92. +0
    -0
      stage4/24-pisdr-rpitx/00-run.sh
  93. +0
    -0
      stage4/25-pisdr-virgo/00-run.sh
  94. +0
    -5
      stage4/26-pisdr-quisk/00-packages-nr
  95. +0
    -1
      stage4/26-pisdr-quisk/00-run.sh
  96. +0
    -0
      stage4/27-pisdr-limesdr-toolbox/00-run.sh
  97. +2
    -0
      stage4/28-pisdr-airband/00-packages-nr
  98. +6
    -1
      stage4/28-pisdr-airband/00-run.sh
  99. +1
    -0
      stage4/29-pisdr-osmo-fl2k/00-packages-nr
  100. +0
    -0
      stage4/29-pisdr-osmo-fl2k/00-run.sh

+ 2
- 2
Dockerfile Ver arquivo

@@ -7,8 +7,8 @@ RUN apt-get -y update && \
apt-get -y install --no-install-recommends \
git vim parted \
quilt coreutils qemu-user-static debootstrap zerofree zip dosfstools \
bsdtar libcap2-bin rsync grep udev xz-utils curl xxd file kmod bc\
binfmt-support ca-certificates qemu-utils kpartx \
libarchive-tools libcap2-bin rsync grep udev xz-utils curl xxd file kmod bc\
binfmt-support ca-certificates qemu-utils kpartx util-linux fdisk \
&& rm -rf /var/lib/apt/lists/*

COPY . /pi-gen/


+ 14
- 0
LICENSE Ver arquivo

@@ -19,3 +19,17 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Copyright (c) 2015 Raspberry Pi (Trading) Ltd.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+ 10
- 0
README.md Ver arquivo

@@ -36,6 +36,15 @@ List of pre-installed software:
- [gpredict](https://github.com/csete/gpredict)
- [EliasOenal/multimon-ng](https://github.com/EliasOenal/multimon-ng)
- [pabr/leansdr](https://github.com/pabr/leansdr)
- [QtDAB](https://github.com/JvanKatwijk/qt-dab)
- [IIO Oscilloscope](https://github.com/analogdevicesinc/iio-oscilloscope)
- [RTL-AIS](https://github.com/dgiardini/rtl-ais)
- [Inspectrum](https://github.com/miek/inspectrum)
- [WSJT-X](https://physics.princeton.edu/pulsar/k1jt/wsjtx.html)
- [nrsc5](https://github.com/theori-io/nrsc5)
- [xwxapt](https://www.qsl.net/5b4az/pkg/apt/xwxapt/xwxapt.html)
- [GLRPT](https://github.com/dvdesolve/glrpt)
- [SDR++](https://github.com/AlexandreRouma/SDRPlusPlus)

### Radios
We currently support the following SDR:
@@ -50,6 +59,7 @@ We currently support the following SDR:
- [Airspy HF+](https://airspy.com/airspy-hf-plus/)
- [HackRF One](https://greatscottgadgets.com/hackrf/one/)
- [USRP](https://www.ettus.com/products/)
- [SDRplay](https://www.sdrplay.com/)

## Getting started



+ 4
- 16
build-docker.sh Ver arquivo

@@ -48,6 +48,7 @@ fi
CONTAINER_NAME=${CONTAINER_NAME:-pigen_work}
CONTINUE=${CONTINUE:-0}
PRESERVE_CONTAINER=${PRESERVE_CONTAINER:-0}
PIGEN_DOCKER_OPTS=${PIGEN_DOCKER_OPTS:-""}

if [ -z "${IMG_NAME}" ]; then
echo "IMG_NAME not set in 'config'" 1>&2
@@ -74,22 +75,7 @@ fi
# Modify original build-options to allow config file to be mounted in the docker container
BUILD_OPTS="$(echo "${BUILD_OPTS:-}" | sed -E 's@\-c\s?([^ ]+)@-c /config@')"

# Check the arch of the machine we're running on. If it's 64-bit, use a 32-bit base image instead
case "$(uname -m)" in
x86_64|aarch64)
case "$(uname -m)" in
aarch64)
BASE_IMAGE=arm32v7/debian:buster
;;
*)
BASE_IMAGE=i386/debian:buster
;;
esac
;;
*)
BASE_IMAGE=debian:buster
;;
esac
BASE_IMAGE=debian:buster
${DOCKER} build --build-arg BASE_IMAGE=${BASE_IMAGE} -t pi-gen "${DIR}"

if [ "${CONTAINER_EXISTS}" != "" ]; then
@@ -98,6 +84,7 @@ if [ "${CONTAINER_EXISTS}" != "" ]; then
--cap-add=ALL \
-v /dev:/dev \
-v /lib/modules:/lib/modules \
${PIGEN_DOCKER_OPTS} \
--volume "${CONFIG_FILE}":/config:ro \
-e "GIT_HASH=${GIT_HASH}" \
--volumes-from="${CONTAINER_NAME}" --name "${CONTAINER_NAME}_cont" \
@@ -112,6 +99,7 @@ else
--cap-add=ALL \
-v /dev:/dev \
-v /lib/modules:/lib/modules \
${PIGEN_DOCKER_OPTS} \
--volume "${CONFIG_FILE}":/config:ro \
-e "GIT_HASH=${GIT_HASH}" \
pi-gen \


+ 4
- 4
build.sh Ver arquivo

@@ -111,7 +111,7 @@ run_stage(){
STAGE_WORK_DIR="${WORK_DIR}/${STAGE}"
ROOTFS_DIR="${STAGE_WORK_DIR}"/rootfs

if [ "${USE_QCOW2}" = "1" ]; then
if [ "${USE_QCOW2}" = "1" ]; then
if [ ! -f SKIP ]; then
load_qimage
fi
@@ -121,7 +121,7 @@ run_stage(){
unmount "${WORK_DIR}/${STAGE}"
fi
fi
if [ ! -f SKIP_IMAGES ]; then
if [ -f "${STAGE_DIR}/EXPORT_IMAGE" ]; then
EXPORT_DIRS="${EXPORT_DIRS} ${STAGE_DIR}"
@@ -219,7 +219,7 @@ export TARGET_HOSTNAME=${TARGET_HOSTNAME:-raspberrypi}

export FIRST_USER_NAME=${FIRST_USER_NAME:-pi}
export FIRST_USER_PASS=${FIRST_USER_PASS:-raspberry}
export RELEASE=${RELEASE:-buster}
export RELEASE=${RELEASE:-bullseye}
export WPA_ESSID
export WPA_PASSWORD
export WPA_COUNTRY
@@ -265,7 +265,7 @@ source "${SCRIPT_DIR}/common"
source "${SCRIPT_DIR}/dependencies_check"

export NO_PRERUN_QCOW2="${NO_PRERUN_QCOW2:-1}"
export USE_QCOW2="${USE_QCOW2:-1}"
export USE_QCOW2="${USE_QCOW2:-0}"
export BASE_QCOW2_SIZE=${BASE_QCOW2_SIZE:-12G}
source "${SCRIPT_DIR}/qcow2_handling"
if [ "${USE_QCOW2}" = "1" ]; then


+ 3
- 1
depends Ver arquivo

@@ -7,7 +7,7 @@ zerofree
zip
mkdosfs:dosfstools
capsh:libcap2-bin
bsdtar
bsdtar:libarchive-tools
grep
rsync
xz:xz-utils
@@ -17,3 +17,5 @@ file
git
lsmod:kmod
bc
qemu-nbd:qemu-utils
kpartx

+ 1
- 1
export-image/04-finalise/01-run.sh Ver arquivo

@@ -98,7 +98,7 @@ fi

if [ "${DEPLOY_ZIP}" == "1" ]; then
pushd "${STAGE_WORK_DIR}" > /dev/null
xz -c "$(basename "${IMG_FILE}")" > "${DEPLOY_DIR}/${ZIP_FILENAME}${IMG_SUFFIX}.img.xz"
xz -T16 -c "$(basename "${IMG_FILE}")" > "${DEPLOY_DIR}/${ZIP_FILENAME}${IMG_SUFFIX}.img.xz"
popd > /dev/null
rm -f "${DEPLOY_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.img"
else


+ 9
- 0
inspectrum.desktop Ver arquivo

@@ -0,0 +1,9 @@
[Desktop Entry]
Name=Inspectrum
Comment=Inspectrum
Icon=
Exec=inspectrum
Type=Application
Encoding=UTF-8
Terminal=true
Categories=None;

+ 5
- 2
scripts/common Ver arquivo

@@ -16,13 +16,16 @@ bootstrap(){
BOOTSTRAP_ARGS+=(--arch armhf)
BOOTSTRAP_ARGS+=(--components "main,contrib,non-free")
BOOTSTRAP_ARGS+=(--keyring "${STAGE_DIR}/files/raspberrypi.gpg")
BOOTSTRAP_ARGS+=(--exclude=info)
BOOTSTRAP_ARGS+=("$@")
printf -v BOOTSTRAP_STR '%q ' "${BOOTSTRAP_ARGS[@]}"

setarch linux32 capsh --drop=cap_setfcap -- -c "'${BOOTSTRAP_CMD}' $BOOTSTRAP_STR" || true

if [ -d "$2/debootstrap" ]; then
rmdir "$2/debootstrap"
if [ -d "$2/debootstrap" ] && ! rmdir "$2/debootstrap"; then
cp "$2/debootstrap/debootstrap.log" "${STAGE_WORK_DIR}"
log "bootstrap failed: please check ${STAGE_WORK_DIR}/debootstrap.log"
return 1
fi
}
export -f bootstrap


+ 20
- 5
scripts/dependencies_check Ver arquivo

@@ -28,11 +28,26 @@ dependencies_check()
false
fi

# If we're building on a native arm platform, we don't need to check for
# binfmt_misc or require it to be loaded.

if ! grep -q "/proc/sys/fs/binfmt_misc" /proc/mounts; then
echo "Module binfmt_misc not loaded in host"
echo "Please run:"
echo " sudo modprobe binfmt_misc"
exit 1
binfmt_misc_required=1

case $(uname -m) in
aarch64)
binfmt_misc_required=0
;;
arm*)
binfmt_misc_required=0
;;
esac

if [[ "${binfmt_misc_required}" == "1" ]]; then
if ! grep -q "/proc/sys/fs/binfmt_misc" /proc/mounts; then
echo "Module binfmt_misc not loaded in host"
echo "Please run:"
echo " sudo modprobe binfmt_misc"
exit 1
fi
fi
}

+ 3
- 3
scripts/qcow2_handling Ver arquivo

@@ -36,7 +36,7 @@ connect_blkdev() {
init_nbd
qemu-nbd --discard=unmap -c $NBD_DEV "$1"
sync
kpartx -a $NBD_DEV
kpartx -as $NBD_DEV
sync
CURRENT_IMAGE="$1"
}
@@ -108,7 +108,7 @@ load_qimage() {
254MiB,,83;
EOF
sync
kpartx -a $NBD_DEV
kpartx -as $NBD_DEV
mkdosfs -n boot -F 32 -v $MAP_BOOT_DEV
mkfs.ext4 -L rootfs -O "^huge_file,^metadata_csum,^64bit" $MAP_ROOT_DEV
sync
@@ -123,7 +123,7 @@ EOF
sync
qemu-nbd --discard=unmap -c $NBD_DEV image-${STAGE}.qcow2
sync
kpartx -a $NBD_DEV
kpartx -as $NBD_DEV
fi

mount -v -t ext4 $MAP_ROOT_DEV "${ROOTFS_DIR}"


+ 1
- 0
stage0/02-firmware/01-packages Ver arquivo

@@ -1,2 +1,3 @@
raspberrypi-bootloader
raspberrypi-kernel
raspi-config

+ 1
- 1
stage1/00-boot-files/files/cmdline.txt Ver arquivo

@@ -1 +1 @@
console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 fsck.repair=yes rootwait

+ 23
- 8
stage1/00-boot-files/files/config.txt Ver arquivo

@@ -5,10 +5,6 @@
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
@@ -56,10 +52,29 @@
# Enable audio (loads snd_bcm2835)
dtparam=audio=on

[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
# Automatically load overlays for detected cameras
camera_auto_detect=1

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Disable compensation for displays with overscan
disable_overscan=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[all]

[pi4]
# Run as fast as firmware / board allows
arm_boost=1

[all]
#dtoverlay=vc4-fkms-v3d

+ 3
- 1
stage1/02-net-tweaks/00-run.sh Ver arquivo

@@ -3,4 +3,6 @@
echo "${TARGET_HOSTNAME}" > "${ROOTFS_DIR}/etc/hostname"
echo "127.0.1.1 ${TARGET_HOSTNAME}" >> "${ROOTFS_DIR}/etc/hosts"

ln -sf /dev/null "${ROOTFS_DIR}/etc/systemd/network/99-default.link"
on_chroot << EOF
SUDO_USER="${FIRST_USER_NAME}" raspi-config nonint do_net_names 1
EOF

+ 1
- 1
stage1/03-install-packages/00-packages Ver arquivo

@@ -1 +1 @@
libraspberrypi-bin libraspberrypi0 raspi-config
libraspberrypi-bin libraspberrypi0

+ 3
- 4
stage2/01-sys-tweaks/00-packages Ver arquivo

@@ -1,8 +1,8 @@
ssh less fbset sudo psmisc strace ed ncdu crda
console-setup keyboard-configuration debconf-utils parted unzip
build-essential manpages-dev python bash-completion gdb pkg-config
python-rpi.gpio v4l-utils
python-gpiozero
build-essential manpages-dev bash-completion gdb pkg-config
python-is-python3
python3-rpi.gpio v4l-utils
python3-gpiozero
avahi-daemon
lua5.1
@@ -26,7 +26,6 @@ policykit-1
ssh-import-id
rng-tools
ethtool
vl805fw
ntfs-3g
pciutils
rpi-eeprom


+ 2
- 2
stage2/01-sys-tweaks/00-patches/07-resize-init.diff Ver arquivo

@@ -1,5 +1,5 @@
--- stage2.orig/rootfs/boot/cmdline.txt
+++ stage2/rootfs/boot/cmdline.txt
@@ -1 +1 @@
-console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
+console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet init=/usr/lib/raspi-config/init_resize.sh
-console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 fsck.repair=yes rootwait
+console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 fsck.repair=yes rootwait quiet init=/usr/lib/raspi-config/init_resize.sh

+ 4
- 3
stage2/02-net-tweaks/01-run.sh Ver arquivo

@@ -1,11 +1,12 @@
#!/bin/bash -e

install -v -d "${ROOTFS_DIR}/etc/systemd/system/dhcpcd.service.d"
install -v -m 644 files/wait.conf "${ROOTFS_DIR}/etc/systemd/system/dhcpcd.service.d/"

install -v -d "${ROOTFS_DIR}/etc/wpa_supplicant"
install -v -m 600 files/wpa_supplicant.conf "${ROOTFS_DIR}/etc/wpa_supplicant/"

on_chroot << EOF
SUDO_USER="${FIRST_USER_NAME}" raspi-config nonint do_boot_wait 0
EOF

if [ -v WPA_COUNTRY ]; then
echo "country=${WPA_COUNTRY}" >> "${ROOTFS_DIR}/etc/wpa_supplicant/wpa_supplicant.conf"
fi


+ 0
- 3
stage2/02-net-tweaks/files/wait.conf Ver arquivo

@@ -1,3 +0,0 @@
[Service]
ExecStart=
ExecStart=/usr/lib/dhcpcd5/dhcpcd -q -w

+ 2
- 2
stage3/00-install-packages/00-packages Ver arquivo

@@ -2,8 +2,6 @@ gstreamer1.0-x gstreamer1.0-omx gstreamer1.0-plugins-base gstreamer1.0-plugins-g
qpdfview gtk2-engines alsa-utils
desktop-base
git
omxplayer
raspberrypi-artwork
policykit-1
gvfs
rfkill
@@ -13,3 +11,5 @@ fonts-droid-fallback
fonts-liberation2
obconf
arandr
libcamera-tools
libcamera-apps

+ 1
- 1
stage3/00-install-packages/00-packages-nr Ver arquivo

@@ -3,4 +3,4 @@ mousepad
lxde lxtask menu-xdg
zenity xdg-utils
gvfs-backends gvfs-fuse
lightdm gnome-themes-standard-data gnome-icon-theme
lightdm gnome-themes-standard-data gnome-icon-theme

+ 3
- 1
stage3/01-tweaks/00-run.sh Ver arquivo

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

rm -f "${ROOTFS_DIR}/etc/systemd/system/dhcpcd.service.d/wait.conf"
on_chroot << EOF
SUDO_USER="${FIRST_USER_NAME}" raspi-config nonint do_boot_wait 1
EOF

+ 10
- 10
stage4/00-install-packages/00-packages Ver arquivo

@@ -1,11 +1,11 @@
python python3-pygame python-pygame python-tk
python3 python3-tk thonny
python3-pygame
python3-tk thonny
python3-pgzero
python-serial python3-serial
python-picamera python3-picamera
python3-serial
python3-picamera
debian-reference-en dillo
raspberrypi-net-mods raspberrypi-ui-mods
python-pip python3-pip
python3-pip
python3-numpy
pypy
alacarte rc-gui sense-hat
@@ -13,11 +13,11 @@ tree
libgl1-mesa-dri libgles1 libgles2-mesa xcompmgr
geany
piclone
wiringpi pigpio python-pigpio python3-pigpio raspi-gpio python3-rpi.gpio
python-spidev python3-spidev
python-twython python3-twython
python-smbus python3-smbus
python-flask python3-flask
pigpio python3-pigpio raspi-gpio python3-rpi.gpio
python3-spidev
python3-twython
python3-smbus
python3-flask
pprompt
piwiz
rp-prefapps


+ 22
- 22
stage4/00-install-packages/01-packages Ver arquivo

@@ -1,22 +1,22 @@
python-automationhat python3-automationhat
python-blinkt python3-blinkt
python-cap1xxx python3-cap1xxx
python-drumhat python3-drumhat
python-envirophat python3-envirophat
python-explorerhat python3-explorerhat
python-fourletterphat python3-fourletterphat
python-microdotphat python3-microdotphat
python-mote python3-mote
python-motephat python3-motephat
python-phatbeat python3-phatbeat
python-pianohat python3-pianohat
python-piglow python3-piglow
python-rainbowhat python3-rainbowhat
python-scrollphat python3-scrollphat
python-scrollphathd python3-scrollphathd
python-sn3218 python3-sn3218
python-skywriter python3-skywriter
python-touchphat python3-touchphat
python-buttonshim python3-buttonshim
python-unicornhathd python3-unicornhathd
python-pantilthat python3-pantilthat
python3-automationhat
python3-blinkt
python3-cap1xxx
python3-drumhat
python3-envirophat
python3-explorerhat
python3-fourletterphat
python3-microdotphat
python3-mote
python3-motephat
python3-phatbeat
python3-pianohat
python3-piglow
python3-rainbowhat
python3-scrollphat
python3-scrollphathd
python3-sn3218
python3-skywriter
python3-touchphat
python3-buttonshim
python3-unicornhathd
python3-pantilthat

+ 0
- 5
stage4/04-enable-xcompmgr/00-run.sh Ver arquivo

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

on_chroot << EOF
raspi-config nonint do_xcompmgr 0
EOF

+ 8
- 1
stage4/04-pisdr-system/00-packages Ver arquivo

@@ -1,8 +1,15 @@
vim
tmux
cmake
ninja-build
build-essential
git
pkg-config
re2c
libssl-dev
libssl-dev
xterm

libboost-dev
python3-pytest
pybind11-dev
python3-pybind11

+ 11
- 3
stage4/04-pisdr-system/01-run.sh Ver arquivo

@@ -1,15 +1,23 @@
install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/"
install -v -o 1000 -g 1000 -m 755 shortcut/gnuradio.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/"
install -v -o 1000 -g 1000 -m 755 shortcut/gqrx.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/"
install -v -o 1000 -g 1000 -m 755 shortcut/sdrangel.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/"
install -v -o 1000 -g 1000 -m 755 shortcut/gpredict.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/"
install -v -o 1000 -g 1000 -m 755 shortcut/glrpt.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/"
install -v -o 1000 -g 1000 -m 755 shortcut/osc.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/"
install -v -o 1000 -g 1000 -m 755 shortcut/qtdab.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/"
install -v -o 1000 -g 1000 -m 755 shortcut/sdrpp.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/"
install -v -o 1000 -g 1000 -m 755 shortcut/wsjtx.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/"
install -v -o 1000 -g 1000 -m 755 shortcut/inspectrum.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/"
install -v -o 1000 -g 1000 -m 755 shortcut/limesuite.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/"
install -v -o 1000 -g 1000 -m 755 shortcut/urh.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/"
install -v -o 1000 -g 1000 -m 755 shortcut/quisk.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/"

+ 4
- 2
stage4/04-pisdr-system/03-run.sh Ver arquivo

@@ -1,6 +1,8 @@
#!/bin/bash -e

install -m 755 patch/export.txt "${ROOTFS_DIR}/etc/"

on_chroot << EOF
python3 -m pip install cmake
python3 -m pip install ninja
cat /etc/export.txt >> /home/${FIRST_USER_NAME}/.bashrc
source /home/${FIRST_USER_NAME}/.bashrc
EOF

+ 0
- 8
stage4/04-pisdr-system/04-run.sh Ver arquivo

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

install -m 755 patch/export.txt "${ROOTFS_DIR}/etc/"

on_chroot << EOF
cat /etc/export.txt >> /home/${FIRST_USER_NAME}/.bashrc
source /home/${FIRST_USER_NAME}/.bashrc
EOF

+ 9
- 0
stage4/04-pisdr-system/shortcut/glrpt.desktop Ver arquivo

@@ -0,0 +1,9 @@
[Desktop Entry]
Name=GLRPT
Comment=GLRPT
Icon=/home/pi/PiSDR/Software/glrpt/share/launcher/glrpt.svg
Exec=glrpt
Type=Application
Encoding=UTF-8
Terminal=true
Categories=None;

+ 9
- 0
stage4/04-pisdr-system/shortcut/inspectrum.desktop Ver arquivo

@@ -0,0 +1,9 @@
[Desktop Entry]
Name=Inspectrum
Comment=Inspectrum
Icon=
Exec=inspectrum
Type=Application
Encoding=UTF-8
Terminal=true
Categories=None;

+ 9
- 0
stage4/04-pisdr-system/shortcut/limesuite.desktop Ver arquivo

@@ -0,0 +1,9 @@
[Desktop Entry]
Name=LimeSuite
Comment=LimeSuite
Icon=/home/pi/PiSDR/Radios/LimeSuite/Desktop/lime-suite-128.png
Exec=LimeSuiteGUI
Type=Application
Encoding=UTF-8
Terminal=true
Categories=None;

+ 9
- 0
stage4/04-pisdr-system/shortcut/osc.desktop Ver arquivo

@@ -0,0 +1,9 @@
[Desktop Entry]
Name=IIO Oscilloscope
Comment=IIO Oscilloscope
Icon=/home/pi/PiSDR/Software/iio-oscilloscope/icons/osc.svg
Exec=osc
Type=Application
Encoding=UTF-8
Terminal=true
Categories=None;

+ 9
- 0
stage4/04-pisdr-system/shortcut/qtdab.desktop Ver arquivo

@@ -0,0 +1,9 @@
[Desktop Entry]
Name=QtDAB
Comment=QtDAB
Icon=/home/pi/PiSDR/Software/qt-dab/dab-maxi/qt-dab.png
Exec=qt-dab-4.11
Type=Application
Encoding=UTF-8
Terminal=true
Categories=None;

+ 9
- 0
stage4/04-pisdr-system/shortcut/quisk.desktop Ver arquivo

@@ -0,0 +1,9 @@
[Desktop Entry]
Name=Quisk
Comment=Quisk
Icon=
Exec=quisk
Type=Application
Encoding=UTF-8
Terminal=true
Categories=None;

+ 0
- 9
stage4/04-pisdr-system/shortcut/sdrangel.desktop Ver arquivo

@@ -1,9 +0,0 @@
[Desktop Entry]
Name=SDR Angel
Comment=SDR Angel
Icon=/home/pi/PiSDR/Software/sdrangel/cmake/cpack/sdrangel_icon.svg
Exec=sdrangel
Type=Application
Encoding=UTF-8
Terminal=true
Categories=None;

+ 9
- 0
stage4/04-pisdr-system/shortcut/sdrpp.desktop Ver arquivo

@@ -0,0 +1,9 @@
[Desktop Entry]
Name=SDR++
Comment=SDR++
Icon=/home/pi/PiSDR/Software/SDRPlusPlus/root/res/icons/sdrpp.png
Exec=sdrpp
Type=Application
Encoding=UTF-8
Terminal=true
Categories=None;

+ 9
- 0
stage4/04-pisdr-system/shortcut/urh.desktop Ver arquivo

@@ -0,0 +1,9 @@
[Desktop Entry]
Name=Universal Radio Hacker
Comment=Universal Radio Hacker
Icon=/home/pi/PiSDR/Software/urh/data/icons/appicon.svg
Exec=urh
Type=Application
Encoding=UTF-8
Terminal=true
Categories=None;

+ 9
- 0
stage4/04-pisdr-system/shortcut/wsjtx.desktop Ver arquivo

@@ -0,0 +1,9 @@
[Desktop Entry]
Name=WSJTX
Comment=WSJTX
Icon=
Exec=wsjtx
Type=Application
Encoding=UTF-8
Terminal=true
Categories=None;

+ 1
- 1
stage4/04-pisdr-system/wallpaper/desktop-items-0.conf Ver arquivo

@@ -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
stage4/04-pisdr-system/wallpaper/donald-giannatti-vla.jpg Ver arquivo

Antes Depois
Largura: 4928  |  Altura: 2956  |  Tamanho: 1.3 MiB

BIN
stage4/04-pisdr-system/wallpaper/kevin-quezada-lmt.jpg Ver arquivo

Antes Depois
Largura: 5184  |  Altura: 3456  |  Tamanho: 3.2 MiB

+ 5
- 5
stage4/05-pisdr-uhd/00-run.sh Ver arquivo

@@ -11,14 +11,14 @@ 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 -DCMAKE_CXX_FLAGS:STRING="-march=armv6z -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -Wno-psabi" \
-DCMAKE_C_FLAGS:STRING="-march=armv6z -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -Wno-psabi" \
-DCMAKE_ASM_FLAGS:STRING="-march=armv6z -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard " \
-GNinja -DNEON_SIMD_ENABLE=OFF -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 Ver arquivo

@@ -3,4 +3,4 @@ avahi-daemon
libavahi-client-dev
libusb-1.0-0-dev

python-dev python3-dev
python3-dev

stage4/07-pisdr-soapysdr/01-run.sh → stage4/06-pisdr-soapysdr/01-run.sh Ver arquivo


stage4/07-pisdr-soapysdr/02-run.sh → stage4/06-pisdr-soapysdr/02-run.sh Ver arquivo


+ 21
- 0
stage4/07-pisdr-sdrplay/00-run.sh Ver arquivo

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

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

if [ ! -d "sdrplay" ]; then
mkdir -p sdrplay
fi

cd sdrplay
wget https://www.sdrplay.com/software/SDRplay_RSP_API-ARM32-3.07.2.run
chmod +x ./SDRplay_RSP_API-ARM32-3.07.2.run
./SDRplay_RSP_API-ARM32-3.07.2.run --check
./SDRplay_RSP_API-ARM32-3.07.2.run --noexec --target .
sed -i 's/more sdrplay_license.txt//g' install_lib.sh
sed -i 's/ARCH=\`uname -m\`/ARCH=armv7l/g' install_lib.sh
printf "\ny\ny\ny\n" | ./install_lib.sh
systemctl enable sdrplay
ldconfig
EOF

stage4/11-pisdr-plutosdr/02-run.sh → stage4/07-pisdr-sdrplay/01-run.sh Ver arquivo

@@ -4,14 +4,14 @@ 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
if [ ! -d "SoapySDRPlay3" ]; then
git clone --depth 1 https://github.com/pothosware/SoapySDRPlay3.git
fi

cd gr-iio
cd SoapySDRPlay3
mkdir -p build
cd build
cmake -GNinja -DINSTALL_UDEV_RULE=ON ..
cmake -GNinja -DCMAKE_CXX_FLAGS=-latomic ..
ninja install
ldconfig
cd ..

+ 0
- 19
stage4/07-pisdr-soapysdr/03-run.sh Ver arquivo

@@ -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 Ver arquivo


stage4/09-pisdr-airspy/01-run.sh → stage4/08-pisdr-airspy/01-run.sh Ver arquivo


stage4/09-pisdr-airspy/02-run.sh → stage4/08-pisdr-airspy/02-run.sh Ver arquivo


stage4/09-pisdr-airspy/03-run.sh → stage4/08-pisdr-airspy/03-run.sh Ver arquivo


+ 0
- 19
stage4/08-pisdr-limesdr/01-run.sh Ver arquivo

@@ -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-limesdr" ]; then
git clone --single-branch --branch gr-3.8 --depth 1 https://github.com/myriadrf/gr-limesdr.git
fi

cd gr-limesdr
mkdir -p build
cd build
cmake -GNinja -DCMAKE_CXX_FLAGS=-latomic ..
ninja install
ldconfig
cd ..
rm -fr build
EOF

stage4/08-pisdr-limesdr/00-packages-nr → stage4/09-pisdr-limesdr/00-packages-nr Ver arquivo

@@ -2,5 +2,5 @@ swig
libsqlite3-dev
libi2c-dev
libusb-1.0-0-dev
libwxgtk3.0-dev
libwxgtk3.0-gtk3-dev
freeglut3-dev

stage4/08-pisdr-limesdr/00-run.sh → stage4/09-pisdr-limesdr/00-run.sh Ver arquivo


stage4/11-pisdr-plutosdr/00-packages-nr → stage4/10-pisdr-plutosdr/00-packages-nr Ver arquivo


stage4/11-pisdr-plutosdr/00-run.sh → stage4/10-pisdr-plutosdr/00-run.sh Ver arquivo


stage4/11-pisdr-plutosdr/01-run.sh → stage4/10-pisdr-plutosdr/01-run.sh Ver arquivo


stage4/11-pisdr-plutosdr/03-run.sh → stage4/10-pisdr-plutosdr/03-run.sh Ver arquivo


stage4/28-pisdr-osmo-fl2k/00-packages-nr → stage4/11-pisdr-rtlsdr/00-packages-nr Ver arquivo


stage4/10-pisdr-rtlsdr/00-run.sh → stage4/11-pisdr-rtlsdr/00-run.sh Ver arquivo


stage4/10-pisdr-rtlsdr/01-run.sh → stage4/11-pisdr-rtlsdr/01-run.sh Ver arquivo


+ 1
- 0
stage4/12-pisdr-hackrf/00-packages Ver arquivo

@@ -0,0 +1 @@
libfftw3-dev

stage4/06-pisdr-gnuradio/00-packages-nr → stage4/13-pisdr-gnuradio/00-packages-nr Ver arquivo

@@ -1,12 +1,9 @@
libboost-all-dev
swig
libzmq3-dev
libfftw3-dev
libgsl-dev
libcppunit-dev
libcomedi-dev
libqt4-opengl-dev
libqwt-dev
libsdl1.2-dev
libusb-1.0-0-dev
libasound2-dev
@@ -15,10 +12,14 @@ libportaudio2
pulseaudio
libjack-dev
libgmp-dev
libsdl1.2-dev
liblog4cpp5-dev
libqwt-qt5-dev
libqt5opengl5-dev
libcodec2-dev
libsndfile1-dev
pybind11-dev
gir1.2-gtk-3.0
swig

python3-numpy
python3-mako
@@ -32,3 +33,6 @@ python3-zmq
python3-scipy
python3-pip
python3-gi-cairo
python3-matplotlib
python3-pygccxml
python3-pyqtgraph

+ 19
- 0
stage4/13-pisdr-gnuradio/00-run.sh Ver arquivo

@@ -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/13-pisdr-gnuradio/01-run.sh Ver arquivo

@@ -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

+ 19
- 0
stage4/14-pisdr-gnuradio-mod/01-run.sh Ver arquivo

@@ -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 "gr-limesdr" ]; then
git clone --single-branch --branch gr39 --depth 1 https://github.com/daniestevez/gr-limesdr.git
fi

cd gr-limesdr
mkdir -p build
cd build
cmake -GNinja -DCMAKE_CXX_FLAGS=-latomic ..
ninja install
ldconfig
cd ..
rm -fr build
EOF

stage4/13-pisdr-osmocom/00-run.sh → stage4/14-pisdr-gnuradio-mod/02-run.sh Ver arquivo

@@ -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

+ 19
- 0
stage4/14-pisdr-gnuradio-mod/03-run.sh Ver arquivo

@@ -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 "gr-sdrplay3" ]; then
git clone --single-branch --branch master --depth 1 https://github.com/fventuri/gr-sdrplay3.git
fi

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

stage4/14-pisdr-gqrx/00-packages-nr → stage4/15-pisdr-gqrx/00-packages-nr Ver arquivo

@@ -4,7 +4,6 @@ libtool
libfftw3-dev
libusb-1.0-0-dev
libusb-dev
qt5-default
qtbase5-dev
qtchooser
libqt5multimedia5-plugins

stage4/14-pisdr-gqrx/00-run.sh → stage4/15-pisdr-gqrx/00-run.sh Ver arquivo


stage4/15-pisdr-cygnusrf/00-run.sh → stage4/16-pisdr-cygnusrf/00-run.sh Ver arquivo


stage4/16-pisdr-rtl443/00-run.sh → stage4/17-pisdr-rtl443/00-run.sh Ver arquivo


stage4/17-pisdr-sdrangel/00-packages-nr → stage4/18-pisdr-sdrangel/00-packages-nr Ver arquivo

@@ -8,7 +8,6 @@ libtool
libfftw3-dev
libusb-1.0-0-dev
libusb-dev
qt5-default
qtbase5-dev
qtchooser
libqt5multimedia5-plugins

stage4/17-pisdr-sdrangel/00-run.sh → stage4/18-pisdr-sdrangel/00-run.sh Ver arquivo


stage4/17-pisdr-sdrangel/01-run.sh → stage4/18-pisdr-sdrangel/01-run.sh Ver arquivo


stage4/17-pisdr-sdrangel/02-run.sh → stage4/18-pisdr-sdrangel/02-run.sh Ver arquivo


stage4/17-pisdr-sdrangel/03-run.sh → stage4/18-pisdr-sdrangel/03-run.sh Ver arquivo


stage4/17-pisdr-sdrangel/04-run.sh → stage4/18-pisdr-sdrangel/04-run.sh Ver arquivo


stage4/17-pisdr-sdrangel/05-run.sh → stage4/18-pisdr-sdrangel/05-run.sh Ver arquivo


stage4/18-pisdr-libacars/00-packages-nr → stage4/19-pisdr-libacars/00-packages-nr Ver arquivo


stage4/18-pisdr-libacars/00-run.sh → stage4/19-pisdr-libacars/00-run.sh Ver arquivo


stage4/19-pisdr-acarsdec/00-run.sh → stage4/20-pisdr-acarsdec/00-run.sh Ver arquivo


stage4/20-pisdr-multimonng/00-run.sh → stage4/21-pisdr-multimonng/00-run.sh Ver arquivo


+ 4
- 0
stage4/22-pisdr-hamlib/00-packages-nr Ver arquivo

@@ -0,0 +1,4 @@
swig
python3-dev
libtool
autoconf

stage4/21-pisdr-hamlib/00-run.sh → stage4/22-pisdr-hamlib/00-run.sh Ver arquivo

@@ -12,5 +12,6 @@ cd Hamlib
./bootstrap
./configure --with-python-binding
make -j$(nproc)
make install
ldconfig
EOF

stage4/22-pisdr-gpredict/00-packages-nr → stage4/23-pisdr-gpredict/00-packages-nr Ver arquivo


stage4/22-pisdr-gpredict/00-run.sh → stage4/23-pisdr-gpredict/00-run.sh Ver arquivo

@@ -10,6 +10,7 @@ fi

cd gpredict
bash autogen.sh
make -j$(nproc) install
make -j$(nproc)
make install
ldconfig
EOF

stage4/23-pisdr-rpitx/00-packages-nr → stage4/24-pisdr-rpitx/00-packages-nr Ver arquivo

@@ -11,6 +11,6 @@ libmagickcore-6.q16-6
libmagickcore-6.q16-6-extra
libmagickwand-6.q16-6
libnetpbm10
libpng12-0
libpng-dev
libwmf0.2-7
netpbm

stage4/23-pisdr-rpitx/00-run.sh → stage4/24-pisdr-rpitx/00-run.sh Ver arquivo


stage4/24-pisdr-virgo/00-run.sh → stage4/25-pisdr-virgo/00-run.sh Ver arquivo


stage4/25-pisdr-quisk/00-packages-nr → stage4/26-pisdr-quisk/00-packages-nr Ver arquivo

@@ -1,14 +1,9 @@
python-wxgtk3.0
python3-wxgtk4.0
libfftw3-dev
libasound2-dev
portaudio19-dev
libpulse-dev
libpython2.7-dev
libpython3-dev
python-usb
python3-usb
python-setuptools
python3-setuptools
python-pip
python3-pip

stage4/25-pisdr-quisk/00-run.sh → stage4/26-pisdr-quisk/00-run.sh Ver arquivo

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

on_chroot << EOF
python2 -m pip install --upgrade quisk
python3 -m pip install --upgrade quisk
EOF

stage4/26-pisdr-limesdr-toolbox/00-run.sh → stage4/27-pisdr-limesdr-toolbox/00-run.sh Ver arquivo


stage4/27-pisdr-airband/00-packages-nr → stage4/28-pisdr-airband/00-packages-nr Ver arquivo

@@ -2,3 +2,5 @@ libmp3lame-dev
libshout3-dev
libconfig++-dev
libraspberrypi-dev
libpulse-dev
libfftw3-dev

stage4/27-pisdr-airband/00-run.sh → stage4/28-pisdr-airband/00-run.sh Ver arquivo

@@ -11,6 +11,11 @@ fi
cd RTLSDR-Airband
export PLATFORM=armv7-generic
export WITH_SOAPYSDR=1
make install
mkdir -p build
cd build
cmake -GNinja ..
ninja install
ldconfig
cd ..
rm -fr build
EOF

+ 1
- 0
stage4/29-pisdr-osmo-fl2k/00-packages-nr Ver arquivo

@@ -0,0 +1 @@
libusb-1.0-0-dev

stage4/28-pisdr-osmo-fl2k/00-run.sh → stage4/29-pisdr-osmo-fl2k/00-run.sh Ver arquivo


Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff

Carregando…
Cancelar
Salvar