remove all DT imports

This commit is contained in:
Travis Staton 2023-02-13 08:52:43 -05:00
parent 3027e45b9c
commit 9ba390ca28
10 changed files with 14 additions and 217 deletions

View file

@ -25,6 +25,8 @@ in {
# disable firmware compression so that brcm firmware can be found at
# the path expected by raspberry pi firmware/device tree
compressFirmwareXz = x: x;
# A recent known working version of libcamera-apps
libcamera-apps = final.callPackage ./libcamera-apps.nix { };
# provide generic rpi arm64 u-boot
@ -37,14 +39,16 @@ in {
url = "ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2";
sha256 = "03wm651ix783s4idj223b0nm3r6jrdnrxs1ncs8s128g72nknhk9";
};
# In raspberry pi products the firmware manipulates the device
# tree in a variety of ways before handing it off to the linux
# kernel. Since we have installed u-boot in place of a linux
# kernel we have the option of passing this device tree passed by
# the firmware to the kernel, or providing our own. This
# In raspberry pi sbcs the firmware manipulates the device tree in
# a variety of ways before handing it off to the linux kernel. [1]
# Since we have installed u-boot in place of a linux kernel we may
# pass the device tree passed by the firmware onto the kernel, or
# we may provide the kernel with a device tree of our own. This
# configuration uses the device tree provided by firmware so that
# we don't have to be aware of all manipulation done by the
# firmware and attempt to mimic it.
#
# 1. https://forums.raspberrypi.com/viewtopic.php?t=329799#p1974233
extraConfig = ''
CONFIG_OF_HAS_PRIOR_STAGE=y
CONFIG_OF_BOARD=y
@ -54,6 +58,10 @@ in {
raspberrypifw = final.rpi-kernels.v5_15_87.firmware;
} // {
# rpi kernels and firmware are available at
# `pkgs.rpi-kernels.<VERSION>.{kernel,firmware,wireless-firmware}'.
#
# For example: `pkgs.rpi-kernels.v5_15_87.kernel'
rpi-kernels = rpi-kernels [
{
version = "5.15.36";