3. Burning Instructions

3.1. Preparation Before Use

  • the corresponding contentsectionproducethe corresponding contentBurningthe corresponding content。

  • FAT32formatthe corresponding contentMicro SDthe corresponding content。

3.2. Operation Procedure

  • the corresponding contentBurningthe corresponding content(as followsTable)the corresponding contentSDthe corresponding content。

  • the corresponding contentSDthe corresponding contentCVITEK EVBthe corresponding contentSDthe corresponding content。

  • the corresponding content。

3.3. Operation Example

usethe corresponding contentverifyFile,FilePaththe corresponding contentinstall/soc_$CHIP_$BOARD/the corresponding content,the corresponding contentContentsthe corresponding contentupgrade.zip extractthe corresponding contentContentthe corresponding contentramboot.itb the corresponding contentSDthe corresponding content。

the corresponding contentSPINANDthe corresponding content

the corresponding contentSPINORthe corresponding content

the corresponding contentEMMCthe corresponding content

1.8M yoc.bin(the corresponding contentSystem)

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(the corresponding contentSystem)

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(the corresponding contentSystem)

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

the corresponding content:the corresponding contentTablethe corresponding contentyoc.binFilethe corresponding contentSystemthe corresponding contentFile,the corresponding contentSystemenvironmentthe corresponding content

the corresponding contentSDthe corresponding content,the corresponding contentCV184Xthe corresponding content,automaticstartBurningthe corresponding content, DL flag Tablethe corresponding contentICthe corresponding contentSD Cardthe corresponding contentcanBurningthe corresponding content。

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

the corresponding contentBurningcompletethe corresponding content,the corresponding contentUARTportthe corresponding contentinformation。

## Resetting to default environment
Start SD downloading...
mmc1 : finished tuning, code:61
switch to partitions #0, OK
mmc0 is current device
361984 bytes read in 14 ms (24.7 MiB/s)
SF: Detected EN25QX128A with page size 256 Bytes, erase size 4 KiB, total 16 MiB
......
Header Version:1
2501256 bytes read in 29 ms (82.3 MiB/s)
device 0 offset 0x300000, size 0x262a48
2501192 bytes written, 0 bytes skipped in 22.889s, speed 111877 B/s
sf update speed 0.109 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: 2
OK
cv184x#

the corresponding content,the corresponding contentSDthe corresponding content,the corresponding content,canthe corresponding contentas followsinformation,the corresponding contentcompleteBurningthe corresponding content。(logthe corresponding contentPartition,displayReadthe corresponding content,WriteFlashthe corresponding content)

Starting kernel ...

...

Starting app...
Starting klogd: OK
Starting syslogd: OK

Welcome to CviLinux.
[root@cvitek]~#

3.4. Package the Burner Image

pack_prog_img Yesthe corresponding contentSystemthe corresponding contentfunction,the corresponding contentSupportedBurningthe corresponding contentBurning,Supportedthe corresponding contentType(nand、nor、emmc)。

the corresponding content:

pack_prog_img [nandid]

# where nandid = 0x{DID/MID} the corresponding contentParameter,the corresponding content storage Typethe corresponding content nand the corresponding contentneed,the corresponding contentdatasheetthe corresponding contentboard sidedmesgthe corresponding content。
# For example:nand: device found, Manufacturer ID: 0x0b, Chip ID: 0x35 ;the corresponding contentnandid = 0x350b

OutputContents:

{SDK}/install/{board}/burnimages/

the corresponding contentOutputFileas follows:

  • NAND:OutputFilethe corresponding content {SDK}/install/{board}/rawimages/ Contentsthe corresponding contentFilethe corresponding content(the corresponding contentfip_spl.binthe corresponding contentprocess,fip.binthe corresponding content),the corresponding contentcontainPartitionTableinformationFile partition_info.txt

  • NOR :the corresponding contentOutput Data.bin File

  • eMMC:Output Data.bin the corresponding content Boot.bin (containfip.bin)the corresponding contentFile

the corresponding contentOther shell the corresponding contentcallExample:

source build/envsetup_soc.sh
defconfig cv1842cp_sm3_81_spinand
pack_prog_img 0x95c8

3.5. Precautions

the corresponding contentverifySD Cardthe corresponding contentformatthe corresponding contentFAT32format。