Commit Graph

557 Commits

Author SHA1 Message Date
Peter Steenbergen 17623d4f52 MycroftOS: Let all services know they are starting to psplash. 2020-04-15 10:00:27 +02:00
j1nx 3bc68902ae Merge branch 'feature/rpi4_64' into develop 2020-04-15 09:07:21 +02:00
Peter Steenbergen 270cdae26f MycroftOS: Change the psplash configuration to reflect mycroft colors better. 2020-04-12 15:17:15 +02:00
j1nx f67a31e1f6 MycroftOS: Don't use hardcode CC, use buildroot variable instead 2020-04-11 17:22:15 +02:00
j1nx b2d7c978f6 MycroftOS: Change mycroft-splash to use psplash instead. 2020-04-09 10:51:08 +02:00
j1nx 82c860e05e MycroftOS: Update respeaker driver to latest dev version. 2020-04-08 17:09:51 +02:00
j1nx 291c02ab2c MycroftOS: Update snapcast to latest 0.19.0 version 2020-04-08 16:49:37 +02:00
j1nx e7504de10a MycroftOS: Update spotifyd to latest 0.2.24 version 2020-04-08 16:10:50 +02:00
j1nx 86f1d45a0e MycroftOS: Enable MPD again, the normal way. 2020-04-07 18:18:26 +02:00
Peter Steenbergen 46d316880f MycroftOS: Addition of hostname-service
This little systemd service adds the last bits of the MAC address
to the hostname for support of multiple MycroftOS's on the same
network.
2020-04-06 10:25:45 +02:00
Peter Steenbergen 8871ab4515 MycroftOS: Use ondemand CPU governor 2020-03-26 10:02:15 +01:00
Peter Steenbergen 6c7b39c1c3 MycroftOS: Buildroot: Fixes for the [wip] fully upgrade of the system 2020-03-26 09:51:04 +01:00
Peter Steenbergen e54d587f56 [WIP] MycroftOS: Buildroot: Bump buildroot+kernel+drivers
- temp commit to be rebased when fully finished
2020-03-20 11:04:38 +01:00
Peter Steenbergen ebf5d31845 MycroftOS: Talking about being stupid....
Need to stop doing work when not 100% fit
2020-01-21 21:14:12 +01:00
Peter Steenbergen 04b3fff53e MycroftOS: Fix BT Speaker service for the RPI onboard BT chip.
RPI BT chip needs some extra work that is and can be solved with
an extra service running before bluetooth.service and btspeaker.service
2020-01-21 21:06:54 +01:00
Peter Steenbergen 2230934b21 MycroftOS: Python packages do not have to be installed within host. 2020-01-21 13:21:11 +01:00
Peter Steenbergen fae5aa232a MycroftOS: Bump mycroft to 19.8.6 including msm bump to 0.8.5 2020-01-21 13:07:30 +01:00
Peter Steenbergen c6b0daf396 MycroftOS: Stupid copy&paste mistake 2020-01-18 19:54:11 +01:00
Peter Steenbergen 88aa2a2653 MycroftOS: Fix wifi startup with broadcom driver.
wpa_supplicant doesn't play nice if runned twice. One with
the physical device, secondly with the virtual device.

Therefor we only start wpa_supplicant of ap0 only when there
is no wlan wpa config file present.
2020-01-18 18:18:19 +01:00
Peter Steenbergen 90b897481c MycroftOS: Changes, additions and fixes for MPD 2020-01-16 12:45:43 +01:00
Peter Steenbergen 9ee6bea5cd MycroftOS: Addition of Music Player Daemon (mpd).
- Folders are in /opt/mpd/
- Configuration in /etc/mpd.conf
- commented section to output to Snapcast if wanted
- NOT enabled by default, can be started/enabled by;
  sudo systemctl start/enable mpd.service
2020-01-13 14:31:02 +01:00
Peter Steenbergen 73ffd6fd6e MycroftOS: Addition of Snapcast; Both client and server.
- Configuration opts are in /etc/snapcast/
- Server configuration in /etc/snapcast.conf
- NOT enabled by default, can be started/enabled by;
  sudo systemctl start/enable snapclient.service
  sudo systemctl start/emable snapserver.service
