Commit Graph

52 Commits

Author SHA1 Message Date
Bohdan Buinich d1ac3d4be1 Merge remote-tracking branch 'origin/develop' into refactor-buildroot-scripts 2024-01-27 02:28:15 +02:00
j1nx 4ce75256d3 [RPI] Get the Raspberry Pi3 and 4 back in sync again.
With a possible fix for the RT kernel not booting on the rpi3
2024-01-24 15:43:33 +00:00
j1nx e306bcd9bc [All] Real messy commit with switch to NetworkManager, kernel bump and countless fixes that came up 2024-01-22 16:57:19 +00:00
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
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
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 8dbd58d36e [ALL][RPI] RealTime performance tweaks.
For the Raspberry Pi we also disable the mitigations
2024-01-06 17:19:04 +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 adf40880dd [ALL] Fixes (non-boot rpi) and tweaks (pipewire/wireplumber) 2023-12-27 16:11:15 +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 e43faa65d6 [ALL] First step in splitting containers pre-installed system 2023-12-12 14:03:35 +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 fe5ec77a81 [ALL][RPI] Switch xvf3510 channel split toward ALSA itself 2023-12-10 10:08:35 +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 2ddd03d651 [ALL] Split quadlets for different architectures 2023-11-14 09:58:06 +00:00
j1nx f5154ef459 [RPI][WIP] Work on migrating the i2csound system towards pipewire 2023-11-04 12:57:26 +00:00
j1nx 13dadc8944 Merge branch 'develop' of github.com:OpenVoiceOS/ovos-buildroot into develop 2023-11-01 08:11:13 +00:00
j1nx 78bf0140f9 [RPI3] Switch to hybrid partition table for Raspberry Pi3. 2023-11-01 08:09:06 +00:00
j1nx cd23256ce0 [RPI] Implement xvf3510 ALSA profiles for pipewire use. 2023-10-29 18:58:22 +00:00
j1nx b2548b9ec2 [RPI4] Downgrade UEFI to 1.33 to make it work with SJ-201 HAT's 2023-10-29 12:25:21 +00:00
j1nx f5afcc2c2a [ALL] Bump buildroot + podman/crun [RPI] Update configs for it. 2023-10-28 14:31:43 +00:00
j1nx a3dac255fc [RPI] Implement respeaker also profiles for pipewire to use. 2023-10-01 15:44:09 +00:00
j1nx 1f37a5d29f [RPI3] Start of RaspberryPi3 support 2023-09-30 14:19:55 +00:00
j1nx 66213be52b [RPI] Disbale ACPI at boot 2023-09-16 11:49:38 +00:00
j1nx 5c43befc3e [ALL] Small fixes to the update mechnism 2023-09-14 06:29:39 +00:00
j1nx e663240d23 [ALL] The big cleanup to change mycroft into ovos 2023-08-31 19:03:59 +00:00
j1nx b0db7be3ef [ALL] Remove old pulseaudio configuration files
to be replaced with pipewire/wireplumber files
2023-08-31 11:53:59 +00:00
j1nx e939e08459 [RPI] Create link to overlays directory for dtoverlay to work. 2023-08-27 09:08:30 +00:00
j1nx 8b15f2ac9c [RPI] Bump kernel and firmware to 6.1.47
Also include a kernel patch to speed up mmc driver.
2023-08-27 09:06:29 +00:00
j1nx cf6c4c7020 [RPI] Enable rpi-eeprom auto update and fixes for the sound system 2023-08-26 18:36:44 +00:00
j1nx 8c4c7a3241 Merge branch 'develop' of github.com:OpenVoiceOS/ovos-buildroot into develop 2023-08-25 15:01:51 +00:00
j1nx 507d2630e5 [Rpi4] Fix kernel boot grub command 2023-08-25 15:01:20 +00:00
j1nx 4c8fd8fab0 [All] Changes to the overlay system to get rootless podman to work 2023-08-25 14:59:36 +00:00
j1nx 2c82ed2250 [All] Additions for dockerized system 2023-08-22 13:25:31 +00:00
j1nx ab4e40920c [ALL] Start working on podman, crun, conman architecture 2023-08-21 12:34:52 +00:00
j1nx 15972e5e73 More work and get rpi4 inline 2023-08-21 08:05:43 +00:00