How to Enable FRR package for T1040 platform

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

How to Enable FRR package for T1040 platform

960 Views
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 Kudos
3 Replies

928 Views
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 Kudos

924 Views
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 Kudos

879 Views
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 Kudos