![]() ![]() Since this is the only MMC device exposed on the AM437x SK board it is expected behavior. ![]() I can further confirm that by removing the &mmc1 node from the DTS just as it was described in the initial post the SD card can no longer be accessed. This could be caused by either DTS, defconfig (pieces missing related to the driver or its dependencies), or some other issue with the code. If you go back to your original boot log you see the "MMC: OMAP SD/MMC: 0" line is missing. The above steps prove that this is a working reference solution, and the goal should be to re-create this and to understand/examine any differences in detail. The âmmc infoâ command displays information (Manufacturer ID, OEM, Name, Bus Speed, Mode, ) of MMC device. So what should be done here is going back to the original SDK v06.01.00.08 sources and the original SDK am43xx_evm_qspiboot_defconfig config and DTS file, making the absolute minimal changes as needed for the custom board to see if it can be made work. The mmc command is used to control MMC(eMMC/SD) device. Then, I inserted the SD card into the board, and was able to access it successfully: => mmc info *** Warning - bad CRC, using default environment SF: Detected må6l51235l with page size 256 Bytes, erase size 64 KiB, total 64 MiB It will take a while for QSPI boot to start due to the way the boot sequence is configured on the AM437x SK board, but eventually it will start as follows: U-Boot 2019.01-g15b9b87253 (15:30:39 -0600) ![]() Then I removed the SD card and power-cycled the board. Mmc hwpartition - does hardware partitioning Use run setupdate U-Boot command and then Use run update U-Boot command If you updated from an older image: Power cycle or reset as requested and hit any key to stop auto booting Use run setupdate U-Boot command and then Use run migratev2.3b2 U-Boot command Ethernet. Mmc dev - show or set current mmc device Mmc part - lists available partition on current mmc device Mmc info - display info of the current MMC device Here is the log executing "mmc init" command in u-boot. Is it necessary to change the menuconfig, and so on? The mmc info command displays information (Manufacturer ID, OEM, Name, Bus Speed, Mode, ) of MMC. There is "mmc" command, but it seems not to support mmc init. The mmc command is used to control MMC(eMMC/SD) device. If these lines are in am437x-sk-evm.dts file, QSPI boot is failed. Their files am437x-sk-evm.dts, am4372.dtsi, nfig SF: Detected mt25ql512 with page size 256 Bytes, erase size 4 KiB, total 64 MiB *************************************************************** 1 ums command In U-Boot, you can directly export the available block devices (sd/mmc/usb) such as USB mass storage devices with ums command: help ums ums - Use the UMS USB Mass Storage Usage: ums e.g.My customer is facing not to detect MMC device in u-boot with QSPI boot. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |