Commit Graph

80 Commits

Author SHA1 Message Date
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 68d555fb16 WIP: Implementing all goodies and required changes / dependencies. 2021-01-07 21:21:21 +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
j1nx df2ee2d4a5 MycroftOS: (experimental) respeaker 2mic pulseaudio support. 2020-08-27 14:11:58 +02:00
j1nx 2d0064f08f MycroftOS: Split vc4 overlay loading for pi3 and pi4 2020-08-21 10:54:32 +02:00
j1nx e998a5d76a MycroftOS: Kernel: Start of own kernel config.
(Not used as of yet)
2020-08-04 19:35:51 +02:00
j1nx 5a108bea9b 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.
2020-08-04 18:59:41 +02:00
j1nx 49da648bcf MycroftOS: Remove the noswap restriction from cmdline.txt
- RPI3 uses all memory because of the GUI video needs 256
- This together with Precise and only 1GB available is tricky
2020-07-24 10:04:21 +02:00
j1nx a7c71a0b2b MycroftOS: use the kms driver instead of the fkms driver.
- Need to check if the rpi4 works with this. otherwise a split
  in files is needed between the two.
2020-07-23 20:31:10 +02:00
j1nx 684032413f MycroftOS: Update genimage-raspberrypi3-64.cfg 2020-07-23 19:50:25 +02:00
j1nx 2beaab7a25 MycroftOS: Migrating to new wifi-connect system. 2020-07-21 09:24:45 +02:00
j1nx f4755b898e MycroftOS: Fix for new rpi-firmware system (rpi4-64 only for now) 2020-07-20 11:15:34 +02:00
j1nx 08ac7a72d6 MycroftOS: Remove pip binary-only restriction (for now) 2020-07-18 17:25:32 +02:00
j1nx 9186fb58fe MycroftOS: More possible fixes. 2020-06-12 09:43:10 +02:00