How to Enable FRR package for T1040 platform

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to Enable FRR package for T1040 platform

1,002 次查看
sandeepk1980
Contributor I

Hi

     How can i include FRR package in my RFS file generated using

 

bitbake fsl-image-core

 

i had earlier included Quagga by making some changes posted in this forum. Can we include FRR also?

0 项奖励
3 回复数

970 次查看
yipingwang
NXP TechSupport
NXP TechSupport

frr recipe is not integrated in QorIQ SDK 2.0, you need to port frr recipe in SDK by yourself.

You could create frr folder in sources/meta-openembedded/meta-networking/recipes-protocols/, then download frr recipes in it from http://cgit.openembedded.org/meta-openembedded/tree/meta-networking/recipes-protocols/fr

Then modify frr recipe to pass the building of "bitbake frr".

Add "frr" in the list of variable IMAGE_INSTALL_append  in sources/meta-freescale/recipes-fsl/images/fsl-image-core.bb, and run "bitbake fsl-image-core" to regenerate rootfs filesystem.

0 项奖励

966 次查看
sandeepk1980
Contributor I

i am gretting error after downloading the recipe

 

 

 bitbake frr
Loading cache: 100% |#################################################################################| ETA: 00:00:00
Loaded 6102 entries from dependency cache.
ERROR: ParseError at /home/cdot/brtr_old_103/brtr/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-openembedded/meta-networking/recipes-protocols/frr/frr_8.2.2.bb:21: unparsed line: 'COMPATIBLE_HOST:riscv32 = "null"'

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

 

 

 

0 项奖励

921 次查看
yipingwang
NXP TechSupport
NXP TechSupport

You could comment the following sentences.

# Due to libyang not supported on these arches:
#COMPATIBLE_HOST:riscv32 = "null"
#COMPATIBLE_HOST:riscv64 = "null"
##COMPATIBLE_HOST:armv5 = "null

# Fail to build on mips64 with error:
# Error: PC-relative reference to a different section
#COMPATIBLE_HOST:mips64 = "null"

0 项奖励