2020-01-13 10:34:47 +01:00
Peter Steenbergen f798a00cb7 MycroftOS: Add Bluetooth Speaker functionality. 2020-01-11 19:16:36 +01:00
Peter Steenbergen c53f0b297e MycroftOS: Remove service name from advertised names.
They are not biting each other anyway and making it is obvious anayway
2020-01-10 19:20:15 +01:00
Peter Steenbergen 68488da047 MycroftOS: Stupid mistake + make sure spotify starts after PulseAudio. 2020-01-10 19:03:26 +01:00
Peter Steenbergen 6cc6c45ecd MycroftOS: Add spotifyd (Spotify connect) package. 2020-01-10 14:55:23 +01:00
Peter Steenbergen e1a4e0c4de MycroftOS: Buildroot: Don's bother the speechrecognition executables.
(Hopefully, the clean build runs till the end now)
2020-01-03 13:07:51 +01:00
Peter Steenbergen 3e6ec89558 MycroftOS: Mimic a captive portal to auto start a browser on wifi connect. 2019-12-31 16:59:43 +01:00
Peter Steenbergen 34a89c5541 MycroftOS: Implementation of MycroftOS-WiFiSetup system.
- Start an Acces Point if no wlan is configured.
- Start a small flask webserver to configure the wifi.
2019-12-29 14:03:51 +01:00
Peter Steenbergen 8e897038b7 MycroftOS: Make the HDMI bootup screen pretty again 2019-12-22 19:29:30 +01:00
Peter Steenbergen 2540e70dca MycroftOS: Fix splash screen to be reset when mycroft started 2019-12-22 12:48:16 +01:00
Peter Steenbergen 181bb4c98d MycroftOS: Bump mycroft to 19.8.5 and proper systemd support.
- Make it more robust
- In preparation for watchdog support
- Do not start Mycroft if network is not up
- Wait for internet connectivity
2019-12-21 18:54:56 +01:00
Peter Steenbergen ef7f547531 MycroftOS: Fix wifi. 2019-12-20 21:05:12 +01:00
Peter Steenbergen e714267786 MycroftOS: Remove alsactl as alsa is not running at that point yet.
Secondly, export LC_ALL just to be sure.
2019-12-17 09:24:26 +01:00
Peter Steenbergen 6371967836 Revert "MycroftOS: Buildroot: Adjust patchesfor Buildroot 2019.11.x"
This reverts commit 66eeec18d0.
2019-12-15 20:40:16 +01:00
Peter Steenbergen 1adee13f9f MycroftOS: Remove python-typing requirement for Python 3.8 compatibility 2019-12-08 13:19:58 +01:00
Peter Steenbergen 3853026e25 MycroftOS: Bump python-mycroft to latest 19.8.4 2019-12-07 17:44:35 +01:00
Peter Steenbergen 66eeec18d0 MycroftOS: Buildroot: Adjust patchesfor Buildroot 2019.11.x 2019-12-05 14:36:50 +01:00
Peter Steenbergen 19710450c5 MycroftOS: Bump to latest version - remove adapt parser patch 2019-12-03 16:13:16 +01:00
Peter Steenbergen dc787876c9 MycroftOS: Upgrade python-adapt-parser to 0.3.4 2019-11-27 13:40:38 +01:00
Peter Steenbergen 24655a9e0a MycroftOS: Bump python-mycroft including the requirement changes. 2019-11-24 16:17:24 +01:00
Peter Steenbergen ed27ec8fad MycroftOS: System changes related to sound and restoring them. 2019-11-17 14:30:43 +01:00
Peter Steenbergen 9182baac3f MycroftOS: Add back python-gtts_token package.
That is got removed from mycroft it's requirements.txt
doesn't mean it is not needed (DOH)
2019-11-17 13:01:16 +01:00
Peter Steenbergen 008f5649ee MycroftOS: Bump python-mycroft to latest version
- Mycroft version 19.8.3 + Dutch support
- Plus all other requirements updated for this bump.
2019-11-15 14:07:01 +01:00
Peter Steenbergen 7a54a0d8cf MycroftOS: Force all ALSA sound request to be forwarded to pulseaudio 2019-11-13 08:33:51 +01:00
Peter Steenbergen 8498108492 MycroftOS: Sound changes.
- Addition of alsa-plugins
- Addition of some extra sound libraries
2019-11-12 19:24:09 +01:00
Peter Steenbergen 5ccd33e78f MycroftOS: Different OS layout changes
- Prepare system script to run at boot to prepare the system.
  Now used to restore sound configuration files to default before
  udev takes over and configures the system for what it sees.
  Later can be used to prepare the system for read-only OS similar
  as I have done during my Kodi developemtn years.
