[Buildroot] [PATCH v3 1/1] package/rpi-firmware: bad startup file names
Peter Korsgaard
peter at korsgaard.com
Thu Jul 16 16:30:25 UTC 2020
>>>>> "Stéphane" == Stéphane Veyret <sveyret at gmail.com> writes:
> 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 at gmail.com>
> ---
> Changes v2 -> v3:
> - factorization of start file copy, rework on code (suggested by
> Yann E. MORIN).
> Changes v1 -> v2:
> - update config.txt instead of keeping firmware name (suggested by
> Yann E. MORIN).
Committed to 2020.02.x and 2020.05.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list