Florian Brandes
1ffd9949ee
raspberry-pi."4": update poe hat overlay to work with newer kernel
...
fixes #626
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-05-11 21:29:42 +02:00
bors[bot]
a6aa8174fa
Merge #597 #599
...
597: microsoft-surface: upgrade kernel 6.1.6 to 6.1.18 r=Mic92 a=jokogr
599: fix: add missing touch-ft5406 export to raspberry-pi config r=Mic92 a=louib
Co-authored-by: Ioannis Koutras <ioannis.koutras@gmail.com>
Co-authored-by: louib <code@louib.net>
2023-03-29 06:12:10 +00:00
louib
523e6f9faf
fix: remove rpi_backlight driver from rpi4 config
2023-03-28 22:16:02 -04:00
louib
b7c184da76
fix: add missing touch-ft5406 export to raspberry-pi config
2023-03-27 20:49:46 -04:00
bors[bot]
82ecc5b88f
Merge #595
...
595: raspberry-pi/4: Add touch support for official 7" display. r=Mic92 a=frederictobiasc
Co-authored-by: Frédéric Christ <frederic.christ@secunet.com>
2023-03-27 19:15:21 +00:00
louib
160e7e12d7
feat: add backlight support for rpi4
2023-03-26 15:26:49 -04:00
Frédéric Christ
3023004e99
raspberry-pi/4: Fix comments and indentation.
2023-03-26 20:11:16 +02:00
Frédéric Christ
bd6381e513
raspberry-pi/4: Add touch support for official 7" display.
2023-03-26 20:08:36 +02:00
Bernardo Meurer
7c7a8f7082
raspberry-pi/4: don't use an alias for the kernel pkg
2023-02-18 15:55:05 +00:00
Ivan Petkov
320866b985
raspberry-pi/4/dtmerge: fix application of overlays
...
Previously whenever an overlay was found to be incompatible with a base
device tree blob, the entire base dtb would be skipped in favor of
processing the next one. This had the unfortunate effect where overlays
would not fully be applied if any incompatibility was found. For
example, this is an issue with build device trees specific for one
flavor of raspberry pi if the overlay was not compatible _everywhere_.
The solution is to forego the `continue` keyword if an overlay is in
compatible and instead use a compound conditional statement to skip
incompatible overlays but continue trying to apply it to any remaining
dtbs.
2023-01-16 19:57:10 -08:00
Jörg Thalheim
03c6d15152
treewide: apply deadnix and statix
2022-12-31 11:57:44 +01:00
Karolis Stasaitis
93b1cdbb77
raspberry-pi/4: dtmerge update
...
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-12-21 14:27:48 +02:00
matthewcroughan
c9c1a5294e
raspberry-pi/4: add pcie_brcmstb and reset-raspberrypi to kernelParams
...
This is required for things like USB Boot to work correctly
Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
2022-10-27 03:24:07 +01:00
Michael Eden
18c0cbb6b4
raspberrypi/4: allow pi libs to detect pi 4
2022-10-07 10:59:54 -04:00
Karolis Stasaitis
51e4bdf379
raspberry-pi-4: add i2c clock-frequency option
2022-08-13 12:39:46 +02:00
Karolis Stasaitis
f217e0c09a
use dtmerge from nativeBuildInputs
2022-08-08 19:07:05 +02:00
Karolis Stasaitis
bfc438a275
misplaced semicolon
2022-08-08 19:06:06 +02:00
Karolis Stasaitis
f410badac5
added missing semicolon
2022-08-08 18:46:26 +02:00
Karolis Stasaitis
3f0991b531
export a single function from apply-overlays-dtmerge
2022-08-08 18:41:30 +02:00
Karolis Stasaitis
245d8f9f97
apply review suggestions from @06kellyjac
...
Co-authored-by: j-k <dev@j-k.io>
2022-08-08 18:27:49 +02:00
Karolis Stasaitis
128dad1c8d
raspberry-pi-4: add poe-plus-hat, update poe-hat, use dtmerge instead of ftoverlay
2022-08-07 13:40:17 +02:00
Jörg Thalheim
a7bca8d0d8
Merge pull request #383 from ettom/master
...
Add rpi4 pwm0 support
2022-03-04 12:52:02 +00:00
Jörg Thalheim
b94d24f855
rpi2: unset nix.buildCores
...
by default it already sets buildCores == available cores
2022-03-04 13:41:27 +01:00
ettom
1c076b237f
Add rpi4 pwm0 support
2022-02-24 16:02:40 +02:00
Jörg Thalheim
5041a3f800
drop no-longer reachable torrent
2021-12-28 10:29:31 +01:00
M. Ian Graham
8f1bf828d8
raspberry-pi/4/i2c: refactor i2c stuff into single file
2021-12-11 10:39:09 +09:00
M. Ian Graham
41c4e294f4
raspberry-pi/4/i2c1: factor out easy dts into helper, add i2c0
2021-12-11 09:39:55 +09:00
M. Ian Graham
e81c9aed16
raspberry-pi/4/i2c1: indentation fix
2021-12-11 05:08:24 +09:00
M. Ian Graham
1bc731fde4
rpi4: Add option to turn on the ARM I2C bus (i2c1).
2021-12-11 01:17:44 +09:00
Vincent Breitmoser
ad1114ee37
raspberry-pi/4: fix usage of mkDefault in audio module
2021-08-23 19:50:37 +02:00
Vincent Breitmoser
e45d775c93
raspberry-pi/4: Include tsched=0 fix in audio module
...
This applies a commonly suggested fix for pulseaudio sound glitches.
2021-08-19 23:57:05 +02:00
Vincent Breitmoser
745dd44071
raspberry-pi/4: Add audio option
2021-08-15 00:53:29 +02:00
Jörg Thalheim
09ed30ff3b
rpi4/poe-hat: improve enable option slightly
2021-07-30 19:26:52 +02:00
James Walker
cf3508aab6
raspberry-pi/4: Add poe-hat option
2021-06-02 20:47:23 -04:00
Jacek Galowicz
c941aecfc3
raspberry-pi/4: Add tc358743 option
2021-05-30 20:27:13 +00:00
Jacek Galowicz
e6c84e7eaf
raspberry-pi/4: Add dwc2 option
2021-05-28 11:18:51 +02:00
Jacek Galowicz
5a67562945
raspberry-pi/4: move filter into default.nix
2021-05-27 04:41:34 +00:00
Samuel Dionne-Riel
38af9c5048
raspberry-pi/4: Add modesetting option
2021-05-12 21:00:19 -04:00
Domen Kožar
bd06334074
rpi4: don't override sane default for nix.buildCores
...
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2021-05-12 21:42:30 +02:00
Domen Kožar
2b4ed534a8
rpi4: remove loader.raspberryPi as it's legacy
2021-05-12 14:37:30 +02:00
Domen Kožar
cdaf66c0a0
rpi4: remove cma
2021-05-12 14:19:27 +02:00
Domen Kožar
b72c683304
Add Rpi4
2021-05-11 15:53:04 +02:00
Jörg Thalheim
fd89332b4a
raspberry-2: remove console.extraTTYs
...
This option is no longer needed. Also remove boot.extraTTYs since
NixOS is older than 20.03 is no longer supported.
2021-01-06 07:42:50 +01:00
Jörg Thalheim
986f101a66
raspberry-2: fix evaluation warning
2020-10-20 06:25:14 +02:00
Jörg Thalheim
9c952961f1
Add parallel test runner
...
The new test runner will evaluate all test profiles from the README.md
in parallel in separate nix-build processes.
Since we do not load all processes into one process,
this also helps saving memory.
2020-02-23 21:29:22 +00:00
Yegor Timoshenko
a5df61571c
raspberry-pi/2: format README
2017-12-25 01:51:51 +00:00
Yegor Timoshenko
3743ae21f5
treewide: only ever set unmergable options via lib.mkDefault
...
Also extract documentation from raspberry-pi/2/ profile.
2017-12-24 15:13:25 +00:00
Yegor Timoshenko
3c9f432a71
treewide: modules -> profiles, separate dirs, list in README ( #29 )
...
Enforce proper naming: all paths are lowercase and hyphen-separated,
if there's a line of models (aspire, macbook-pro, thinkpad) it becomes
a subdirectory. Documentation for profiles is moved to README files in
respective directories.
Add an Org mode table that lists all available profiles and their paths.
Instead of fetching repo locally, use a Nix channel. Making hardware
profiles read-only should improve quality and amount of participation
long-term.
2017-12-22 17:17:00 +00:00