2013-01-06 10:56:22 +00:00
|
|
|
# Please note that this is only a sample, we recommend you to change it to fit
|
|
|
|
# your needs.
|
2021-09-21 20:21:32 +00:00
|
|
|
# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE.
|
2015-08-25 22:00:02 +00:00
|
|
|
# See http://buildroot.org/manual.html#rootfs-custom
|
2013-01-06 10:56:22 +00:00
|
|
|
# and http://elinux.org/RPiconfig for a description of config.txt syntax
|
|
|
|
|
package/rpi-firmware: fix startup file names
When booting, a Raspberry Pi will load the appropriate start files,
depending on the provided configuration. For example, if the config.txt
file contains ’gpu_mem=16’ the board will automatically load the
cut-down startup files (start_cd.elf and fixup_cd.dat on non-Rpi4).
Unfortunately, even when the appropriate version is selected in the
configuration menu, if the rpi-firmware makefile takes the good files,
it renames them to non-qualified, i.e. start.elf and fixup.dat. But as
these are not the files searched by the Raspberry Pi, the board will not
start.
This patch will set the names of the files to load as constant in the
config.txt file. This guarantees that the rpi firmware blobs do not take
any other corner-case decision based on any other as-yet unknown
conditions.
This eases the maintenance, as only the names of the source files
matter; the destination filenames are constants, and so are the
filenames in config.txt.
Fixes: #13026
Signed-off-by: Stéphane Veyret <sveyret@gmail.com>
[yann.morin.1998@free.fr:
- very minor fix in commit title
- drop the non-conditional macro and move its content into
RPI_FIRMWARE_INSTALL_IMAGES_CMDS
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-06-26 10:41:16 +00:00
|
|
|
start_file=start.elf
|
|
|
|
fixup_file=fixup.dat
|
|
|
|
|
2013-04-29 23:08:08 +00:00
|
|
|
kernel=zImage
|
2015-05-02 15:10:14 +00:00
|
|
|
|
|
|
|
# To use an external initramfs file
|
|
|
|
#initramfs rootfs.cpio.gz
|
|
|
|
|
|
|
|
# Disable overscan assuming the display supports displaying the full resolution
|
|
|
|
# If the text shown on the screen disappears off the edge, comment this out
|
2013-01-06 10:56:22 +00:00
|
|
|
disable_overscan=1
|
2015-05-02 15:10:14 +00:00
|
|
|
|
|
|
|
# How much memory in MB to assign to the GPU on Pi models having
|
|
|
|
# 256, 512 or 1024 MB total memory
|
2013-01-06 10:56:22 +00:00
|
|
|
gpu_mem_256=100
|
|
|
|
gpu_mem_512=100
|
2021-09-21 20:21:32 +00:00
|
|
|
gpu_mem_1024=200
|
|
|
|
|
|
|
|
# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
|
|
|
|
dtoverlay=miniuart-bt
|