[gnome-build-meta/tpreston/rpi4: 1/3] raspi: firmware: Use rpi4 firmware



commit d53e3447e92ff3d9f13e9953cee27b19cbeaa6bb
Author: Thomas Preston <thomas preston codethink co uk>
Date:   Fri May 1 10:04:48 2020 +0100

    raspi: firmware: Use rpi4 firmware

 elements/raspi/bsp/firmware.bst | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)
---
diff --git a/elements/raspi/bsp/firmware.bst b/elements/raspi/bsp/firmware.bst
index cf1b2d0d..001b7e36 100644
--- a/elements/raspi/bsp/firmware.bst
+++ b/elements/raspi/bsp/firmware.bst
@@ -18,12 +18,26 @@ sources:
   track: master
 
 
-  ref: 69a759d39aa802f65d0cc578361ff73e9dcbedc4
+  ref: 20354bebcc2a8448128f2348e19e155910d25122
 config:
   install-commands:
   - mkdir -p  %{install-root}/boot/
-  - cp -a boot/*.bin %{install-root}/boot/
-  - cp -a boot/*.dat %{install-root}/boot/
-  - cp -a boot/*.elf %{install-root}/boot/
+  # /boot/bootcode.dat is not used in Raspberry Pi 4
   - cp -a boot/LICENCE.broadcom %{install-root}/boot/
 
+  # https://github.com/raspberrypi/documentation/blob/master/configuration/boot_folder.md
+  # Default firmware, standard GPU features
+  - cp -a boot/fixup4.dat %{install-root}/boot/
+  - cp -a boot/start4.elf %{install-root}/boot/
+
+  # Extended firmware, camera driver and codec, when `start_x=1`
+  - cp -a boot/fixup4x.dat %{install-root}/boot/
+  - cp -a boot/start4x.elf %{install-root}/boot/
+
+  # Cut-down firmware, no hardware blocks (codecs, 3D), when `gpu_mem=16`
+  - cp -a boot/fixup4cd.dat %{install-root}/boot/
+  - cp -a boot/start4cd.elf %{install-root}/boot/
+
+  # Debug firmware
+  - cp -a boot/fixup4db.dat %{install-root}/boot/
+  - cp -a boot/start4db.elf %{install-root}/boot/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]