yocto编译mips64报错:
Endiannes did not match (0, expected 1) in /lib/modules/5.15.72-yocto-standard/kernel/crypto/.debug/blowfish_common.ko
Endiannes did not match (0, expected 1) in /lib/modules/5.15.72-yocto-standard/kernel/crypto/.debug/cast5_generic.ko
Endiannes did not match (0, expected 1) in /lib/modules/5.15.72-yocto-standard/kernel/crypto/.debug/crct10dif_generic.ko
Endiannes did not match (0, expected 1) in /lib/modules/5.15.72-yocto-standard/kernel/crypto/.debug/cast_common.ko
Endiannes did not match (0, expected 1) in /lib/modules/5.15.72-yocto-standard/kernel/crypto/.debug/algif_rng.ko
Endiannes did not match (0, expected 1) in /lib/modules/5.15.72-yocto-standard/kernel/crypto/.debug/tcrypt.ko
Endiannes did not match (0, expected 1) in /lib/modules/5.15.72-yocto-standard/kernel/crypto/.debug/af_alg.ko
Endiannes did not match (0, expected 1) in /lib/modules/5.15.72-yocto-standard/kernel/crypto/.debug/twofish_generic.ko
Endiannes did not match (0, expected 1) in /lib/modules/5.15.72-yocto-standard/kernel/crypto/.debug/algif_hash.ko
Endiannes did not match (0, expected 1) in /lib/modules/5.15.72-yocto-standard/kernel/crypto/.debug/blowfish_generic.ko
Endiannes did not match (0, expected 1) in /lib/modules/5.15.72-yocto-standard/kernel/crypto/.debug/twofish_common.ko
Endiannes did not match (0, expected 1) in /lib/modules/5.15.72-yocto-standard/kernel/crypto/.debug/algif_aead.ko
Endiannes did not match (0, expected 1) in /lib/modules/5.15.72-yocto-standard/kernel/crypto/.debug/algif_skcipher.ko
直接问chatGPT
意思是:我设置的编译mips小端,但是系统编出来的ko是大端,一致性检查过不了,需要设置编译的kernel为小端(mips64在yocto里面是大端)。
紧接着问怎么配置kernel为小端:
配置kernel为小端,编译:
bitbake virtual/kernel -c compile -f
编译通过。