Comments (12)
see https://github.com/tehn/norns-image/blob/master/readme-hardware.md for exhaustive peripheral information, please let me know if you see any holes or need further details
from norns-image.
I think we can close this one. The current kernel including config lives here https://github.com/simonvanderveldt/linux/tree/norns-20171029-1
I'll transfer ownership and make public once norns is released/at the moment we decide to make all sources public :)
from norns-image.
From #9 (comment)
also-- way long ago when we were doing the sound codec driver, murray attempted a travis CI for the kernel and it ran up against travis' time limit for the process-- perhaps there's a way around this with a cross-compiling config.
I've got something basic working that automatically compiles the (stock) raspbian kernel and (currently) creates deb
packages (which probably won't work on raspbian/arm because of a different device tree structure):
$ ls -ahl
total 28M
drwxr-xr-x 2 root root 7 Feb 3 21:30 .
drwxr-xr-x 3 root root 3 Feb 3 21:15 ..
-rw-r--r-- 1 root root 143K Feb 3 21:17 4.9.79-v7+.config
-rw-r--r-- 1 root root 179K Feb 3 21:30 linux-firmware-image-4.9.79-v7+_4.9.79-v7+-1_armhf.deb
-rw-r--r-- 1 root root 11M Feb 3 21:30 linux-headers-4.9.79-v7+_4.9.79-v7+-1_armhf.deb
-rw-r--r-- 1 root root 16M Feb 3 21:30 linux-image-4.9.79-v7+_4.9.79-v7+-1_armhf.deb
-rw-r--r-- 1 root root 830K Feb 3 21:30 linux-libc-dev_4.9.79-v7+-1_armhf.deb
This takes +-14 minutes from scratch on my machine whilst I'm doing other stuff.
It includes cloning the https://github.com/raspberrypi/linux.git repo (with --depth 1
) which takes over 3 minutes.
Also, it includes a gazillion modules, many of which we don't need because they can never be used with the norns hardware (shields for example, but there are many more things in there).
I think we should be able to get all of this working within the 50 mins Travis time limit without a lot of problems.
from norns-image.
So the basics are working, build took 41 minutes on Travis, quiet a bit longer than I was expecting, but still within the 50 minutes mark :)
https://travis-ci.org/simonvanderveldt/rpi3-kernel/builds/337069175
Full log here https://api.travis-ci.org/v3/job/337069176/log.txt
Will have a look at cleaning up the config tomorrow and figuring out how to build something that can be run using QEMU
from norns-image.
Tried to get a minimal kernel build going today, but (of course :P) the defconfig provided by the raspberry foundation then creates a config that doesn't compile. Fun times! ;)
For reference raspberrypi/linux#2366
from norns-image.
All right, got the minimal config working as well, building that took 23minutes on travis :)
https://travis-ci.org/simonvanderveldt/rpi3-kernel/builds/337258984
This still includes some modules we don't need, but it's probably also missing some modules we do need.
Still, quiet a good start :)
from norns-image.
great! one thing that is imperative to getting anything out of the norns:
inside /boot/config.txt:
enable_uart=1
otherwise it'll appear bricked. i'm not sure if they made this a default in more recent builds (they may have)
from norns-image.
Also there was mention of using https://github.com/raspberrypi/linux/blob/5433720f3e8d6d06a59b30cce44210d814f34b0b/drivers/input/misc/rotary_encoder.c in the norns repo, is this still something we want?
i believe yes--- i need to test the approach. i'm not sure immediately how to do multiple encoders, but i haven't looked hard at this yet.
from norns-image.
@tehn I believe you mentioned something about the encoders on Slack the other day.
Is there anything that needs to be done for this? Or is it enough to enable CONFIG_INPUT_GPIO_ROTARY_ENCODER
?
from norns-image.
i believe that should be sufficient at this point. eventually i'll have some dtoverlay files to be included once i test thoroughly.
from norns-image.
@tehn OK. Are the three enc overlay files in https://github.com/tehn/norns-image/tree/master/overlays necessary till that point?
from norns-image.
that is them. i'm certain there's a way to combine all three definitions into one file, but i haven't gotten that far into the DTS syntax, so for now this is fine.
not that if these are loaded, the GPIOs will be claimed and then the norns software (via init-norns.sh) won't be able to use them... so i have to get the norns reading the events instead/first
from norns-image.
Related Issues (20)
- GPIO Pins incorrect? HOT 4
- Kernel download url comes back AccessDenied HOT 2
- build instructions for raspberry pi 3 HOT 13
- Using other DAC's outputs on Raspberry Pi HOT 4
- norns.catfact.net offline HOT 3
- service switch to scsynth? HOT 1
- Wifi (Realtek 8192cu) issues HOT 18
- CM3+ temperature measurement not working HOT 5
- IP address not shown in "stats" menu
- Determine how to install/update raspberry firmware files HOT 4
- Ensure JACK uses the monome-snd soundcard even when USB devices are plugged in HOT 1
- broken display & controls on 200424 HOT 2
- battery monitor driver may be misconfigured
- ~/norns-image contains local changes in 220306 release image HOT 1
- daemon.log fills up with xrun log lines HOT 7
- Opportunity to save image space: remove non-English locales from /usr/share
- daemon.log shouldn't log OSC modulation HOT 3
- On RPi 4, current udev makes Matron unable to discover Grids HOT 2
- daemon.log shouldn't be filling up HOT 5
- Pre-211028 Raspi 3 updated to 231114 does not display anything. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from norns-image.