Interactive kernel configuration

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

Interactive kernel configuration

96 次查看
lpenama
Junior Contributor I

EVALUATION BOARD: i.MX 8M Plus EVK (imx8mpevk)

Host Machine: Ubuntu 22.04.5 LTS

I installed yocto project: 6.6.52-2.2.1 release

using:

$: mkdir ~/bin
$: curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$: chmod a+x ~/bin/repo
$: PATH=${PATH}:~/bin
then:
$: mkdir 6.6.52-2.2.1
$: cd 6.6.52-2.2.1
$: repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-scarthgap -m imx-6.6.52-2.2.1.xml
$: repo sync

then:
$: MACHINE=imx8mpevk DISTRO=fsl-imx-xwayland source ./imx-setup-release.sh -b bld-xwayland

$: bitbake imx-image-full

Then flashed to imx8mpevk using UUU utility succesfuly

I noticed that wifi drivers were not installed.

AW-CM276MA (NXP 88W8997): Wi-Fi®
5 (802.11ac) 2 x 2 dual-band (2.4/5
GHz) and Bluetooth® 5.1

So I'm trying to installed them using the:

bitbake linux-imx -c menuconfig

I was able to locate the drivers and enable them, and save a .config with the GUI tool (see image attached). However I'm stock in how to apply this changes and bake the new image.

I'm trying to follow

RM00293
i.MX Linux Reference Manual
Rev. LF6.12.20_2.0.0 — 26 June 2025

but it is really confusing, I would really appreciate any help with this

标记 (2)
0 项奖励
回复
2 回复数

41 次查看
Harvey021
NXP TechSupport
NXP TechSupport

The WiFi driver for Full image should be already included. You can refer to the UM11483 about how to bring up WiFi.  The path to driver should be as like 

./usr/lib/modules/6.12.3-lts-next-g37d02f4dcbbe/updates/moal.ko

And to how to apply, you can refer to the section <2.1.2 How to build and load Kernel in Yocto Project> of  Porting Guide 

 

Regards

Harvey

 

0 项奖励
回复

65 次查看
coulomz
Contributor I

Hello, 

You can check this link by variscite that shows how to configure the kernel on their boards. For you the difference should only be the layer names, but the baseline is:

  • After making you changes run 
bitbake -c savedefconfig virtual/kernel​

to save the changes in a defconfig format

  • Find the layer that contains the linux kernel, should be meta-imx-bsp/recipes-kernel/linux
  • Create a files directory in there
  • Copy the defconfig to the files directory
  • Create a .bbappend file that points to the defconfig
0 项奖励
回复