Commit Graph

275 Commits

Author SHA1 Message Date
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 6cc6c45ecd MycroftOS: Add spotifyd (Spotify connect) package. 2020-01-10 14:55:23 +01:00
Peter Steenbergen b2998369c2 MycroftOS: Initial start of implementing Airplay support. 2020-01-06 15:15:52 +01:00
Peter Steenbergen 073e5b9e91 MycroftOS: Get RPI4 inline with RPI3 2020-01-03 13:07:22 +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 7fd28c698d MycroftOS: Buildroot: Bump kernel to 4.19.89 2019-12-22 21:06:49 +01:00
Peter Steenbergen fbf0c9f590 MycroftOS: Add date/time utils and AP support to wpa_supplicant 2019-12-22 14:00:33 +01:00
Peter Steenbergen 4061037d0b MycroftOS: Some of tweaks and fises. 2019-12-21 23:43:56 +01:00
Peter Steenbergen ef7f547531 MycroftOS: Fix wifi. 2019-12-20 21:05:12 +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 cd521279b0 MycroftOS: RPi4 configuration rename. 2019-12-10 13:24:48 +01:00
Peter Steenbergen ee529612ef Merge branch 'feature/rpi4' into develop 2019-12-10 13:23:46 +01:00
Peter Steenbergen 8b826c72fd MycroftOS: BNuilding now uses a proper Makefile.
- Big thx once again to the HassOS guys.
2019-12-10 13:21:49 +01:00
Peter Steenbergen c24ec5c1b7 MycroftOS: Add RPI4 support. 2019-12-10 11:13:25 +01:00
Peter Steenbergen d7925b6496 MycroftOS: Add python-colorama as msk dependency 2019-12-07 18:57:29 +01:00
Peter Steenbergen 66eeec18d0 MycroftOS: Buildroot: Adjust patchesfor Buildroot 2019.11.x 2019-12-05 14:36:50 +01:00
Peter Steenbergen 135ca07748 MycroftOS: Remove GnuTLS tools. Generates compile errors and we do not need it anyway. 2019-11-17 12:21:22 +01:00
Peter Steenbergen 21e1081440 MycroftOS: Enabling avahi zero conf of pulseaudio 2019-11-15 14:37:59 +01:00
Peter Steenbergen 9b0e6dabd7 MycroftOS: Enabling syslogd & klogd deamons for better debugging
Can be removed again later when we reach a more stable status
2019-11-15 11:52:36 +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 7f7f8522ed MycroftOS: Buildroot: Remove DirectFB Multi support 2019-11-09 12:43:09 +01:00
Peter Steenbergen fcada57c4c MycroftOS: Buildroot: Addition of different libraries to complement VLC 2019-11-09 12:07:40 +01:00
Peter Steenbergen 8a944f3850 MycroftOS: Add some libraries 2019-11-04 19:32:00 +01:00
Peter Steenbergen 3f57490e11 MycroftOS: Remove forgotten defconfig wifi-setup changes 2019-11-02 12:43:46 +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 f625deed3d MycroftOS: Step away from using the NPM wifi setup system
Never realised that Mycroft A.I. had there own ,mycroft-wifi-setup
package created; https://github.com/MycroftAI/mycroft-wifi-setup

Will start uising that one instead to be more inline with the
Mark-1 and Mark-II systems.
2019-10-27 12:43:50 +01:00
Peter Steenbergen 1db02c81f3 MycroftOS: Small additions to the defconfig.
- git_crypt
- autossh
- avahi
- systemd firstboot (to be used for SDResize script)
- systemd locale and rfkill
2019-10-25 12:03:15 +02:00
Peter Steenbergen 1ed424a9d5 MycroftOS: Buildroot: Various changes to the linux / kernel / wifi.
- Couldn't get the wifi working on my RPI3b and couldn't figure it out.
  Updated all drivers, packages etc. however still not working.
  Tested the RPI on the latest Rasbian, which also didn't work
  So expect an hardware failure.
