Also, USB is not considered a "permanent boot device", which means it is
*only* considered at cold boot and ignored at warm boot.
Interesting to know!
Is the shoulder button not working for card selection a similar issue?
I don't kow if the gpio controllers are warm-reset-insensitive, I'd need to check.
Did you do a warm reset or cold reset?
I've done all sorts of stuff. I still have nothing resembling a mental model of what's going on.
Maybe the OMAP5 keeps the switch state of the last attempt during a warm reset. This completely disables the shoulder button for card selection completely until we do a cold reset.
Easy to check, but I don't dare rebooting my pyra now since I've just hooked it up to JTAG again for some testing.
Asking palmas to power-cycle the system (i2c mw 48 a0 3) does work of course.
For the GTA04 we have a poweroff command doing a similar thing for the twl4030.
Yes it would be nice to be able to type "poweroff" instead of that command above ;-)
Additionally I have cherry-picked some more of your patches and manually picked some defconfig changes. Now, I can also use the ums command.
I can also recommend CONFIG_DM_I2C btw, it has the benefit of tracking "current bus" state separately for the CLI, which means you no longer run the risk of getting palmas regulator errors while using the 'mmc' command because you typed "i2c dev 1" earlier. (I was a bit surprised when that happened...)
I also made life more convenient by allowing stateless use of the i2c command in the CLI: https://github.com/mvduin/u-boot/commit/11ee63376e521f574c584c81dc0df9d33078...
Matthijs