Commit Graph

399 Commits

Author SHA1 Message Date
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 918e873de4 MycroftOS: Start mycroft-cli-client automatically when loging in
- Plus a bit of nice to have MOTD from PiCroft
2019-11-05 13:59:27 +01:00
Peter Steenbergen 4b12d08faa MycroftOS: Addition of MycroftOS specific pulse audio .pa files 2019-11-05 13:41:03 +01:00
Peter Steenbergen 7ab92f2898 MycroftOS: Fix spi/i2s/gpio access for non root users
Similar system as raspbian via udev rules to change teh group.
Adding the mycroft user to those groups.
2019-11-03 13:42: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 6ca98e19f4 MycroftOS: Forgot to bump max core version string to 19.8 2019-10-26 14:24:38 +02:00
Peter Steenbergen 38caead28d MycroftOS: Addition of BASH profile scripts 2019-10-25 12:26:53 +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 471002d23c MycroftOS: Revert back to default audio (pulse) config for mycroft 2019-09-21 12:39:33 +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 5dceef03f7 MycroftOS: Fix stupid quoting error in mycroft.conf 2019-09-12 18:16:12 +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 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 4fc960f306 MycroftOS: Remove old ALSA init script. 2019-02-05 08:51:03 +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 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 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
j1nx cc4a893520 Merge branch 'develop' into feature/wifi-setup 2018-11-15 08:56:20 +01:00
Peter Steenbergen b8735eeb72 MycroftOS: Allow root login over SSH 2018-11-14 14:12:47 +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 844ddd29e4 MycroftOS: Switch boot splash to 720p 2018-11-09 09:44:50 +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 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 c6f8f7af20 MycroftOS: Initial start of auto expand filesystem at first boot 2018-10-31 19:39:32 +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