- Merged all this regardless.
- Kernel updated to latest 4.19 including all firmware packages
- Addition of other wifi firmwares so we can use usb dongles
- Anyhow need to buy a new RPI3b for testing the wifi drivers
- This kernel and drivers should also work on a RPI4
2019-10-22 14:36:38 +02:00
Peter Steenbergen 063faa464d MycrofOS: Wifi defconfig changes 2019-10-18 14:43:49 +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 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 6b9d732358 MycroftOS: Downgrade and add python-pyyaml requirement 2019-09-07 15:33:11 +02:00
Peter Steenbergen e873caa842 MycroftOS: Buildroot: Add python-cryptography 2.6.1 requirement 2019-09-07 13:02:53 +02:00
Peter Steenbergen f141e3495e MycroftOS: Linux: Bump kernel to latest 4.14.x 2019-09-03 19:51:45 +02:00
Peter Steenbergen feac30bb7c MycroftOS: Update the buildroot patches for 2019.05.x 2019-09-03 10:59:35 +02:00
Peter Steenbergen d6379f9f99 MycroftOS: Multiple fixes and tweaks.
- install locale binary from glibc into target
- allow mycroft to SSH into the box
- add of sudo command / binary
- folder permission issues
2019-02-06 13:03:03 +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 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 785e3a9e09 MycroftOS: Switch to systemd + udev 2019-02-01 20:10:23 +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 32d39e945e MycroftOS: Enable python-pyusb and spi-tools packages. 2019-02-01 11:12:08 +01:00
Peter Steenbergen de3dd9c5ff MycroftOS: Add libusb and python-spidev package for respeaker-4mic-hat-skill 2019-01-30 20:52:55 +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 f3c2dd8373 Merge branch 'develop' into bugfix/glibc-gcc-version 2019-01-24 08:50:46 +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 a1ebf55c29 MycroftOS: Defconfig update for glibc 2019-01-11 16:17:50 +01:00
Peter Steenbergen 9bd77ec044 Merge branch 'develop' into bugfix/glibc-gcc-version 2019-01-11 09:01:57 +01:00
Peter Steenbergen 968e58c84a MycroftOS: Buildroot: Update mycroftos_rpi3_defconfig
small changes
2019-01-09 14:15:30 +01:00
Peter Steenbergen aa1d662121 MycroftOS: Buildroot: Multiple changes and fixes
- Make sure there is no getty being spawned on TTY1
- Switch from Dropbear to Openssh so we can disable locale being sent over
2018-11-12 13:20:09 +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 51e8fad08d Buildroot: Switch to glibc and enforce gcc 4.9.x and copy gconv libs
- This is to bring the binaries more inline with Rasbian
- This might fix #6 because of the ld-linking
- This might fix #8 because of locale support issues

Untested for the moment as a clean build takes ages again, which I
need to postpone for the moment - I do not have a beefy build machine
(anymore) at the moment.
2018-11-07 14:36:33 +01:00
Peter Steenbergen 883e302367 MycroftOS: Buildroot: No (more) need for a login prompt 2018-11-06 17:00:12 +01:00
Peter Steenbergen 0d1ea12fc0 MycroftOS: Show a boot splash as early as possible in the bootproces
A clean "empty splash.png at boot however the same fbv code can be
used later on in the develoment and proces to show the user where
in the boot / configuration proces we are at.
- "Connect to wifi SSID" user information for the wifi configuration
- But also possible other cofiguration step later on in the wizard
2018-11-06 13:59:01 +01:00
Peter Steenbergen 42e80786a7 MycroftOS: Buildroot: Pulseaudio it is...
- Enabling pulseaudio and pulsectl
- But not systemwide
(more info: https://community.mycroft.ai/t/pulseaudio-to-be-or-not-to-be/5009)
2018-11-06 09:29:53 +01:00
Peter Steenbergen 0b8fd4e503 Buildroot: Disable python-pulsectl as we do not have pulseaudio anymore.
+ mycroft audio trows an error because it find the python package
  therefor uses it, however pulseaudio is not there anymore.

(Leaving the buildroot-external package there is case people want
 to use it, building firmwares themself)
2018-11-04 14:25:02 +01:00
Peter Steenbergen 8b33ad532c Buildroot: Busybox: Some adjustments and tweaks.
- Adding VLC for skill that needs that.
  (Not including mplayer as buildroot removed that package because
  of lack of development since 2 years, MPV is the new mplayer)
- Busybox tweaks and adjustments.
  (Adding pgrep because start/stop-mycroft.sh uses it. Adding other
  small binaries and tweak more for speed instead of size.)
2018-11-04 14:10:19 +01:00
Peter Steenbergen f0e4e48330 Merge branch 'develop' into feature/no-pulseaudio 2018-11-03 11:59:01 +01:00
Peter Steenbergen 2efec729d0 Buildroot: Bump initial image filesystem size.
We are quickly running out of space, bumping filesystem size
a bit till we have auto-expand implemented.
2018-11-03 11:04:15 +01:00
Peter Steenbergen 843fef5d8c Buildroot: Remove pulseaudio completely 2018-11-03 10:37:49 +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 5a0f875f47 Revert "Buildroot: Try-out internal toolchain + glibc"
- OK tested both glibc and uglibc-ng, the latter does NOT
  work properly with python.
This reverts commit 1c01cb2b9d.
2018-11-01 20:15:14 +01:00
Peter Steenbergen 1c01cb2b9d Buildroot: Try-out internal toolchain + glibc 2018-11-01 09:52:50 +01:00
Peter Steenbergen 2f7e82f289 Buildroot: Try-out internal toolchain + uGlibc-ng 2018-10-31 19:26:44 +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 b68a2beb9e MycroftOS: Initial setup for rpi3 2018-10-26 19:51:01 +02:00
Peter Steenbergen b8aed86e23 MycroftOS: Initial buildroot-external setup 2018-10-26 15:43:30 +02:00