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 jwmurray
Observer
1,509 Views
Registered: ‎02-13-2018

How do I remove USB from U-Boot?

Jump to solution

I am building a petalinux image using the 2017.4-final toolchain.  My final board does not have a USB.hdf.  I am linking with a .hdf file for my final hardware does not include a USB interface.

 

However, when I boot the image, I get a message during u-boot telling me that USB does not work.

 

How do I disable USB in u-boot.  I tried a

 

petalinux-config -c u-boot

 

and then turned off u-boot, but that did not work.

 

Xilinx Zynq MP First Stage Boot Loader
Release 2017.4   Mar 19 2018  -  11:00:13
NOTICE:  ATF running on XCZU9EG/silicon v4/RTL5.1 at 0xfffea000, with PMU firmware
NOTICE:  BL31: Secure code at 0x0
NOTICE:  BL31: Non secure code at 0x8000000
NOTICE:  BL31: v1.3(release):47af34b
NOTICE:  BL31: Built : 16:57:21, Mar 19 2018


U-Boot 2017.01 (Mar 19 2018 - 10:59:15 -0600) Xilinx ZynqMP ZCU102 rev1.0

I2C:   ready
DRAM:  4 GiB
ERROR: usb dr_mode not found

at /tmp/untouched-config-2018.03.19-07.56.05/work/plnx_aarch64-xilinx-linux/u-boot-xlnx/v2017.01-xilinx-v2017.4+gitAUTOINC+5fa7d2ed06-r0/git/drivers/usb/common/common.c:32/usb_get_dr_mode()
EL Level:       EL2
Chip ID:        xczu9eg
MMC:   sdhci@ff170000: 0 (SD)
zynqmp_qspi_ofdata_to_platdata: CLK 124987500
SF: Detected n25q512a with page size 512 Bytes, erase size 128 KiB, total 128 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Bootmode: LVL_SHFT_SD_MODE1
Net:   ZYNQ GEM: ff0e0000, phyaddr ffffffff, interface rgmii-id
eth0: ethernet@ff0e0000
U-BOOT for untouched-config

 

 

 

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
1,673 Views
Registered: ‎02-07-2018

Re: How do I remove USB from U-Boot?

Jump to solution

 

Hi,

 

Please try below steps.

 

1. petalinux-config -c u-boot
    Device Drivers --->[] USB support ---> un select 

2.  Command line interface  --> Device access commands  --> [ ] usb   -- Un select , save & exit.

3. petalinux-build

4.petalinux-package --boot --fsbl images/linux/zynq_fsbl.elf --fpga images/linux/download.bit --u-boot

 

Thanks & regards

Aravind


----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
Moderator
Moderator
1,467 Views
Registered: ‎12-04-2016

Re: How do I remove USB from U-Boot?

Jump to solution

Hi 

 

There is a wiki on uboot configs. make sure to have these disabled and remove device tree entries related to this

http://www.wiki.xilinx.com/U-Boot+USB+Driver

 

 

Best Regards

Shabbir

0 Kudos
Moderator
Moderator
1,674 Views
Registered: ‎02-07-2018

Re: How do I remove USB from U-Boot?

Jump to solution

 

Hi,

 

Please try below steps.

 

1. petalinux-config -c u-boot
    Device Drivers --->[] USB support ---> un select 

2.  Command line interface  --> Device access commands  --> [ ] usb   -- Un select , save & exit.

3. petalinux-build

4.petalinux-package --boot --fsbl images/linux/zynq_fsbl.elf --fpga images/linux/download.bit --u-boot

 

Thanks & regards

Aravind


----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------

View solution in original post

0 Kudos