FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6411 Discussions

Updating Yocto from Nanbield to Scarthgap Error

james57
New Contributor I
895 Views

Hi there,

I am currently looking to update the version of linux I am building for from the previous nanbield-4.3.4 on GSRD to the new lts scarthgap-5.0.2.

I have run the commands from the GSRD to do so a few times and contiune to run into the same error continuously. After starting the bitbake core-minimal-image command the bitbake process starts to parse recipes, when it fails due to an error.

I will post a screenshot of the error it encounters.

The issue is due to the following .bb file, openssh_9.6p1.bb located in gsrd_socfpga/poky/meta/recipes-connectivity/openssh
The .bb file calls for fix-potential-signed-overflow-in-pointer-arithmatic.patch, but this file does not exist in the current version of scarthgap-5.0.2, or in the master branch.

scarthgap:
https://github.com/openembedded/openembedded-core/tree/scarthgap/meta/recipes-connectivity/openssh/openssh/fix-potential-signed-overflow-in-pointer-arithmatic.patch

nanbield:
https://github.com/openembedded/openembedded-core/blob/nanbield/meta/recipes-connectivity/openssh/openssh/fix-potential-signed-overflow-in-pointer-arithmatic.patch

I attempted to modify the .bb file to not call the SRC_URI of the needed .patch file but was unable to find the correct location of the call.

The file still exists in the older nanbield version, and yocto builds when I insert the file into the correct location however this is a lazy fix as I am still counting on outdated versions and would like to change to the new lts.

Am I missing something or was this overlooked?

Cheers,
James

Labels (1)
0 Kudos
1 Solution
james57
New Contributor I
701 Views

Hi

This was overlooked in the July 26th revisions of the Rocketboards builds I was referencing, luckily this issue was addressed on the 8th and 9th of August in revisions 78 and 79 for the Agilex I-Series SoC respectively.

 

https://www.rocketboards.org/foswiki/diff/Documentation/AgilexSoCGSRDSIAGI027?oldrev=78&newrev=79

 

Cheers,

James

View solution in original post

0 Kudos
1 Reply
james57
New Contributor I
702 Views

Hi

This was overlooked in the July 26th revisions of the Rocketboards builds I was referencing, luckily this issue was addressed on the 8th and 9th of August in revisions 78 and 79 for the Agilex I-Series SoC respectively.

 

https://www.rocketboards.org/foswiki/diff/Documentation/AgilexSoCGSRDSIAGI027?oldrev=78&newrev=79

 

Cheers,

James

0 Kudos
Reply