Skip to content

Commit d9c7d51

Browse files
committed
templates: Add Ambarella CV22 device template
Adds recovery configuration template for CV22: - Device identification (VID/PID) - Required firmware files - Recovery steps and flow - Documentation and notes
1 parent 35b99bb commit d9c7d51

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Ambarella CV22 recovery configuration
2+
3+
# Device identification
4+
vid: 0x1b8e # Ambarella vendor ID
5+
pid: 0xc022 # CV22 product ID
6+
7+
# Recovery protocol
8+
protocol: amba
9+
10+
# Required firmware files
11+
firmware:
12+
# DRAM initialization script
13+
dram_script:
14+
path: cv22_lpddr4_408MHz.ads
15+
description: DRAM initialization script for CV22 LPDDR4 at 408MHz
16+
17+
# Bootloader binary
18+
bootloader:
19+
path: cv22_bld_linux_emmc.bin
20+
description: CV22 bootloader for Linux eMMC boot
21+
22+
# Recovery steps
23+
steps:
24+
- name: Initialize DRAM
25+
action: initialize_dram
26+
description: Initialize device DRAM using ADS script
27+
28+
- name: Load bootloader
29+
action: load_bootloader
30+
description: Load bootloader to device memory
31+
32+
- name: Flash firmware
33+
action: flash_firmware
34+
description: Flash firmware image to device
35+
args:
36+
firmware: firmware.bin # Firmware image to flash
37+
38+
# Recovery flow description
39+
description: |
40+
Recovery process for Ambarella CV22 devices:
41+
1. Device enters USB recovery mode
42+
2. Initialize DRAM using ADS script
43+
3. Load bootloader to memory
44+
4. Flash firmware image
45+
5. Device boots from flashed firmware
46+
47+
# Additional notes
48+
notes: |
49+
- Ensure device is in USB recovery mode before starting
50+
- DRAM script and bootloader files must be in firmware directory
51+
- Firmware image should be compatible with CV22

0 commit comments

Comments
 (0)