- Sound config changes to default settings.
- Remove forgotten wifi-setup system.
2019-11-11 08:53:55 +01:00
Peter Steenbergen 057b825f8d MycroftOS: Update all Builroot patches to 2019.08.x version 2019-10-29 15:00:06 +01:00
Peter Steenbergen 8a3e18c11c MycroftOS: Bump python-mycroft to latest 19.08.2 version 2019-10-24 10:16:12 +02:00
Peter Steenbergen d0c144b9a6 MycroftOS: Update ReSpeaker drivers and package to latest version 2019-10-22 14:28:09 +02:00
Peter Steenbergen 611bbdd444 MycroftOS: Further work on the MycroftOS-WiFiSetup system 2019-09-30 16:13:38 +02:00
Peter Steenbergen 71aa0fa1a8 Merge branch 'develop' into feature/wifi-setup 2019-09-27 09:50:38 +02:00
Peter Steenbergen 091f5720e6 MycroftOS: Firstboot systemd system
- System to run sccripts at the very first boot. Now currently used
  only for resizing the partion using the full SD size.
- Can be expanded to run other scripts to prepare stuff at the
  very first boot.
2019-09-27 09:12:17 +02:00
Peter Steenbergen d7e7dddf58 MycroftOS: Bump python-mycroft to latest 19.08.0 version 2019-09-24 17:09:56 +02:00
Peter Steenbergen bdcbb3d98d MycroftOS: Add MycroftOS enclosure to msm patch 2019-09-21 12:38:48 +02:00
Peter Steenbergen 2adb2aa804 MycroftOS: Bump python-msm to 0.8.3 2019-09-21 12:13:25 +02:00
Peter Steenbergen 135dd8058b MycroftOS: Switch python-mycroft to utilizing sha256 commit
- This way the develop branch can stay up to date with mycroft dev
- Future release-tags of MycroftOS will be locked at mycroft release tags
2019-09-21 11:43:01 +02:00
Peter Steenbergen e3a31304d0 MycroftOS: Fix small mistakes in seeed configuration script 2019-09-16 12:42:24 +02:00
Peter Steenbergen 2f4c401b7f MycroftOS: Bump versions of python-casttube and python-protobuf 2019-09-16 12:39:41 +02:00
Peter Steenbergen 46d6ec7e9c MycroftOS: Changes for the respeaker driver setup including a
initial start to use pulseaudio <needs some testing>
2019-09-11 16:06:10 +02:00
Peter Steenbergen 3bbdddfa01 MycroftOS: Multiple fixes, tweakes, changes and/or reverts.
Basically a bunch of staged stuff of before the upgrade of
buildroot and mycroft. If I remember it all correctly;

- Change the folder permissions setup from device_table to
  systemd.
- Remove the mycroft user setup from the mycroft.service
  package into a systemwide buildroot user_table.txt
