USB support at U-boot level

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

USB support at U-boot level

13,844件の閲覧回数
deexith_venkate
Contributor I

Hii,

I am currently working on a i.mx6(dual) based custom board. My question is can i integrate the functionality of "usb start" command line utility to the U-boot source code(to my board c file)?? USB slot works fine after executing the "usb start" argument at the U-boot level. Is there any way i can make USB slot work without using "usb start" at the U-boot level, I mean usb working by default after flashing!!

U-Boot version: 2017

Regards,

Kumar

0 件の賞賛
返信
4 返答(返信)

1,783件の閲覧回数
turker
Contributor IV

You may check cmd/usb.c to see what "usb start" command does and try to adapt that to your board.

0 件の賞賛
返信

1,783件の閲覧回数
radhikasomaiya
Senior Contributor II

Hi Kumar DP,

You can add things to the bootcmd environment variable (and this can be changed in the boards config.h file so that the default environment is changed). So what you would want to do is:

<U-Boot>= setenv bootcmd 'usb start'

Regards,

Radhika Somaiya

0 件の賞賛
返信

1,783件の閲覧回数
deexith_venkate
Contributor I

Hii Radhika,

Even my first approach was the same, but dint work for me!! 

Regards,

Kumar

0 件の賞賛
返信

1,783件の閲覧回数
deexith_venkate
Contributor I

Hello igorpadykov‌,

Can you kindly look into this and help me out???

Regards,

Kumar

0 件の賞賛
返信