Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux-firmware: fix addition of NVRAM file to image (fixes #184) #194

Merged
merged 1 commit into from
Feb 5, 2018
Merged

linux-firmware: fix addition of NVRAM file to image (fixes #184) #194

merged 1 commit into from
Feb 5, 2018

Conversation

hhromic
Copy link
Contributor

@hhromic hhromic commented Feb 5, 2018

This PR fixes #184, where the Wifi module is not brought up because of missing firmware file.

- What I did
The NVRAM text file for the BCM firmware was not properly added in the built image. This is because the recipe recipes-kernel/linux-firmware/linux-firmware_%.bbappend is using += for adding the extra file instead of _append in FILES_${PN}-bcm43430.
This results in only the NVRAM text file being added to the built image and not the firmware binary file (.bin), causing the Wifi module to not work.
I tested the images also enabling the bluetooth module (as discussed in #184) to ensure this doesn't interfere with other connectivity components.
After this fix, both files (.txt and .bin) of the firmware are now correctly installed in /lib/firmware.

- How I did it
I simply replaced the += construction with an _append construction as seen in the PR.

Signed-off-by: Hugo Hromic <hhromic@gmail.com>
@hhromic
Copy link
Contributor Author

hhromic commented Feb 5, 2018

Amended the commit log message. Thanks @agherzan !

@jenkins-ag
Copy link

Can one of the admins verify this patch?

@simonqhughes
Copy link

thanks for doing this.

@agherzan
Copy link
Owner

agherzan commented Feb 5, 2018

ok to test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switching from rocko to master on rpi-0w breaks wifi
4 participants