IMX6 sabre sd the modules kernel are not in the rootfs

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX6 sabre sd the modules kernel are not in the rootfs

1,681 Views
delauratfrançoi
Contributor II

Hello

I work with imx6 dual sabre board. I use yocto to build my project. I want to use several kernel module by example g_mass_storage.ko. After I built my core-image-minimal I have the files core-image-mimal.sdcard and modules-imx6sabreca.tgz. But if I look in the rootf (/lib/modules/...) there are not the modules of the file modules-imx6sabreca.tgz. How can you to add the modules of file modules-imx6sabreca.tgz in rootfs of core-image-minimal with yocto?

Thanks for All Help.

Best regards

François.

Labels (3)
0 Kudos
4 Replies

332 Views
delauratfrançoi
Contributor II

Hello

I found the solution to my problem. we must be add "kernel-modules" in local.conf file.

Thanks for All Help.

Best regards

François.

Commenter

0 Kudos

332 Views
aaronpadilla
Contributor II

HI François,

How exactly have you modified local.conf?

I have added:

IMAGE_INSTALL_append = "kernel-modules"

and seems not working

Is it important where to insert the line in file??

Thanks in advance

0 Kudos

332 Views
delauratfrançoi
Contributor II

Hi Aaron excuse me to this late response.

//Is it important where to insert the line in file??

No I don't think

here is my local file to

IMAGE_INSTALL_append = " gcc g++ binutils libgcc libgcc-dev libstdc++ libstdc++-dev libstdc++-staticdev \

tslib-conf tslib-tests tslib-calibrate openssh-sftp-server \

tslib evtest dbus nano qtbase qtbase-fonts qtbase-plugins \

qtdeclarative qtdeclarative-plugins qtdeclarative-qmlplugins \

cairo pango fontconfig freetype pulseaudio util-linux dbus \

gdbserver procps util-linux \

e2fsprogs e2fsprogs-mke2fs \

psplash \

dosfstools i2c-tools nfs-utils \

kernel-modules \

"

I hope this will help you

best regards

François

0 Kudos

332 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi François,

Thanks a lot for sharing your solution with the Community.

Yes, as the core-image-minimal is the minimal configuration to boot, most of the things are out, so, it is required to add any other function intended to be used, as included on heavier images like sato and qt5 builds.

Additionally, you could also take a look at the following document:

Task #6 - Customize the image


Hope this will be useful for you.
Best regards!
/Carlos

0 Kudos