Skip to content

WIP: Enable amending bcmkernel boardparms in feeds

Andreas Gnau requested to merge feature-2533-move-boardparms into devel

WIP: To be merged once broadcom/bcmcreator!15 and reference is updated.

Previously, in order to add support for a new board, one needed to fork the bcmkernel repo. Provide a way to specify per-profile and a per-platform optional C-file that is passed to the bcmkernel make-invocation to extent the boardparms with additional entries from the feeds-repo.

Pass two C-files the the bcmkernel make-invocation if they exist ( is e.g. "iopsys-brcm63xx-arm" and is e.g. "eg400"):

  • profile-specific for one specific profile/board feeds/targets///bcmkernel/boardparms_iopsyswrt_profile.c
  • platform-specific, to be shared among multiple profiles/boards feeds/targets//bcmkernel/boardparms_iopsyswrt_platform.c

The bcmkernel Makefiles will concatenate all entries to one g_BoardParms / g_VoiceBoardParms / wlanPaInfo array at build-time.

See iopsyswrt_boardparms.h for documentation on the helper macros that can be used in the C-file.

Merge request reports