09-12-2017 05:02 AM
I`m using Petalinux 2017.2 and I want to get "mmcinfo" command in U-boot. Enabling "mmc" in "Command line Interface"->"Device access commands" during u-boot customization (petalinux-config -c u-boot) lead to compilation failure:
| cmd/built-in.o: In function `do_mmcops':
| /home/mishuk/zedboard-2017.2/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/u-boot-xlnx/v2017.01-xilinx-v2017.2+gitAUTOINC+5290eb544b-r0/git/cmd/mmc.c:798: undefined reference to `get_mmc_num'
Can you help me?
09-15-2017 02:33 AM
Are you using a BSP for the petalinux project or just an empty project where the HDF has been used for configuration? I'm bit surprised by the fact of enabling the mmc comand utility as this is usally enabled by default for the zynq template projects in petalinux.
Did you check if your MMC host driver is enabled? It seems for the error log that the mmc functionality is not enabled... Please check U-Boot configuration -> Device Drivers -> MMC Host controller support.
09-18-2017 12:50 AM
I created petalinux project from BSP, compiled it and found no mmcinfo command in U-Boot. So I enabled
"Command line Interface->Device access commands->mmc" (it was disabled) and "Device drivers->MMC Host Controiller Support-> MMC/SD/SDIO card support" (it was disabled) and got compilation error.
10-26-2017 12:02 AM