Commit Graph

95 Commits

Author SHA1 Message Date
j1nx 03188ed798 No longer use hardcoded screen resolutions 2022-05-30 18:44:16 +02:00
Peter Steenbergen 242a48dc5c Fix rpi3 config 2022-05-24 11:52:22 +02:00
j1nx 380a5a4aca Use the old camera firmware based software stack (for now) 2022-05-17 09:13:51 +02:00
j1nx c0bc2b0f7c Make use of the new and opensource libcamera software stack.
- Add libcamera
- Add libcamera-apps
- changes to rootfs to make use of the above

Needs testing and possible other fixes/changes
2022-05-13 10:38:25 +02:00
j1nx e84818f62e Get buildroot-external tree to reflect 2022.02.1
- Changes to the raspberypi board folder/structure
- Bump python related poackages and fixes to Python3.10
- Bump KF5 framewerk packages to 5.91
- Bump qtwebengine to 5.15.8
- Bump/Add/Fix all OVOS related packages
- Fixes all over the OpenVoiceOS structure for 2022.02.1
2022-05-12 10:46:41 +02:00
j1nx 2bf421728c Small changes to the sound system 2022-03-15 21:34:20 +01:00
j1nx 470fd58d98 Switch to a voluntary kernel preemption.
The respeaker mic hats and possibly (many) others are using the
x-powers ac108 adc chip however the driver of this chip is not
compatible with 64bit PREEMPT kernels crashing the drivers with
"BUG: scheduling while atomic" spinlock issues.

PREEMPT is used for low latency desktops
PREEMPT_NONE is used for servers

As we are not a (low-latency needed) desktop however not a server
as well, the middle ground actually works perfectly fine with
the benefit of having a more stable respeaker driver.

