Versions Compared

Key

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

...

In scenarios where both USB 2.0 and USB 3.0 download gadget drivers are enabled simultaneously, distinguish between them using the following commands:

For USB 2.0 download gadget:

Code Block
=> fastboot usb 0

For USB 3.0 download gadget:

Code Block
=> fastboot usb 1

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

...

  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.

Code Block
C:\Program Files (x86)\Minimal ADB and Fastboot>

Flash images

x-boot partition

The image file of xboot x-boot (xboot.img) is stored at 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 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

For u-boot, kernel, or rootfs partitions, the The U-Boot command "mmc part" can be applied to retrieve the partition names within the eMMC's User Data Area Partition (GUID).:

Code Block
=> mmc part

Partition Map for MMC device 0  --   Partition Type: EFI

Part    Start LBA       End LBA         Name
        Attributes
        Type GUID
        Partition GUID
  1     0x00000022      0x00000821      "uboot1"
        attrs:  0x0000000000000000
        type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
        guid:   292c805a-cb56-41bf-97f2-773a25608b40
  2     0x00000822      0x00001021      "uboot2"
        attrs:  0x0000000000000000
        type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
        guid:   635a1f52-8abf-4f93-8d70-17fd82e1c570
  3     0x00001022      0x00001821      "fip"
        attrs:  0x0000000000000000
        type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
        guid:   b4608adb-3ac4-4964-9de5-5bcd8db8e38d
  4     0x00001822      0x00001c21      "env"
        attrs:  0x0000000000000000
        type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
        guid:   dbaab200-cfe5-45e8-99d0-e9d920a5a29d
  5     0x00001c22      0x00002021      "env_redund"
        attrs:  0x0000000000000000
        type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
        guid:   10b84778-f209-4a67-9008-4ffefee0fdf4
  6     0x00002022      0x00002221      "dtb"
        attrs:  0x0000000000000000
        type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
        guid:   127f33a4-ba05-4ab1-9c9e-ead8003b12ec
  7     0x00002222      0x00012221      "kernel"
        attrs:  0x0000000000000000
        type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
        guid:   ee2d19c3-3c49-4732-b432-04b9351f17d7
  8     0x00012222      0x00e8ffde      "rootfs"
        attrs:  0x0000000000000000
        type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
        guid:   6e8b3aaf-e5bc-4134-93b3-8e66c5e77dad
=>

...

Configure network settings

After booting from the eMMC device to U-Boot, To establish a connection between the SP7350 and the Windows computer via the network. Configure Ethernet, please configure the Network Interface Card (NIC) settings for both devices.

The SP7350 NIC configuration is outlined below:

Code Block
=> setenv ipaddr 192.168.0.50
=> setenv netmask 255.255.255.0
=> setenv ethact eth0

Please also configure your Windows computer.

Flash images

Execute the following command to enable Fastboot fastboot over UDP:

Code Block
=> fastboot udp

...