AM62p SK EVM
Introduction
The AM62p starter kit (SK) evaluation module (EVM) is a stand-alone test and development platform built around the AM62p (SoC).
The AM62p is only available in HS-FS (High Secure, Field Securable). There are no GP (Global Purpose) variants for AM62p.
Initial flashing procedure
Flashing Android the first time requires booting from DFU.
First, make sure to install snagboot
following
the official instructions
Make sure to install the udev rules as documented:
$ snagrecover --udev > 50-snagboot.rules
$ sudo cp 50-snagboot.rules /etc/udev/rules.d/
$ sudo udevadm control --reload-rules
$ sudo udevadm trigger
Then, the following steps are required:
Change
BOOTMODE
DIP switches for DFU (USB) boot:Switch Label
SW2: 12345678
SW3: 12345678
USB DFU
00000000
11001010
Ensure the device is plugged in with USB Host and Debug UART/Serial Debug.
Open a terminal debugger to view console output from the device:
$ sudo picocom -b 115200 -r -l /dev/ttyUSB0
Run
snagrecover
# for AM62p SK EVM (HS-FS only) $ snagrecover -s am625 -f ./am62px-sk-evm-hsfs.yaml
In the serial console, you will see some logs ending with:
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.5--v09.00.05 (Kool Koala)') SPL initial stack usage: 1856 bytes MMC: no card present ** Bad device specification mmc 1 ** Couldn't find partition mmc 1:1 Error: could not access storage. Trying to boot from DFU
Type
Ctrl-C
in the serial console to continue to U-Boot. Then hit any key to halt on the U-Boot prompt.Make sure the default U-Boot environment is configured
=> env default -a -f => saveenv
Start fastboot
=> fastboot usb 0
In a different terminal, change directory to
out/target/product/am62p
and run theflashall.sh
script:$ cd out/target/product/am62p # For AM62P SK EVM (HS-FS only: by default) $ sudo ./flashall.sh --board am62px-sk
Change Boot mode DIP switches to boot from eMMC UDA mode and power cycle the board:
Switch Label
SW2: 12345678
SW3: 12345678
EMMC (with UDA)
00000000
11000010
Device Tree Overlays
Device Tree Overlays (DTBO) can be enabled from U-Boot when extra
peripherals are connected to the board.
DTBOs are board specific.
To configure dtbos, reboot to the U-Boot console and set
the adtbo_idx
environment variable.
=> env set adtbo_idx '2'
=> saveenv
Note
Enabling multiple DTBOs is not supported.
Here is the list of adtbo_idx
that is supported on AM62p SK EVM:
Index |
Description |
---|---|
0 |
HDMI audio output (bridge by shorting a (J24) header on the board.) |
1 |
Digilent PCam 5C OV5640 Camera |
2 |
TEVI-OV5640C-S84-IR-RPI Camera |
4 |
Enable MAIN and MCU GPIO + CANUART wakeup source |
9 |
4x MCAN interfaces (requires external CAN transceivers) |
10 |
Microtips Technology USA 10.1” WUXGA (1920x1200) OLDI panel |
12 |
M.2-CC3301 WiFi board on the M.2 connector |
14 |
RPi 7inch touchscreen DSI panel |
Additional connectors
The EVK includes multiple external connectors such as DSI, CSI and LVDS. Below is an overview with pictures on how to connect them.
RPi touchscreen via DSI
