Commit Graph

1781 Commits

Author SHA1 Message Date
Bohdan Buinich d0dcab2864 Moved post-build and post-images on top level (not fully tested) 2024-01-12 14:52:02 +02:00
Bohdan Buinich 080cfad2bf [RPI] Refactor Image Generation Script for Clarity and Modularization
- Reorganized variable definitions for clarity and consistency.
- Encapsulated SWU file creation logic into 'create_swu_file' function for better modularity and readability.
- Implemented 'cleanup' function to handle temporary file cleanup, enhancing script robustness.
- Utilized bash array for 'SWUPDATE_FILES' to improve handling of multiple file entries.
- Simplified error handling with 'set -e' and streamlined script exit using 'trap' for cleanup operations.
- Cleaned up directory changing commands by redirecting 'pushd' and 'popd' output to '/dev/null'.
2024-01-12 14:50:44 +02:00
Bohdan Buinich 736bfebe31 [RPI] Refactor Raspberry Pi Setup Script for Improved Structure and Readability
- Encapsulated functionality into functions for better script organization.
- Introduced 'write_os_release' and 'write_machine_info' functions for creating os-release and machine-info files.
- Streamlined Raspberry Pi specific file handling with 'handle_raspberry_pi' function.
- Consolidated script execution within a 'main' function for clearer flow and execution order.
- Improved readability with consistent formatting and added inline comments for clarity.
- Enhanced robustness with comprehensive error checking and streamlined command execution.
- RPI5 not supported yet.
2024-01-12 14:50:44 +02:00
Bohdan Buinich 3851ed9fab [ALL] Enhance Docker Image Fetching Script for Clarity and Robustness
- Streamlined variable declarations for improved readability.
- Added error checking to ensure successful retrieval of the image digest.
- Encapsulated core functionality into 'fetch_and_copy_image' function for better script structure.
- Introduced a 'lock_file' variable to clarify the file locking mechanism.
- Combined 'set' options into a single line and added 'pipefail' for robust error handling.
- Refined comments and structured the script into clearly defined sections.
2024-01-12 14:50:44 +02:00
Peter Steenbergen 3c29193f3f
Merge pull request #206 from BohdanBuinich/update-rpi-eeprom-script
[RPI] rpi-eeprom: Future support for RPI5
2024-01-12 12:23:10 +01:00
j1nx fb20b65f17 [All] Temporarily pulling the news and youtube skills from NeonJarbas for testing 2024-01-11 17:52:04 +00:00
j1nx a77f6542e9 [All] Switch to hardcoded ziggyai STT/TTS servers during this testing phase 2024-01-11 17:48:23 +00:00
j1nx ec25ee5feb [All] Enable all containers at boot the drop-in way
TODO: Install this files within the ovos-containers buildroot package
together with the images it pulls in.
2024-01-11 17:46:15 +00:00
j1nx 3583b72ed8 [All] Enable the healthcheck as sdnotify to report to back and pet the watchdog of systemd 2024-01-11 16:51:59 +00:00
j1nx 2ea7fc5a85 [All] Podman / Quadlet changes and additions 2024-01-10 18:59:24 +00:00
j1nx 89d0b2ce70 [All] Pipewire configuration changes 2024-01-10 18:58:27 +00:00
j1nx 32ff320548 [All] Download the images to specific arch folder.
As the SHA digest is the same for both the amd64 and arm64 arch
we need to download the images for each arch as otherwise it
skips the download and install the wrong arch to the system
from earlier downloaded images.
2024-01-09 20:23:01 +00:00
j1nx bc799a303d [OVA] Get the Virtual Appliance back into shape 2024-01-09 20:22:17 +00:00
Bohdan Buinich 0f7f40a50e It looks better 2024-01-09 19:17:17 +02:00
j1nx ba7c614593 [All] {WIP} Change over the quadlet files to use drop-in support.
At the moment these quadlets do not auto start at boot yet.
Still thinking about the best way forward in regards with the upcoming
template support and the overall ovos-containers buildroot package.
2024-01-09 11:59:46 +00:00
Bohdan Buinich edc70b2f48 [RPI] rpi-eeprom: Future support for RPI5 2024-01-08 14:34:27 +02:00
j1nx 2f3d930410 [All] Bump and switch to ovos-bus-server running on the host under RT priority 2024-01-07 15:19:09 +00:00
j1nx a30437ae3e [All] Bump podman to 4.8.3 and add support for healthy sdnotify check
Moved the podman patches to the external buildroot tree
2024-01-07 08:39:09 +00:00
j1nx 27200f51c5 [All] Enable python-pip on the host OS 2024-01-06 18:56:40 +00:00
j1nx 8dbd58d36e [ALL][RPI] RealTime performance tweaks.
For the Raspberry Pi we also disable the mitigations
2024-01-06 17:19:04 +00:00
j1nx 4ee8fbfbf7 [ALL] Implement RT settings the systemd user session way. 2024-01-06 14:22:52 +00:00
j1nx 6d807b2a6d [ALL] Small additions and changes 2024-01-05 12:15:25 +00:00
j1nx a68ff2c35e [ALL] RealTime kernel/system changes.
- Raspberry Pi: Using the RT patches and select RT as PREEMPT
- Pipewire changes to upvote itself to prio 95% nice -19
- Other small kernel tweaks and fixes
2024-01-04 12:38:55 +00:00
j1nx 6e78f7b4b9 [RPI] Fix Mark1 i2csound detection 2023-12-29 16:07:36 +00:00
j1nx 3face078ca [RPI] Switch to function based i2csound system
Many thanks to @BohdanBuinich

