Fastboot is a versatile protocol designed for re-flashing partitions, including x-boot, u-boot, uImage, rootfs, and etc., of eMMC device on SP7350 devicesplatforms. This guide will walk you through the process of utilizing Minimal ADB and Fastboot, a handy Windows application, to harness the power of fastboot.
...
Following the execution of the command in U-Boot and connecting the SP7350 platform to the Windows computer, you may observe that in the Device Manager, the USB is categorized under "Other devices" as "USB download gadget" in Windows. To update the driver, follow these steps:
...
After the update, you will see Android Device->Android ADB Interface in Device manager.
...
Install Minimal ADB and Fastboot on Windows computer
Begin by installing To install the “Minimal ADB and Fastboot” application on your Windows computer. Follow , please follow these steps:
Download the Application: Obtain the “Minimal ADB and Fastboot” application and install it on your Windows computer.
Installation Path: During installation, the application is typically placed in the directory "c:\Program Files (x86)\Minimal ADB Fastboot."
Organize Image Files: Place the necessary image files (xboot.img, u-boot.img, uImage, and rootfs.img) in the installation folder. This is crucial for efficiently reflashing partitions using subsequent commands.
Reflashing Partitions: To reflash partitions, open the Command Prompt on your Windows computer and navigate to the installation directory. Use commands specific to your requirements.
Code Block |
---|
C:\Program Files (x86)\Minimal ADB and Fastboot> |
...
The image file of xboot (xboot.img) is stored at eMMC boot partition 1 of eMMC device and its default target name is “mmc0boot0” as shown in > Device Drivers > Fastboot support of menuconfig of U-Boot.:
...
To update the x-boot image, execute the following command in the Windows Command Prompt:
...
Upon execution, the system will report the maximum download size as 117440512 bytes. Subsequently, the 'mmc0boot0' target, with a file size of 131KB, will be sent and successfully written, completing the process in approximately 0.032 seconds.
u-boot, kernel or rootfs
...
partitions
For u-boot, kernel, or rootfs partitions, the U-Boot command "mmc part" can be applied to retrieve the partition names within the eMMC's User Data Area Partition (GUID).
...
To use fastboot over Ethernet, please we need to enable “Enable fastboot protocol over UDP” of U-Boot. Follow the steps below to activate enable it:
Navigate to the Device Drivers > Fastboot support under menuconfig of U-Boot.
Select "Enable fastboot protocol over UDP" as shown below:
...
Code Block |
---|
=> setenv ipaddr 192.168.0.50 => setenv netmask 255.255.255.0 => setenv ethact eth0 |
Flash images
In U-Boot on the SP7350, execute Execute the following command to enable Fastboot over UDP:
...