USB not detect for flashing firmware during U-boot in colibri-imx6ull

Hi,

For Colibri-imx6ull module:

I want to flash image on the board via USB using u-boot, but USB is not detected in Boot Console.

i’m getting below Error :

Colibri iMX6ULL # usb start

starting USB…

USB0: Port not available.

USB1: USB EHCI 1.00

scanning bus 1 for devices… 1 USB Device(s) found

scanning usb for storage devices… 0 Storage Device(s) found

I tried with different company’s Pendrive , still same error.

How to enable USB support in u-boot? Please guide me here.

U-boot version : u-boot-colibri-imx6ull-2016.11+gitAUTOINC+1b121c6ab5-r0

Regards,

Hitendra Prajapati

What exact hardware (module and carrier board) and software versions of things are you talking about?

Hi @marcel.tx,

carrier board : Iris V1.1A
Product id: partno : 00401100 ( Colibri iMX6ull 512MB WB IT V1.1 A )

Any other information I already put in question.

Judging from that git hash it looks like you may be running a U-Boot from an ancient BSP 2.7b4 beta version which is no longer supported on the Colibri iMX6ULL. Please update to any supported BSP versions and re-try.

https://developer.toradex.com/software/linux/linux-software/release-details

https://developer.toradex.com/knowledge-base/toradex-embedded-linux-bsp-support-strategy

Hi @marcel.tx

I tried with latest u-boot revision u-boot-colibri-imx6ull-2016.11+gitAUTOINC+02735f4004-r0.imx, Still getting same error.

is their any otherway to check ??

Regards,

Hitendra Prajapati

Hi @marcel.tx

Any update on this issue ??

What exact carrier board are you using?

Have you tried going through a hub vs. direct connection?

For me it works just fine at least on the Colibri Evaluation Board with some USB memory sticks.

Hi @marcel.tx

Yes , i’m using Colibri Evaluation Board .

I just connect USB to otg cable and plug in to X30 connector But ,not able to detect USB in u-boot. While it is working after login in to system .(after rootfs )
So, what can i do?

Any dtb changes for Colibri-imx6ull in u-boot code ??

Note: For customer requirement I want to use use X30 connector (USB pin 143 and 145).

Regards,
Hitendra Prajapati

hi Hitendra

We tested this also and there are no usb devices detected on OTG Port.

We will look internally to this issue and come back to you. When do you need this functionality?

Note:By the way, for flashing image, you should use the Toradex Easy Installer, thus you don’t need to have working USB OTG for storage devices.

Best regards,
Jaski

Hi @jaski.tx

As per customer requirement, We have to use x30) (OTG port).

Right now we are waiting for your solution.

Regards,

Hitendra Prajapati

Hi @jaski.tx @marcel.tx

Did you find any solution for that?

Regards,

Hitendra Prajapati

Hi @nikunjp26

Not yet. First we will solve the issue on mainline U-Boot and then solve this in downstream U-Boot. This will take about one week.

Best regards,
Jaski

Hi @jaski.tx

I hope you will resolve the issue as fast as possible and reply for solution.

Regards,

Hitendra Prajapati

You may try the following mainline patch set:

https://patchwork.ozlabs.org/patch/1087320/

We will try to integrate this in downstream as well.

Hi @marcel.tx @jaski.tx

I tried to apply your patch directly but, it was failed.

After doing above changes manually in each file defined in patch. I’m able create new u-boot but,
after flashing i stuck in u-boot.

Check the attachment. link text

Please provide solution for u-boot-toradex u-boot version.

Regards

Hitendra Prajapati

Hi @jaski.tx @marcel.tx

Did you find any solution for that?

Regards,

Hitendra Prajapati

Did you compile the mainline U-Boot?
If yes, could you provide a serial bootlog?

Hi @jaski.tx

NO , I didn’t check main U-boot.

Please provide link or document for main U-boot and its version related information.

I’m using poky 2.4 for building my custom yocto image.

I’m working on u-boot-toradex .

Regards,
Hitendra Prajapati.

No, those patches are exclusively for mainline U-Boot, sorry.

Please have a look here:

https://developer.toradex.com/knowledge-base/build-u-boot-and-linux-kernel-from-source-code

And then proceed as per the following:

git clone -b for-next git://git.toradex.com/u-boot-toradex.git
make colibri-imx6ull_defconfig
make

Hi @marcel.tx

git clone -b for-next
git://git.toradex.com/u-boot-toradex.git

This repository will use for u-boot-toradex build not for u-boot mainline ?? Am i right ??

Regards,
Hitendra