As previously stated, this blog is a place for me to record some notes on things that i learn on my day to day.
One of the things I learned and whished I knew when doing embedded development was how to easily flash certain files in an embedded device’s storage card, without needing to do whole image flashing.
It turns out to be very simple if your embedded board has usb support in u-boot. Running the following command in the u-boot command line:
ums 0 mmc 1
Leads to exposure of mmc1 to the usb-gadget interface 0. See https://u-boot.readthedocs.io/en/latest/usage/ums.html for more details
When successful, your development computer should detect new mass storage devices.
Can’t wait to check if this works on my raspberry pi!
LikeLike
I found no evidence of it’s use for raspberry pi unfortunately. On the other hand for some raspberry pi if the usb gadget driver is present in uboot i do not see why i it should not work. If you find out, i invite you to make a post 🙂
LikeLike