Closed rytec-nl closed 2 years ago
I now see this in the wiki, but not that I should do anything because of it. Is there a step needed for the change?
If you're using a custom flash layout XML that you created with the older BSP version, you need to update it as mentioned in that section of the wiki page. Based on the error you're seeing, that looks like the problem.
If you don't think you're using a custom flash layout, maybe it's being introduced by another layer you're including in your builds?
Hi,
Thanks for you quick reply! And you hit the mark :) I forgot to update the meta-mender-community/meta-mender-tegra
layer. Doing so fixes it.
Thanks a lot!
@madisongh Do you know any other reason why this error might occur?
I have the latest dunfell commits for everything (meta-tegra, meta-tegra-community, meta-mender, meta-mender-community, poky, oe...)
And I keep getting:
| creating xusb payload
| File .../build/tmp/work/jetson-xavier-nx-devkit-emmc/kernel-bup-payload/1.0-r0/bup-payload/signed/xusb_sil_rel_fw_sigheader.encrypt does not exist
I didn't find this file or any reference to it. I would appreciate if you point me in the right direction. Maybe who's generating that file Thank you!!
@paroque28 I think you need to follow the instructions at https://github.com/OE4T/meta-tegra/wiki/L4T-R32.6.1-Notes#flash-layout-file-changes-for-t194-xavier-platforms linked above regarding any custom flash layouts in your layer:
The flash layout XML files for the Xavier platforms in the L4T BSP have been modified to include new attributes (but no location/size changes). In particular, the xusb-fw partition is now marked oem_signed="true", as cboot now performs signature validation on the USB controller firmware.
See example at https://github.com/mendersoftware/meta-mender-community/blame/kirkstone/meta-mender-tegra/recipes-bsp/tegra-binaries/mender-custom-flash-layout/jetson-xavier-nx-devkit-emmc/flash_mender.xml#L217 - if your layer overrides this layout you need to make the same changes in your layer.
@dwalkes I am using this same xml, same example that you mentioned without modifications, just that I am using the dunfell instead of kirkstone branch (it also has the oem_signed="true"). Unfortunately, no luck. Thanks for the suggestion
@paroque28 the last thing I'd suggest is to attempt to reproduce on tegra-demo-distro with the same config. If that works you could look at differences with your layer. If that doesn't work either you'd need to go back in history or, preferably, update to Kirkstone
@dwalkes I didn't try tegra-demo-distro
but I checked out the meta-mender
commits that tegra-demo-distro
is using:
meta-mender @ 35886d9 meta-mender-community @ dd4621c
That solved my issue.
Describe the bug I'm trying to update our jetson-xavier-nx-devkit-emmc image from
dunfell-r32.5.0
todunfell
(r32.6.0) but am getting an error in thekernel-bup-payload.bb
do_deploy
step:It seems related to this issue, however for me the signing steps completes without an error:
I can only find references to
xusb_sil_rel_fw
in recipes, could it be that an extra signed file was added? Or am I simply missing a migration step.To Reproduce Steps to reproduce the behavior:
meta-tegra
branch 'dunfell' withjetson-xavier-nx-devkit-emmc
based on core-image-x11Aditional context
Please let me know if additional info is needed or I need to check something.
Thanks in advance!
Rens
edit:
I now see this in the wiki, but not that I should do anything because of it. Is there a step needed for the change?