3. Burning Instructions

3.1. Preparation Before Use

  • The burning files generated by the previous section 2.4.2.3.

  • Micro SD card in FAT32 format.

3.2. Operation Process

  • Put the burning files (as shown in the table below) into the SD card.

  • Insert the SD card into the SD card slot of the CVITEK EVB.

  • Reboot the platform.

3.3. Operation Example

Confirm the files before use

Take SPINAND as an example

Take SPINOR as an example

Take EMMC as an example

1.8M yoc.bin(dual-system)

535K fip.bin

2.6M fw_payload_uboot.bin

4.0M ramboot.itb

2.6M boot.spinand

3M rootfs.spinand

1.9M cfg.spinand

1.9M system.spinand

1.8M yoc.bin(dual-system)

508K fip.bin

182K fip_spl.bin

2.49M fw_payload_uboot.bin

4.3M ramboot.itb

3.7M boot.spinor

3.18M rootfs.spinor

292B data.spinor

1.8M yoc.bin(dual-system)

486K fip.bin

2.5M fw_payload_uboot.bin

5.3M ramboot.itb

2.8M boot.emmc

6.7M rootfs.emmc

9.5M cfg.emmc

4.7M system.emmc

Note: The “yoc.bin” file in the above table is exclusive to the dual-system and exists only in a dual-system environment.

Insert the SD card and connect the CV180X/CV181X platform to the power supply and then boot it up, the burning process will start automatically. DL flag indicates that the main IC detects that there are files in the SD Card that can be burned at present.

In:    serial
Out:   serial
Err:   serial
Net:
Warning: ethernet@4070000 (eth0) using random MAC address - 3a:6d:3f:aa:9e:d6
eth0: ethernet@4070000
Hit any key to stop autoboot:  0
## Resetting to default environment
Start SD downloading......

When the platform is finished burning, the following information can be seen in the UART port, power off the platform, pull out the SD card and reboot it, then the burning process is finished.(The log will show for each partition the files read and write to the Flash location)

## Resetting to default environment
Start SD downloading...
497664 bytes read in 25 ms (19 MiB/s)
spinor id = 1C 71 18
SF: Detected EN25QX128A with page size 256 Bytes, erase size 64 KiB, total 16 MiB
......
Header Version:1
2996612 bytes read in 137 ms (20.9 MiB/s)
device 0 offset 0x100000, size 0x2db944
0 bytes written, 2996548 bytes skipped in 0.125s, speed 23972384 B/s
sf update speed 22.196 MB/s
64 bytes read in 3 ms (20.5 KiB/s)
Header Version:1
......
Saving Environment to SPIFlash... Erasing SPI flash...Writing to SPI flash...done
Valid environment: 1
OK
cv180x_c906#

3.4. Precautions

Please make sure the SD Card is properly formatted to FAT32 format.