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 
(@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
)
-
rasps-config - localisations = all - dont do it
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
- 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