Laird LWB5 backports build issue with Yocto Gatesgarth

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Laird LWB5 backports build issue with Yocto Gatesgarth

2,763件の閲覧回数
rstabile
Contributor I

Using: repo init -u https://source.codeaurora.org/external/imx/imx-manifest
-b imx-linux-gatesgarth -m imx-5.10.9-1.0.0.xml

When building the LWB5 8.5.0.7 backports with the above I get a host of errors such as shown below.  Presumably this is due to the backports using deprecated functions/constants. Looking for suggestions on how to get this to build?

.../gatesgarth/release/build_wayland/tmp/work-shared/imx8mqevk/kernel-source/include/linux/pci.h:92:45: error: 'PCI_STD_NUM_BARS' undeclared here (not in a function); did you mean 'PCI_SRIOV_NUM_BARS'?
92 | PCI_STD_RESOURCE_END = PCI_STD_RESOURCES + PCI_STD_NUM_BARS - 1,
| ^~~~~~~~~~~~~~~~
| PCI_SRIOV_NUM_BARS

.../gatesgarth/release/build_wayland/tmp/work/imx8mqevk-poky-linux/kernel-module-lwb-backports-laird/8.5.0.7-r0/laird-backport-8.5.0.7/net/wireless/util.c:857:2: error: implicit declaration of function 'kzfree'; did you mean 'kfree'? [-Werror=implicit-function-declaration]
857 | kzfree(wdev->connect_keys);
| ^~~~~~
| kfree

.../gatesgarth/release/build_wayland/tmp/work/imx8mqevk-poky-linux/kernel-module-lwb-backports-laird/8.5.0.7-r0/laird-backport-8.5.0.7/net/wireless/nl80211.c:355:33: error: 'NLA_EXACT_LEN_WARN' undeclared here (not in a function); did you mean 'NLA_POLICY_EXACT_LEN_WARN'?
355 | [NL80211_ATTR_MAC] = { .type = NLA_EXACT_LEN_WARN, .len = ETH_ALEN },
| ^~~~~~~~~~~~~~~~~~
| NLA_POLICY_EXACT_LEN_WARN

.../gatesgarth/release/build_wayland/tmp/work/imx8mqevk-poky-linux/kernel-module-lwb-backports-laird/8.5.0.7-r0/laird-backport-8.5.0.7/net/wireless/nl80211.c:12949:9: error: implicit declaration of function 'nl80211_validate_nested'; did you mean 'nla_validate_nested'? [-Werror=implicit-function-declaration]
12949 | return nl80211_validate_nested(attr, vcmd->maxattr, vcmd->policy,
| ^~~~~~~~~~~~~~~~~~~~~~~
| nla_validate_nested

0 件の賞賛
返信
3 返答(返信)

2,662件の閲覧回数
travis-laird
Contributor I

Please contact us at support@lairdconnect.com with any questions regarding the Laird LWB5.

You can check which kernel version is support by LWB5 backports by checking release notes at Laird's github for the LWB5. 

https://github.com/LairdCP/Sterling-LWB-and-LWB5-Release-Packages/releases

8.5.0.7 backports only supports up to kernel 5.4.

0 件の賞賛
返信

2,735件の閲覧回数
rstabile
Contributor I

I successfully built the LWB5 8.5.0.7 backports with the NXP Zeus drop and wlan0 loads on boot.

Just for test I built Gatesgarth without the backports and wlan0 did not load (as expected).

0 件の賞賛
返信

2,753件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello rstabile,

 

You need to make sure that the code compile in previous BSP, since it change the gcc version and kernel, however per your issue looks like there is no LWB in MX8MQ.

 

Regards

0 件の賞賛
返信