Commit Graph

1770 Commits

Author SHA1 Message Date
Bohdan Buinich f839fbf859 [RPI] rpi-eeprom: Future support for RPI5 2024-01-08 00:53:38 +02:00
Bohdan Buinich 73b139c4c0 [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-08 00:53:38 +02:00
Bohdan Buinich 40f43862ba [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-08 00:53:38 +02:00
Bohdan Buinich ef6b9d77ba [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-08 00:53:38 +02:00
Bohdan Buinich b54bfa79e8 [ALL] Refactor OVOS Container Images Build Script for Enhanced Readability
- Reorganized OVOS_CONTAINERS_IMAGES to list each image on a new line for improved readability.
- Relocated the definition of OVOS_CONTAINERS_INSTALL_GUI_SERVICES to precede its conditional inclusion, ensuring clarity in script structure.
- Adjusted conditional inclusion of GUI services in OVOS_CONTAINERS_IMAGES to ensure proper execution of GUI-related installation steps.
2024-01-08 00:53:34 +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
j1nx b3584319c5 [ALL][RPI4] More work on pre-shipping containers 2023-12-02 14:22:47 +00:00
j1nx 9da8f7a580 [ALL] First try-out on pre loading the podman containers at buildtime 2023-11-30 18:24:34 +00:00
j1nx 446aecb4da [ALL] Small fix for the splash screen start-up 2023-11-30 18:23:32 +00:00
j1nx 7ef61e3343 [ALL] Add localversion string to kernel config 2023-11-14 10:21:45 +00:00
j1nx 2ddd03d651 [ALL] Split quadlets for different architectures 2023-11-14 09:58:06 +00:00
j1nx 1d30dc080c [ALL] Work on quadlets and moved them to users home folder 2023-11-11 15:33:24 +00:00
j1nx 27bc2c917f [ALL] Enable libinput 2023-11-11 09:40:39 +00:00
j1nx c15a173fdc [ALL] Small changes to DRM permission 2023-11-09 16:09:58 +00:00
j1nx ed2b6dbb21 [ALL] Only start the ovos-splash after the DRI and FB devices are initialized 2023-11-08 15:03:56 +00:00
j1nx 8e3d26d5db [OVA] Fix missing framebuffer on vmwgfx driver 2023-11-08 13:43:31 +00:00
j1nx d7073a4cf4 [ALL] Move the tmp download location of podman to disk location.
As the default is /ver/tmp which is a 50% of memory tmpfs, this can be
problematic for <=1GB memory systems as the ovos_listener and
ovos_audio contaiers are => 1GB in size.
2023-11-08 11:30:29 +00:00