Build the platform with architecture error on raspberry PI4 #help


Chris
 

Hardware pi4-2G
here is the error:

pi@raspberrypi:~/workspace_agl/build $ bitbake agl-demo-platform
WARNING: Host distribution "raspbian-10" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###################################################################################################################################################| Time: 0:00:00
Loaded 161 entries from dependency cache.
ERROR: /home/pi/workspace_agl/external/meta-security/recipes-scanners/clamav/clamav_0.101.5.bb: Unable to determine endianness for architecture 'armv7l'                | ETA:  0:17:20
ERROR: /home/pi/workspace_agl/external/meta-security/recipes-scanners/clamav/clamav_0.101.5.bb: Please add your architecture to siteinfo.bbclass
ERROR: Failed to parse recipe: /home/pi/workspace_agl/external/meta-security/recipes-scanners/clamav/clamav_0.101.5.bb
 
Summary: There was 1 WARNING message shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
 


Chris
 

If is possible caused by I downloaded the repo in tsinghua mirror instead of the official ?


Leon Anavi
 

Hi Chris,

From the log it seems that you are trying to build AGL on the Raspberry Pi itself with Raspbian. This is not supported. Please note that to build AGL for Raspberry Pi from scratch you need to cross-compile it on x864-64 host machine with supported GNU/Linux distribution on the host. For more details have a look at:
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#detailed-supported-distros

Best regards,
Leon

On 30.04.20 г. 2:34 ч., Chris wrote:
Hardware pi4-2G
here is the error:

pi@raspberrypi:~/workspace_agl/build $ bitbake agl-demo-platform
WARNING: Host distribution "raspbian-10" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###################################################################################################################################################| Time: 0:00:00
Loaded 161 entries from dependency cache.
ERROR: /home/pi/workspace_agl/external/meta-security/recipes-scanners/clamav/clamav_0.101.5.bb: Unable to determine endianness for architecture 'armv7l'                | ETA:  0:17:20
ERROR: /home/pi/workspace_agl/external/meta-security/recipes-scanners/clamav/clamav_0.101.5.bb: Please add your architecture to siteinfo.bbclass
ERROR: Failed to parse recipe: /home/pi/workspace_agl/external/meta-security/recipes-scanners/clamav/clamav_0.101.5.bb
 
Summary: There was 1 WARNING message shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
 
-- 
Leon Anavi
Software Engineer
konsulko.com


Chris
 

OK, very appreciate your reply. How stupid I was ! Thanks! I am going to use the X864-64 platform. Thanks a lot.