Skip to content

Instantly share code, notes, and snippets.

@lennart
Created May 20, 2020 18:41
Show Gist options
  • Save lennart/8a4d2ae0a61c3d69239259e5396cfff8 to your computer and use it in GitHub Desktop.
Save lennart/8a4d2ae0a61c3d69239259e5396cfff8 to your computer and use it in GitHub Desktop.
manual kick script (stock axiom beta firmware)
#!/bin/bash
cd "${0%/*}" # change into script dir
. ./cmv.func
. ./hdmi.func
. ./i2c0.func
./fclk_init.sh
./zynq_info.sh
cat cmv_hdmi3.bit >/dev/xdevcfg
devmem 0xF8006210 32 0x00001
devmem 0xF8006214 32 0x00001
devmem 0xF8000600 32 0x84
./power_init.sh
./gpio.py init
./power_on.sh
./pac1720_info.sh
while sleep 1; do
./power_on.sh
fil_reg 15 0x08000800
fil_reg 15 0x0
./cmv_init.sh
./cmv_train3 && break
./power_init.sh
done
i2c0_bit_set 0x22 0x15 7
./setup.sh
./ingmar.sh
# ./hdmi_init.sh
# ./pic_jtag_pcie.py 0x00 0x12
fil_reg 15 0x01000100
./mimg -a -o /opt/OVERLAY/overlay_05.rgb
# ./mimg -a -o /opt/OVERLAY/overlay_04.rgb
./cmv_snap3 -z -e 11.7ms
./rf_sel.py A
./pic_jtag_pcie.py 0x92 0x92
# ./set_gain.sh 3
# gen_reg 11 0x0004F000
# ./mimg -a -o -P 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment