Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Fastboot is a versatile protocol designed for re-flashing partitions, including x-boot, u-boot, uImage, rootfs, and etc., of eMMC device on SP7350 platforms. This guide will walk you through the process of utilizing Minimal ADB and Fastboot, a handy Windows application, to harness the power of fastboot.

Table of Contents

Table of Contents
class
maxLevel6
minLevel1maxLevel6
include
outlinefalse
indent
exclude
typelist
printablefalse
class

Fastboot

...

Over USB

To use the fastboot on SP7350 platform over USB interface, after successfully booting from the eMMC device and enter command-line interface of U-Boot, please follow the following steps.

Activate the USB

...

Download Gadget

To establish a connection between your SP7350 platform and a Windows computer for USB downloads, please use the following command in the U-Boot command-line interface to activate the USB download gadget:

...

By executing these commands, you seamlessly enable the SP7350 platform to function as a USB download gadget, facilitating a smooth and efficient fastboot process.

Update USB

...

Download Gadget Driver in the Windows

...

Computer

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 SAMSUNG Android Phone->Android ADB Interface in Device manager.

...

Install Minimal ADB and Fastboot on Windows

...

Computer

To install the “Minimal ADB and Fastboot” application on your Windows computer, please follow these steps:

  1. Download the Application: Obtain the “Minimal ADB and Fastboot” application and install it on your Windows computer.

  2. Installation Path: During installation, the application is typically placed in the directory "c:\Program Files (x86)\Minimal ADB Fastboot."

  3. 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.

Flash

...

Images

x-boot

...

Partition

The image file of x-boot (xboot.img) is stored at boot partition 1 of eMMC device and its default target name is “mmc0boot0” as shown in menuconfig of U-Boot:

...

Upon execution, the system will report the maximum download size as 117,440,512 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

The U-Boot command "mmc part" can be applied to retrieve the partition names within the eMMC's User Data Area Partition (GUID):

...

Upon execution, the system will process the update, indicating the maximum download size and confirming the successful transfer and writing of the u-boot image to the 'uboot2' partition. This process is analogous when updating the kernel or rootfs.

Fastboot

...

Over Ethernet

Fastboot over Ethernet provides an alternative and efficient means of updating system images. To use the fastboot over Ethernet interface, please follow the following steps.

Enable UDP

...

Support

To use fastboot over Ethernet, we need to enable “Enable fastboot protocol over UDP” in U-Boot. If it is not enabled, please enable it.

  1. Navigate to the Device Drivers > Fastboot support.

  2. Select "Enable fastboot protocol over UDP" as shown below:

...

...

Reference to the previous section “Update USB download gadget driver in the Windows computer.”

Install Minimal ADB and Fastboot on Windows

...

Computer

Reference to the previous section “Install Minimal ADB and Fastboot on Windows computer.”

Configure

...

Network Settings

To establish a connection between the SP7350 and the Windows computer via the Ethernet, please configure the Network Interface Card (NIC) settings for both devices.

...

Please also configure your Windows computer.

Establish UDP

...

Connection for

...

Fastboot

To establish a UDP connection of fastboot between your SP7350 platform and a Windows computer, please execute the following command:

Code Block
=> fastboot udp

Flash

...

Images

In the Windows Command Prompt, use the following command to update the x-boot image. Note that the process for updating u-boot, kernel, or rootfs is analogous:

...