the RK3308 manual describes the availability of JTAG/SWD (see p. 38 - pins JTAG_TCK/JTAG_TMS seem to implement clock and data for SWD).
It seems that the two pins are multiplexed with SPI2_MISO and SPI2_MOSI (GPIO55/54), which are available on pins 19 and 21 of GPIO header 1.
I haven’t tried using the SWD interface so far (just received the board two hours ago). Has anyone tried to use SWD with e.g. OpenOCD already? If so, does one have to configure something (register, pin config at powerup) in order to access SWD?
after compilation of uboot i tried to load it to memory without success (~4.8mb).
using rkdeveloptool db rk3308_loader_uart0_m0_emmc_port_support_sd_20190717.bin before loading using gdb leads to, at least, successfull load.
maybe upstream evb-rk3308_defconfig is not the best choice.
revisited iii:
seems all cortex-a35 chips from rockchip (rk1808, px30, rk3308, rk3326) have jtag pins enabled, rk3308.cfg merged to master of openocd, will be in 0.11.0