-
Notifications
You must be signed in to change notification settings - Fork 48
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
PetaLinux v2022.2 bug report: FSBL recipe in meta-user
doesn't affect the zynqmp_fsbl.elf
#27
Comments
You need to check two things. The first is it could be an issue where your local changes are not triggering a rebuild, so it just keeps re-using the older version. petalinux-build -c fsbl -x cleanall Run your build and check if your change is in the binary. If it's not, check the working directory in the project build. (This might be automatically cleared, if so. petalinux-build -c fsbl-firmware -x compile ) The work directory is usually build/tmp/work//fsbl-firmware// somewhere in there should be the sources did your modification actually get applied? If that works, then the petalinux-package happens outside of the Yocto Project build and may be using a reference board specific FSBL. If that is the case then the forum (you referenced) is the right place to report the issue. I'm only able to help with the Yocto Project specific part of the workflow. |
Thank you, @mhatle, for your quick response. I've did all three steps with the recipe in
None of these contains changes from the patch supposed to add lines to that file. The recipe content: FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://0001-OPTDEV-2283-Build-patcheset-recipe-with-devtool.patch" What I've noticed in # Should not need any external patches
SRC_URI = "${EMBEDDEDSW_SRCURI}" which (to my understanding) will clear out any existing Any other hints? |
I got the same exact issue on Petalinux version 2023.1 The workaround is to append your patches to My recipe FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
EMBEDDEDSW_SRCURI:append = " file://0001-Add-Genesys-ZU-fsbl-patches.patch" I agree it's very confusing that it's not possible to append to |
Some details about my problem: Forum Post
As I can't find other means to report a bug in PetaLinux I'm reporting it here.
What are my steps:
petalinux-devtool modify fsbl
petalinux-build
boot.bin
withpetalinux-package ...
boot.bin
into the first partition of the SD Cardpetalinux-devtool finish fsbl <absolute-path-to-project>/project-spec/meta-user
(why absolute is required here?)boot.bin
withpetalinux-package ... --force
boot.bin
into the first partition of the SD CardI assume there's bug in PetaLinux or its recipes as I've tried couple times with no success (we have project creation and build process automated in CI as PetaLinux project cannot be easily committed to Git).
I even asked OpenGPT for help, but it didn't suggested anything else that I'm already doing, so a live brain that knows PetaLinux inside out is required to help with this.
Thank you.
The text was updated successfully, but these errors were encountered: