Enabling USB Device Mode in U-Boot on RDB3 for eMMC Boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Enabling USB Device Mode in U-Boot on RDB3 for eMMC Boot

Enabling USB Device Mode in U-Boot on RDB3 for eMMC Boot

Hi,

Recently, several customers have inquired about how to program the eMMC on the RDB3 development board directly via USB in U-Boot. These customers are designing custom boards based on RDB3 without using an SD card or Ethernet, and therefore need a method to flash the eMMC through USB during the setup stage.

By default, USB device mode is not enabled in U-Boot on RDB3. To achieve this functionality, it is necessary to modify the U-Boot and ATF (Arm Trusted Firmware) source code, as well as adjust the USB configuration to enable USB device support in U-Boot. In addition, the document provides guidance on testing the configuration, demonstrating how to use U-Boot commands to verify that the USB storage device is recognized, load the image from the USB into memory, and write it to the eMMC.

In this article, I will share my experience using BSP42 to implement and test this feature. I hope this guide will be helpful to others who are looking to enable USB device in uboot for eMMC programming on RDB3.

Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-2193450%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EEnabling%20USB%20Device%20Mode%20in%20U-Boot%20on%20RDB3%20for%20eMMC%20Boot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2193450%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%0A%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3ERecently%2C%20several%20customers%20have%20inquired%20about%20how%20to%20program%20the%20eMMC%20on%20the%20RDB3%20development%20board%20directly%20via%20USB%20in%20U-Boot.%20These%20customers%20are%20designing%20custom%20boards%20based%20on%20RDB3%20without%20using%20an%20SD%20card%20or%20Ethernet%2C%20and%20therefore%20need%20a%20method%20to%20flash%20the%20eMMC%20through%20USB%20during%20the%20setup%20stage.%3C%2FP%3E%0A%3CP%3EBy%20default%2C%20USB%20device%20mode%20is%20not%20enabled%20in%20U-Boot%20on%20RDB3.%20To%20achieve%20this%20functionality%2C%20it%20is%20necessary%20to%20modify%20the%20U-Boot%20and%20ATF%20(Arm%20Trusted%20Firmware)%20source%20code%2C%20as%20well%20as%20adjust%20the%20USB%20configuration%20to%20enable%20USB%20device%20support%20in%20U-Boot.%20In%20addition%2C%20the%20document%20provides%20guidance%20on%20testing%20the%20configuration%2C%20demonstrating%20how%20to%20use%20U-Boot%20commands%20to%20verify%20that%20the%20USB%20storage%20device%20is%20recognized%2C%20load%20the%20image%20from%20the%20USB%20into%20memory%2C%20and%20write%20it%20to%20the%20eMMC.%3C%2FP%3E%0A%3CP%3EIn%20this%20article%2C%20I%20will%20share%20my%20experience%20using%20BSP42%20to%20implement%20and%20test%20this%20feature.%20I%20hope%20this%20guide%20will%20be%20helpful%20to%20others%20who%20are%20looking%20to%20enable%20USB%20device%20in%20uboot%20for%20eMMC%20programming%20on%20RDB3.%3C%2FP%3E%0A%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2193450%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3ES32G%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎10-27-2025 03:11 AM
Updated by: