USB support at U-boot level

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB support at U-boot level

13,842 次查看
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,781 次查看
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,781 次查看
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,781 次查看
deexith_venkate
Contributor I

Hii Radhika,

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

Regards,

Kumar

0 项奖励
回复

1,781 次查看
deexith_venkate
Contributor I

Hello igorpadykov‌,

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

Regards,

Kumar

0 项奖励
回复