Skip to contentSkip to conversation

New: Setting BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE does not work

Buildroot [email protected] 1 participant 4 messages Dec 21, 2022

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=15196

            Bug ID: 15196
           Summary: Setting BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE does not
                    work
           Product: buildroot
           Version: 2022.08.3
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P5
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Target Milestone: ---

.config in buildroot root has been configured with BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="xxx/boot/config.txt"

administrator@zzzz:~/project/buildroot/xxx/boot $ ls -l total 8
-rw-rw-r-- 1 administrator administrator 1612 Dec 19 22:44 config.txt

But the boot partition in the image doesn't contain my version of config.txt

What is seen in build log is

INFO: vfat(boot.vfat): adding file 'rpi-firmware/config.txt' as 'rpi-firmware/config.txt' ...
INFO: vfat(boot.vfat): cmd: "MTOOLS_SKIP_CHECK=1 mcopy -sp -i '/home/administrator/project/buildroot/output/images/boot.vfat' '/home/administrator/project/buildroot/output/images/rpi-firmware/config.txt' '::'" (stderr):

Is there any other setting that needs to done?

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

[Buildroot] [Bug 15196] Setting BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE does not work

https://bugs.busybox.net/show_bug.cgi?id=15196

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

             Target|                            |RPi Zero 2W
                 CC|                            |[email protected]
Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

[Buildroot] [Bug 15196] Setting BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE does not work

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=15196

--- Comment #1 from [email protected] ---
It turns out that output/images/rpi-firmware/config.txt hasn't updated with content from xxx/boot/config.txt

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

[Buildroot] [Bug 15196] Setting BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE does not work

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=15196

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Yann E. MORIN <[email protected]> --- Mats, All,

Quoted 2 lines

output/images/rpi-firmware/config.txt hasn't updated with content from xxx/boot/config.txt

config.txt is instaleld by the rpi-firmware package, so when you change it (or change BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE to point to another file), then you need to instruct Buildroot to reinstall the package:

    $ make rpi-firmware-reinstall

Otherwise, when changing the configuration (like changing BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE is), Buildroot only guarantees that it is entorely taken into account on a full rebuild:

    $ make clean; make

See the manual:

https://buildroot.org/downloads/manual/manual.html#_full_rebuild

Regards,
Yann E. MORIN.

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot