true. i was hopeful on the input/output knobs – i wonder if i can get a mini arduino but i think piSound uses all the pin, So …

Ive done a full clean build - based on norns-image dev setup

and taken complete notes as I did it.

Note: I don’t take any credit for this, as the write-ups by @tehn & co are great, and cover 99% of it.
but there are a few things i changed on they way, and a few things to note, as we are not putting on norns hardware

UPDATE: I updated the instructions to point out that most can probably just use the stock kernel, Ive tested and it was fine… so Id only build your own kernel if you need to for a specific reason, and you can do it quickly (eg. by cross compiling.

limitations:

  • I’m not repeating things (like how to build a kernel, and steps already in the norns documentation),
  • its not specific , so you need to know a few things like how to specify your sound card in jackd
  • ive not built the norns docs, so that not included

a request, if someone uses this, then please also take notes of any errors, and perhaps format the doc as you go along - so we can each improve it a little :slight_smile:

(@tehn not sure if there is a better place to put it, Ive tried not to rehash whats in the other docs too much, rather refer, exception was where things were perhaps not entirely clear to me … you are of course free to do anything you wish with it)

anyway good news is, seems to be working perfectly with my push2.


some important things, that tripped me over,
and perhaps my be useful comments for norns devs (or not )

  • setup.sh - config/interfaces will overwrite you wifi setup , and hardcode to a static ip address…
    I guess this is the norm for norns, as you can then use the screen to setup wifi (?) , but when you’ve no screen then thats going to be tricky, so id advise against overwriting
    (it caught me out, as i was missing a file required for push2 to launch properly :wink: )

  • rasps-config - localisations = all - dont do it :wink: it takes ages, and you only really need your location…
    obviously norns hardware is international so needs the all , jic

  • norns-image/config/norns-maiden.service
    this refers to maiden.arm, as presumably its being cross compiled, so you need to change this.

  • i2cset I comment these out as they are norns hardware specific and might conflict with your hardware (but probably will be ok)

final note… this is not identical to the norns hardware release
this builds a dev image, which means its the latest (so unsupported?!) code, rather than released code,
the kernel is different/newer (4.14), and we may have different options.
so you cannot compare directly…

ive not tested things like usbsync

sleep , really does just sleep :slight_smile: - it does not do the shutdown I expected.

I think for my personal needs, Im going to add a shutdown and probably restart option, hopefully this can just be a simple lua app, so I dont have to hack matron more than necessary.

anyway I hope this is all helpful to someone…
thanks to the norns team for all the effort,
as i type this i listening to “why?”, to which the answer is “because I can!”

enjoy
Mark

EDIT:
@tehn Ive noticed the wifi.lua and scripts dont appear to be working properly…
is this something worth investigating or a red-herring?
(I dont need it as I can just edit /etc/network/interfaces and all works)
first error is Failed to connect to non-global ctrl_ifname (nil) error: No such file or directory
so looks like ctrl_interface file?
(this is by running ~/norns/wifi.sh scan)
hotspot doesn’t appear to work from the UI, but does appear to work from wifi.sh hotspot

anyway, perhaps this is a red herring so wont waste your time, unless its an issue you hearing about elsewhere

16 Likes

wow that’s great!! thank you! gonna check this out with my pi 2 lying around…

you might not be excited by the performance you get with a 2, but i assume you will know that

1 Like

Yep I thought so…If the weather is going to be as bad as it announced this weekend I’ll give it a try.

Also I was thinking about getting a pi3 for other projects…so maybe its time now…:nerd_face::grimacing:

A post was merged into an existing topic: Norns: Development

ok, not really rPI related … but I think @jasonw22 was asking about using a virtualbox?!

so the answer is yes, it can be made to work… Ive got it working under vmware :slight_smile:

I actually did all the Push2 dev for matron on Vmware Fusion (mac) hosting Ubuntu 18.04 (64bit) , but I didnt bother trying the audio till this evening (for fun, over a glass of wine)

‘as expected’ jack and the ‘virtual audio driver’ did not work… (Ive logged a support request)

so I went a different route, VMware has excellent usb support,
so I plugged in a portable USB audio interface (Zoom H5 in AI mode) , then gave it to vmware to host, told jack to use this - and viola, the lovely dulcet tones of Norms, using my Push 2 to control it all.
(no xruns or anything, so thats a bonus!)

why? - why not?

no, actually, its useful for development purposes, Ive got better tools on desktop Ubuntu, so its easier for me to try things there, get them working … git push them, then bring them down to the rPI for testing.

so if you want to try norns out on the desktop give it a whirl, as ive mentioned previously in this thread the norns documentation is really good.

1 Like

woohoo! I’m going to try to make time to give it a whirl this weekend.

1 Like

key thing to note… if your building from ‘scratch’, the distros are still on supercollider 3.7 or 3.8,
and you need supercollider 3.9.3, but thats a really easy build (supercollider website gives steps)
apart from that, norns docs covers all thats needed, and theres a few extra hints in this thread (re go, and glide)

Äh maybe a stupid question but why should I not use the kernel from the momome git?

Edit: it‘s for the special soundcard used in norns,right?

A few reasons, I don’t use it:

  • I don’t know what’s in it, or if it’s patched
  • it’s and older kernel 4.9 vs 4.14
  • the version available (003) is not the shipped version 004?

All that said I suspect it would work, (as does the stock kernel, just not with as good performance)

Frankly, once you’ve built a kernel once, you’ll realize it’s not a ‘big’ thing, and being able to tweak it is useful at times.

Brian has said he will post the final kernel image, when he does that I will cross-check it with mine.

1 Like

I’m building my first linux kernel right now! Exciting

4 Likes

+1000 xp to @reijo the elf.

1 Like

haha thx.

while downloading files etc… I checked my backlog and I have a OLED lying around. Unfortunate its a SPI with 7Pins. Would it be difficult to get this working? Or should I get a I2C OLED?

Edit: argh… I followed your instructions from your .txt but now the pi is not coming up after reboot. I have no HDMI here atm so I did everything via ssh…guess I have to start from the beginning haha…although I have no idea what went wrong…
:disappointed_relieved:

Not really been keeping up with this thread, or know if it’s been posted already, but I saw this pop up on my RSS feed today and thought it might be relevant:

01%20am
http://zynthian.org

Open source, built off a fullsized Pi, and what looks to be off-the-shelf I/O stuff.

As an aside, I’m always blown away when I see how other people treat design, after being spoiled by so many years of beautiful monome instruments. (i.e., it’s ugly as shit!)

3 Likes

had you run setup.sh?
I suspect you lost wifi by allowing the etc/network/interfaces get overwritten… at least that’s what happened to me - but fortunately, I have a monitor/keyboard to hand :wink:

@Rodrigo , yeah Zynthian has been around quite a while. (a couple of years?)

yeah physical design is a bit meh, but that’s because its uses off the shelf components… and the standard rPI+hifi berry is quite ‘tall’
what I don’t like about the hifiberry used, is has no input, and rca output , rather than TRS - there has been talk of them switching to PiSound which is much better.

but I wouldn’t be too hard on them, built is 350 euro , or the full kit (which is ‘snap together’ , no soldering) is 250 euros - so pretty cheap, and its a 3.5" touch screen
(I don’t think they make much money on it really)

if they’d switch to pisound id recommend it.

1 Like

yep I did run setup.sh…but even with a ethernet connection to my router the pi doesn’t show up…gonna check if also ethernet gets overwritten…thank you

Nope thats not the problem. Did a fresh install without the interface overwriting line. Same problem… pi doesn’t come up; or at least there is a problem with the network…
I used on both attempts the kernel which comes with rasbian…maybe this is the problem?! Guess not…

Damn I need a HDMI cable…

(If only cloning the image to a sd card wouldn’t take some much time…)

so you didn’t replace the kernel? if so its not the kernel… the std kernel works, just its not preemptive.

unfortunately setup.sh replaces network interfaces file, so it will also take ethernet out as well :frowning:

do you have an sdcard reader and a Linux box (virtual or real) - if so you can mount the sdcard on that to ‘fix’ the issue. (just look in /etc/network/interfaces)

no I didn´t replace the kernel…(I skipped this for now…cause it took so much time…that´s something I thought could be done overnight…)

and yes I can access the the sd card. but the interfaces file was not being overwritten. I deleted this line from setup.sh