UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer mishuk
Observer
1,880 Views
Registered: ‎09-11-2017

U-boot build failure

Hi!

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?

Tags (3)
0 Kudos
3 Replies
Moderator
Moderator
1,812 Views
Registered: ‎10-06-2016

Re: U-boot build failure

Hi @mishuk

 

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.

 

Ibai


Ibai
Don’t forget to reply, kudo, and accept as solution.
0 Kudos
Observer mishuk
Observer
1,784 Views
Registered: ‎09-11-2017

Re: U-boot build failure

Hi!

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.

0 Kudos
Observer mishuk
Observer
1,658 Views
Registered: ‎09-11-2017

Re: U-boot build failure

Does anyone from Xilinx know about u-boot build problem? 

Is it known issue or nobody tried to build u-boot instead of using pre-build binaries?

Tags (3)
0 Kudos