diff --git a/.github/workflows/matrix_build.yml b/.github/workflows/matrix_build.yml index f3223497..f930ea21 100644 --- a/.github/workflows/matrix_build.yml +++ b/.github/workflows/matrix_build.yml @@ -57,6 +57,7 @@ jobs: - ssc335 - ssc338q - t31 + - t40 - xm510 - xm530 @@ -194,6 +195,7 @@ jobs: - gk7202v300 - gk7605v100 - t31 + - t40 release: - lite - ultimate diff --git a/Makefile b/Makefile index 35d7e8e9..23d75576 100644 --- a/Makefile +++ b/Makefile @@ -75,7 +75,7 @@ else DEBIAN_FRONTEND=noninteractive apt-get update && \ apt-get -y install \ build-essential git make libncurses-dev wget curl \ - cpio rsync bc unzip file + cpio rsync bc unzip file lzop endif diff --git a/br-ext-chip-sigmastar/board/infinity6e/kernel/overlay/arch/arm/boot/dts/infinity6e-ssc338q-camhi.dts b/br-ext-chip-sigmastar/board/infinity6e/kernel/overlay/arch/arm/boot/dts/infinity6e-ssc338q-camhi.dts deleted file mode 100644 index 6677914b..00000000 --- a/br-ext-chip-sigmastar/board/infinity6e/kernel/overlay/arch/arm/boot/dts/infinity6e-ssc338q-camhi.dts +++ /dev/null @@ -1,2252 +0,0 @@ -/dts-v1/; - -/ { - #address-cells = <0x01>; - #size-cells = <0x01>; - model = "INFINITY6E SSC012B-S01A"; - compatible = "sstar,infinity6e"; - - chosen { - bootargs = "console=ttyS0,38400n8r androidboot.console=ttyS0 root=/dev/mtdblock0 init=/linuxrc LX_MEM=0x3ee0000 mma_heap=mma_heap_name0,miu=0,sz=0x2000000 mma_memblock_remove=1"; - }; - - aliases { - console = "/soc/uart0@1F221000"; - serial0 = "/soc/uart0@1F221000"; - serial1 = "/soc/uart1@1F221200"; - serial2 = "/soc/uart2@1F220400"; - }; - - memory { - device_type = "memory"; - reg = <0x20000000 0x6000000>; - }; - - camclkinit { - compatible = "camdriver,camclkinit"; - status = "ok"; - }; - - camclk { - compatible = "camdriver,camclk"; - status = "ok"; - }; - - camclkut { - compatible = "camdriver,camclkut"; - status = "ok"; - }; - - cpus { - #address-cells = <0x01>; - #size-cells = <0x00>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a7"; - clock-frequency = <0x3b9aca00>; - clocks = <0x01>; - reg = <0x00>; - operating-points = <0x124f80 0xf4240 0x10c8e0 0xf4240 0xf4240 0xdbba0 0xdbba0 0xdbba0 0xc3500 0xcf850 0x927c0 0xcf850 0x61a80 0xcf850>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a7"; - clock-frequency = <0x3b9aca00>; - clocks = <0x01>; - reg = <0x01>; - }; - }; - - oscillator { - compatible = "fixed-clock"; - #clock-cells = <0x00>; - clock-frequency = <0xb71b00>; - }; - - phy { - compatible = "sstar,infinity6e-sata-phy"; - io_phy_addr = <0x1f000000>; - banks = <0x1523 0x1524 0x1525>; - reg = <0x1f2a4600 0x300>; - #phy-cells = <0x00>; - phy_type = "utmi"; - status = "ok"; - linux,phandle = <0x71>; - phandle = <0x71>; - }; - - soc { - compatible = "simple-bus"; - interrupt-parent = <0x02>; - #address-cells = <0x01>; - #size-cells = <0x01>; - ranges; - - gic@16000000 { - compatible = "arm,cortex-a7-gic"; - #interrupt-cells = <0x03>; - #address-cells = <0x01>; - #size-cells = <0x01>; - interrupt-controller; - interrupt-parent = <0x03>; - reg = <0x16001000 0x1000 0x16002000 0x1000>; - linux,phandle = <0x03>; - phandle = <0x03>; - }; - - ms_main_intc { - compatible = "sstar,main-intc"; - #interrupt-cells = <0x03>; - #address-cells = <0x01>; - #size-cells = <0x01>; - interrupt-parent = <0x03>; - interrupt-controller; - linux,phandle = <0x02>; - phandle = <0x02>; - }; - - ms_pm_intc { - compatible = "sstar,pm-intc"; - #interrupt-cells = <0x01>; - interrupt-parent = <0x02>; - interrupt-controller; - interrupts = <0x00 0x22 0x04>; - }; - - ms_gpi_intc { - compatible = "sstar,gpi-intc"; - #interrupt-cells = <0x01>; - interrupt-parent = <0x02>; - interrupt-controller; - interrupts = <0x00 0x58 0x04>; - linux,phandle = <0x5d>; - phandle = <0x5d>; - }; - - arch_timer { - compatible = "arm,cortex-a7-timer\0arm,armv7-timer"; - interrupt-parent = <0x03>; - interrupts = <0x01 0x0d 0x308 0x01 0x0e 0x308 0x01 0x0b 0x308 0x01 0x0a 0x308>; - clock-frequency = <0x5b8d80>; - always-on; - }; - - pmu { - compatible = "arm,cortex-a7-pmu"; - interrupt-parent = <0x03>; - interrupts = <0x00 0x0a 0x04 0x00 0x10 0x04 0x00 0x16 0x04 0x00 0x1c 0x04>; - }; - - clocks { - #address-cells = <0x01>; - #size-cells = <0x01>; - ranges; - - CLK_VOID { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x01>; - linux,phandle = <0x17>; - phandle = <0x17>; - }; - - CLK_utmi_480m { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x1c9c3800>; - linux,phandle = <0x35>; - phandle = <0x35>; - }; - - CLK_mpll_432m { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x19bfcc00>; - linux,phandle = <0x14>; - phandle = <0x14>; - }; - - CLK_upll_384m { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x16e36000>; - linux,phandle = <0x15>; - phandle = <0x15>; - }; - - CLK_mpll_345m { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x14904840>; - linux,phandle = <0x3e>; - phandle = <0x3e>; - }; - - CLK_upll_320m { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x1312d000>; - linux,phandle = <0x36>; - phandle = <0x36>; - }; - - CLK_mpll_288m { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x112a8800>; - linux,phandle = <0x04>; - phandle = <0x04>; - }; - - CLK_utmi_240m { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0xe4e1c00>; - linux,phandle = <0x37>; - phandle = <0x37>; - }; - - CLK_mpll_216m { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0xcdfe600>; - linux,phandle = <0x05>; - phandle = <0x05>; - }; - - CLK_utmi_192m { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0xb71b000>; - linux,phandle = <0x08>; - phandle = <0x08>; - }; - - CLK_mpll_172m { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0xa4cb800>; - linux,phandle = <0x26>; - phandle = <0x26>; - }; - - CLK_utmi_160m { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x9896800>; - linux,phandle = <0x09>; - phandle = <0x09>; - }; - - CLK_mpll_123m { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x75aef40>; - linux,phandle = <0x06>; - phandle = <0x06>; - }; - - CLK_mpll_86m { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x5265c00>; - linux,phandle = <0x07>; - phandle = <0x07>; - }; - - CLK_mpll_288m_div2 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x04>; - clock-div = <0x02>; - clock-mult = <0x01>; - linux,phandle = <0x27>; - phandle = <0x27>; - }; - - CLK_mpll_288m_div4 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x04>; - clock-div = <0x04>; - clock-mult = <0x01>; - linux,phandle = <0x23>; - phandle = <0x23>; - }; - - CLK_mpll_288m_div8 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x04>; - clock-div = <0x08>; - clock-mult = <0x01>; - linux,phandle = <0x20>; - phandle = <0x20>; - }; - - CLK_mpll_216m_div2 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x05>; - clock-div = <0x02>; - clock-mult = <0x01>; - linux,phandle = <0x1c>; - phandle = <0x1c>; - }; - - CLK_mpll_216m_div4 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x05>; - clock-div = <0x04>; - clock-mult = <0x01>; - linux,phandle = <0x22>; - phandle = <0x22>; - }; - - CLK_mpll_216m_div8 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x05>; - clock-div = <0x08>; - clock-mult = <0x01>; - linux,phandle = <0x1f>; - phandle = <0x1f>; - }; - - CLK_mpll_123m_div2 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x06>; - clock-div = <0x02>; - clock-mult = <0x01>; - linux,phandle = <0x2b>; - phandle = <0x2b>; - }; - - CLK_mpll_86m_div2 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x07>; - clock-div = <0x02>; - clock-mult = <0x01>; - linux,phandle = <0x2d>; - phandle = <0x2d>; - }; - - CLK_mpll_86m_div4 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x07>; - clock-div = <0x04>; - clock-mult = <0x01>; - linux,phandle = <0x2e>; - phandle = <0x2e>; - }; - - CLK_mpll_86m_div16 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x07>; - clock-div = <0x10>; - clock-mult = <0x01>; - linux,phandle = <0x2f>; - phandle = <0x2f>; - }; - - CLK_utmi_192m_div4 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x08>; - clock-div = <0x04>; - clock-mult = <0x01>; - linux,phandle = <0x2c>; - phandle = <0x2c>; - }; - - CLK_utmi_160m_div4 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x09>; - clock-div = <0x04>; - clock-mult = <0x01>; - linux,phandle = <0x38>; - phandle = <0x38>; - }; - - CLK_utmi_160m_div5 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x09>; - clock-div = <0x05>; - clock-mult = <0x01>; - linux,phandle = <0x3b>; - phandle = <0x3b>; - }; - - CLK_utmi_160m_div8 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x09>; - clock-div = <0x08>; - clock-mult = <0x01>; - linux,phandle = <0x3c>; - phandle = <0x3c>; - }; - - CLK_xtali_12m { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0xb71b00>; - linux,phandle = <0x0a>; - phandle = <0x0a>; - }; - - CLK_xtali_12m_div2 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0a>; - clock-div = <0x02>; - clock-mult = <0x01>; - linux,phandle = <0x24>; - phandle = <0x24>; - }; - - CLK_xtali_12m_div4 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0a>; - clock-div = <0x04>; - clock-mult = <0x01>; - linux,phandle = <0x25>; - phandle = <0x25>; - }; - - CLK_xtali_12m_div8 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0a>; - clock-div = <0x08>; - clock-mult = <0x01>; - linux,phandle = <0x18>; - phandle = <0x18>; - }; - - CLK_xtali_12m_div16 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0a>; - clock-div = <0x10>; - clock-mult = <0x01>; - linux,phandle = <0x19>; - phandle = <0x19>; - }; - - CLK_xtali_12m_div40 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0a>; - clock-div = <0x28>; - clock-mult = <0x01>; - linux,phandle = <0x3d>; - phandle = <0x3d>; - }; - - CLK_xtali_12m_div64 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0a>; - clock-div = <0x40>; - clock-mult = <0x01>; - linux,phandle = <0x1a>; - phandle = <0x1a>; - }; - - CLK_xtali_12m_div128 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0a>; - clock-div = <0x80>; - clock-mult = <0x01>; - linux,phandle = <0x1b>; - phandle = <0x1b>; - }; - - CLK_xtali_24m { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x16e3600>; - linux,phandle = <0x0b>; - phandle = <0x0b>; - }; - - CLK_RTC_CLK_32K { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x7d00>; - }; - - CLK_pm_riu_w_clk_in { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x66ff300>; - }; - - CLK_miupll_clk { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x17d78400>; - linux,phandle = <0x16>; - phandle = <0x16>; - }; - - CLK_ddrpll_clk { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x7f22ff40>; - }; - - CLK_lpll_clk { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x5f5e100>; - linux,phandle = <0x30>; - phandle = <0x30>; - }; - - CLK_ven_pll { - #clock-cells = <0x00>; - compatible = "sstar,complex-clock"; - clocks = <0x0b>; - linux,phandle = <0x39>; - phandle = <0x39>; - }; - - CLK_ven_pll_div6 { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x632ea00>; - linux,phandle = <0x21>; - phandle = <0x21>; - }; - - CLK_lpll_div2 { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x2faf080>; - linux,phandle = <0x31>; - phandle = <0x31>; - }; - - CLK_lpll_div4 { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x17d7840>; - linux,phandle = <0x32>; - phandle = <0x32>; - }; - - CLK_lpll_div8 { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0xbebc20>; - linux,phandle = <0x33>; - phandle = <0x33>; - }; - - CLK_armpll_37p125m { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x23c3460>; - linux,phandle = <0x34>; - phandle = <0x34>; - }; - - CLK_riu_w_clk_in { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0c>; - clock-div = <0x01>; - clock-mult = <0x01>; - }; - - CLK_riu_w_clk_top { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0c>; - clock-div = <0x01>; - clock-mult = <0x01>; - }; - - CLK_riu_w_clk_sc_gp { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0c>; - clock-div = <0x01>; - clock-mult = <0x01>; - }; - - CLK_riu_w_clk_vhe_gp { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0c>; - clock-div = <0x01>; - clock-mult = <0x01>; - }; - - CLK_riu_w_clk_hemcu_gp { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0c>; - clock-div = <0x01>; - clock-mult = <0x01>; - }; - - CLK_riu_w_clk_mipi_if_gp { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0c>; - clock-div = <0x01>; - clock-mult = <0x01>; - }; - - CLK_riu_w_clk_mcu_if_gp { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0c>; - clock-div = <0x01>; - clock-mult = <0x01>; - }; - - CLK_fuart0_synth_out { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x19bfcc00>; - linux,phandle = <0x28>; - phandle = <0x28>; - }; - - CLK_miu_p { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0d>; - clock-div = <0x01>; - clock-mult = <0x01>; - linux,phandle = <0x1e>; - phandle = <0x1e>; - }; - - CLK_mspi0_p { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0e>; - clock-div = <0x01>; - clock-mult = <0x01>; - linux,phandle = <0x29>; - phandle = <0x29>; - }; - - CLK_mspi1_p { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0f>; - clock-div = <0x01>; - clock-mult = <0x01>; - linux,phandle = <0x2a>; - phandle = <0x2a>; - }; - - CLK_miu_vhe_gp_p { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0d>; - clock-div = <0x01>; - clock-mult = <0x01>; - }; - - CLK_miu_sc_gp_p { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0d>; - clock-div = <0x01>; - clock-mult = <0x01>; - }; - - CLK_mcu_p { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x0c>; - clock-div = <0x01>; - clock-mult = <0x01>; - linux,phandle = <0x1d>; - phandle = <0x1d>; - }; - - CLK_fclk1_p { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x10>; - clock-div = <0x01>; - clock-mult = <0x01>; - linux,phandle = <0x12>; - phandle = <0x12>; - }; - - CLK_sdio_p { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x11>; - clock-div = <0x01>; - clock-mult = <0x01>; - }; - - CLK_tck_buf { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x2faf080>; - }; - - CLK_eth_buf { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x7735940>; - linux,phandle = <0x3f>; - phandle = <0x3f>; - }; - - CLK_rmii_buf { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x7735940>; - linux,phandle = <0x40>; - phandle = <0x40>; - }; - - CLK_emac_testrx125_in_lan { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x7735940>; - linux,phandle = <0x3a>; - phandle = <0x3a>; - }; - - CLK_gop0 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x12>; - clock-div = <0x01>; - clock-mult = <0x01>; - linux,phandle = <0x48>; - phandle = <0x48>; - }; - - CLK_rtc_32k { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x8000>; - linux,phandle = <0x41>; - phandle = <0x41>; - }; - - CLK_fro { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x2dc6c00>; - linux,phandle = <0x13>; - phandle = <0x13>; - }; - - CLK_fro_div2 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x13>; - clock-div = <0x02>; - clock-mult = <0x01>; - linux,phandle = <0x43>; - phandle = <0x43>; - }; - - CLK_fro_div8 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x13>; - clock-div = <0x08>; - clock-mult = <0x01>; - linux,phandle = <0x42>; - phandle = <0x42>; - }; - - CLK_fro_div16 { - #clock-cells = <0x00>; - compatible = "fixed-factor-clock"; - clocks = <0x13>; - clock-div = <0x10>; - clock-mult = <0x01>; - linux,phandle = <0x44>; - phandle = <0x44>; - }; - - CLK_cpupll_clk { - #clock-cells = <0x00>; - compatible = "sstar,complex-clock"; - clocks = <0x14>; - linux,phandle = <0x01>; - phandle = <0x01>; - }; - - CLK_utmi { - #clock-cells = <0x00>; - compatible = "fixed-clock"; - clock-frequency = <0x1c9c3800>; - linux,phandle = <0x70>; - phandle = <0x70>; - }; - - CLK_bach { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x15>; - reg = <0x1f2071b4 0x04>; - gate-shift = <0x07>; - linux,phandle = <0x56>; - phandle = <0x56>; - }; - - CLK_miu { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x05 0x16 0x17 0x17>; - reg = <0x1f20705c 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - glitch-shift = <0x04>; - auto-enable = <0x01>; - linux,phandle = <0x0d>; - phandle = <0x0d>; - }; - - CLK_miu_boot { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x0a 0x0d>; - reg = <0x1f20705c 0x04>; - mux-shift = <0x02>; - mux-width = <0x01>; - gate-shift = <0x00>; - auto-enable = <0x01>; - }; - - CLK_ddr_syn { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x14 0x05 0x0a 0x17>; - reg = <0x1f207064 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - auto-enable = <0x01>; - }; - - CLK_miu_rec { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x18 0x19 0x1a 0x1b>; - reg = <0x1f207060 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - auto-enable = <0x01>; - }; - - CLK_mcu { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x05 0x14 0x15 0x1c>; - reg = <0x1f207004 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - glitch-shift = <0x04>; - auto-enable = <0x01>; - linux,phandle = <0x0c>; - phandle = <0x0c>; - }; - - CLK_riubrdg { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x1d 0x17 0x17 0x17>; - reg = <0x1f207004 0x04>; - mux-shift = <0x0a>; - mux-width = <0x02>; - gate-shift = <0x08>; - auto-enable = <0x01>; - }; - - CLK_bdma { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x1e 0x17 0x17 0x17>; - reg = <0x1f207180 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x63>; - phandle = <0x63>; - }; - - CLK_spi_arb { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x05 0x1c 0x07 0x1e>; - reg = <0x1f2070c8 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - glitch-shift = <0x04>; - auto-enable = <0x01>; - }; - - CLK_spi_flash { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x0a 0x1f 0x20 0x21 0x22 0x23 0x07 0x1c>; - reg = <0x1f2070e0 0x04>; - mux-shift = <0x02>; - mux-width = <0x03>; - gate-shift = <0x00>; - glitch-shift = <0x05>; - auto-enable = <0x01>; - }; - - CLK_pwm { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x0a 0x24 0x25 0x18 0x0b 0x07 0x17 0x17>; - reg = <0x1f2070e0 0x04>; - mux-shift = <0x0a>; - mux-width = <0x03>; - gate-shift = <0x08>; - auto-enable = <0x00>; - linux,phandle = <0x6e>; - phandle = <0x6e>; - }; - - CLK_uart0 { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x26 0x27 0x0a 0x17>; - reg = <0x1f2070c4 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x60>; - phandle = <0x60>; - }; - - CLK_uart1 { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x26 0x27 0x0a 0x17>; - reg = <0x1f2070c4 0x04>; - mux-shift = <0x0a>; - mux-width = <0x02>; - gate-shift = <0x08>; - auto-enable = <0x00>; - linux,phandle = <0x61>; - phandle = <0x61>; - }; - - CLK_fuart0_synth_in { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x14 0x05 0x17 0x17>; - reg = <0x1f2070d0 0x04>; - mux-shift = <0x06>; - mux-width = <0x02>; - gate-shift = <0x04>; - auto-enable = <0x00>; - }; - - CLK_fuart { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x26 0x27 0x0a 0x28>; - reg = <0x1f2070d0 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x62>; - phandle = <0x62>; - }; - - CLK_mspi0 { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x1c 0x22 0x0a 0x27>; - reg = <0x1f2070cc 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x0e>; - phandle = <0x0e>; - }; - - CLK_mspi1 { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x1c 0x22 0x0a 0x27>; - reg = <0x1f2070cc 0x04>; - mux-shift = <0x0a>; - mux-width = <0x02>; - gate-shift = <0x08>; - auto-enable = <0x00>; - linux,phandle = <0x0f>; - phandle = <0x0f>; - }; - - CLK_mspi { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x29 0x2a>; - reg = <0x1f2070cc 0x04>; - mux-shift = <0x0e>; - mux-width = <0x01>; - gate-shift = <0x0c>; - auto-enable = <0x00>; - linux,phandle = <0x5b>; - phandle = <0x5b>; - }; - - CLK_miic0 { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x23 0x22 0x0a 0x17>; - reg = <0x1f2070dc 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x5c>; - phandle = <0x5c>; - }; - - CLK_miic1 { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x23 0x22 0x0a 0x17>; - reg = <0x1f2070dc 0x04>; - mux-shift = <0x0a>; - mux-width = <0x02>; - gate-shift = <0x08>; - auto-enable = <0x00>; - linux,phandle = <0x5e>; - phandle = <0x5e>; - }; - - CLK_miic2 { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x23 0x22 0x0a 0x17>; - reg = <0x1f2070dc 0x04>; - mux-shift = <0x0e>; - mux-width = <0x02>; - gate-shift = <0x0c>; - auto-enable = <0x00>; - linux,phandle = <0x5f>; - phandle = <0x5f>; - }; - - CLK_bist { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x26 0x1c 0x22 0x0a>; - reg = <0x1f207008 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - auto-enable = <0x00>; - }; - - CLK_pwr_ctl { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x19 0x18 0x0a 0x17>; - reg = <0x1f207010 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - auto-enable = <0x01>; - }; - - CLK_xtali { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x0a 0x17 0x17 0x17>; - reg = <0x1f207000 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - auto-enable = <0x01>; - }; - - CLK_live { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x0a 0x17 0x17 0x17>; - reg = <0x1f207000 0x04>; - mux-shift = <0x0a>; - mux-width = <0x02>; - gate-shift = <0x08>; - auto-enable = <0x01>; - }; - - CLK_sr00_mclk { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x1f 0x23 0x2b 0x22 0x2c 0x2d 0x20 0x0b 0x2e 0x0a 0x2f 0x30 0x31 0x32 0x33 0x34>; - reg = <0x1f207188 0x04>; - mux-shift = <0x0a>; - mux-width = <0x04>; - gate-shift = <0x08>; - auto-enable = <0x00>; - linux,phandle = <0x57>; - phandle = <0x57>; - }; - - CLK_sr01_mclk { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x1f 0x23 0x2b 0x22 0x2c 0x2d 0x20 0x0b 0x2e 0x0a 0x2f 0x30 0x31 0x32 0x33 0x34>; - reg = <0x1f207194 0x04>; - mux-shift = <0x02>; - mux-width = <0x04>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x59>; - phandle = <0x59>; - }; - - CLK_sr1_mclk { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x1f 0x23 0x2b 0x22 0x2c 0x2d 0x20 0x0b 0x2e 0x0a 0x2f 0x30 0x31 0x32 0x33 0x34>; - reg = <0x1f207194 0x04>; - mux-shift = <0x0a>; - mux-width = <0x04>; - gate-shift = <0x08>; - auto-enable = <0x00>; - linux,phandle = <0x58>; - phandle = <0x58>; - }; - - CLK_bist_pm { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x1c 0x22 0x1f 0x0a>; - reg = <0x1f207008 0x04>; - mux-shift = <0x0a>; - mux-width = <0x02>; - gate-shift = <0x08>; - auto-enable = <0x00>; - }; - - CLK_bist_ipu_gp { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x04 0x05 0x26 0x1c 0x07 0x22 0x1f 0x0a>; - reg = <0x1f207014 0x04>; - mux-shift = <0x02>; - mux-width = <0x03>; - gate-shift = <0x00>; - auto-enable = <0x01>; - }; - - CLK_ipu { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x0a 0x35 0x14 0x15 0x36 0x37 0x05 0x06>; - reg = <0x1f207140 0x04>; - mux-shift = <0x02>; - mux-width = <0x03>; - gate-shift = <0x00>; - auto-enable = <0x00>; - }; - - CLK_ipuff { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x14 0x15 0x36 0x37>; - reg = <0x1f207140 0x04>; - mux-shift = <0x0a>; - mux-width = <0x02>; - gate-shift = <0x08>; - auto-enable = <0x00>; - }; - - CLK_bist_usb30_gp { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x26 0x1c 0x22 0x0a>; - reg = <0x1f207014 0x04>; - mux-shift = <0x0a>; - mux-width = <0x02>; - gate-shift = <0x08>; - auto-enable = <0x00>; - }; - - CLK_csi_mac_lptx_top_i_m00 { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x05 0x37 0x26 0x27 0x07 0x38 0x17 0x17>; - reg = <0x1f207160 0x04>; - mux-shift = <0x02>; - mux-width = <0x03>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x4b>; - phandle = <0x4b>; - }; - - CLK_csi_mac_top_i_m00 { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x05 0x37 0x26 0x27 0x07 0x38 0x17 0x17>; - reg = <0x1f207160 0x04>; - mux-shift = <0x0a>; - mux-width = <0x03>; - gate-shift = <0x08>; - auto-enable = <0x00>; - linux,phandle = <0x4c>; - phandle = <0x4c>; - }; - - CLK_ns_top_i_m00 { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x05 0x37 0x26 0x27 0x07 0x38 0x17 0x17>; - reg = <0x1f207164 0x04>; - mux-shift = <0x02>; - mux-width = <0x03>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x4d>; - phandle = <0x4d>; - }; - - CLK_csi_mac_lptx_top_i_m01 { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x05 0x37 0x26 0x27 0x07 0x38 0x17 0x17>; - reg = <0x1f207164 0x04>; - mux-shift = <0x0a>; - mux-width = <0x03>; - gate-shift = <0x08>; - auto-enable = <0x00>; - linux,phandle = <0x51>; - phandle = <0x51>; - }; - - CLK_csi_mac_top_i_m01 { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x05 0x37 0x26 0x27 0x07 0x38 0x17 0x17>; - reg = <0x1f207168 0x04>; - mux-shift = <0x02>; - mux-width = <0x03>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x52>; - phandle = <0x52>; - }; - - CLK_ns_top_i_m01 { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x05 0x37 0x26 0x27 0x07 0x38 0x17 0x17>; - reg = <0x1f207168 0x04>; - mux-shift = <0x0a>; - mux-width = <0x03>; - gate-shift = <0x08>; - auto-enable = <0x00>; - linux,phandle = <0x53>; - phandle = <0x53>; - }; - - CLK_csi_mac_lptx_top_i_m1 { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x05 0x37 0x26 0x27 0x07 0x38 0x17 0x17>; - reg = <0x1f20716c 0x04>; - mux-shift = <0x02>; - mux-width = <0x03>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x4e>; - phandle = <0x4e>; - }; - - CLK_csi_mac_top_i_m1 { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x05 0x37 0x26 0x27 0x07 0x38 0x17 0x17>; - reg = <0x1f20716c 0x04>; - mux-shift = <0x0a>; - mux-width = <0x03>; - gate-shift = <0x08>; - auto-enable = <0x00>; - linux,phandle = <0x4f>; - phandle = <0x4f>; - }; - - CLK_ns_top_i_m1 { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x05 0x37 0x26 0x27 0x07 0x38 0x17 0x17>; - reg = <0x1f207170 0x04>; - mux-shift = <0x02>; - mux-width = <0x03>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x50>; - phandle = <0x50>; - }; - - CLK_mipi1_tx_csi { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x30 0x09 0x27 0x1c 0x05 0x37 0x04 0x36>; - reg = <0x1f207170 0x04>; - mux-shift = <0x0a>; - mux-width = <0x03>; - gate-shift = <0x08>; - auto-enable = <0x00>; - linux,phandle = <0x55>; - phandle = <0x55>; - }; - - CLK_bist_vhe_gp { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x04 0x05 0x26 0x1c 0x07 0x22 0x1f 0x0a>; - reg = <0x1f20700c 0x04>; - mux-shift = <0x0a>; - mux-width = <0x03>; - gate-shift = <0x08>; - auto-enable = <0x00>; - }; - - CLK_vhe { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x39 0x35 0x14 0x15 0x36 0x04 0x08 0x06>; - reg = <0x1f2071a0 0x04>; - mux-shift = <0x02>; - mux-width = <0x03>; - gate-shift = <0x07>; - auto-enable = <0x00>; - linux,phandle = <0x45>; - phandle = <0x45>; - }; - - CLK_mfe { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x05 0x15 0x36 0x39>; - reg = <0x1f2071a4 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x46>; - phandle = <0x46>; - }; - - CLK_xtali_sc_gp { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x0a 0x17 0x17 0x17>; - reg = <0x1f207000 0x04>; - mux-shift = <0x06>; - mux-width = <0x02>; - gate-shift = <0x04>; - auto-enable = <0x01>; - }; - - CLK_bist_sc_gp { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x04 0x05 0x26 0x1c 0x07 0x22 0x1f 0x0a>; - reg = <0x1f20700c 0x04>; - mux-shift = <0x02>; - mux-width = <0x03>; - gate-shift = <0x00>; - auto-enable = <0x01>; - }; - - CLK_emac_ahb { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x27 0x06 0x07 0x3a>; - reg = <0x1f207108 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x68>; - phandle = <0x68>; - }; - - CLK_jpe { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x35 0x14 0x15 0x36 0x04 0x05 0x17 0x17>; - reg = <0x1f2071a8 0x04>; - mux-shift = <0x02>; - mux-width = <0x03>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x5a>; - phandle = <0x5a>; - }; - - CLK_aesdma { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x07 0x26 0x17 0x17>; - reg = <0x1f207184 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - glitch-shift = <0x04>; - auto-enable = <0x00>; - linux,phandle = <0x6f>; - phandle = <0x6f>; - }; - - CLK_sdio { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x2c 0x2d 0x38 0x20 0x3b 0x3c 0x0a 0x3d>; - reg = <0x1f207114 0x04>; - mux-shift = <0x02>; - mux-width = <0x03>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x11>; - phandle = <0x11>; - }; - - CLK_sd { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x2c 0x2d 0x38 0x20 0x3b 0x3c 0x0a 0x3d>; - reg = <0x1f20710c 0x04>; - mux-shift = <0x02>; - mux-width = <0x03>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x64>; - phandle = <0x64>; - }; - - CLK_ecc { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x09 0x1c 0x22 0x0a>; - reg = <0x1f207110 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - linux,phandle = <0x65>; - phandle = <0x65>; - }; - - CLK_isp { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x36 0x04 0x05 0x08 0x26 0x06 0x23 0x15>; - reg = <0x1f207184 0x04>; - mux-shift = <0x0a>; - mux-width = <0x03>; - gate-shift = <0x08>; - auto-enable = <0x00>; - linux,phandle = <0x4a>; - phandle = <0x4a>; - }; - - CLK_fclk1 { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x3e 0x14 0x15 0x36 0x04 0x37 0x26 0x06>; - reg = <0x1f207190 0x04>; - mux-shift = <0x02>; - mux-width = <0x03>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x10>; - phandle = <0x10>; - }; - - CLK_odclk { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x07 0x2d 0x2e 0x30>; - reg = <0x1f207198 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x54>; - phandle = <0x54>; - }; - - CLK_dip { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x35 0x14 0x15 0x36 0x04 0x37 0x26 0x06>; - reg = <0x1f207148 0x04>; - mux-shift = <0x02>; - mux-width = <0x03>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x47>; - phandle = <0x47>; - }; - - CLK_emac_tx { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x3f 0x40>; - reg = <0x1f22668c 0x04>; - mux-shift = <0x02>; - mux-width = <0x01>; - gate-shift = <0x00>; - linux,phandle = <0x69>; - phandle = <0x69>; - }; - - CLK_emac_rx { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x3f 0x40>; - reg = <0x1f226688 0x04>; - mux-shift = <0x02>; - mux-width = <0x01>; - gate-shift = <0x00>; - linux,phandle = <0x6a>; - phandle = <0x6a>; - }; - - CLK_emac_tx_ref { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x40 0x17>; - reg = <0x1f22668c 0x04>; - mux-shift = <0x0a>; - mux-width = <0x01>; - gate-shift = <0x08>; - linux,phandle = <0x6b>; - phandle = <0x6b>; - }; - - CLK_emac_rx_ref { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x40 0x17>; - reg = <0x1f226688 0x04>; - mux-shift = <0x0a>; - mux-width = <0x01>; - gate-shift = <0x08>; - linux,phandle = <0x6c>; - phandle = <0x6c>; - }; - - CLK_ive { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x05 0x26 0x06 0x07 0x04 0x36 0x15 0x17>; - reg = <0x1f2071a8 0x04>; - mux-shift = <0x0a>; - mux-width = <0x03>; - gate-shift = <0x08>; - auto-enable = <0x00>; - linux,phandle = <0x67>; - phandle = <0x67>; - }; - - CLK_ldcfeye { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x35 0x14 0x15 0x36 0x04 0x05 0x07 0x17>; - reg = <0x1f20714c 0x04>; - mux-shift = <0x02>; - mux-width = <0x03>; - gate-shift = <0x00>; - auto-enable = <0x00>; - linux,phandle = <0x49>; - phandle = <0x49>; - }; - - CLK_live_pm { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x0a 0x41 0x17 0x17>; - reg = <0x1f001cd0 0x04>; - mux-shift = <0x00>; - mux-width = <0x02>; - auto-enable = <0x00>; - }; - - CLK_mcu_pm_p1 { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x0a 0x42 0x41 0x43>; - reg = <0x1f001c80 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - auto-enable = <0x01>; - }; - - CLK_spi_pm { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x13 0x41 0x07 0x1c 0x0a 0x43 0x0b 0x22>; - reg = <0x1f001c80 0x04>; - mux-shift = <0x0a>; - mux-width = <0x03>; - gate-shift = <0x08>; - glitch-shift = <0x0d>; - auto-enable = <0x01>; - }; - - CLK_miic_pm { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x07 0x0a 0x43 0x41>; - reg = <0x1f001c98 0x04>; - mux-shift = <0x0e>; - mux-width = <0x02>; - gate-shift = <0x0c>; - auto-enable = <0x00>; - }; - - CLK_pm_sleep { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x0a 0x41 0x43 0x17>; - reg = <0x1f001c88 0x04>; - mux-shift = <0x0a>; - mux-width = <0x02>; - auto-enable = <0x01>; - }; - - CLK_rtc { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x0a 0x41 0x17 0x17>; - reg = <0x1f001c88 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - auto-enable = <0x01>; - linux,phandle = <0x66>; - phandle = <0x66>; - }; - - CLK_sar { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x0a 0x41 0x17 0x17>; - reg = <0x1f001c88 0x04>; - mux-shift = <0x07>; - mux-width = <0x02>; - gate-shift = <0x05>; - auto-enable = <0x01>; - }; - - CLK_pir { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x0a 0x44 0x42 0x43>; - reg = <0x1f001c98 0x04>; - mux-shift = <0x0a>; - mux-width = <0x02>; - gate-shift = <0x08>; - auto-enable = <0x00>; - }; - - CLK_pm_uart { - #clock-cells = <0x00>; - compatible = "sstar,composite-clock"; - clocks = <0x0a 0x41 0x1c 0x07>; - reg = <0x1f001c94 0x04>; - mux-shift = <0x02>; - mux-width = <0x02>; - gate-shift = <0x00>; - auto-enable = <0x01>; - }; - }; - - venc { - compatible = "sstar,venc"; - reg = <0x1f345200 0x800 0x1f2c5200 0x100 0x1f203c00 0x100 0x1f207800 0x100>; - reg-names = "vpu-bit\0venc-brige\0hw-uart0\0hw-uart1"; - interrupts = <0x00 0x35 0x04>; - interrupt-parent = <0x02>; - interrupt-names = "mhe-irq"; - clocks = <0x45 0x46>; - clock-names = "CKG_venc"; - status = "ok"; - }; - - dip { - compatible = "sstar,dip"; - interrupts = <0x00 0x5f 0x04>; - clocks = <0x47>; - status = "ok"; - }; - - dla { - compatible = "sstar,dla"; - interrupts = <0x00 0x55 0x04>; - status = "ok"; - }; - - gop { - compatible = "sigmastar,gop"; - clocks = <0x48 0x10 0x47 0x49>; - status = "ok"; - }; - - isp { - compatible = "isp"; - io_phy_addr = <0x1f000000>; - banks = <0x1302>; - interrupts = <0x00 0x39 0x04>; - clocks = <0x4a>; - status = "ok"; - clock-frequency-index = <0x00>; - }; - - csi { - compatible = "sstar,csi"; - io_phy_addr = <0x1f000000>; - banks = <0x120b 0x120c 0x120d 0x1208 0x1209 0x120a 0x1202 0x1203 0x1204 0x1038 0x120e>; - interrupts = <0x00 0x41 0x04>; - clocks = <0x4b 0x4c 0x4d 0x4e 0x4f 0x50 0x51 0x52 0x53>; - status = "ok"; - csi_sr0_lane_num = <0x04>; - csi_sr1_lane_num = <0x04>; - csi_sr2_lane_num = <0x02>; - csi_sr0_lane_select = <0x02 0x04 0x03 0x01 0x00>; - csi_sr1_lane_select = <0x00 0x00 0x00 0x00 0x00>; - csi_sr2_lane_select = <0x00 0x00 0x00>; - csi_sr0_lane_pn_swap = <0x01 0x01 0x01 0x01 0x01>; - csi_sr1_lane_pn_swap = <0x00 0x00 0x00 0x00 0x00>; - csi_sr2_lane_pn_swap = <0x00 0x00 0x00>; - }; - - pnl { - compatible = "sstar,pnl"; - status = "ok"; - ttl-24bit-mode = <0x00>; - ttl-16bit-mode = <0x01>; - jtag-mode = <0x01>; - clocks = <0x54>; - clock-names = "CLK_odclk"; - interrupts = <0x00 0x5b 0x04>; - }; - - disp { - compatible = "sstar,disp"; - status = "ok"; - clocks = <0x54>; - clock-names = "CLK_odclk"; - interrupts = <0x00 0x5b 0x04 0x00 0x34 0x04 0x00 0x5a 0x04 0x00 0x31 0x04>; - }; - - mipitx_csi { - compatible = "sstar,mipitx"; - status = "ok"; - clocks = <0x55>; - clock-names = "CLK_mipi1_tx_csi"; - interrupts = <0x00 0x56 0x04>; - }; - - sound { - compatible = "sstar,audio"; - interrupts = <0x00 0x4a 0x04>; - playback-volume-level = <0x40>; - capture-volume-level = <0x40>; - micin-pregain-level = <0x00>; - micin-gain-level = <0x03>; - linein-gain-level = <0x02>; - amp-gpio = <0x07 0x01>; - clocks = <0x56>; - digmic-padmux = <0x06>; - i2s-trx-shared-padmux = <0x01>; - i2s-tx-padmux = <0x00>; - i2s-rx-padmux = <0x00>; - i2smck-padmux = <0x01>; - i2smod-padmux = <0x00>; - keep-i2s-clk = <0x00>; - i2s-rx-tdm-ws-pgm = <0x00>; - i2s-rx-tdm-ws-width = <0x00>; - i2s-rx-tdm-ch-swap = <0x00 0x00>; - i2s-tx-tdm-ws-pgm = <0x00>; - i2s-tx-tdm-ws-width = <0x00>; - i2s-tx-tdm-ch-swap = <0x00 0x00>; - i2s-tx-tdm-active-slot = <0x03>; - status = "ok"; - }; - - vif { - compatible = "sstar,vif"; - status = "ok"; - reg = <0x1f260800 0x600 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x1f207800 0x200 0x1f226600 0x200 0x1f207000 0x200 0x1f000000 0x400000 0x1f203c00 0x200>; - clocks = <0x57 0x58 0x59>; - interrupts = <0x00 0x59 0x04>; - vif_sr0_mclk_37p125 = <0x01>; - vif_sr1_mclk_37p125 = <0x01>; - vif_sr2_mclk_37p125 = <0x01>; - vif_sr0_par_mode = <0x02>; - vif_sr0_mipi_mode = <0x01>; - vif_sr0_bt656_mode = <0x01>; - vif_sr0_mclk_mode = <0x00>; - vif_sr0_parallel_rst_mode = <0x00>; - vif_sr0_parallel_pdn_mode = <0x00>; - vif_sr0_mipi_rst_mode = <0x00>; - vif_sr0_mipi_pdn_mode = <0x01>; - vif_sr0_mipi_ctrl_mode = <0x01>; - vif_sr1_par_mode = <0x00>; - vif_sr1_mipi_mode = <0x01>; - vif_sr1_bt656_mode = <0x00>; - vif_sr1_mipi_ctrl_mode = <0x01>; - vif_sr1_mclk_mode = <0x00>; - vif_sr1_rst_mode = <0x00>; - vif_sr2_mipi_mode = <0x00>; - vif_sr2_mipi_ctrl_mode = <0x00>; - vif_sr2_mclk_mode = <0x00>; - vif_sr2_rst_mode = <0x00>; - }; - - ispalgo { - compatible = "sstar,ispalgo"; - status = "ok"; - }; - - ispmid { - compatible = "sstar,ispmid"; - status = "ok"; - }; - - sensorif { - compatible = "sstar,sensorif"; - status = "ok"; - sensorif_grp0_i2c = <0x01>; - sensorif_grp1_i2c = <0x02>; - sensorif_grp2_i2c = <0x01>; - }; - - jpe@0x1F2c4000 { - compatible = "sstar,cedric-jpe"; - reg = <0x1f2c4000 0x100>; - interrupts = <0x00 0x3d 0x04>; - clocks = <0x5a>; - clock-names = "CKG_jpe"; - clk-select = <0x00>; - status = "ok"; - }; - - spi { - compatible = "sstar_spi"; - io_phy_addr = <0x1f000000>; - banks = <0x1110 0x1111 0x1038 0x103c>; - interrupts = <0x00 0x46 0x04 0x00 0x47 0x04>; - spi0_mode = <0x01>; - spi1_mode = <0x03>; - status = "disabled"; - }; - - spidev { - compatible = "spidev"; - }; - - spi0@0 { - compatible = "sstar,mspi"; - mspi-group = <0x00>; - clocks = <0x0e 0x5b>; - reg = <0x1f222000 0x200>; - interrupts = <0x00 0x46 0x04>; - use-dma = <0x01>; - status = "ok"; - }; - - spi1@1 { - compatible = "sstar,mspi"; - mspi-group = <0x01>; - clocks = <0x0f 0x5b>; - reg = <0x1f222200 0x200>; - interrupts = <0x00 0x47 0x04>; - use-dma = <0x01>; - status = "ok"; - }; - - i2c0@0 { - compatible = "sstar,i2c"; - reg = <0x1f223000 0x200 0x1f207800 0x200 0x1f207000 0x200>; - #address-cells = <0x01>; - #size-cells = <0x00>; - clocks = <0x5c>; - i2c-group = <0x00>; - i2c-en-dma = <0x01>; - status = "ok"; - interrupts = <0x00 0x44 0x04>; - i2c-padmux = <0x03>; - - goodix_gt911@5D { - compatible = "goodix,gt911"; - reg = <0x5d>; - goodix_rst = <0x31>; - goodix_int = <0x40>; - interrupts-extended = <0x5d 0x05>; - interrupt-names = "goodix_int"; - }; - }; - - i2c1@1 { - compatible = "sstar,i2c"; - reg = <0x1f223200 0x200 0x1f207800 0x200 0x1f207000 0x200>; - #address-cells = <0x01>; - #size-cells = <0x00>; - clocks = <0x5e>; - i2c-group = <0x01>; - i2c-en-dma = <0x01>; - i2c-padmux = <0x01>; - interrupts = <0x00 0x45 0x04>; - status = "ok"; - }; - - i2c2@2 { - compatible = "sstar,i2c"; - reg = <0x1f223400 0x200 0x1f207800 0x200 0x1f207000 0x200>; - #address-cells = <0x01>; - #size-cells = <0x00>; - clocks = <0x5f>; - i2c-group = <0x02>; - i2c-en-dma = <0x01>; - i2c-padmux = <0x04>; - interrupts = <0x00 0x2c 0x04>; - status = "ok"; - }; - - cmdq0 { - compatible = "sstar,cmdq0"; - clocks = <0x0c>; - interrupts = <0x00 0x31 0x04>; - status = "ok"; - }; - - cmdq1 { - compatible = "sstar,cmdq1"; - clocks = <0x0c>; - interrupts = <0x00 0x31 0x04>; - status = "ok"; - }; - - cmdq2 { - compatible = "sstar,cmdq2"; - clocks = <0x0c>; - interrupts = <0x00 0x31 0x04>; - status = "ok"; - }; - - cmdq3 { - compatible = "sstar,cmdq3"; - clocks = <0x0c>; - interrupts = <0x00 0x31 0x04>; - status = "ok"; - }; - - ldc { - compatible = "sstar,ldc"; - reg = <0x1f287800 0x100 0x1f287a00 0x100>; - interrupts = <0x00 0x4b 0x04>; - clocks = <0x49>; - clock-names = "CLK_ldcfeye"; - clk-select = <0x01>; - status = "ok"; - }; - - scl { - compatible = "sstar,scl"; - status = "ok"; - }; - - vpe { - compatible = "sigmastar,vpe"; - reg = <0x1f242000 0x100>; - interrupts = <0x00 0x34 0x04 0x00 0x5a 0x04 0x00 0x5b 0x04 0x00 0x31 0x04>; - clocks = <0x10 0x54>; - clock-names = "CLK_fclk1\0CLK_fclk2\0CLK_odclk"; - clk-select = <0x02>; - status = "ok"; - }; - - uart0@1F221000 { - compatible = "sstar,uart"; - reg = <0x1f221000 0x100>; - interrupts = <0x00 0x42 0x04>; - status = "ok"; - clocks = <0x60>; - }; - - uart1@1F221200 { - compatible = "sstar,uart"; - reg = <0x1f221200 0x100 0x1f006a00 0x100>; - interrupts = <0x00 0x43 0x04 0x00 0x24 0x04>; - clocks = <0x61>; - pm_uart = <0x00>; - pad = <0x3b>; - status = "ok"; - }; - - uart2@1F220400 { - compatible = "sstar,uart"; - reg = <0x1f220400 0x100 0x1f220600 0x100>; - interrupts = <0x00 0x4f 0x04 0x00 0x50 0x04>; - clocks = <0x62>; - sctp_enable = <0x01>; - dma = <0x01>; - pad = <0x2e>; - status = "ok"; - }; - - flashisp { - compatible = "mtd-flashisp"; - clocks = <0x63>; - quadread = <0x00>; - status = "ok"; - }; - - spinandflash { - compatible = "ms-spinand"; - clocks = <0x63>; - status = "ok"; - }; - - emmc { - compatible = "sstar_mci"; - clocks = <0x64 0x65>; - interrupts = <0x00 0x32 0x04>; - bus-width = <0x04>; - status = "ok"; - }; - - sdmmc { - compatible = "sstar,sdmmc"; - slotnum = <0x02>; - revcdz = <0x00>; - slot-ip-orders = <0x00 0x01 0x02>; - slot-max-clks = <0x1312d00 0x1312d00 0x1312d00>; - slot-intcdzs = <0x01 0x01 0x00>; - slot-pwr-gpios = <0x1d 0x39 0xffff>; - slot-pwr-off-delay = <0x1e 0x1e 0x1e>; - interrupts-extended = <0x02 0x00 0x32 0x04 0x02 0x00 0x33 0x04 0x02 0x00 0x77 0x04 0x02 0x00 0x78 0x04>; - interrupt-names = "mie0_irq\0mie1_irq\0cdz_slot0_irq\0cdz_slot1_irq"; - clocks = <0x64 0x11 0x17>; - status = "ok"; - slot-fakecdzs = <0x00 0x00 0x00>; - slot-pad-orders = <0x00 0x02 0x01>; - slot-cdzs-gpios = <0x1e 0x2b 0xffff>; - slot-sdio-use = <0x00 0x00 0x00>; - slot-removable = <0x01 0x01 0x01>; - }; - - bdma0 { - compatible = "sstar,bdma0"; - interrupts = <0x00 0x48 0x04>; - clocks = <0x63>; - status = "ok"; - }; - - bdma1 { - compatible = "sstar,bdma1"; - interrupts = <0x00 0x49 0x04>; - clocks = <0x63>; - status = "ok"; - }; - - bdma2 { - compatible = "sstar,bdma2"; - interrupts = <0x00 0x5d 0x04>; - clocks = <0x63>; - status = "ok"; - }; - - movdma { - compatible = "sstar,movdma"; - interrupts = <0x00 0x5c 0x04>; - clocks = <0x0d>; - status = "ok"; - }; - - cpufreq { - compatible = "sstar,infinity-cpufreq"; - status = "ok"; - }; - - watchdog { - compatible = "sstar,infinity-wdt"; - reg = <0x1f006000 0x40>; - status = "ok"; - }; - - sar { - compatible = "sstar,infinity-sar"; - reg = <0x1f002800 0x200>; - status = "ok"; - }; - - rtcpwc { - compatible = "sstar,infinity-rtcpwc"; - reg = <0x1f006800 0x200>; - interrupts = <0x00 0x28 0x04>; - clocks = <0x66>; - status = "ok"; - }; - - ive@0x1F2A4000 { - compatible = "sstar,infinity-ive"; - reg = <0x1f2a4000 0x100 0x1f2a4200 0x100>; - interrupts = <0x00 0x4d 0x04>; - clocks = <0x67>; - status = "ok"; - }; - - emac0 { - compatible = "sstar-emac"; - interrupts = <0x00 0x3a 0x04 0x00 0x75 0x04>; - clocks = <0x68 0x69 0x6a 0x6b 0x6c>; - reg = <0x1f2a2000 0x800 0x1f343c00 0x600 0x1f2a2800 0x600>; - pad = <0x1f2079b8 0x01 0x01>; - pad_led = <0x1f20798c 0x77 0x21>; - phy-handle = <0x6d>; - status = "ok"; - - mdio-bus { - - ethernet-phy@0 { - phy-mode = "mii"; - linux,phandle = <0x6d>; - phandle = <0x6d>; - }; - }; - }; - - gpio { - compatible = "sstar,gpio"; - }; - - pwm { - compatible = "sstar,infinity-pwm"; - reg = <0x1f203200 0x400>; - npwm = <0x0b>; - pm_group_base = <0x1f003400>; - clocks = <0x6e>; - interrupts = <0x00 0x54 0x01>; - pad-ctrl = <0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff>; - status = "ok"; - }; - - aesdma { - compatible = "sstar,infinity-aes"; - interrupts = <0x00 0x37 0x04>; - clocks = <0x6f>; - status = "ok"; - }; - - miu { - compatible = "sstar,miu"; - interrupts = <0x00 0x51 0x04>; - status = "ok"; - }; - - mmu { - compatible = "sstar,mmu"; - interrupts = <0x00 0x2e 0x04>; - status = "ok"; - }; - - timer { - compatible = "sstar,timer"; - reg = <0x1f006040 0x40 0x1f006080 0x40 0x1f0060c0 0x40>; - interrupts = <0x00 0x60 0x04 0x00 0x61 0x04 0x00 0x63 0x04>; - status = "ok"; - }; - - core_voltage { - vid_width = <0x02>; - vid_gpios = <0x0d 0x0e>; - vid_voltages = <0x352 0x384 0x3b6 0x3e8>; - }; - - Sstar-ehci-1 { - compatible = "Sstar-ehci-1"; - clocks = <0x70>; - interrupts = <0x00 0x3f 0x04>; - dpdm_swap = <0x00>; - power-enable-pad = <0x6b>; - status = "ok"; - }; - - Sstar-udc { - compatible = "sstar,infinity-udc"; - interrupts = <0x00 0x40 0x04>; - status = "ok"; - }; - - dwc3 { - compatible = "snps,dwc3"; - reg = <0x1f344200 0xcfff>; - clocks = <0x4d>; - clock-names = "ss_clk"; - maximum-speed = "super-speed"; - interrupts = <0x00 0x38 0x04>; - interrupt-names = "dwc_usb3"; - phy_type = "utmi_wide"; - phys = <0x71 0x71>; - phy-names = "usb2-phy\0usb3-phy"; - snps,incr-burst-type-adjustment = <0x01 0x04 0x08 0x10>; - }; - - iopower { - compatible = "sstar-iopower"; - reg = <0x1f002800 0x64>; - status = "disabled"; - pm_sar_atop_vddp1 = <0x00>; - pm_sar_atop_pmspi = <0x00>; - }; - - padmux { - compatible = "sstar-padmux"; - schematic = <0x6b 0x47 0x80000 0x6c 0x00 0x80100 0x6d 0x53 0x80200 0x6e 0x59 0x80300 0x6f 0x5f 0x80400 0x70 0x65 0x80500 0x71 0x6b 0x80600 0x72 0x71 0x80700 0x0f 0x7f 0x80900 0x1d 0x00 0x20000 0x21 0x39 0x20002 0x22 0x39 0x20003 0x20 0x39 0x20004 0x1f 0x39 0x20005 0x24 0x39 0x20006 0x23 0x39 0x20007 0x1e 0x3a 0x20001 0x39 0x00 0x20100 0x27 0x3c 0x20102 0x28 0x3c 0x20103 0x26 0x3c 0x20104 0x25 0x3c 0x20105 0x2a 0x3c 0x20106 0x29 0x3c 0x20107 0x2b 0x3e 0x20101 0x2c 0x88 0x10000 0x2d 0x8d 0x10100 0x31 0x00 0x70033 0x7f 0xff 0x00>; - status = "ok"; - }; - - ipu { - compatible = "sstar,ipu"; - operating-points = <0xdbba0 0xf4240 0xc3500 0xf4240 0x927c0 0xdbba0 0x7a120 0xdbba0 0x61a80 0xdbba0 0x493e0 0xcf850>; - status = "ok"; - }; - }; -}; diff --git a/br-ext-chip-sigmastar/board/infinity6e/kernel/patches/01_infinity6e_kernel_4.9.84_sdk-set_uart_pad.patch b/br-ext-chip-sigmastar/board/infinity6e/kernel/patches/01_infinity6e_kernel_4.9.84_sdk-set_uart_pad.patch new file mode 100644 index 00000000..d4301067 --- /dev/null +++ b/br-ext-chip-sigmastar/board/infinity6e/kernel/patches/01_infinity6e_kernel_4.9.84_sdk-set_uart_pad.patch @@ -0,0 +1,13 @@ +diff --git a/arch/arm/boot/dts/infinity6e.dtsi b/arch/arm/boot/dts/infinity6e.dtsi +index 6337859aa4b5..7cfb80ce2225 100755 +--- a/arch/arm/boot/dts/infinity6e.dtsi ++++ b/arch/arm/boot/dts/infinity6e.dtsi +@@ -577,7 +577,7 @@ + #endif + sctp_enable = <1>;//rts cts enable is 1 + dma = <1>; +- pad = ;//fuart mode3 ++ pad = ; + //pad = ;//fuart mode6 + //pad = ; + //pad = ; diff --git a/br-ext-chip-sigmastar/board/infinity6e/kernel/patches/02_infinity6e_kernel_4.9.84_sdk-reduce_i2c_logging.patch b/br-ext-chip-sigmastar/board/infinity6e/kernel/patches/02_infinity6e_kernel_4.9.84_sdk-reduce_i2c_logging.patch new file mode 100644 index 00000000..3d188499 --- /dev/null +++ b/br-ext-chip-sigmastar/board/infinity6e/kernel/patches/02_infinity6e_kernel_4.9.84_sdk-reduce_i2c_logging.patch @@ -0,0 +1,49 @@ +diff --git a/drivers/sstar/i2c/ms_iic.c b/drivers/sstar/i2c/ms_iic.c +index 797560daf683..df8f8238e3d3 100755 +--- a/drivers/sstar/i2c/ms_iic.c ++++ b/drivers/sstar/i2c/ms_iic.c +@@ -1029,7 +1029,7 @@ ms_i2c_xfer_read(u8 u8Port, struct i2c_msg *pmsg, u8 *pbuf, int length) + perrBuf += sprintf(perrBuf,"%#x ", *pbuf); + pbuf++; + } +- pr_info("ERROR: Bus[%d] in ms_i2c_xfer_read: Slave dev NAK, Addr: %#x, Data: %s \r\n", (u16Offset/256),(((pmsg->addr & I2C_BYTE_MASK) << 1) | ((pmsg->flags & I2C_M_RD) ? 1 : 0)),errBuf); ++ pr_debug("ERROR: Bus[%d] in ms_i2c_xfer_read: Slave dev NAK, Addr: %#x, Data: %s \r\n", (u16Offset/256),(((pmsg->addr & I2C_BYTE_MASK) << 1) | ((pmsg->flags & I2C_M_RD) ? 1 : 0)),errBuf); + return -ETIMEDOUT; + } else { + return 0; +@@ -1060,7 +1060,7 @@ ms_i2c_xfer_read(u8 u8Port, struct i2c_msg *pmsg, u8 *pbuf, int length) + perrBuf += sprintf(perrBuf,"%#x ", *pbuf); + pbuf++; + } +- pr_info("ERROR: Bus[%d] in ms_i2c_xfer_read: Slave dev NAK, Addr: %#x, Data: %s \r\n", (u16Offset/256),(((pmsg->addr & I2C_BYTE_MASK) << 1) | ((pmsg->flags & I2C_M_RD) ? 1 : 0)),errBuf); ++ pr_debug("ERROR: Bus[%d] in ms_i2c_xfer_read: Slave dev NAK, Addr: %#x, Data: %s \r\n", (u16Offset/256),(((pmsg->addr & I2C_BYTE_MASK) << 1) | ((pmsg->flags & I2C_M_RD) ? 1 : 0)),errBuf); + + return -ETIMEDOUT; + } +@@ -1150,7 +1150,7 @@ ms_i2c_xfer_write(u8 u8Port, struct i2c_msg *pmsg, u8 *pbuf, int length) + perrBuf += sprintf(perrBuf,"%#x ", *pbuf); + pbuf++; + } +- pr_info("ERROR: Bus[%d] in ms_i2c_xfer_write: Slave dev NAK, Addr: %#x, Data: %s \r\n", (u16Offset/256),(((pmsg->addr & I2C_BYTE_MASK) << 1) | ((pmsg->flags & I2C_M_RD) ? 1 : 0)),errBuf); ++ pr_debug("ERROR: Bus[%d] in ms_i2c_xfer_write: Slave dev NAK, Addr: %#x, Data: %s \r\n", (u16Offset/256),(((pmsg->addr & I2C_BYTE_MASK) << 1) | ((pmsg->flags & I2C_M_RD) ? 1 : 0)),errBuf); + return -ETIMEDOUT; + }else{ + return 0; +@@ -1182,7 +1182,7 @@ ms_i2c_xfer_write(u8 u8Port, struct i2c_msg *pmsg, u8 *pbuf, int length) + perrBuf += sprintf(perrBuf,"%#x ", *pbuf); + pbuf++; + } +- pr_info("ERROR: Bus[%d] in ms_i2c_xfer_write: Slave dev NAK, Addr: %#x, Data: %s \r\n", (u16Offset/256),(((pmsg->addr & I2C_BYTE_MASK) << 1) | ((pmsg->flags & I2C_M_RD) ? 1 : 0)),errBuf); ++ pr_debug("ERROR: Bus[%d] in ms_i2c_xfer_write: Slave dev NAK, Addr: %#x, Data: %s \r\n", (u16Offset/256),(((pmsg->addr & I2C_BYTE_MASK) << 1) | ((pmsg->flags & I2C_M_RD) ? 1 : 0)),errBuf); + return -ETIMEDOUT; + } + +@@ -1197,7 +1197,7 @@ ms_i2c_xfer_write(u8 u8Port, struct i2c_msg *pmsg, u8 *pbuf, int length) + } + else + { +- pr_info("ERROR: Bus[%d] in ms_i2c_xfer_write: Slave data NAK, Addr: %#x, Data: %#x \r\n", (u16Offset/256),(((pmsg->addr & I2C_BYTE_MASK) << 1) | ((pmsg->flags & I2C_M_RD) ? 1 : 0)),*pbuf); ++ pr_debug("ERROR: Bus[%d] in ms_i2c_xfer_write: Slave data NAK, Addr: %#x, Data: %#x \r\n", (u16Offset/256),(((pmsg->addr & I2C_BYTE_MASK) << 1) | ((pmsg->flags & I2C_M_RD) ? 1 : 0)),*pbuf); + return -ETIMEDOUT; + } + } diff --git a/br-ext-chip-sigmastar/board/infinity6e/kernel/patches/01_infinity6e_kernel_4.9.84_sdk-adjust_initramfs.patch b/br-ext-chip-sigmastar/board/infinity6e/kernel/patches/03_infinity6e_kernel_4.9.84_sdk-adjust_initramfs.patch similarity index 100% rename from br-ext-chip-sigmastar/board/infinity6e/kernel/patches/01_infinity6e_kernel_4.9.84_sdk-adjust_initramfs.patch rename to br-ext-chip-sigmastar/board/infinity6e/kernel/patches/03_infinity6e_kernel_4.9.84_sdk-adjust_initramfs.patch diff --git a/br-ext-chip-sigmastar/board/infinity6e/kernel/ssc338q.generic.config.camhi b/br-ext-chip-sigmastar/board/infinity6e/kernel/ssc338q.generic.config similarity index 98% rename from br-ext-chip-sigmastar/board/infinity6e/kernel/ssc338q.generic.config.camhi rename to br-ext-chip-sigmastar/board/infinity6e/kernel/ssc338q.generic.config index c2d60a3e..2be56bed 100644 --- a/br-ext-chip-sigmastar/board/infinity6e/kernel/ssc338q.generic.config.camhi +++ b/br-ext-chip-sigmastar/board/infinity6e/kernel/ssc338q.generic.config @@ -335,7 +335,7 @@ CONFIG_MODULES_AREA_SIZE=0x00800000 # # Options # -CONFIG_SS_DTB_NAME="infinity6e-ssc338q-camhi" +CONFIG_SS_DTB_NAME="infinity6e-ssc012b-s01a" CONFIG_SS_BUILTIN_DTB=y CONFIG_MS_KERNEL_TYPE="" CONFIG_SSTAR_CHIP_NAME="infinity6e" @@ -522,7 +522,9 @@ CONFIG_CMA_DEBUGFS=y CONFIG_CMA_AREAS=1 # CONFIG_ZPOOL is not set # CONFIG_ZBUD is not set -# CONFIG_ZSMALLOC is not set +CONFIG_ZSMALLOC=y +CONFIG_PGTABLE_MAPPING=y +# CONFIG_ZSMALLOC_STAT is not set CONFIG_GENERIC_EARLY_IOREMAP=y # CONFIG_IDLE_PAGE_TRACKING is not set CONFIG_FORCE_MAX_ZONEORDER=10 @@ -919,7 +921,7 @@ CONFIG_MTD_UBI=y CONFIG_MTD_UBI_WL_THRESHOLD=4096 CONFIG_MTD_UBI_BEB_LIMIT=20 # CONFIG_MTD_UBI_FASTMAP is not set -# CONFIG_MTD_UBI_GLUEBI is not set +CONFIG_MTD_UBI_GLUEBI=y # CONFIG_MTD_UBI_BLOCK is not set CONFIG_DTC=y CONFIG_OF=y @@ -934,7 +936,20 @@ CONFIG_OF_RESERVED_MEM=y # CONFIG_OF_OVERLAY is not set CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y # CONFIG_PARPORT is not set -# CONFIG_BLK_DEV is not set +CONFIG_BLK_DEV=y +# CONFIG_BLK_DEV_NULL_BLK is not set +CONFIG_ZRAM=y +# CONFIG_BLK_DEV_COW_COMMON is not set +CONFIG_BLK_DEV_LOOP=y +CONFIG_BLK_DEV_LOOP_MIN_COUNT=2 +# CONFIG_BLK_DEV_CRYPTOLOOP is not set +# CONFIG_BLK_DEV_DRBD is not set +# CONFIG_BLK_DEV_NBD is not set +# CONFIG_BLK_DEV_RAM is not set +# CONFIG_CDROM_PKTCDVD is not set +# CONFIG_ATA_OVER_ETH is not set +# CONFIG_MG_DISK is not set +# CONFIG_BLK_DEV_RBD is not set # CONFIG_NVME_TARGET is not set # @@ -1114,23 +1129,7 @@ CONFIG_FIXED_PHY=y # CONFIG_PPP is not set # CONFIG_SLIP is not set # CONFIG_USB_NET_DRIVERS is not set -CONFIG_WLAN=y -# CONFIG_WLAN_VENDOR_ADMTEK is not set -# CONFIG_WLAN_VENDOR_ATH is not set -# CONFIG_WLAN_VENDOR_ATMEL is not set -# CONFIG_WLAN_VENDOR_BROADCOM is not set -# CONFIG_WLAN_VENDOR_CISCO is not set -# CONFIG_WLAN_VENDOR_INTEL is not set -# CONFIG_WLAN_VENDOR_INTERSIL is not set -# CONFIG_WLAN_VENDOR_MARVELL is not set -# CONFIG_WLAN_VENDOR_MEDIATEK is not set -# CONFIG_WLAN_VENDOR_RALINK is not set -# CONFIG_WLAN_VENDOR_REALTEK is not set -# CONFIG_WLAN_VENDOR_RSI is not set -# CONFIG_WLAN_VENDOR_ST is not set -# CONFIG_WLAN_VENDOR_TI is not set -# CONFIG_WLAN_VENDOR_ZYDAS is not set -# CONFIG_USB_NET_RNDIS_WLAN is not set +# CONFIG_WLAN is not set # # Enable WiMAX (Networking options) to see the WiMAX drivers @@ -1276,7 +1275,7 @@ CONFIG_SPI_MASTER=y # # SPI Protocol Masters # -# CONFIG_SPI_SPIDEV is not set +CONFIG_SPI_SPIDEV=y # CONFIG_SPI_LOOPBACK_TEST is not set # CONFIG_SPI_TLE62X0 is not set # CONFIG_SPMI is not set @@ -1896,7 +1895,8 @@ CONFIG_MS_ZEN=y # CONFIG_MSYS_DMEM_SYSFS_ALL is not set CONFIG_MS_SERIAL=y # CONFIG_MS_USCLK is not set -# CONFIG_MS_FLASH_ISP is not set +CONFIG_MS_FLASH_ISP=y +CONFIG_MS_FLASH_ISP_MXP_PARTS=y CONFIG_MS_PWM=y # CONFIG_PWM_NEW is not set CONFIG_MS_SPINAND=y @@ -1907,7 +1907,8 @@ CONFIG_AUTO_DETECT=y # CONFIG_NAND_QUAL_WRITE is not set CONFIG_AUTO_DETECT_WRITE=y # CONFIG_MS_SPI_INFINITY is not set -# CONFIG_SS_MSPI is not set +CONFIG_SS_MSPI=y +# CONFIG_SPI_INT_CALL is not set # CONFIG_CAM_CLK is not set # CONFIG_MS_EMMC is not set CONFIG_MS_SDMMC=y @@ -2040,7 +2041,8 @@ CONFIG_MISC_FILESYSTEMS=y # CONFIG_EFS_FS is not set CONFIG_JFFS2_FS=y CONFIG_JFFS2_FS_DEBUG=0 -# CONFIG_JFFS2_FS_WRITEBUFFER is not set +CONFIG_JFFS2_FS_WRITEBUFFER=y +# CONFIG_JFFS2_FS_WBUF_VERIFY is not set # CONFIG_JFFS2_SUMMARY is not set # CONFIG_JFFS2_FS_XATTR is not set # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set @@ -2436,7 +2438,7 @@ CONFIG_CRYPTO_DES=y CONFIG_CRYPTO_DEFLATE=y CONFIG_CRYPTO_LZO=y # CONFIG_CRYPTO_842 is not set -# CONFIG_CRYPTO_LZ4 is not set +CONFIG_CRYPTO_LZ4=y # CONFIG_CRYPTO_LZ4HC is not set # @@ -2492,6 +2494,8 @@ CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_DEFLATE=y CONFIG_LZO_COMPRESS=y CONFIG_LZO_DECOMPRESS=y +CONFIG_LZ4_COMPRESS=y +CONFIG_LZ4_DECOMPRESS=y CONFIG_XZ_DEC=y # CONFIG_XZ_DEC_X86 is not set # CONFIG_XZ_DEC_POWERPC is not set diff --git a/br-ext-chip-sigmastar/configs/ssc338q_initramfs_defconfig b/br-ext-chip-sigmastar/configs/ssc338q_initramfs_defconfig index f6cbe98e..37754bae 100644 --- a/br-ext-chip-sigmastar/configs/ssc338q_initramfs_defconfig +++ b/br-ext-chip-sigmastar/configs/ssc338q_initramfs_defconfig @@ -23,7 +23,7 @@ BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.9.84" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_SIGMASTAR_PATH)/board/infinity6e/kernel/ssc338q.generic.config.camhi" +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_SIGMASTAR_PATH)/board/infinity6e/kernel/ssc338q.generic.config" BR2_LINUX_KERNEL_UIMAGE=y BR2_LINUX_KERNEL_XZ=y BR2_LINUX_KERNEL_EXT_SIGMASTAR_PATCHER=y diff --git a/br-ext-chip-sigmastar/configs/ssc338q_lite_defconfig b/br-ext-chip-sigmastar/configs/ssc338q_lite_defconfig index 806fda81..821487ca 100644 --- a/br-ext-chip-sigmastar/configs/ssc338q_lite_defconfig +++ b/br-ext-chip-sigmastar/configs/ssc338q_lite_defconfig @@ -23,7 +23,7 @@ BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.9.84" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_SIGMASTAR_PATH)/board/infinity6e/kernel/ssc338q.generic.config.camhi" +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_SIGMASTAR_PATH)/board/infinity6e/kernel/ssc338q.generic.config" BR2_LINUX_KERNEL_UIMAGE=y BR2_LINUX_KERNEL_XZ=y BR2_LINUX_KERNEL_EXT_SIGMASTAR_PATCHER=y @@ -37,7 +37,7 @@ BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y BR2_TARGET_ROOTFS_UBI=y BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048 BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG=y -BR2_TARGET_ROOTFS_UBI_CUSTOM_CONFIG_FILE="$(TOPDIR)/../scripts/ubinize.cfg" +BR2_TARGET_ROOTFS_UBI_CUSTOM_CONFIG_FILE="$(TOPDIR)/../scripts/ubinize_sigmastar.cfg" BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 BR2_ROOTFS_OVERLAY="$(TOPDIR)/../general/overlay" BR2_ROOTFS_POST_BUILD_SCRIPT="$(TOPDIR)/../scripts/executing_commands_for_$(BR2_TOOLCHAIN_BUILDROOT_LIBC).sh" @@ -69,7 +69,7 @@ BR2_PACKAGE_LIBEVENT_OPENIPC_REMOVE_PYSCRIPT=y BR2_PACKAGE_LIBOGG_OPENIPC=y BR2_PACKAGE_LIBYAML=y # BR2_PACKAGE_MAJESTIC_FONTS is not set -# BR2_PACKAGE_MAJESTIC is not set +BR2_PACKAGE_MAJESTIC=y BR2_PACKAGE_MBEDTLS_OPENIPC=y # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set @@ -79,7 +79,6 @@ BR2_PACKAGE_MICROBE_WEB=y BR2_PACKAGE_OPUS_OPENIPC=y BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y BR2_PACKAGE_SIGMASTAR_OSDRV_INFINITY6E=y -BR2_PACKAGE_SIGMASTAR_OSDRV_SENSOR="imx415" BR2_PACKAGE_DOSFSTOOLS=y BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y BR2_PACKAGE_EXFAT_OPENIPC=y diff --git a/general/overlay/etc/shadow b/general/overlay/etc/shadow new file mode 100644 index 00000000..81ad3cd3 --- /dev/null +++ b/general/overlay/etc/shadow @@ -0,0 +1,9 @@ +root:$1$jv4d1NpW$PpH6Xd79JR1JkUDLMJLch1:19477:::::: +daemon:*::::::: +bin:*::::::: +sys:*::::::: +sync:*::::::: +mail:*::::::: +www-data:*::::::: +operator:*::::::: +nobody:*::::::: diff --git a/general/overlay/usr/sbin/sysupgrade b/general/overlay/usr/sbin/sysupgrade index c27ce0ed..7d33cd8e 100755 --- a/general/overlay/usr/sbin/sysupgrade +++ b/general/overlay/usr/sbin/sysupgrade @@ -63,8 +63,9 @@ do_update_rootfs() { local y=/tmp/rootfs if mkdir -p "$y" && loop=$(losetup -f) && losetup "$loop" "$x" && mount "$loop" "$y"; then check_soc "$(head -1 ${y}/etc/hostname | cut -d- -f2)" - compare_versions "$system_version" "$(get_system_version "$y")" && return 0 + compare_versions "$system_version" "$(get_system_version "$y")" && exit_update=1 umount "$y" && rm -rf "$y" && losetup -d "$loop" + [ "$exit_update" ] && return 0 else die "Unable to mount $y!" fi @@ -76,14 +77,15 @@ do_update_rootfs() { do_wipe_overlay() { echo_c 33 "\nOverlayFS" echo "Erase overlay partition" - flash_eraseall -j "$(get_device "rootfs_data")" + [ $(ipcinfo -F) = "nand" ] || jffs2="-j" + flash_eraseall $jffs2 "$(get_device "rootfs_data")" } download_firmware() { echo_c 33 "\nFirmware" osr=$(get_system_build) ftype=$(ipcinfo -F 2>/dev/null) - [ ${#ftype} -gt 4 ] && ftype=$(get_flash_type) + [ ${#ftype} -ge 4 ] && ftype=$(get_flash_type) build="${soc}-${ftype}-${osr}" [ -z "$url" ] && url="https://github.com/OpenIPC/firmware/releases/download/latest/openipc.${build}.tgz" echo "Download from $url" diff --git a/general/package/busybox/busybox.config b/general/package/busybox/busybox.config index 97b782cc..7a0dbeca 100644 --- a/general/package/busybox/busybox.config +++ b/general/package/busybox/busybox.config @@ -866,7 +866,7 @@ CONFIG_FEATURE_HTTPD_CGI=y # CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set # CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set CONFIG_FEATURE_HTTPD_ERROR_PAGES=y -CONFIG_FEATURE_HTTPD_PROXY=y +# CONFIG_FEATURE_HTTPD_PROXY is not set CONFIG_FEATURE_HTTPD_GZIP=y CONFIG_IFCONFIG=y CONFIG_FEATURE_IFCONFIG_STATUS=y diff --git a/general/package/ingenic-opensdk/src/kernel/sensor_info/sample_sinfo.c b/general/package/ingenic-opensdk/src/kernel/sensor_info/sample_sinfo.c index df5548ed..7133dddb 100644 --- a/general/package/ingenic-opensdk/src/kernel/sensor_info/sample_sinfo.c +++ b/general/package/ingenic-opensdk/src/kernel/sensor_info/sample_sinfo.c @@ -114,7 +114,9 @@ SENSOR_INFO_T g_sinfo[] = {"jxq03"}, {"jxq03p"}, {"sc3338"}, - + {"imx334"}, + {"imx335"}, + {"imx415"}, }; int main(int argc,char **argv) { diff --git a/general/package/ingenic-opensdk/src/kernel/sensor_info/sensor_info.c b/general/package/ingenic-opensdk/src/kernel/sensor_info/sensor_info.c index 4f31538a..3dedd54a 100644 --- a/general/package/ingenic-opensdk/src/kernel/sensor_info/sensor_info.c +++ b/general/package/ingenic-opensdk/src/kernel/sensor_info/sensor_info.c @@ -174,6 +174,9 @@ SENSOR_INFO_T g_sinfo[] = {"jxq03", 0x40, "cgu_cim", 24000000, {0x05, 0x07}, 1, {0xa, 0xb}, 1, 2, NULL}, {"jxq03p", 0x40, "cgu_cim", 24000000, {0x08, 0x43}, 1, {0xa, 0xb}, 1, 2, NULL}, {"sc3338", 0x30, "cgu_cim", 24000000, {0xcc, 0x41}, 1, {0x3107, 0x3108}, 2, 2, NULL}, + {"imx334", 0x1a, "cgu_cim", 37125000, {0x20, 0x03}, 1, {0x302e, 0x302f}, 2, 2, NULL}, + {"imx335", 0x1a, "cgu_cim", 37125000, {0x08, 0x0}, 1, {0x302e, 0x302f}, 2, 2, NULL}, + {"imx415", 0x1a, "cgu_cim", 37125000, {0x28, 0x23}, 1, {0x3b00, 0x3b06}, 2, 2, NULL}, }; static int8_t g_sensor_id = -1; diff --git a/general/package/ingenic-osdrv-t31/files/kmod/audio.ko b/general/package/ingenic-osdrv-t31/files/kmod/audio.ko index e0ab99c6..71c10987 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/audio.ko and b/general/package/ingenic-osdrv-t31/files/kmod/audio.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/avpu.ko b/general/package/ingenic-osdrv-t31/files/kmod/avpu.ko index 9e352559..a5d9d790 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/avpu.ko and b/general/package/ingenic-osdrv-t31/files/kmod/avpu.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_bf3a03_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_bf3a03_t31.ko index 6e149fd4..fe622013 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_bf3a03_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_bf3a03_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_c2399_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_c2399_t31.ko index 5bd8ee5b..9eb02b3e 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_c2399_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_c2399_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_c23a98_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_c23a98_t31.ko index 113e8c53..a04b7b11 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_c23a98_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_c23a98_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_c3390_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_c3390_t31.ko index cbbef7d2..070f9726 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_c3390_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_c3390_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_c4390_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_c4390_t31.ko index d58ec49e..0a32f519 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_c4390_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_c4390_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc0328_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc0328_t31.ko index 0d474370..63cfd525 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc0328_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc0328_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc032a_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc032a_t31.ko index 7926d3b1..14a5ee7a 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc032a_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc032a_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc1034_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc1034_t31.ko index 7c666c34..5e8f8d0a 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc1034_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc1034_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc1054_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc1054_t31.ko index 9b025824..af3e38ec 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc1054_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc1054_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2023_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2023_t31.ko index ee5c7626..ed31213c 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2023_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2023_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2033_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2033_t31.ko index dbd5887d..1cc2c3f6 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2033_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2033_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2053_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2053_t31.ko index a1fdae15..2a510c48 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2053_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2053_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2083_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2083_t31.ko index 0ebb37b6..6e4c85c2 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2083_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2083_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2093_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2093_t31.ko index b8bcc53a..eef6ab31 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2093_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc2093_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc3003_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc3003_t31.ko new file mode 100644 index 00000000..1d0b4d47 Binary files /dev/null and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc3003_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc3003a_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc3003a_t31.ko new file mode 100644 index 00000000..7a9fc262 Binary files /dev/null and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc3003a_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc4023_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc4023_t31.ko new file mode 100644 index 00000000..9925e1b5 Binary files /dev/null and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc4023_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc4653_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc4653_t31.ko index 4f102408..f20badd5 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc4653_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc4653_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc4c33_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc4c33_t31.ko index f984f6d8..c4183df8 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc4c33_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc4c33_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc5035_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc5035_t31.ko index bbbb03f1..46dd2293 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc5035_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_gc5035_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_imx307_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_imx307_t31.ko index 3312ccd8..7df2576d 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_imx307_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_imx307_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_imx327_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_imx327_t31.ko index dfcad276..c36a72b0 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_imx327_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_imx327_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_imx335_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_imx335_t31.ko index 2fd8ceab..9a305be0 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_imx335_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_imx335_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf23_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf23_t31.ko index 981b37b2..52cb5d8a 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf23_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf23_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf28p_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf28p_t31.ko new file mode 100644 index 00000000..33ddd988 Binary files /dev/null and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf28p_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf352_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf352_t31.ko index 3bb7c4f6..941994b8 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf352_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf352_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf35_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf35_t31.ko index d18f6cc3..956981b9 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf35_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf35_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf37_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf37_t31.ko index 1c22ac09..63ae6caf 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf37_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf37_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf37p_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf37p_t31.ko index 189c524a..7498cf43 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf37p_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf37p_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf38p_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf38p_t31.ko index 241b8f30..f2b2bebb 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf38p_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf38p_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf51_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf51_t31.ko index 7d85c167..a69ee92a 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf51_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf51_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf53_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf53_t31.ko index 793929f6..3a823f17 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf53_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxf53_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxh61p_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxh61p_t31.ko new file mode 100644 index 00000000..c43ff069 Binary files /dev/null and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxh61p_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxh62_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxh62_t31.ko index f1726303..e1a0a28b 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxh62_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxh62_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxh63_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxh63_t31.ko index 70cc38b9..ab28b162 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxh63_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxh63_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxh66_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxh66_t31.ko index 93f26979..737307ba 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxh66_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxh66_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxk03_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxk03_t31.ko index 437c19a3..0959ad64 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxk03_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxk03_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxk04_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxk04_t31.ko index d4a09226..3dc58588 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxk04_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxk04_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxk05_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxk05_t31.ko index 45c866b3..cc959938 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxk05_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxk05_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxk06_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxk06_t31.ko new file mode 100644 index 00000000..22361a3c Binary files /dev/null and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxk06_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxq03_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxq03_t31.ko index dc6cf68a..2953753c 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxq03_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxq03_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxq03p_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxq03p_t31.ko index 359eb51f..ed4769cc 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxq03p_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_jxq03p_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_mis2006_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_mis2006_t31.ko index 95e33079..0372e948 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_mis2006_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_mis2006_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_mis2008_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_mis2008_t31.ko index daf2016e..b079d3c0 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_mis2008_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_mis2008_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_mis4001_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_mis4001_t31.ko index 03d7cec8..08bba30e 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_mis4001_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_mis4001_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_mis5001_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_mis5001_t31.ko index 25d114a2..ae6fc0cb 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_mis5001_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_mis5001_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_os02d20_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_os02d20_t31.ko index e04b6f6f..ac114d51 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_os02d20_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_os02d20_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_os02g10_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_os02g10_t31.ko index 8ffcf36e..d6a0777b 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_os02g10_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_os02g10_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_os02k10_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_os02k10_t31.ko index 9741a83e..ed594d3a 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_os02k10_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_os02k10_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_os03b10_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_os03b10_t31.ko index 60870be2..ddc71e07 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_os03b10_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_os03b10_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_os04b10_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_os04b10_t31.ko index 38e65595..f046a05d 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_os04b10_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_os04b10_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_os04c10_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_os04c10_t31.ko index 5ea89f99..e1f149ca 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_os04c10_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_os04c10_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_os05a10_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_os05a10_t31.ko index 0be2ce78..b9cfdefc 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_os05a10_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_os05a10_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov2740_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov2740_t31.ko index 5f82d69f..6f39ca06 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov2740_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov2740_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov2745_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov2745_t31.ko index 07b1999e..0d90aa31 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov2745_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov2745_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov5648_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov5648_t31.ko index ae23fb1f..4003f163 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov5648_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov5648_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov5695_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov5695_t31.ko index 4dfbd2e3..d8379362 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov5695_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov5695_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov9732_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov9732_t31.ko index 3d9710ed..d64901c1 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov9732_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ov9732_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5258_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5258_t31.ko index f9221e51..f3e910a6 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5258_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5258_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5260_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5260_t31.ko index 76a1b646..db0f5dbb 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5260_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5260_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5268_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5268_t31.ko index c4840b6a..12f4d9a2 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5268_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5268_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5270_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5270_t31.ko index 18a3c887..5b457660 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5270_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5270_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5520_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5520_t31.ko index 3e236d01..816c4bb7 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5520_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_ps5520_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc1346_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc1346_t31.ko new file mode 100644 index 00000000..98e55207 Binary files /dev/null and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc1346_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc200ai_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc200ai_t31.ko index 3227e107..1bfc3d9e 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc200ai_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc200ai_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc201cs_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc201cs_t31.ko index 050f191d..424d6da5 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc201cs_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc201cs_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2210_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2210_t31.ko index 858494ad..3bfa87cd 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2210_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2210_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2232h_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2232h_t31.ko index 94761f2b..4072a355 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2232h_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2232h_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2235_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2235_t31.ko index ef7fabdf..5a2791e5 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2235_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2235_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2239_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2239_t31.ko index b36129bb..f941b536 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2239_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2239_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2239p_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2239p_t31.ko index f4c68176..e3e4ae71 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2239p_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2239p_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc223a_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc223a_t31.ko index 85385713..23f99558 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc223a_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc223a_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc230ai_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc230ai_t31.ko index 376ed275..22b2100b 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc230ai_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc230ai_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2310_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2310_t31.ko index 69dff1eb..99b0941f 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2310_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2310_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2315e_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2315e_t31.ko index 312e329e..8a44f45a 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2315e_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2315e_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2332_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2332_t31.ko index 7cf52dfa..92e44fb5 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2332_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2332_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2335_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2335_t31.ko index 77afeb3c..8384ac02 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2335_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2335_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2336_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2336_t31.ko index e74e29d5..5152cf2d 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2336_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc2336_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc301IoT_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc301IoT_t31.ko index 37082ea1..9bf58b14 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc301IoT_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc301IoT_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc3235_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc3235_t31.ko index eb0fc3ad..a8018d05 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc3235_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc3235_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc3335_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc3335_t31.ko index 39b39509..3f1e6f7a 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc3335_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc3335_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc3336_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc3336_t31.ko index 1d4b5f73..f7d67437 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc3336_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc3336_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc3338_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc3338_t31.ko index 36169beb..01c989d4 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc3338_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc3338_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc401ai_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc401ai_t31.ko index b318ce91..fcc25ecd 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc401ai_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc401ai_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4236_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4236_t31.ko index c7bd547d..12712ec4 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4236_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4236_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4236h_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4236h_t31.ko index 1308390e..e7eff452 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4236h_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4236h_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4238_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4238_t31.ko index ce83dd65..05e10a2e 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4238_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4238_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4335_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4335_t31.ko index 91eeaeac..ce0a1bd8 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4335_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4335_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4336_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4336_t31.ko index c877a9e1..1a5884c8 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4336_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc4336_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc450ai_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc450ai_t31.ko index 67acdf24..59c188be 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc450ai_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc450ai_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc500ai_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc500ai_t31.ko index c1246f74..a7b15cf0 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc500ai_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc500ai_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc5235_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc5235_t31.ko index 74e75f9b..f2be4710 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc5235_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sc5235_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sp1405_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sp1405_t31.ko index e0881dba..f51f510e 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_sp1405_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_sp1405_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sensor_tp2850_t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/sensor_tp2850_t31.ko index fc66f78e..cba748a1 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sensor_tp2850_t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sensor_tp2850_t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/sinfo.ko b/general/package/ingenic-osdrv-t31/files/kmod/sinfo.ko index 27a01590..70255dbc 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/sinfo.ko and b/general/package/ingenic-osdrv-t31/files/kmod/sinfo.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/kmod/tx-isp-t31.ko b/general/package/ingenic-osdrv-t31/files/kmod/tx-isp-t31.ko index 8f8a59ba..a8fab197 100644 Binary files a/general/package/ingenic-osdrv-t31/files/kmod/tx-isp-t31.ko and b/general/package/ingenic-osdrv-t31/files/kmod/tx-isp-t31.ko differ diff --git a/general/package/ingenic-osdrv-t31/files/lib/libalog.so b/general/package/ingenic-osdrv-t31/files/lib/libalog.so index 4705ae21..d9842c40 100644 Binary files a/general/package/ingenic-osdrv-t31/files/lib/libalog.so and b/general/package/ingenic-osdrv-t31/files/lib/libalog.so differ diff --git a/general/package/ingenic-osdrv-t31/files/lib/libaudioProcess.so b/general/package/ingenic-osdrv-t31/files/lib/libaudioProcess.so index 72d0d491..31f3d308 100644 Binary files a/general/package/ingenic-osdrv-t31/files/lib/libaudioProcess.so and b/general/package/ingenic-osdrv-t31/files/lib/libaudioProcess.so differ diff --git a/general/package/ingenic-osdrv-t31/files/lib/libimp.so b/general/package/ingenic-osdrv-t31/files/lib/libimp.so index 2a4bee89..08e24fe8 100644 Binary files a/general/package/ingenic-osdrv-t31/files/lib/libimp.so and b/general/package/ingenic-osdrv-t31/files/lib/libimp.so differ diff --git a/general/package/ingenic-osdrv-t31/files/lib/libsysutils.so b/general/package/ingenic-osdrv-t31/files/lib/libsysutils.so index 3672364d..fdbac0fb 100644 Binary files a/general/package/ingenic-osdrv-t31/files/lib/libsysutils.so and b/general/package/ingenic-osdrv-t31/files/lib/libsysutils.so differ diff --git a/general/package/ingenic-osdrv-t40/files/script/load_ingenic b/general/package/ingenic-osdrv-t40/files/script/load_ingenic index 8b668e49..a621c74b 100755 --- a/general/package/ingenic-osdrv-t40/files/script/load_ingenic +++ b/general/package/ingenic-osdrv-t40/files/script/load_ingenic @@ -12,12 +12,6 @@ check_return() { fi } -lsmod | grep "avpu" >/dev/null -if [ $? -ne 0 ]; then - insmod ${KMOD_PATH/%\//}/avpu.ko clk_name='vpll' avpu_clk=400000000 - check_return "insmod avpu" -fi - lsmod | grep "sinfo" >/dev/null if [ $? -ne 0 ]; then insmod ${KMOD_PATH/%\//}/sinfo.ko @@ -42,13 +36,24 @@ else fi fi - case ${SENSOR} in +"imx307") + AVPU_PARAM="clk_name=mpll avpu_clk=550000000" + ISP_PARAM="clk_name=mpll isp_clk=367000000 isp_memopt=2" + SENSOR_PARAM="" + ;; +"imx335") + AVPU_PARAM="clk_name=vpll avpu_clk=654000000" + ISP_PARAM="clk_name=mpll isp_clk=367000000 isp_memopt=2" + SENSOR_PARAM="" + ;; "imx415") - ISP_PARAM="350000000" + AVPU_PARAM="clk_name=vpll avpu_clk=654000000" + ISP_PARAM="isp_clk=350000000" SENSOR_PARAM="" ;; *) + AVPU_PARAM="clk_name=vpll avpu_clk=654000000" ISP_PARAM="isp_clk=350000000" SENSOR_PARAM="" break @@ -56,11 +61,18 @@ case ${SENSOR} in esac echo -------------------- +echo "AVPU_PARAM: ${AVPU_PARAM}" echo "ISP_PARAM: ${ISP_PARAM}" echo "SENSOR: ${SENSOR}" echo "SENSOR_PARAM: ${SENSOR_PARAM}" echo -------------------- +lsmod | grep "avpu" >/dev/null +if [ $? -ne 0 ]; then + insmod ${KMOD_PATH/%\//}/avpu.ko ${AVPU_PARAM} + check_return "insmod avpu" +fi + lsmod | grep "tx_isp" >/dev/null if [ $? -ne 0 ]; then insmod ${KMOD_PATH/%\//}/tx-isp-t40.ko ${ISP_PARAM} diff --git a/general/package/ingenic-osdrv-t40/files/sensor/imx334.yaml b/general/package/ingenic-osdrv-t40/files/sensor/imx334.yaml new file mode 100644 index 00000000..258265c2 --- /dev/null +++ b/general/package/ingenic-osdrv-t40/files/sensor/imx334.yaml @@ -0,0 +1,6 @@ +sensor: + name: imx334 + address: 0x1a + width: 3840 + height: 2160 + bus: i2c diff --git a/general/package/ingenic-osdrv-t40/files/sensor/params/imx307-t40.bin b/general/package/ingenic-osdrv-t40/files/sensor/params/imx307-t40.bin new file mode 100644 index 00000000..49c2baf4 Binary files /dev/null and b/general/package/ingenic-osdrv-t40/files/sensor/params/imx307-t40.bin differ diff --git a/general/package/ingenic-osdrv-t40/files/sensor/params/imx334-t40.bin b/general/package/ingenic-osdrv-t40/files/sensor/params/imx334-t40.bin new file mode 100644 index 00000000..11d6936e Binary files /dev/null and b/general/package/ingenic-osdrv-t40/files/sensor/params/imx334-t40.bin differ diff --git a/general/package/ingenic-osdrv-t40/ingenic-osdrv-t40.mk b/general/package/ingenic-osdrv-t40/ingenic-osdrv-t40.mk index 8bac2307..5b3af4da 100644 --- a/general/package/ingenic-osdrv-t40/ingenic-osdrv-t40.mk +++ b/general/package/ingenic-osdrv-t40/ingenic-osdrv-t40.mk @@ -17,6 +17,7 @@ define INGENIC_OSDRV_T40_INSTALL_TARGET_CMDS $(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensor $(BR2_EXTERNAL_INGENIC_PATH)/package/ingenic-osdrv-t40/files/sensor/*.yaml $(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensor $(BR2_EXTERNAL_INGENIC_PATH)/package/ingenic-osdrv-t40/files/sensor/params/gc4653-t40.bin + $(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensor $(BR2_EXTERNAL_INGENIC_PATH)/package/ingenic-osdrv-t40/files/sensor/params/imx307-t40.bin $(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensor $(BR2_EXTERNAL_INGENIC_PATH)/package/ingenic-osdrv-t40/files/sensor/params/imx415-t40.bin $(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensor $(BR2_EXTERNAL_INGENIC_PATH)/package/ingenic-osdrv-t40/files/sensor/params/jxk04-t40.bin $(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensor $(BR2_EXTERNAL_INGENIC_PATH)/package/ingenic-osdrv-t40/files/sensor/params/sc3335-t40.bin diff --git a/general/package/microbe-web/files/httpd.conf b/general/package/microbe-web/files/httpd.conf index f0c9f2d3..4e019b6c 100644 --- a/general/package/microbe-web/files/httpd.conf +++ b/general/package/microbe-web/files/httpd.conf @@ -4,7 +4,5 @@ A:127.0.0.1 A:* D:8.8.8.8/32 E401:401.html -/cgi-bin:admin:$1$openipc$Vfil2gOcPiCm1wa3nOK470 -# -P:/image.jpg:http://127.0.0.1:80/image.jpg +/cgi-bin:root:* # diff --git a/general/package/sigmastar-osdrv-infinity6e/Config.in b/general/package/sigmastar-osdrv-infinity6e/Config.in index ef043317..12261a54 100644 --- a/general/package/sigmastar-osdrv-infinity6e/Config.in +++ b/general/package/sigmastar-osdrv-infinity6e/Config.in @@ -2,8 +2,3 @@ config BR2_PACKAGE_SIGMASTAR_OSDRV_INFINITY6E bool "sigmastar-osdrv-infinity6e" help sigmastar-osdrv-infinity6e - SigmaStar kernel modules and libs - -config BR2_PACKAGE_SIGMASTAR_OSDRV_SENSOR - depends on BR2_PACKAGE_SIGMASTAR_OSDRV_INFINITY6E - string "Camera sensor" - default "imx415" diff --git a/general/package/sigmastar-osdrv-infinity6e/files/script/bin/load_sigmastar b/general/package/sigmastar-osdrv-infinity6e/files/script/bin/load_sigmastar index 4754e5a2..53582ab2 100755 --- a/general/package/sigmastar-osdrv-infinity6e/files/script/bin/load_sigmastar +++ b/general/package/sigmastar-osdrv-infinity6e/files/script/bin/load_sigmastar @@ -1,101 +1,82 @@ #!/bin/sh # -# OpenIPC.org | 2023.03.01 +# OpenIPC.org | 2023.04.01 # -# Usage: load_sigmastar [-r|-i|-a] +# Usage: load_sigmastar [ -r | -i ] # -r : remove all modules # -i : insert all modules -# default : remove and insert all modules +# default : insert all modules PATH_MODULE=/lib/modules/4.9.84/sigmastar PATH_FIRMWARE=/etc/sensors/venc_fw/chagall.bin # Sensor -sensor= +sensor=$(fw_printenv -n sensor) # Watchdog watchdog -t 10 /dev/watchdog insert_ko() { - insmod ${PATH_MODULE}/mhal.ko - insmod ${PATH_MODULE}/mi_common.ko - insmod ${PATH_MODULE}/mi_sys.ko cmdQBufSize=768 logBufSize=256 - insmod ${PATH_MODULE}/mi_rgn.ko - insmod ${PATH_MODULE}/mi_ldc.ko - insmod ${PATH_MODULE}/mi_ai.ko - insmod ${PATH_MODULE}/mi_ao.ko - insmod ${PATH_MODULE}/mi_mipitx.ko - insmod ${PATH_MODULE}/mi_sensor.ko - insmod ${PATH_MODULE}/mi_shadow.ko - insmod ${PATH_MODULE}/mi_divp.ko thread_priority=98 - insmod ${PATH_MODULE}/mi_vif.ko thread_priority=98 - insmod ${PATH_MODULE}/mi_vpe.ko thread_priority=98 + insmod ${PATH_MODULE}/mhal.ko + insmod ${PATH_MODULE}/mi_common.ko + insmod ${PATH_MODULE}/mi_sys.ko cmdQBufSize=768 logBufSize=256 + insmod ${PATH_MODULE}/mi_rgn.ko + insmod ${PATH_MODULE}/mi_ldc.ko + insmod ${PATH_MODULE}/mi_ai.ko + insmod ${PATH_MODULE}/mi_ao.ko + insmod ${PATH_MODULE}/mi_mipitx.ko + insmod ${PATH_MODULE}/mi_sensor.ko + insmod ${PATH_MODULE}/mi_shadow.ko + insmod ${PATH_MODULE}/mi_divp.ko + insmod ${PATH_MODULE}/mi_vif.ko + insmod ${PATH_MODULE}/mi_vpe.ko + insmod ${PATH_MODULE}/mi_venc.ko fw_path=${PATH_FIRMWARE} + insmod ${PATH_MODULE}/sensor_${sensor}_mipi.ko chmap=1 - case $sensor in - imx415) - insmod ${PATH_MODULE}/mi_venc.ko fw_path=${PATH_FIRMWARE}; - ;; - *) - echo -e "\n\e[1;31mAn UNSUPPORTED sensor type is specified - ${sensor}\e[0m\n" | logger -s -t OpenIPC; - ;; - esac + major=$(awk '$2=="mi_poll" {print $1}' /proc/devices) + mknod /dev/mi_poll c $major 0 - if [ ! -e /dev/mi_poll ]; then - major=$(awk '$2=="mi_poll" {print $1}' /proc/devices | head -n 1) - mknod /dev/mi_poll c $major 0 - fi - - # Change iqfile folder - echo isproot /etc/sensors/iqfile > /dev/ispmid - - case $sensor in - imx415) - insmod ${PATH_MODULE}/sensor_${sensor}_mipi.ko chmap=1; - ;; - *) - echo -e "\n\e[1;31mAn UNSUPPORTED sensor type is specified - ${sensor}\e[0m\n" | logger -s -t OpenIPC; - ;; - esac - - mdev -s + echo isproot /etc/sensors/iqfile > /dev/ispmid + mdev -s } remove_ko() { - rmmod -w drv_ms_cus_${sensor}_MIPI - rmmod -w mi_venc - rmmod -w mi_shadow - rmmod -w mi_sensor - rmmod -w mi_mipitx - rmmod -w mi_ao - rmmod -w mi_ai - rmmod -w mi_vpe - rmmod -w mi_vif - rmmod -w mi_divp - rmmod -w mi_ldc - rmmod -w mi_rgn - rmmod -w mi_sys - rmmod -w mi_common - rmmod -w mhal + rmmod -w drv_ms_cus_${sensor}_MIPI + rmmod -w mi_venc + rmmod -w mi_shadow + rmmod -w mi_sensor + rmmod -w mi_mipitx + rmmod -w mi_ao + rmmod -w mi_ai + rmmod -w mi_vpe + rmmod -w mi_vif + rmmod -w mi_divp + rmmod -w mi_ldc + rmmod -w mi_rgn + rmmod -w mi_sys + rmmod -w mi_common + rmmod -w mhal } if [ -z ${sensor} ]; then - echo -e "\n\e[1;31mThe sensor parameter is MISSING\e[0m\n" | logger -s -t OpenIPC - exit 1 + echo -e "\n\e[1;31mThe sensor parameter is MISSING\e[0m\n" | logger -s -t OpenIPC + echo -e "\n\e[1;33mUsage: fw_setenv sensor imx415\e[0m\n" | logger -s -t OpenIPC + echo -e "\n\e[1;33m load_sigmastar\e[0m\n" | logger -s -t OpenIPC + exit 1 else - echo -e "\n\e[1;32mThe sensor is assigned - ${sensor}\e[0m\n" | logger -s -t OpenIPC + echo -e "\n\e[1;32mThe sensor is assigned - ${sensor}\e[0m\n" | logger -s -t OpenIPC fi if [ "$1" = "-i" ]; then - insert_ko + insert_ko fi if [ "$1" = "-r" ]; then - remove_ko + remove_ko fi -if [ $# -eq 0 ] || [ "$1" = "-a" ]; then - remove_ko - insert_ko +if [ $# -eq 0 ]; then + insert_ko fi exit 0 diff --git a/general/package/sigmastar-osdrv-infinity6e/files/sensor/imx274/imx274_iqfile.bin b/general/package/sigmastar-osdrv-infinity6e/files/sensor/imx274/imx274_iqfile.bin deleted file mode 100644 index a1942b2e..00000000 Binary files a/general/package/sigmastar-osdrv-infinity6e/files/sensor/imx274/imx274_iqfile.bin and /dev/null differ diff --git a/general/package/sigmastar-osdrv-infinity6e/files/sensor/imx307/sensor_imx307_mipi.ko b/general/package/sigmastar-osdrv-infinity6e/files/sensor/imx307/sensor_imx307_mipi.ko deleted file mode 100644 index cae0d091..00000000 Binary files a/general/package/sigmastar-osdrv-infinity6e/files/sensor/imx307/sensor_imx307_mipi.ko and /dev/null differ diff --git a/general/package/sigmastar-osdrv-infinity6e/files/sensor/imx335/imx335_iqfile.bin b/general/package/sigmastar-osdrv-infinity6e/files/sensor/imx335/imx335_iqfile.bin deleted file mode 100644 index e469bec0..00000000 Binary files a/general/package/sigmastar-osdrv-infinity6e/files/sensor/imx335/imx335_iqfile.bin and /dev/null differ diff --git a/general/package/sigmastar-osdrv-infinity6e/files/sensor/imx415/imx415_iqfile.bin b/general/package/sigmastar-osdrv-infinity6e/files/sensor/imx415/imx415_iqfile.bin deleted file mode 100644 index b562969f..00000000 Binary files a/general/package/sigmastar-osdrv-infinity6e/files/sensor/imx415/imx415_iqfile.bin and /dev/null differ diff --git a/general/package/sigmastar-osdrv-infinity6e/files/sensor/imx307/imx307_iqfile.bin b/general/package/sigmastar-osdrv-infinity6e/files/sensor/iqfile/iqfile0.bin similarity index 100% rename from general/package/sigmastar-osdrv-infinity6e/files/sensor/imx307/imx307_iqfile.bin rename to general/package/sigmastar-osdrv-infinity6e/files/sensor/iqfile/iqfile0.bin diff --git a/general/package/sigmastar-osdrv-infinity6e/files/sensor/imx274/sensor_imx274_mipi.ko b/general/package/sigmastar-osdrv-infinity6e/files/sensor/kmod/sensor_imx274_mipi.ko similarity index 100% rename from general/package/sigmastar-osdrv-infinity6e/files/sensor/imx274/sensor_imx274_mipi.ko rename to general/package/sigmastar-osdrv-infinity6e/files/sensor/kmod/sensor_imx274_mipi.ko diff --git a/general/package/sigmastar-osdrv-infinity6e/files/sensor/imx335/sensor_imx335_mipi.ko b/general/package/sigmastar-osdrv-infinity6e/files/sensor/kmod/sensor_imx335_mipi.ko similarity index 100% rename from general/package/sigmastar-osdrv-infinity6e/files/sensor/imx335/sensor_imx335_mipi.ko rename to general/package/sigmastar-osdrv-infinity6e/files/sensor/kmod/sensor_imx335_mipi.ko diff --git a/general/package/sigmastar-osdrv-infinity6e/files/sensor/kmod/sensor_imx347_mipi.ko b/general/package/sigmastar-osdrv-infinity6e/files/sensor/kmod/sensor_imx347_mipi.ko new file mode 100644 index 00000000..5f91ac22 Binary files /dev/null and b/general/package/sigmastar-osdrv-infinity6e/files/sensor/kmod/sensor_imx347_mipi.ko differ diff --git a/general/package/sigmastar-osdrv-infinity6e/files/sensor/imx415/sensor_imx415_mipi.ko b/general/package/sigmastar-osdrv-infinity6e/files/sensor/kmod/sensor_imx415_mipi.ko similarity index 100% rename from general/package/sigmastar-osdrv-infinity6e/files/sensor/imx415/sensor_imx415_mipi.ko rename to general/package/sigmastar-osdrv-infinity6e/files/sensor/kmod/sensor_imx415_mipi.ko diff --git a/general/package/sigmastar-osdrv-infinity6e/files/sensor/kmod/sensor_sc8235_mipi.ko b/general/package/sigmastar-osdrv-infinity6e/files/sensor/kmod/sensor_sc8235_mipi.ko new file mode 100644 index 00000000..a462561f Binary files /dev/null and b/general/package/sigmastar-osdrv-infinity6e/files/sensor/kmod/sensor_sc8235_mipi.ko differ diff --git a/general/package/sigmastar-osdrv-infinity6e/files/sensor/ps5250/ps5250_iqfile.bin b/general/package/sigmastar-osdrv-infinity6e/files/sensor/ps5250/ps5250_iqfile.bin deleted file mode 100644 index a7b9dda4..00000000 Binary files a/general/package/sigmastar-osdrv-infinity6e/files/sensor/ps5250/ps5250_iqfile.bin and /dev/null differ diff --git a/general/package/sigmastar-osdrv-infinity6e/files/sensor/ps5250/sensor_ps5250_mipi.ko b/general/package/sigmastar-osdrv-infinity6e/files/sensor/ps5250/sensor_ps5250_mipi.ko deleted file mode 100644 index ee5d5d0e..00000000 Binary files a/general/package/sigmastar-osdrv-infinity6e/files/sensor/ps5250/sensor_ps5250_mipi.ko and /dev/null differ diff --git a/general/package/sigmastar-osdrv-infinity6e/files/sensor/ps5520/ps5520_iqfile.bin b/general/package/sigmastar-osdrv-infinity6e/files/sensor/ps5520/ps5520_iqfile.bin deleted file mode 100644 index 18f5aa37..00000000 Binary files a/general/package/sigmastar-osdrv-infinity6e/files/sensor/ps5520/ps5520_iqfile.bin and /dev/null differ diff --git a/general/package/sigmastar-osdrv-infinity6e/files/sensor/ps5520/sensor_ps5520_mipi.ko b/general/package/sigmastar-osdrv-infinity6e/files/sensor/ps5520/sensor_ps5520_mipi.ko deleted file mode 100644 index f84397e5..00000000 Binary files a/general/package/sigmastar-osdrv-infinity6e/files/sensor/ps5520/sensor_ps5520_mipi.ko and /dev/null differ diff --git a/general/package/sigmastar-osdrv-infinity6e/sigmastar-osdrv-infinity6e.mk b/general/package/sigmastar-osdrv-infinity6e/sigmastar-osdrv-infinity6e.mk index 97ff0b87..7eaf9508 100644 --- a/general/package/sigmastar-osdrv-infinity6e/sigmastar-osdrv-infinity6e.mk +++ b/general/package/sigmastar-osdrv-infinity6e/sigmastar-osdrv-infinity6e.mk @@ -10,7 +10,6 @@ SIGMASTAR_OSDRV_INFINITY6E_LICENSE = MIT SIGMASTAR_OSDRV_INFINITY6E_LICENSE_FILES = LICENSE SIGMASTAR_OSDRV_INFINITY6E_PATH = $(SIGMASTAR_OSDRV_INFINITY6E_PKGDIR)/files -SIGMASTAR_OSDRV_INFINITY6E_SENSOR = $(call qstrip,$(BR2_PACKAGE_SIGMASTAR_OSDRV_SENSOR)) define SIGMASTAR_OSDRV_INFINITY6E_INSTALL_TARGET_CMDS $(INSTALL) -m 755 -d $(TARGET_DIR)/usr/bin @@ -21,17 +20,13 @@ define SIGMASTAR_OSDRV_INFINITY6E_INSTALL_TARGET_CMDS $(INSTALL) -m 755 -d $(TARGET_DIR)/lib/modules/4.9.84/sigmastar $(INSTALL) -m 644 -t $(TARGET_DIR)/lib/modules/4.9.84/sigmastar $(SIGMASTAR_OSDRV_INFINITY6E_PATH)/kmod/*.ko - $(INSTALL) -m 644 -t $(TARGET_DIR)/lib/modules/4.9.84/sigmastar $(SIGMASTAR_OSDRV_INFINITY6E_PATH)/sensor/$(SIGMASTAR_OSDRV_INFINITY6E_SENSOR)/*.ko + $(INSTALL) -m 644 -t $(TARGET_DIR)/lib/modules/4.9.84/sigmastar $(SIGMASTAR_OSDRV_INFINITY6E_PATH)/sensor/kmod/*.ko $(INSTALL) -m 755 -d $(TARGET_DIR)/etc/sensors/iqfile - $(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensors/iqfile $(SIGMASTAR_OSDRV_INFINITY6E_PATH)/sensor/$(SIGMASTAR_OSDRV_INFINITY6E_SENSOR)/$(SIGMASTAR_OSDRV_INFINITY6E_SENSOR)_iqfile.bin - ln -sf $(SIGMASTAR_OSDRV_INFINITY6E_SENSOR)_iqfile.bin $(TARGET_DIR)/etc/sensors/iqfile/iqfile0.bin + $(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensors/iqfile $(SIGMASTAR_OSDRV_INFINITY6E_PATH)/sensor/iqfile/iqfile0.bin $(INSTALL) -m 755 -d $(TARGET_DIR)/etc/sensors/venc_fw $(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensors/venc_fw $(SIGMASTAR_OSDRV_INFINITY6E_PATH)/sensor/venc_fw/chagall.bin - - # Set sensor for insmod - sed -i "s/sensor=/sensor=$(SIGMASTAR_OSDRV_INFINITY6E_SENSOR)/g" $(TARGET_DIR)/usr/bin/load_sigmastar endef $(eval $(generic-package)) diff --git a/general/package/wireless-configuration/files/script/adapter b/general/package/wireless-configuration/files/script/adapter index 3661464f..b8c1d276 100755 --- a/general/package/wireless-configuration/files/script/adapter +++ b/general/package/wireless-configuration/files/script/adapter @@ -9,14 +9,16 @@ fi # HI3516EV300 CamHi if [ "$SOC" == "hi3516ev300" ]; then devmem 0x100C0080 32 0x530 - gpio clear 7 - gpio unexport 7 + echo 7 > /sys/class/gpio/export + echo out > /sys/class/gpio/gpio7/direction + echo 0 > /sys/class/gpio/gpio7/value modprobe mt7601usta fi # T21 BJS if [ "$SOC" == "t21" ]; then - gpio clear 50 - gpio unexport 50 + echo 50 > /sys/class/gpio/export + echo out > /sys/class/gpio/gpio50/direction + echo 0 > /sys/class/gpio/gpio50/value modprobe 8188fu fi diff --git a/scripts/ubinize_sigmastar.cfg b/scripts/ubinize_sigmastar.cfg new file mode 100644 index 00000000..df0d12c9 --- /dev/null +++ b/scripts/ubinize_sigmastar.cfg @@ -0,0 +1,34 @@ +[kernel] +mode=ubi +vol_id=0 +vol_type=dynamic +vol_name=kernel +vol_alignment=1 +vol_size=4MiB +image=BINARIES_DIR/uImage + +[rootfs] +mode=ubi +vol_id=1 +vol_type=dynamic +vol_name=rootfs +vol_alignment=1 +vol_size=10MiB +image=BINARIES_DIR/rootfs.squashfs + +[rootfs_data] +mode=ubi +vol_id=2 +vol_type=dynamic +vol_name=rootfs_data +vol_alignment=1 +vol_size=10MiB + +[other] +mode=ubi +vol_id=3 +vol_type=dynamic +vol_name=other +vol_alignment=1 +vol_size=10MiB +vol_flags=autoresize