Checksum mismatch errors while building fsl-image-base with bitbake (S32G274aevb)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Checksum mismatch errors while building fsl-image-base with bitbake (S32G274aevb)

3,720 Views
Shyamsunder
Contributor I

Hi Community

We are trying to build the fsl-image-base using bitbake, but we are getting lot of checksum errors.

Here are the followed steps to build the image:

1. mkdir ~/bin
2. curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
3. chmod a+x ~/bin/repo
4. PATH=${PATH}:~/bin

5. mkdir fsl-auto-yocto-bsp
6. cd fsl-auto-yocto-bsp
7. repo init -u https://github.com/nxp-auto-linux/auto_yocto_bsp -b release/bsp35.0
8. repo sync

9. ./sources/meta-alb/scripts/host-prepare.shsource nxp-setup-alb.sh -m s32g274aevb

10. bitbake fsl-image-base

=================

Build Configuration:
BB_VERSION           = "1.48.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-20.04"
TARGET_SYS           = "aarch64-fsl-linux"
MACHINE              = "s32g274aevb"
DISTRO               = "fsl-auto"
DISTRO_VERSION       = "33.0"
TUNE_FEATURES        = "aarch64 armv8a crc cortexa53 crypto"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "HEAD:6a751048e50c00261d99c2d8d69534f7a8da38a9"
meta-oe              
meta-multimedia      
meta-python          = "HEAD:f3f7a5f1a4713f145107bb043e0d14cb3a51c62f"
meta-python2         = "HEAD:3fae17aece0e6d82f56965fe501bf7080c671df8"
meta-networking      
meta-gnome           
meta-filesystems     
meta-webserver       
meta-perl            
meta-xfce            = "HEAD:f3f7a5f1a4713f145107bb043e0d14cb3a51c62f"
meta-virtualization  = "HEAD:fa093228c02c4a42da1f9abb77c4c57d70d5a212"
meta-optee           = "HEAD:fb96032b38e3064290ab0891238c92d47a45f151"
meta-security        = "HEAD:3daf99fd138b0eebe864bbe1b9c71241d97c4512"
meta-freescale       = "HEAD:41d4f625c6db7a778f0f9a735c2cb48e023bc49b"
meta-alb             = "HEAD:0b34c281628625665829d1969d86bc179a8c6d96"

Hereby attached the error screenshots.

Thanks in advance...

Best Regards

Shyamsunder K

 

 

0 Kudos
Reply
3 Replies

3,708 Views
nxf92355
NXP Employee
NXP Employee

Hi Shyamsunder

Hope you are doing well

This is yocto system common build errors. the reason is due to repackaging on the server of the provider.
locate the package bb file.

find new checksum of file and replace it with in .bb file.

Please Follow the below link

https://variwiki.com/index.php?title=Yocto_Common_Errors#Checksum_mismatch

Hope this will help you

 

Regards ,

Tushar

 

 

0 Kudos
Reply

3,677 Views
Shyamsunder
Contributor I

Hi Tushar,

 

Thanks for the response.

We have tried to resolve the checksum mismatch issue by replacing the expected checksum value with the generated value, but still, it is failing at the same. 

Note: Everytime it is dynamically generating the checkum value and comparing it with the expected and showing the checkum mismatch.

Could you please help us, do we have any other solutions.

 

Thanks in advance,

Best Regards,

Shyamsunder Komma

 

 

0 Kudos
Reply

3,669 Views
nxf92355
NXP Employee
NXP Employee

Hi Shyamsunder

 

i have s32g2 bsp v33. compiled without such error. try to download manually the package and calculate md5sum using command and see what is checksum. download again same package and calculate checksum. if you get different checksum it may problem from server side. if you are getting dynamically generating the checksum value and comparing with only during yocto then may be yocto issue. you can try download first package and skip do_fetch and try.

 

Regards ,

Tushar

0 Kudos
Reply