Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleWhat are the steps involved in compiling the Glolang Go Lang application? Do you have yocto recipes for the same?

We're simply building the application using go build (without any Yocto recipes) as shown below -

env CC=arm-linux-gnueabihf-gcc LD=arm-linux-gnueabihf-ld GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=1 go build

Expand
titleDoes RDK officially support GO Lang compiled binaries? As the base of RDK seems to be linux, is it safe to assume that, the GO compiled program binaries will run normally on RDK-B? What are all the steps involved in compiling the Glolang Go Lang application?
  • RDK officially doesn't support GO language compatibility. But you may always try GO binaries as most RDKM code bases are based on Yocto open-embedded builds and the binaries work out of the box.
  • You can simply build the application using go build (without any Yocto recipes) as shown below -
    • env CC=arm-linux-gnueabihf-gcc LD=arm-linux-gnueabihf-ld GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=1 go build

...

Expand
titleIs there igmp_snooper program in RDK-B?

Yes, igmp_snooper program is present in RDK-B .

  • There is a shell script named "service_mcastsnooper.sh" under /etc/utopia/service.d directory, and in the script, it will execute "igmp_snooper $sw_opt $if_opt $querier_opt 

Expand
titleWhat are the possible solutions available to manage RDK-B Data Model?

The data model can be managed via TR-069 , TR-181, management protocols like SNMP, WebUI, WEBPA .

...