boundarydevices / imx_usb_loader

USB & UART loader for i.MX5/6/7/8 series
GNU Lesser General Public License v2.1
262 stars 158 forks source link

imx_usb: Support hotplug of device #122

Open panicking opened 2 years ago

panicking commented 2 years ago

Add a way to wait until a device is plugged in the usb and match the list

Signed-off-by: Michael Trimarchi michael@amarulasolutions.com

panicking commented 2 years ago

@otavio is this project maintained?

otavio commented 2 years ago

@gibsson ☝🏼

gibsson commented 2 years ago

No this project is indeed no longer maintained as NXP provides a better solution: https://github.com/NXPmicro/mfgtools I'll check with Troy if we integrate that patch and come back to you next week (vacation time right now).

panicking commented 2 years ago

@gibsson I know the other tool but what about SPL + UBOOT.IMG loading. uuu seems not working for me for imx6ull

gibsson commented 2 years ago

I don't know about 6ull but I doubt it can't do it as SPL + U-Boot is working fine for i.MX8 processors. My suggestion is to fix mfgtools to support it for 6ull if it doesn't support it. It is supported to load anything from SPL as long as the board USB PID/VID is listed properly in config.cpp: https://github.com/NXPmicro/mfgtools/blob/master/libuuu/config.cpp

panicking commented 1 year ago

@gibsson can you merge or not?