summaryrefslogtreecommitdiff
path: root/strata/bsp-rpi2/rpi2-firmware.morph
blob: b16fd283ada203884d4a972f46df52c46d15646b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name: rpi2-firmware
kind: chunk
build-system: manual
install-commands:
- mkdir -p "$DESTDIR"/boot
- cp boot/*.bin "$DESTDIR"/boot/
- cp boot/*.elf "$DESTDIR"/boot/
- cp boot/*.dat "$DESTDIR"/boot/
- cp boot/COPYING.linux "$DESTDIR"/boot/
- cp boot/LICENCE.broadcom "$DESTDIR"/boot/
- |
  cat << EOF > "$DESTDIR"/boot/cmdline.txt
  dwc_otg.lpm_enable=0 cma=256M console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=btrfs rootwait rootflags=subvol=systems/default/run
  EOF
- |
  cat << EOF > "$DESTDIR"/boot/config.txt
  mask_gpu_interrupt0=0x400   # VPU shouldn't handle V3D interrupts
  avoid_warnings=2            # VPU shouldn't smash our display setup.
  EOF