No MMC under OpenWrt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

No MMC under OpenWrt

1,423 Views
Nonni
Contributor I

I have a device with an i.MX 6ULL processor onboard. It has an eMMC onboard as well.

In the U-Boot interface, I can see the eMMC, but once I boot into OpenWrt, I get no /dev/mmc*...

I am using the OpenWrt repo here: https://github.com/nxp-imx/imx_openwrt

I do `make menuconfig`, specify "NXP i.MX with Cortex A7", and leave the default profile...

Under Kernel modules > Other modules I select "Y" for kmod-mmc.

But after the build is complete, all the "kmod-mmc" package contains are a couple of config files that belong under /etc. There is no actual "mmc-core.ko" kernel module produced.

 

What am I doing wrong?

Labels (1)
0 Kudos
Reply
3 Replies

1,374 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

Are you using linux-imx 5.15.y?

Best Regards,
Zhiming

0 Kudos
Reply

1,351 Views
Nonni
Contributor I

I used the branch from the repo mentioned above "imx-openwrt-22.03.0", which is on kernel 5.15.50.

I tried another branch also with the same result.

 

0 Kudos
Reply

1,313 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

This driver is built in Linux kernel image, not loadable driver.

If you seach any function in /build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-imx_cortexa7, you should see such results.

grep: linux-5.15.114/arch/arm/boot/Image: binary file matches
grep: linux-5.15.114/drivers/mmc/core/core.o: binary file matches
grep: linux-5.15.114/vmlinux.o: binary file matches

Can you see any mmc log in bootlog?

Best Regards,
Zhiming

0 Kudos
Reply