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
You may check cmd/usb.c to see what "usb start" command does and try to adapt that to your board.
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
Hii Radhika,
Even my first approach was the same, but dint work for me!!
Regards,
Kumar