https://github.com/OpenVoiceOS/raspOVOS/pull/113
2023-12-29 13:01:31 +00:00
j1nx 3dfb784cc1 [RPI] Add proper ReSpeaker 4-mic square HAT support to i2csound 2023-12-29 09:49:03 +00:00
j1nx 8ddfaf8f82 [ALL] Remove some default skills for now as they are not yet ready 2023-12-29 07:08:11 +00:00
j1nx 8d588f8bf0 [ALL] Configure VOSK as local fallback STT as it is default included within the ovos_listener container 2023-12-29 07:06:18 +00:00
j1nx 2063061399 [ALL] Add OpenWakeWord plugin by default 2023-12-28 13:07:36 +00:00
j1nx 0252cd0d78 [ALL] Add more default installed skills 2023-12-28 13:07:11 +00:00
j1nx 622b4d24a0 [ALL] Only install GUI container quadlet when GUI is selected 2023-12-28 10:37:43 +00:00
j1nx 3c911b941b [RPI] Remove respeaker patch (for now) 2023-12-28 08:45:03 +00:00
j1nx adf40880dd [ALL] Fixes (non-boot rpi) and tweaks (pipewire/wireplumber) 2023-12-27 16:11:15 +00:00
j1nx 6e49362369 [ALL] {WIP} Sound architectual changes for pipewire 2023-12-19 14:02:11 +00:00
j1nx 357db47de3 [RPI] Pass on /dev/ttyAMA0 to the phal container for Mark1 support. 2023-12-19 08:27:02 +00:00
j1nx d0c5ebd4d1 [All][RPI] Clean ups and some fixed (+kerenl bump) 2023-12-17 13:49:45 +00:00
j1nx e34033bff1 [RPI] Add Mark-1 detection support to ovos-i2csound
It checks for i2c address of the sound hat first
If found it can be a WM8960 (2-mic) or WM8731 (Mark1) based hat.

It then checks if the right Arduino is connected to the right pins.
If so it assumes a Mark1 device and configures the device.
2023-12-14 11:47:01 +00:00
j1nx 603061f49c [RPI] Allow some seconds to initialise the wm8960 hardware / driver 2023-12-12 18:09:31 +00:00
j1nx 31008b58cc [RPI3] Fix and use pre-installed headless containers for rpi3 2023-12-12 18:07:18 +00:00
j1nx e43faa65d6 [ALL] First step in splitting containers pre-installed system 2023-12-12 14:03:35 +00:00
j1nx f435366d6a [RPI] Change wm8960 button pinnumber to gpio number 2023-12-12 09:18:57 +00:00
j1nx 869c81ac2d [RPI] wm8960 button try-out 2023-12-12 09:10:20 +00:00
j1nx 47776bd4aa [RPI] More work on getting the wm8960 2-mic card to work properly 2023-12-12 09:07:53 +00:00
j1nx 31d5e8eb8a [RPI] WM8960 i2csound changes by setting the card ID for amixer
TODO: Create a logic to poll for the card ID after loading the overlay
and use that for the amixer commands.
2023-12-12 07:56:12 +00:00
j1nx 4acfa1202c [RPI] Add mainline WM8960 i2c sound support to ovos-i2csound
This adds support for multiple devices such as;
- Seeed 2 mic voicecard
- keyestudio respeaker 2 mic
- Waveshare WM8960
2023-12-11 08:44:46 +00:00
j1nx 55ced32781 [RPI] Upgrade i2csound system to detect both R6 and R10 SJ-201 boards
Configuring the R6 fan the old way
Configuring the R10 fan as kernel pwm model
Configruing the buttons as standard linux input device
2023-12-11 07:56:44 +00:00
j1nx 7dd52b67bd [RPI] Bump VocalFusion SJ-201 drivers 2023-12-11 07:51:51 +00:00
j1nx fe5ec77a81 [ALL][RPI] Switch xvf3510 channel split toward ALSA itself 2023-12-10 10:08:35 +00:00
j1nx f6a47e9398 [All] Bump kernel and buildroot 2023-12-10 09:05:19 +00:00
j1nx 7347ccd934 [RPI4] Bump gpu memory to 256 as 128 might not be enough. 2023-12-03 11:50:38 +00:00