]> Git Repo - buildroot-mgba.git/commit - configs/raspberrypi_defconfig
package/rpi-firmware: rework boot/config file handling
authorPeter Seiderer <[email protected]>
Tue, 21 Sep 2021 20:21:32 +0000 (22:21 +0200)
committerYann E. MORIN <[email protected]>
Sun, 17 Oct 2021 20:11:41 +0000 (22:11 +0200)
commit689b9ac439ab7b507c8982b6102bddf59d03efbf
treeca69fbfe88f8f4afdcb8c256be106afff672a50c
parente11c3cbe26a945497524aba7dade42bd1efbadd0
package/rpi-firmware: rework boot/config file handling

Try to be less smart (focused on the one target/one use-case),
instead reduce the rpi-firmware package to a selectable list
of (verbatim) installed firmware files.

- change rpi-firmware config handling from rpi-variant/rpi-flavour
  choices to bootcode.bin, pi-default/-extended/-cut-down and
  pi4-/default/-extended/-cut-down selection

- add BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE option to select installable
  config.txt file

- remove config.txt modify code/handling from raspberry post-image.sh
  script

- add different customized config.txt files to the raspberry board
  section

- change dtoverlay krnbt from 'dtoverlay=miniuart-bt,krnbt=on' to extra line
  with explanation comment

- change raspberry defconfigs to select appropiate rpi-firmware
  and config.txt files

- change genimage-raspberrypi4.cfg/genimage-raspberrypi4-64.cfg to
  use start4.elf and fixup4.dat

- update board/raspberrypi/readme.txt (add optional files fixup4.dat,
  start4.elf and zImage)

With this changes a better support for custom use-cases should
be possible, specially multi-target SD cards as suggested by
Stefan Agner ([1]).

[1] http://lists.busybox.net/pipermail/buildroot/2021-February/303318.html

Signed-off-by: Peter Seiderer <[email protected]>
[[email protected]: fix case of no config.txt provided]
Signed-off-by: Yann E. MORIN <[email protected]>
29 files changed:
board/raspberrypi/config_0w.txt [new file with mode: 0644]
board/raspberrypi/config_3.txt [new file with mode: 0644]
board/raspberrypi/config_3_64bit.txt [new file with mode: 0644]
board/raspberrypi/config_3_qt5we.txt [new file with mode: 0644]
board/raspberrypi/config_4.txt [new file with mode: 0644]
board/raspberrypi/config_4_64bit.txt [new file with mode: 0644]
board/raspberrypi/config_cm4io.txt [new file with mode: 0644]
board/raspberrypi/config_cm4io_64bit.txt [new file with mode: 0644]
board/raspberrypi/config_default.txt [new file with mode: 0644]
board/raspberrypi/genimage-raspberrypi4-64.cfg
board/raspberrypi/genimage-raspberrypi4.cfg
board/raspberrypi/genimage-raspberrypicm4io-64.cfg
board/raspberrypi/genimage-raspberrypicm4io.cfg
board/raspberrypi/post-image.sh
board/raspberrypi/readme.txt
configs/raspberrypi0_defconfig
configs/raspberrypi0w_defconfig
configs/raspberrypi2_defconfig
configs/raspberrypi3_64_defconfig
configs/raspberrypi3_defconfig
configs/raspberrypi3_qt5we_defconfig
configs/raspberrypi4_64_defconfig
configs/raspberrypi4_defconfig
configs/raspberrypi_defconfig
configs/raspberrypicm4io_64_defconfig
configs/raspberrypicm4io_defconfig
package/rpi-firmware/Config.in
package/rpi-firmware/config.txt [deleted file]
package/rpi-firmware/rpi-firmware.mk
This page took 0.034702 seconds and 4 git commands to generate.