Commit Graph

919 Commits

Author SHA1 Message Date
Peter Steenbergen 611bbdd444 MycroftOS: Further work on the MycroftOS-WiFiSetup system 2019-09-30 16:13:38 +02:00
Peter Steenbergen 34ff40ca17 Merge branch 'feature/wifi-setup' of https://github.com/j1nx/MycroftOS into feature/wifi-setup 2019-09-27 09:52:37 +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 471002d23c MycroftOS: Revert back to default audio (pulse) config for mycroft 2019-09-21 12:39:33 +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
j1nx bf24e48ffc Merge remote-tracking branch 'origin/develop' into feature/wifi-setup 2019-09-16 13:57:24 +02:00
j1nx b8b18cebf4 MycroftOS: First steps in using npm and nvm 2019-09-16 13:43:48 +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 5dceef03f7 MycroftOS: Fix stupid quoting error in mycroft.conf 2019-09-12 18:16:12 +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 7eb848f661 MycroftOS: Define enclosure platform and version. 2019-09-11 14:32:29 +02:00
Peter Steenbergen c72abbf659 MycroftOS: Add default /home/mycroft/.mycroft/mycroft.conf 2019-09-10 10:18:25 +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 6b9d732358 MycroftOS: Downgrade and add python-pyyaml requirement 2019-09-07 15:33:11 +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 e873caa842 MycroftOS: Buildroot: Add python-cryptography 2.6.1 requirement 2019-09-07 13:02:53 +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 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 469f4473bf MycroftOS: Remove /var/log from tmpfs
- This to keep the log files at reboot
2019-06-11 15:41:50 +02:00
Peter Steenbergen 1763c6be2c MycroftOS: Fix sudoers construction for mycroft user 2019-02-08 12:14:52 +01: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 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 5fbdef2618 MycroftOS: Switch from root to mycroft user. 2019-02-05 12:41:17 +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 4fc960f306 MycroftOS: Remove old ALSA init script. 2019-02-05 08:51:03 +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 f0711f0972 MycroftOS: Remove module loading init script.
- Loading the modules is now properly dynamically handled by udev+systemd
2019-02-02 12:06:18 +01:00
Peter Steenbergen 4f4945ef88 MycroftOS: Remove SDresize init script as it doesn't work with systemd
- Didn't work at boottime anyway
- Need to be recreated utilizing systemd
2019-02-02 11:58:26 +01:00
Peter Steenbergen 4ada46d528 MycroftOS: Remove Splash init script as it doesn't work with systemd
- Need to be recreated utilizing systemd
2019-02-02 11:56:11 +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 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 c336a9d9eb MycroftOS: Enabling the SPI driver for the ReSpeaker HAT Skill 2019-01-31 13:43:50 +01:00
Peter Steenbergen 08961a192b MycroftOS: Addition of precise-engine and model, pre installed. #23 2019-01-31 11:03:53 +01:00
Peter Steenbergen 1e6df9e8c9 MycroftOS: Small changes to default /etc/mycroft/mycroft.conf
- Log level back to DEBUG, will be INFO at release
- Don't mute the microphone when playing
2019-01-31 09:13:15 +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 546b2f2829 MycroftOS: Bump python-dateutil requirement to 2.7.5 2019-01-29 10:54:10 +01:00
Peter Steenbergen 71cdd452cc MycroftOS: Add default /etc/pip.conf with;
piwheels added as extra url (however python3.7 is not yet supported)
only binaries for all (this should fix #11 )
2019-01-28 11:39:34 +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 40961fb458 MycroftOS: Bump Mycroft to 18.8.10 and all other requirements. 2019-01-11 08:45:44 +01:00
Peter Steenbergen 968e58c84a MycroftOS: Buildroot: Update mycroftos_rpi3_defconfig
small changes
2019-01-09 14:15:30 +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 083c51772f Buildroot: Small changes to busybox 2018-12-27 13:45:31 +01:00
j1nx cc4a893520 Merge branch 'develop' into feature/wifi-setup 2018-11-15 08:56:20 +01:00
Peter Steenbergen 931898a1f9 Linux: Raspberry: Move console to serial port.
This to prevent kernel critical messages to be send to HDMI
2018-11-14 19:27:43 +01:00
Peter Steenbergen 434204415d Raspberry: Kernel: Small tweaks to cmdline.txt 2018-11-14 14:44:33 +01:00
Peter Steenbergen b8735eeb72 MycroftOS: Allow root login over SSH 2018-11-14 14:12:47 +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 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 fcb2dcf244 MycroftOS: Switch to 720p instead 2018-11-09 18:38:51 +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 cf65f00aaa MycroftOS: Boot with HDMI safe mode for older screens compatibility. 2018-11-09 09:52:17 +01:00
Peter Steenbergen 844ddd29e4 MycroftOS: Switch boot splash to 720p 2018-11-09 09:44:50 +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 aaf99dfc36 MycroftOS: Buildroot: Change script to startup script
- Script worked manually on the CLI so converting it to init.d script.
2018-11-06 09:02:54 +01:00
Peter Steenbergen 9f30517a4b MycroftOS: Buildroot: At first boot expand data partition over the whole SD card. 2018-11-04 22:37:29 +01:00
Peter Steenbergen 1c626523ac Merge branch 'develop' into feature/auto-expand-fs 2018-11-04 22:34:52 +01:00
Peter Steenbergen 21d0ae11d3 MycroftOS: Buildroot: Add empty /root/.mycroft_cli.conf 2018-11-04 20:20:34 +01:00
Peter Steenbergen 0a81b17fe8 Buildroot: Remove pulseaudio configuration file. 2018-11-04 17:20:48 +01:00
Peter Steenbergen 820e7d502f MycroftOS: Buildroot: Check for /.mycroft and if not exist create it
- This is a work around for #9 untill I figure out what exactly is
  causing it.
2018-11-04 17:17:56 +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 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 843fef5d8c Buildroot: Remove pulseaudio completely 2018-11-03 10:37:49 +01:00
Peter Steenbergen d6f6c07c12 Buildroot: Respeaker: Mount configfs before starting seeed-voicecard 2018-11-02 23:09:18 +01:00
Peter Steenbergen 2d77d26a62 Buildroot: Respeaker: We need /dev/mmcblk0p1 to be mounted at /boot
- Otherwise we cannot access the overlays
2018-11-02 23:01:47 +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 9cad1ffb89 Merge branch 'develop' into feature/respeaker 2018-11-02 11:46:20 +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 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 0619a03993 MycroftOS: Initial start of wifi-setup 2018-11-01 10:24:32 +01:00
Peter Steenbergen 1c01cb2b9d Buildroot: Try-out internal toolchain + glibc 2018-11-01 09:52:50 +01:00
Peter Steenbergen c6f8f7af20 MycroftOS: Initial start of auto expand filesystem at first boot 2018-10-31 19:39:32 +01:00
Peter Steenbergen 2f7e82f289 Buildroot: Try-out internal toolchain + uGlibc-ng 2018-10-31 19:26:44 +01:00
Peter Steenbergen f7259c3490
Buildroot: Initial start of ReSpeaker kernel driver buildroot package 2018-10-31 08:55:07 +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