diff options
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-bsp/si-tools/files')
-rw-r--r-- | meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si-tools.tar.gz | bin | 0 -> 22147 bytes | |||
-rw-r--r-- | meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si_firmware_update | 9 | ||||
-rw-r--r-- | meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si_init | 13 |
3 files changed, 22 insertions, 0 deletions
diff --git a/meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si-tools.tar.gz b/meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si-tools.tar.gz Binary files differnew file mode 100644 index 0000000..5a52c9b --- /dev/null +++ b/meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si-tools.tar.gz diff --git a/meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si_firmware_update b/meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si_firmware_update new file mode 100644 index 0000000..7e528ef --- /dev/null +++ b/meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si_firmware_update @@ -0,0 +1,9 @@ +#!/bin/sh +SI_ARGS="/dev/i2c-11 0x65" + +#si_init +si_flash ${SI_ARGS} -i -e +si_flash ${SI_ARGS} -i -o 0x002000 -w /lib/firmware/si46xx/rom00_patch.016.bin +si_flash ${SI_ARGS} -i -o 0x006000 -w /lib/firmware/si46xx/fmhd_radio_4_0_12.bif +si_flash ${SI_ARGS} -i -o 0x086000 -w /lib/firmware/si46xx/dab_radio_4_0_5.bif +si_flash ${SI_ARGS} -i -o 0x106000 -w /lib/firmware/si46xx/amhd_radio_2_0_11.bif diff --git a/meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si_init b/meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si_init new file mode 100644 index 0000000..523169e --- /dev/null +++ b/meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si_init @@ -0,0 +1,13 @@ +#!/bin/sh + +#RST PCA@21 (base = 325) + 7 +echo 332 > /sys/class/gpio/export +echo out > /sys/class/gpio/gpio332/direction + +#RST = 0 +echo 0 > /sys/class/gpio/gpio332/value +#sleep 1 +#RST = 1 +echo 1 > /sys/class/gpio/gpio332/value + +echo 332 > /sys/class/gpio/unexport |