This accounts for ALL different respeaker HATs except the 2-mic
as that one is based on the WM8960 chip which is actually already
supported mainline if you want anyway.
2022-02-09 14:15:41 +01:00
j1nx a3531e9af5 Forgot execute right for screencheck 2022-01-29 16:04:23 +01:00
j1nx 3734680436 Only start GUI services if a screen is attached.
Support only for rpi's at this moment. Will figure out x86_64 when we get there.
2022-01-29 16:00:51 +01:00
j1nx b713179e78 Disable TV composite out 2022-01-28 09:58:05 +01:00
Peter Steenbergen b074f08076
Feature/rpi3 (#98)
* Add rpi3-64 defconfig file

* Work on getting RPI3 into shape

* Merge latest rpi3 changes into rpi4 config
2022-01-19 15:50:19 +01:00
Peter Steenbergen effe7362f8 Add udev rules for symlink Bluetooth 2021-10-06 09:36:06 +02:00
j1nx 890a0c80a7 Increase minimal free memory for Raspberry Pis 2021-09-07 13:23:07 +02:00
j1nx 1195968191 Add CONFIG_SND_SOC_TAS5086=m to kernel config 2021-06-07 11:11:13 +02:00
j1nx f1cda8e142 [WIP] More work on the SJ201 support.
Output all ok now
Input still a lot of static noise (trying to figure it out)
2021-05-14 19:46:14 +02:00
j1nx c2f4db8199 [WIP] More sound architecture changes 2021-05-12 11:26:35 +02:00
j1nx 22389700ba Remove deprecated elevator= from cmdline.txt 2021-04-06 10:36:04 +02:00
j1nx 96ccec6ddd Not needed for rpi3 and rpi4 as the watchdog is enabled by default.
And as we are not going to support rpi2 and/or lower not needed.
2021-04-02 11:18:54 +02:00
j1nx d7d2f65e9b Enable and configure the hardware watchdog.
(reboots the device after it hangs for 20 seconds or more)
2021-03-30 13:06:29 +02:00
j1nx 2cc9d46752 Increase initial boot and rootfs partition sizes 2021-03-04 13:20:54 +01:00
j1nx 40d4f26f9f Increase the default amount of available zram drive slots to 4 (for now) 2021-03-04 11:29:15 +01:00
j1nx 70fa66f615 Add and configure 20% of memory as zram swap with a low agressive swappiness 2021-03-01 21:58:30 +01:00
j1nx f9ab398d08 Make use of disk identifier 2021-02-12 10:54:20 +01:00
j1nx 17a59feec9 Changes to sound architecture, prepare system no longer needed 2021-02-05 16:10:50 +01:00
j1nx 1d42e2b31f [WIP] Switch to a Hybrid MBR/GPT partition scheme.
- rootfs based on PARTUUID
2021-02-02 20:52:02 +01:00
j1nx 390e3efde6 MycroftOS: Build, install and use the dtbo files from the kernel sources.
Instead of the pre-compiled version from the rpi-firmware repository
this to make sute everything is using the same version.
2021-01-30 09:14:05 +01:00
j1nx 640f418648 Revert "MycroftOS: (experimental) respeaker 2mic pulseaudio support."
This reverts commit df2ee2d4a5.
2021-01-29 13:24:27 +01:00
j1nx 6616f3fbc2 [WIP] refactor the mycroft installed skills to buildroot packages. 2021-01-27 22:45:35 +01:00
j1nx 23d303a198 Make sure the default mycroft skills remain git directories 2021-01-17 19:21:22 +01:00
j1nx c480fc1ee8 Fix stupid overlay mistake for precise 2021-01-17 13:18:48 +01:00
j1nx d07ca1ede7 Switch precise-engine over to plugin based version 2021-01-10 17:20:54 +01:00
j1nx 68d555fb16 WIP: Implementing all goodies and required changes / dependencies. 2021-01-07 21:21:21 +01:00
j1nx 3eb157a4fa Change to own pairing skill and make sure MSM doesn't hang on very first boot.
Mycroft doesn't continue if the repo skill doesn't get fetched which
obviously can't be fetch without network. So include a local copy
of the skills-repo so at least it doesn't stall the boot.
2021-01-04 20:57:46 +01:00
j1nx 87440d6bc8 Disable wifi power management for wlan0 for rpi 2021-01-03 15:15:49 +01:00
j1nx 1e48bddce4 Create and write proper OS & Machine indentification information.
Following the XDG standards;
https://www.freedesktop.org/software/systemd/man/os-release.html
https://www.freedesktop.org/software/systemd/man/machine-info.html

/usr/lib/os-release

NAME="OpenVoiceOS"
VERSION="0.1.0 RaspberryPi 4 64bit"
ID=ovos
VERSION_ID=0.1.0
PRETTY_NAME="OpenVoiceOS 0.1.0 RaspberryPi 4 64bit"
CPE_NAME=cpe:2.3openvoiceos:ovos:0.1.0:*:development:*:*:*:rpi4-64:*
HOME_URL=https://github.com/OpenVoiceOS/OpenVoiceOS
DOCUMENTATION_URL=https://github.com/OpenVoiceOS/OpenVoiceOS/tree/develop/documentation
SUPPORT_URL=https://github.com/OpenVoiceOS/OpenVoiceOS/issues
VARIANT="OpenVoiceOS - Mycroft Edition"
VARIANT_ID=ovos-rpi4-64-mycroft

/etc/machine-info

CHASSIS=embedded
DEPLOYMENT=development
2020-12-25 12:47:35 +01:00
j1nx c46e0bfce3 Getting back into OVOS-GUI (Weston) shape + version bumps all over. 2020-12-21 21:23:33 +01:00
j1nx b5918577bc Lower the GPU/cmu memory to 64M as we hardly use more then a few MB's
This leaves more over for the normal stuff. Especially for the rpi3
2020-10-11 16:23:02 +02:00
j1nx 54f7a418db Set framebuffer resolution to 800x480 2020-10-11 12:15:40 +02:00
j1nx cea47b56c2 Start with rebranding to OpenVoiceOS (OVOS). 2020-10-06 21:23:38 +02:00
j1nx 2a1675594e MycroftOS: Test with resampling everything to 48000 2020-09-18 14:51:30 +02:00
j1nx c0e74de88e MycroftOS: Remove old wifi setup files 2020-09-17 15:41:13 +02:00
j1nx 4bda5812a8 MycroftOS: Change nodered.service overlay location 2020-09-15 10:09:32 +02:00
j1nx baa7435c33 MycroftOS: Add node-red launcher scripts and service file. 2020-09-15 09:37:39 +02:00
j1nx 2838dc9625 MycroftOS: Small changes in default sink/source naming 2020-09-14 16:24:12 +02:00
j1nx 412ca02942 MycroftOS: Changes in sound kernel module handling. 2020-09-03 12:12:03 +02:00
j1nx a88dc814a6 MycroftOS: Combine all sinks into one and make it the default.
This will make the sound being outputted to all sinks, so it should
not matter what you connect. Sound is directed to all available sinks
HDMI and Headphones (and/or usbcards/HATs) both output the same sound.
2020-08-31 19:27:59 +02:00
j1nx 2a059a73dc MycroftOS: Raspberry Pi config.txt order changes 2020-08-31 12:13:32 +02:00
j1nx 565ea1b00f Revert "MycroftOS: Build, install and use the dtbo files from the kernel sources."
This reverts commit 5a108bea9b.
2020-08-31 11:57:09 +02:00
j1nx c8877117a3 MycroftOS: Sound tweaks and fixes 2020-08-31 11:56:20 +02:00
j1nx ad6133fc35 MycroftOS: Change the kernel module loading order for respeaker as well. 2020-08-30 10:38:11 +02:00