No MMC under OpenWrt

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

No MMC under OpenWrt

1,771件の閲覧回数
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?

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,722件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

Are you using linux-imx 5.15.y?

Best Regards,
Zhiming

0 件の賞賛
返信

1,699件の閲覧回数
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 件の賞賛
返信

1,661件の閲覧回数
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 件の賞賛
返信