└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # 1 Install Raspbian Stretch Lite 2 | 3 | • Download lastest verison of Raspbian Stretch Lite here: 4 | • Follow the guide here 5 | • Insert SD card and power up your Raspberry Pi 6 | 7 | # 2 Setup Norns 8 | 9 | • Follow the guide here: 10 | Stop once you get to the kernel section. 11 | 12 | ## 2.1 Build your own kernel (Optional) 13 | 14 | Follow these two gudies to configure and build a 4.14 kernel: 15 | 16 | 17 | 18 | ### 2.1.1 Configuration 19 | 20 | • Run `make menuconfig` from the linux folder 21 | 22 | • Change the following options: 23 | 1. `Kernel Features—>Timer Frequenecy 1000hz` (Optional) 24 | 2. `Kernal Features —> Preemption Model —> Preemptive kernel (low-latency dektop)` 25 | 3. `CPU Power Management —> CPU Frequency scaling —> default CPUFreq governor (performance)` 26 | 27 | You may also want to alter /boot/config.txt e.g. if your using touchscreens 28 | 29 | • Once installed, reboot the Raspberry Pi 30 | 31 | ### 2.1.2 Build 32 | 33 | • Complete the the rest of the building guide 34 | 35 | ## 2.2 Configure Norns image 36 | 37 | ### 2.2.1 Clone norns-image repo 38 | 39 | • Run `git clone https://github.com/monome/norns-image.git` 40 | 41 | ### 2.2.2 Remove I2C setup 42 | 43 | • Run `nano norns-image/config/norns-init.service` 44 | 45 | • Change `line:ExecStart=/usr/bin/amixer set Master 255 on` to `ExecStart=/usr/bin/amixer set PCM 255 on` (Depending on your audio interface, you can find out if you need this by using the command `amixer`) 46 | 47 | • Comment out the following by placing a `#` at the start of the following lines: 48 | 1. `ExecStart=-/usr/sbin/i2cset -y 1 0x28 0x00` 49 | 2. `ExecStart=-/usr/sbin/i2cset -y 1 0x28 0x40` 50 | 51 | Press `Ctrl+X` and then `Y` to save changes and exit. 52 | 53 | • Run `nano norns-image/scripts/init-norns.sh` 54 | • Comment out the `i2cset` lines by placing a `#` at the start of each line• 55 | 56 | ### 2.2.3 Set audio device 57 | 58 | • Run `nano norns-image/config/norns-jack.service` 59 | • Change `hw:1` to your audio device 60 | 61 | Press `Ctrl+X` and then `Y` to save changes and exit. 62 | 63 | ### 2.2.4 Disable network overrides (Optional) 64 | 65 | Complete the following steps to stop Norns overwriting your network settings and configuring the 'norns' access point. 66 | 67 | • Run `nano norns-image/setup.sh` 68 | • Comment out the WiFi setcion by placing a `#` at the start of each line: 69 | 70 | Press `Ctrl+X` and then `Y` to save changes and exit. 71 | 72 | ### 2.2.5 Configure Maiden 73 | 74 | • Run `nano norns-image/config/norns-maiden.service` 75 | • Remove `.arm` from the end of `/home/we/maiden/maiden.arm` 76 | 77 | Press `Ctrl+X` and then `Y` to save changes and exit. 78 | 79 | ## 2.3 Complete Norns images setup 80 | 81 | • Run `./norns-image/setup.sh` 82 | 83 | # 3 Install Dust 84 | • Run `cd ~` 85 | • Run `git clone https://github.com/monome/dust` 86 | 87 | # 4 Install Crone, Maitron and Maiden 88 | 89 | • Run `cd ~` 90 | • Run `git clone https://github.com/monome/norns` 91 | 92 | • Run`sudo nano /lib/systemd/system/systemd-udevd.service` 93 | • Change `MountFlags=slave` to `MountFlags=shared` 94 | 95 | • Run `cd ~/norns` 96 | • Run `./waf configure` 97 | • Run `./waf` 98 | 99 | • Run `pushd sc` 100 | • Run `./install.sh` 101 | • Run `popd` 102 | 103 | ## 4.1 Install Crone 104 | • Run `touch ~/.jackdrc` 105 | • Run `cat ~/norns-image/config/jackdrc >> ~/.jackdrc` 106 | 107 | ## 4.2 Install Matron 108 | • Run `sudo usermod -a -G video we` to ensure that the user can access the framebuffer 109 | 110 | ## 4.3 Install Maiden 111 | • Download latest .tgz release from 112 | • Extract it to `~/maiden` 113 | 114 | # 5 Finish 115 | Reboot and enjoy 116 | 117 | # Troubleshooting 118 | 119 | 120 | --------------------------------------------------------------------------------