- Fix respeaker stuff for systemd system
- Fix sudo system for the mycroft user
- Allow mycroft to SSH into the system. Disallow root login.
- Probably some other fixes and tweaks I forgot about....
2019-09-09 15:25:51 +02:00
Peter Steenbergen 23bb1b70b3 MycroftOS: Lower python-pychromecast to 3.2.2 (mistake) 2019-09-08 20:31:05 +02:00
Peter Steenbergen a0289685fc MycroftOS: Add python-appdirs and python-pako requirements 2019-09-08 18:42:59 +02:00
Peter Steenbergen eb91fa52b2 MycroftOS: Add python-lazy requirement 2019-09-08 17:28:50 +02:00
Peter Steenbergen ed71c55793 MycroftOS: Bump python-padaos to 0.1.9 2019-09-07 18:02:21 +02:00
Peter Steenbergen 51ff9ce3db MycroftOS: Bump python-padatious to 0.4.6 2019-09-07 17:36:14 +02:00
Peter Steenbergen d38585e1b3 MycroftOS: Bump python-pyee requirement 2019-09-07 16:20:19 +02:00
Peter Steenbergen 5f407e9ad4 MycroftOS: Bump python-gtts requirement 2019-09-07 15:51:43 +02:00
Peter Steenbergen b8517c20c4 MycroftOS: Bump python-msk requirement 2019-09-07 15:02:20 +02:00
Peter Steenbergen 97b9bfa810 MycroftOS: Bump adapt-parser requirement 2019-09-07 14:43:02 +02:00
Peter Steenbergen 09c2e03f53 MycroftOS: Bump python-pychromecast requirement 2019-09-07 14:26:20 +02:00
Peter Steenbergen c349691756 MycroftOS: Bump python-msm to 2.7.9 2019-09-04 19:03:34 +02:00
Peter Steenbergen 40985acc7a MycroftOS: Update python-mycroft patches to v19.2.14 2019-09-04 16:49:17 +02:00
Peter Steenbergen 781380f395 MycroftOS: Bump python-mycroft to v19.2.14
This is most likely the last 19.02 version before they switch to 19.08
2019-09-04 11:49:40 +02:00
Peter Steenbergen feac30bb7c MycroftOS: Update the buildroot patches for 2019.05.x 2019-09-03 10:59:35 +02:00
Peter Steenbergen 8506d56142 MycroftOS: Small changes for the mycroft user
- No passwd / just a system user just like pulse
- Therefor also no SSH login needed.
2019-02-07 11:13:33 +01:00
Peter Steenbergen 9f374a530a MycroftOS: Initial work on boot/halt splashes 2019-02-05 12:27:37 +01:00
Peter Steenbergen 8ebaefa427 MycroftOS: Buildroot: Add of python-pymplayer package. 2019-02-05 11:24:05 +01:00
Peter Steenbergen 4ed4dab9c9 MycroftOS: Update respeaker linux drivers
- Latest modules
- Switch to systemd
- Initial work on switching to Pulseaudio + udev rules
2019-02-04 20:34:58 +01:00
Peter Steenbergen d586d28c3f MycroftOS: Fix start-mycroft script
- remove forgotten source-venv function calls
2019-02-04 14:34:06 +01:00
Peter Steenbergen 032566548a MycroftOS: Mycroft A.I. service package
- Systemd support for Mycroft A.I.
- Remove old init.d system files
- Update start/stop-mycroft.sh files
2019-02-04 12:55:48 +01:00
Peter Steenbergen e2889611cb MycroftOS: Buildroot: Add python-gpiozero and python-colorzero packages
+ Start pulseaudio as systemwide service
2019-02-01 18:34:18 +01:00
Peter Steenbergen 4f109ce009 MycroftOS: Bump Mycroft to 18.8.11 and remove UTF-8 patch (now in mainline) 2019-01-31 15:41:39 +01:00
Peter Steenbergen 546b2f2829 MycroftOS: Bump python-dateutil requirement to 2.7.5 2019-01-29 10:54:10 +01:00
Peter Steenbergen 021db4946c MycroftOS: Buildroot: Switched to glibc C library
- default binutils 2.29.1
- default gcc compiler 7.x
- Switch to python-tornado 5.1.1
2019-01-28 10:56:42 +01:00
Peter Steenbergen 99fbf8d106 MycroftOS: Bump Mycroft to 18.8.11 and remove pyyaml requirement. 2019-01-21 11:55:35 +01:00
Peter Steenbergen 40961fb458 MycroftOS: Bump Mycroft to 18.8.10 and all other requirements. 2019-01-11 08:45:44 +01:00
Peter Steenbergen 39c1f25421 Buildroot: MycroftOS: Remove buildroot-external python-zeroconf
python-zeroconf is now officially supported within 2018.11.x
2019-01-08 15:49:59 +01:00
Peter Steenbergen f59401b6b4 Buildroot: MycroftOS: Remove buildroot-external python-wrapt
python-wrapt is now officially supported within 2018.11.x
2019-01-08 15:46:13 +01:00
Peter Steenbergen 0fe20fdc91 Buildroot: MycroftOS: Remove buildroot-external python-typing
python-typing is now officially supported within 2018.11.x
2019-01-08 15:42:43 +01:00
Peter Steenbergen e2f047d555 Buildroot: MycroftOS: Remove buildroot-external python-pyasn1
python-pyasn1 is now officially supported within 2018.11.x
2019-01-08 15:35:08 +01:00
Peter Steenbergen 80cb65acb4 Buildroot: MycroftOS: Remove buildroot-external python-pyasn1-modules
python-pyasn1-modules is now officially supported within 2018.11.x
2019-01-08 15:30:43 +01:00
Peter Steenbergen 693eed06e1 Buildroot: MycroftOS: Remove buildroot-external python-pip package
Python-pip is now officially supported within 2018.11.x
2019-01-08 14:56:52 +01:00
Peter Steenbergen e4bd6bb181 MycroftOS: Buildroot: Bump Mycroft to 18.8.5 2018-11-13 11:56:28 +01:00
Peter Steenbergen 262b3c89da MycroftOS: Buildroot: Bump python-coveralls dependency to 1.5.1
- This to remove the pytest-runner dependency for new clean builds
2018-11-13 11:15:41 +01:00
Peter Steenbergen b0f77559fb Merge branch 'develop' into feature/wifi-setup 2018-11-10 10:13:17 +01:00
Peter Steenbergen 32940bfb59 Buildroot: Create / Add nodogsplash buildroot package
- Default settings and configuration
- MycroftOS configuration will be done via rootfs overlay
2018-11-09 18:18:38 +01:00
Peter Steenbergen ceecabfe3c Buildroot: Respeaker: Change the way of loading seeed-voicecard
- Only mount things if seeed-voicecard is ran
- We can only start things so no need for start-stop-restart init
2018-11-03 10:59:50 +01:00
Peter Steenbergen d6f6c07c12 Buildroot: Respeaker: Mount configfs before starting seeed-voicecard 2018-11-02 23:09:18 +01:00
Peter Steenbergen 5a0097334a Buildroot: Respeaker: We need dtc programs as well 2018-11-02 22:53:00 +01:00
Peter Steenbergen 0c72515fa8 Buildroot: Respeaker: Make dtc a dependency of respeaker
- Fixes /usr/bin/dtoverlay: can't load library 'libfdt.so'
2018-11-02 22:32:01 +01:00
Peter Steenbergen 312a86d9f6 Buildroot: Respeaker: Make rpi-userland a dependency of respeaker
Wasn't aware dtoverlay was a binary derived from rpi userland firmware
2018-11-02 21:01:07 +01:00
Peter Steenbergen 949e20f576 Buildroot: repeaker: Fix mistake in modules init script 2018-11-02 19:42:32 +01:00
Peter Steenbergen 69521b374f Buildroot: Initial start of the respeaker package
- Download latest code from github
- Compile and install kernel modules
- Init script to load the modules
- Copy over all overlays and configuration files
- Init script to start seeed-voicecard bash script

< ... This now needs testing ... >
2018-11-02 17:07:53 +01:00
Peter Steenbergen 2998441e43 Buildroot: Bump Mycroft to 18.08.4
- Removed config path patch
- Removed /.mycroft symlink
- Added /root/.mycroft folder in rootfs overlay
2018-11-01 15:42:02 +01:00
Peter Steenbergen 55846e484a MycroftOS: Implementation of a very first initial bootable version
- Add Buildroot patches to downgrade / upgrade package dependencies
  in line with the Mycroft A.I. software stack requirements.
- Add buildroot additional package dependencies in line with the
  Mycroft A.I. software stack requirements.
- Update rpi3 defconfig file.
- Implement initial root_fs overlay filestructure.
- Addition of some quick and dirty helper scripts.
- Update of README to reflect these changes.
2018-10-30 15:55:12 +01:00
Peter Steenbergen b8aed86e23 MycroftOS: Initial buildroot-external setup 2018-10-26 15:43:30 +02:00