Can not find mmc.c in i.MX yocto BSP source

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

Can not find mmc.c in i.MX yocto BSP source

Jump to solution
688 Views
Sota0315
Contributor II

Dear NXP support team,

Now we are developping imx6 SoloX custom board and facing eMMC revision issue same as below.
<https://community.nxp.com/t5/i-MX-Processors/Mfg-tool-for-imx6sl-emmc-flash-Yocto/m-p/783829>

So I downloaded yocto BSP source following to <https://github.com/nxp-imx/imx-manifest#readme>, but I could not find mmc.c for modifying "card->ext_csd.rev" in the source folder.
Could you please let me know where the mmc.c is?

 

We are using Linux 3.14.52 BSP (sorry for too old version, we are thinking of update), but I can't find the mmc.c file in later version such as 5.15.x BSP too.

I'm looking forward to hearing from you soon.

 

Thanks!

Labels (1)
0 Kudos
1 Solution
3 Replies
633 Views
Sota0315
Contributor II

Dear Aldo-san and NXP support team,

It has been a while since my previous post.
We finally fixed our eMMC revision problem, and suceeded to build/flash yocto image to our custom board.

During debugging, another problem of mfgtool flash was happened. (got stuck with the log message "UTP: Waiting for device to appear")
We modified our linux-imx menuconfg following to <https://community.nxp.com/t5/i-MX-Processors/MFGTool-boot-stuck-at-UTP-Waiting-for-device-to-appear/...>, and it worked fine.

Anyway thank you very much for your support!
I will close this problem report.

Best regards,

652 Views
Sota0315
Contributor II

Dear Aldo-san,

Thank you very much for your quick support!

As you commented, I find whole yocto Linux source (including mmc.c) in github.
So my understanding of build procedure in this case is as below.

1. Download whole yocto Linux source from github.
2. Modify mmc.c in downloaded source
3. Merge whole yocto Linux source to yocto development folder in our local PC.
4. Build (bitbake) core-image, u-boot, and linux-imx on the PC

I will try this and let you know how it goes.
If some build steps are missed, please give us advice.

Thanks,