mirror of
https://github.com/outbackdingo/builder.git
synced 2026-01-27 10:18:28 +00:00
Added RubyFPV builds (#41)
Added configs for building RubyFPV OpenIPC images for Goke and Sigmastar
This commit is contained in:
@@ -19,7 +19,7 @@ BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/openipc/linux/archive/$(OPENIPC_KERNEL).tar.gz"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(EXTERNAL_VENDOR)/board/$(OPENIPC_SOC_FAMILY)/gk7205v200.generic-fpv.config"
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(EXTERNAL_VENDOR)/board/$(OPENIPC_SOC_FAMILY)/gk7205v200.generic-rubyfpv.config"
|
||||
BR2_LINUX_KERNEL_UIMAGE=y
|
||||
BR2_LINUX_KERNEL_XZ=y
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/openipc/linux/archive/$(OPENIPC_KERNEL).tar.gz"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(EXTERNAL_VENDOR)/board/$(OPENIPC_SOC_FAMILY)/gk7205v200.generic-fpv.config"
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(EXTERNAL_VENDOR)/board/$(OPENIPC_SOC_FAMILY)/gk7205v200.generic-rubyfpv.config"
|
||||
BR2_LINUX_KERNEL_UIMAGE=y
|
||||
BR2_LINUX_KERNEL_XZ=y
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/openipc/linux/archive/$(OPENIPC_KERNEL).tar.gz"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(EXTERNAL_VENDOR)/board/$(OPENIPC_SOC_FAMILY)/gk7205v300.generic-fpv.config"
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(EXTERNAL_VENDOR)/board/$(OPENIPC_SOC_FAMILY)/gk7205v300.generic-rubyfpv.config"
|
||||
BR2_LINUX_KERNEL_UIMAGE=y
|
||||
BR2_LINUX_KERNEL_XZ=y
|
||||
|
||||
|
||||
@@ -58,13 +58,12 @@ BR2_PACKAGE_LIBCURL_OPENIPC_CURL=y
|
||||
# BR2_PACKAGE_LIBCURL_OPENIPC_EXTRA_PROTOCOLS_FEATURES is not set
|
||||
BR2_PACKAGE_LIBEVENT_OPENIPC=y
|
||||
BR2_PACKAGE_LIBOGG_OPENIPC=y
|
||||
BR2_PACKAGE_MAJESTIC_FONTS=y
|
||||
BR2_PACKAGE_MAJESTIC=y
|
||||
BR2_PACKAGE_MBEDTLS_OPENIPC=y
|
||||
BR2_PACKAGE_OPUS_OPENIPC=y
|
||||
BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y
|
||||
BR2_PACKAGE_RTL88X2EU_OPENIPC=y
|
||||
BR2_PACKAGE_RTL8812AU_OPENIPC=y
|
||||
BR2_PACKAGE_RUBYFPV=y
|
||||
BR2_PACKAGE_SIGMASTAR_OSDRV_INFINITY6E=y
|
||||
BR2_PACKAGE_VTUND_OPENIPC=y
|
||||
BR2_PACKAGE_YAML_CLI=y
|
||||
|
||||
@@ -64,7 +64,6 @@ BR2_PACKAGE_LIBCURL_OPENIPC_CURL=y
|
||||
BR2_PACKAGE_LIBEVENT_OPENIPC=y
|
||||
BR2_PACKAGE_LIBOGG_OPENIPC=y
|
||||
BR2_PACKAGE_LINUX_PATCHER_ATHEROS=y
|
||||
BR2_PACKAGE_MAJESTIC_FONTS=y
|
||||
BR2_PACKAGE_MAJESTIC=y
|
||||
BR2_PACKAGE_MBEDTLS_OPENIPC=y
|
||||
BR2_PACKAGE_OPUS_OPENIPC=y
|
||||
@@ -73,5 +72,4 @@ BR2_PACKAGE_RTL88X2EU_OPENIPC=y
|
||||
BR2_PACKAGE_RTL8812AU_OPENIPC=y
|
||||
BR2_PACKAGE_RUBYFPV=y
|
||||
BR2_PACKAGE_SIGMASTAR_OSDRV_INFINITY6E=y
|
||||
BR2_PACKAGE_VTUND_OPENIPC=y
|
||||
BR2_PACKAGE_YAML_CLI=y
|
||||
|
||||
48
common/rubyfpv/general/scripts/excludes/hi3516ev200_fpv.list
Normal file
48
common/rubyfpv/general/scripts/excludes/hi3516ev200_fpv.list
Normal file
@@ -0,0 +1,48 @@
|
||||
/etc/sensors/gc2053_i2c_1080p.ini
|
||||
/etc/sensors/jxf22_i2c_1080p.ini
|
||||
/etc/sensors/jxf23_i2c_1080p.ini
|
||||
/etc/sensors/jxf37_i2c_1080p.ini
|
||||
/etc/sensors/sc2231_i2c_1080p.ini
|
||||
/etc/sensors/sc2232h_i2c_1080p.ini
|
||||
/etc/sensors/sc2239_i2c_1080p.ini
|
||||
/etc/sensors/sc2315e_i2c_1080p.ini
|
||||
/etc/sensors/sc3235_i2c_3M.ini
|
||||
/etc/sensors/sc4236_i2c_3M.ini
|
||||
/etc/sensors/sp2305_i2c_1080p.ini
|
||||
/etc/sensors/iq/f23.ini
|
||||
/etc/sensors/iq/gc2053.ini
|
||||
/etc/sensors/iq/sc2232.ini
|
||||
/etc/sensors/iq/sc2335.ini
|
||||
/lib/modules/4.9.37/extra/open_jpege.ko
|
||||
/lib/modules/4.9.37/extra/open_ive.ko
|
||||
/lib/modules/4.9.37/extra/open_aio.ko
|
||||
/lib/modules/4.9.37/extra/open_ai.ko
|
||||
/lib/modules/4.9.37/extra/open_ao.ko
|
||||
/lib/modules/4.9.37/extra/open_aenc.ko
|
||||
/lib/modules/4.9.37/extra/open_adec.ko
|
||||
/lib/modules/4.9.37/extra/open_acodec.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/i2c/busses/i2c-tiny-usb.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/net/usb/cdc_ether.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/net/usb/rndis_host.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/net/usb/usbnet.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/gadget/function/u_ether.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/gadget/function/u_serial.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/gadget/function/usb_f_acm.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/gadget/function/usb_f_ecm.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/gadget/function/usb_f_mass_storage.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/gadget/function/usb_f_rndis.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/serial/option.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/serial/usb-serial-simple.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/serial/usb_wwan.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/serial/usbserial.ko
|
||||
/usr/lib/sensors/libsns_f22.so
|
||||
/usr/lib/sensors/libsns_f23.so
|
||||
/usr/lib/sensors/libsns_f37.so
|
||||
/usr/lib/sensors/libsns_gc2053.so
|
||||
/usr/lib/sensors/libsns_sc2231.so
|
||||
/usr/lib/sensors/libsns_sc2232h.so
|
||||
/usr/lib/sensors/libsns_sc2239.so
|
||||
/usr/lib/sensors/libsns_sc2315e.so
|
||||
/usr/lib/sensors/libsns_sc3235.so
|
||||
/usr/lib/sensors/libsns_sc4236.so
|
||||
/usr/lib/sensors/libsns_sp2305.so
|
||||
48
common/rubyfpv/general/scripts/excludes/hi3516ev300_fpv.list
Normal file
48
common/rubyfpv/general/scripts/excludes/hi3516ev300_fpv.list
Normal file
@@ -0,0 +1,48 @@
|
||||
/etc/sensors/gc2053_i2c_1080p.ini
|
||||
/etc/sensors/jxf22_i2c_1080p.ini
|
||||
/etc/sensors/jxf23_i2c_1080p.ini
|
||||
/etc/sensors/jxf37_i2c_1080p.ini
|
||||
/etc/sensors/sc2231_i2c_1080p.ini
|
||||
/etc/sensors/sc2232h_i2c_1080p.ini
|
||||
/etc/sensors/sc2239_i2c_1080p.ini
|
||||
/etc/sensors/sc2315e_i2c_1080p.ini
|
||||
/etc/sensors/sc3235_i2c_3M.ini
|
||||
/etc/sensors/sc4236_i2c_3M.ini
|
||||
/etc/sensors/sp2305_i2c_1080p.ini
|
||||
/etc/sensors/iq/f23.ini
|
||||
/etc/sensors/iq/gc2053.ini
|
||||
/etc/sensors/iq/sc2232.ini
|
||||
/etc/sensors/iq/sc2335.ini
|
||||
/lib/modules/4.9.37/extra/open_jpege.ko
|
||||
/lib/modules/4.9.37/extra/open_ive.ko
|
||||
/lib/modules/4.9.37/extra/open_aio.ko
|
||||
/lib/modules/4.9.37/extra/open_ai.ko
|
||||
/lib/modules/4.9.37/extra/open_ao.ko
|
||||
/lib/modules/4.9.37/extra/open_aenc.ko
|
||||
/lib/modules/4.9.37/extra/open_adec.ko
|
||||
/lib/modules/4.9.37/extra/open_acodec.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/i2c/busses/i2c-tiny-usb.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/net/usb/cdc_ether.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/net/usb/rndis_host.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/net/usb/usbnet.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/gadget/function/u_ether.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/gadget/function/u_serial.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/gadget/function/usb_f_acm.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/gadget/function/usb_f_ecm.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/gadget/function/usb_f_mass_storage.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/gadget/function/usb_f_rndis.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/serial/option.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/serial/usb-serial-simple.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/serial/usb_wwan.ko
|
||||
/lib/modules/4.9.37/kernel/drivers/usb/serial/usbserial.ko
|
||||
/usr/lib/sensors/libsns_f22.so
|
||||
/usr/lib/sensors/libsns_f23.so
|
||||
/usr/lib/sensors/libsns_f37.so
|
||||
/usr/lib/sensors/libsns_gc2053.so
|
||||
/usr/lib/sensors/libsns_sc2231.so
|
||||
/usr/lib/sensors/libsns_sc2232h.so
|
||||
/usr/lib/sensors/libsns_sc2239.so
|
||||
/usr/lib/sensors/libsns_sc2315e.so
|
||||
/usr/lib/sensors/libsns_sc3235.so
|
||||
/usr/lib/sensors/libsns_sc4236.so
|
||||
/usr/lib/sensors/libsns_sp2305.so
|
||||
14
common/rubyfpv/general/scripts/excludes/ssc30kq_fpv.list
Normal file
14
common/rubyfpv/general/scripts/excludes/ssc30kq_fpv.list
Normal file
@@ -0,0 +1,14 @@
|
||||
/etc/sensors/imx307.bin
|
||||
/etc/sensors/gc2053.bin
|
||||
/etc/sensors/gc4653.bin
|
||||
/etc/sensors/sc501ai.bin
|
||||
/lib/modules/4.9.84/kernel/fs/lockd/*.ko
|
||||
/lib/modules/4.9.84/kernel/fs/nfs/*.ko
|
||||
/lib/modules/4.9.84/kernel/fs/nfs_common/*.ko
|
||||
/lib/modules/4.9.84/kernel/net/sunrpc/*.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_gc2053_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_gc4653_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_imx307_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_os04c10_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_sc501ai_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_sc8235_mipi.ko
|
||||
14
common/rubyfpv/general/scripts/excludes/ssc338q_fpv.list
Normal file
14
common/rubyfpv/general/scripts/excludes/ssc338q_fpv.list
Normal file
@@ -0,0 +1,14 @@
|
||||
/etc/sensors/imx307.bin
|
||||
/etc/sensors/gc2053.bin
|
||||
/etc/sensors/gc4653.bin
|
||||
/etc/sensors/sc501ai.bin
|
||||
/lib/modules/4.9.84/kernel/fs/lockd/*.ko
|
||||
/lib/modules/4.9.84/kernel/fs/nfs/*.ko
|
||||
/lib/modules/4.9.84/kernel/fs/nfs_common/*.ko
|
||||
/lib/modules/4.9.84/kernel/net/sunrpc/*.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_gc2053_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_gc4653_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_imx307_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_os04c10_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_sc501ai_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_sc8235_mipi.ko
|
||||
@@ -0,0 +1,60 @@
|
||||
# Architecture
|
||||
BR2_arm=y
|
||||
BR2_cortex_a7=y
|
||||
BR2_ARM_EABI=y
|
||||
BR2_ARM_FPU_NEON_VFPV4=y
|
||||
BR2_ARM_INSTRUCTIONS_THUMB2=y
|
||||
|
||||
# Toolchain
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_URL="https://github.com/openipc/firmware/releases/download/$(OPENIPC_TOOLCHAIN).tgz"
|
||||
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="arm-openipc-linux-musleabi"
|
||||
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_9=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_CXX=y
|
||||
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/openipc/linux/archive/$(OPENIPC_KERNEL).tar.gz"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(EXTERNAL_VENDOR)/board/$(OPENIPC_SOC_FAMILY)/gk7205v200.generic-rubyfpv.config"
|
||||
BR2_LINUX_KERNEL_UIMAGE=y
|
||||
BR2_LINUX_KERNEL_XZ=y
|
||||
|
||||
# Filesystem
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL)/package/busybox/busybox.config"
|
||||
BR2_PACKAGE_UBOOT_TOOLS=y
|
||||
BR2_PACKAGE_LIBZIP=y
|
||||
BR2_PACKAGE_JSON_C=y
|
||||
# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
|
||||
BR2_PACKAGE_WIRELESS_TOOLS=y
|
||||
BR2_TARGET_ROOTFS_CPIO=y
|
||||
BR2_TARGET_ROOTFS_SQUASHFS=y
|
||||
BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y
|
||||
|
||||
# OpenIPC
|
||||
BR2_OPENIPC_SOC_VENDOR="goke"
|
||||
BR2_OPENIPC_SOC_MODEL="gk7205v200"
|
||||
BR2_OPENIPC_SOC_FAMILY="gk7205v200"
|
||||
BR2_OPENIPC_VARIANT="rubyfpv"
|
||||
BR2_OPENIPC_FLASH_SIZE="8"
|
||||
BR2_OPENIPC_MAJESTIC="fpv"
|
||||
|
||||
# Packages
|
||||
BR2_PACKAGE_DROPBEAR_OPENIPC=y
|
||||
BR2_PACKAGE_GOKE_OSDRV_GK7205V200=y
|
||||
BR2_PACKAGE_HISILICON_OPENSDK=y
|
||||
BR2_PACKAGE_IPCTOOL=y
|
||||
BR2_PACKAGE_LIBCURL_OPENIPC=y
|
||||
BR2_PACKAGE_LIBCURL_OPENIPC_CURL=y
|
||||
# BR2_PACKAGE_LIBCURL_OPENIPC_PROXY_SUPPORT is not set
|
||||
# BR2_PACKAGE_LIBCURL_OPENIPC_COOKIES_SUPPORT is not set
|
||||
# BR2_PACKAGE_LIBCURL_OPENIPC_EXTRA_PROTOCOLS_FEATURES is not set
|
||||
BR2_PACKAGE_LIBEVENT_OPENIPC=y
|
||||
BR2_PACKAGE_MAJESTIC=y
|
||||
BR2_PACKAGE_MBEDTLS_OPENIPC=y
|
||||
BR2_PACKAGE_RTL8812AU_OPENIPC=y
|
||||
BR2_PACKAGE_RUBYFPV=y
|
||||
BR2_PACKAGE_YAML_CLI=y
|
||||
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Set custom upgrade url
|
||||
#
|
||||
fw_setenv upgrade 'https://github.com/OpenIPC/builder/releases/download/latest/gk7205v200_rubyfpv-nor.tgz'
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,57 @@
|
||||
/etc/sensors/WDR/5M_imx335.ini
|
||||
/etc/sensors/WDR/imx335_i2c_4M.ini
|
||||
/etc/sensors/5M_imx335.ini
|
||||
/etc/sensors/imx335_i2c_4M.ini
|
||||
/etc/sensors/smtsec_imx307_i2c_4l_1080p.ini
|
||||
/etc/sensors/bt656_720p.ini
|
||||
/etc/sensors/gc1054_i2c_720p.ini
|
||||
/etc/sensors/gc2053_i2c_1080p.ini
|
||||
/etc/sensors/gc4653_i2c_4M.ini
|
||||
/etc/sensors/jxf23_i2c_1080p.ini
|
||||
/etc/sensors/jxf23_i2c_dc_1080p.ini
|
||||
/etc/sensors/sc200ai_i2c_1080p.ini
|
||||
/etc/sensors/sc2232h_i2c_1080p.ini
|
||||
/etc/sensors/sc2239_i2c_1080p.ini
|
||||
/etc/sensors/sc223a_i2c_1080p.ini
|
||||
/etc/sensors/4l_sc223a_i2c_1080p.ini
|
||||
/etc/sensors/sc2335_i2c_1080p.ini
|
||||
/etc/sensors/iq/f23.ini
|
||||
/etc/sensors/iq/gc2053.ini
|
||||
/etc/sensors/iq/imx335.ini
|
||||
/etc/sensors/iq/sc2232.ini
|
||||
/etc/sensors/iq/sc2335.ini
|
||||
/lib/modules/4.9.37/goke/gk7205v200_rgn.ko
|
||||
/lib/modules/4.9.37/goke/gk7205v200_jpege.ko
|
||||
/lib/modules/4.9.37/goke/gk7205v200_ive.ko
|
||||
/lib/modules/4.9.37/goke/gk7205v200_aio.ko
|
||||
/lib/modules/4.9.37/goke/gk7205v200_ai.ko
|
||||
/lib/modules/4.9.37/goke/gk7205v200_ao.ko
|
||||
/lib/modules/4.9.37/goke/gk7205v200_aenc.ko
|
||||
/lib/modules/4.9.37/goke/gk7205v200_adec.ko
|
||||
/lib/modules/4.9.37/goke/gk7205v200_acodec.ko
|
||||
/usr/lib/sensors/libsns_ar0237.so
|
||||
/usr/lib/sensors/libsns_bt656.so
|
||||
/usr/lib/sensors/libsns_f23.so
|
||||
/usr/lib/sensors/libsns_f37.so
|
||||
/usr/lib/sensors/libsns_gc2053.so
|
||||
/usr/lib/sensors/libsns_gc2053_forcar.so
|
||||
/usr/lib/sensors/libsns_gc4653_2l.so
|
||||
/usr/lib/sensors/libsns_imx290.so
|
||||
/usr/lib/sensors/libsns_imx307.so
|
||||
/usr/lib/sensors/libsns_imx327.so
|
||||
/usr/lib/sensors/libsns_imx327_2l.so
|
||||
/usr/lib/sensors/libsns_imx335.so
|
||||
/usr/lib/sensors/libsns_os05a.so
|
||||
/usr/lib/sensors/libsns_ov2718.so
|
||||
/usr/lib/sensors/libsns_sc200ai.so
|
||||
/usr/lib/sensors/libsns_sc2231.so
|
||||
/usr/lib/sensors/libsns_sc2232h.so
|
||||
/usr/lib/sensors/libsns_sc2235.so
|
||||
/usr/lib/sensors/libsns_sc2239.so
|
||||
/usr/lib/sensors/libsns_sc2335.so
|
||||
/usr/lib/sensors/libsns_sc3235.so
|
||||
/usr/lib/sensors/libsns_sc3335.so
|
||||
/usr/lib/sensors/libsns_sc4236.so
|
||||
/usr/lib/sensors/libsns_sc500ai.so
|
||||
/usr/lib/sensors/libsns_sc223a.so
|
||||
/usr/lib/sensors/libsns_sc223a_4l.so
|
||||
@@ -0,0 +1,68 @@
|
||||
# Architecture
|
||||
BR2_arm=y
|
||||
BR2_cortex_a7=y
|
||||
BR2_ARM_FPU_NEON_VFPV4=y
|
||||
BR2_ARM_INSTRUCTIONS_THUMB2=y
|
||||
|
||||
# Toolchain
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_URL="https://github.com/openipc/firmware/releases/download/$(OPENIPC_TOOLCHAIN).tgz"
|
||||
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="arm-openipc-linux-gnueabihf"
|
||||
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_9=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
|
||||
# BR2_TOOLCHAIN_EXTERNAL_INET_RPC is not set
|
||||
BR2_TOOLCHAIN_EXTERNAL_CXX=y
|
||||
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/openipc/linux/archive/$(OPENIPC_KERNEL).tar.gz"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(EXTERNAL_VENDOR)/board/$(OPENIPC_SOC_FAMILY)/infinity6e-ssc012b.config"
|
||||
BR2_LINUX_KERNEL_UIMAGE=y
|
||||
BR2_LINUX_KERNEL_XZ=y
|
||||
|
||||
# Filesystem
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL)/package/busybox/busybox.config"
|
||||
BR2_PACKAGE_EXFATPROGS=y
|
||||
BR2_PACKAGE_UBOOT_TOOLS=y
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
|
||||
BR2_PACKAGE_WIRELESS_TOOLS=y
|
||||
BR2_PACKAGE_WPA_SUPPLICANT=y
|
||||
BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
|
||||
BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
|
||||
BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
|
||||
BR2_TARGET_ROOTFS_CPIO=y
|
||||
BR2_TARGET_ROOTFS_SQUASHFS=y
|
||||
BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y
|
||||
|
||||
# OpenIPC
|
||||
BR2_OPENIPC_SOC_VENDOR="sigmastar"
|
||||
BR2_OPENIPC_SOC_MODEL="ssc338q"
|
||||
BR2_OPENIPC_SOC_FAMILY="infinity6e"
|
||||
BR2_OPENIPC_VARIANT="rubyfpv"
|
||||
BR2_OPENIPC_FLASH_SIZE="16"
|
||||
|
||||
# Packages
|
||||
BR2_PACKAGE_DROPBEAR_OPENIPC=y
|
||||
BR2_PACKAGE_EXFAT_OPENIPC=y
|
||||
BR2_PACKAGE_IPCTOOL=y
|
||||
BR2_PACKAGE_JSONFILTER=y
|
||||
BR2_PACKAGE_LIBCURL_OPENIPC=y
|
||||
BR2_PACKAGE_LIBCURL_OPENIPC_CURL=y
|
||||
# BR2_PACKAGE_LIBCURL_OPENIPC_PROXY_SUPPORT is not set
|
||||
# BR2_PACKAGE_LIBCURL_OPENIPC_COOKIES_SUPPORT is not set
|
||||
# BR2_PACKAGE_LIBCURL_OPENIPC_EXTRA_PROTOCOLS_FEATURES is not set
|
||||
BR2_PACKAGE_LIBOGG_OPENIPC=y
|
||||
BR2_PACKAGE_MAJESTIC=y
|
||||
BR2_PACKAGE_MBEDTLS_OPENIPC=y
|
||||
BR2_PACKAGE_OPUS_OPENIPC=y
|
||||
BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y
|
||||
BR2_PACKAGE_RTL88X2EU_OPENIPC=y
|
||||
BR2_PACKAGE_RTL8812AU_OPENIPC=y
|
||||
BR2_PACKAGE_RUBYFPV=y
|
||||
BR2_PACKAGE_SIGMASTAR_OSDRV_INFINITY6E=y
|
||||
BR2_PACKAGE_YAML_CLI=y
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Set custom upgrade url
|
||||
fw_setenv upgrade 'https://github.com/OpenIPC/builder/releases/download/latest/ssc338q_rubyfpv_generic-nor.tgz'
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,72 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# OpenIPC.org | 2024
|
||||
#
|
||||
|
||||
MODULE=/lib/modules/4.9.84/sigmastar
|
||||
|
||||
detect_sensor() {
|
||||
insmod $MODULE/sensor_config.ko
|
||||
if [ -e /dev/srcfg ]; then
|
||||
echo srcfg 0 1 0 0 0 0 > /dev/srcfg
|
||||
rmmod sensor_config
|
||||
fi
|
||||
SENSOR=$(ipcinfo -s)
|
||||
}
|
||||
|
||||
set_sensor() {
|
||||
case $SENSOR in
|
||||
imx307|imx335|imx347|imx415)
|
||||
insmod $MODULE/sensor_${SENSOR}_mipi.ko chmap=1
|
||||
;;
|
||||
*)
|
||||
echo -e "\n\e[1;31mUNSUPPORTED sensor - $SENSOR\e[0m\n" | logger -s -t OpenIPC
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
insert_ko() {
|
||||
insmod $MODULE/mhal.ko
|
||||
insmod $MODULE/mi_common.ko
|
||||
insmod $MODULE/mi_sys.ko cmdQBufSize=768 logBufSize=256
|
||||
insmod $MODULE/mi_rgn.ko
|
||||
insmod $MODULE/mi_ldc.ko
|
||||
insmod $MODULE/mi_ai.ko
|
||||
insmod $MODULE/mi_ao.ko
|
||||
insmod $MODULE/mi_mipitx.ko
|
||||
insmod $MODULE/mi_sensor.ko
|
||||
insmod $MODULE/mi_shadow.ko
|
||||
insmod $MODULE/mi_divp.ko
|
||||
insmod $MODULE/mi_vif.ko
|
||||
insmod $MODULE/mi_vpe.ko
|
||||
insmod $MODULE/mi_venc.ko fw_path=/etc/firmware/chagall.bin
|
||||
|
||||
MAJOR=$(awk '$2=="mi_poll" {print $1}' /proc/devices)
|
||||
mknod /dev/mi_poll c "$MAJOR" 0
|
||||
echo isproot /etc/firmware > /dev/ispmid
|
||||
}
|
||||
|
||||
if [ ! -e /sys/module/mi_common ]; then
|
||||
insert_ko
|
||||
fi
|
||||
|
||||
echo -e "\n\e[1;33mAutodetect sensor\e[0m\n" | logger -s -t OpenIPC
|
||||
detect_sensor
|
||||
|
||||
if [ -z "$SENSOR" ]; then
|
||||
echo -e "\n\e[1;31mSensor parameter MISSING\e[0m\n" | logger -s -t OpenIPC
|
||||
exit 1
|
||||
fi
|
||||
|
||||
DRIVER=$(ls /sys/module | grep $SENSOR)
|
||||
if [ -n "$DRIVER" ]; then
|
||||
rmmod $DRIVER
|
||||
fi
|
||||
|
||||
echo -e "\n\e[1;32mSensor assigned - $SENSOR\e[0m\n" | logger -s -t OpenIPC
|
||||
set_sensor
|
||||
|
||||
# Custom settings
|
||||
gpio set 29
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,12 @@
|
||||
/etc/sensors/gc2053.bin
|
||||
/etc/sensors/gc4653.bin
|
||||
/etc/sensors/sc501ai.bin
|
||||
/lib/modules/4.9.84/kernel/fs/lockd/*.ko
|
||||
/lib/modules/4.9.84/kernel/fs/nfs/*.ko
|
||||
/lib/modules/4.9.84/kernel/fs/nfs_common/*.ko
|
||||
/lib/modules/4.9.84/kernel/net/sunrpc/*.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_gc2053_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_gc4653_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_os04c10_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_sc501ai_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_sc8235_mipi.ko
|
||||
@@ -0,0 +1,69 @@
|
||||
# Architecture
|
||||
BR2_arm=y
|
||||
BR2_cortex_a7=y
|
||||
BR2_ARM_FPU_NEON_VFPV4=y
|
||||
BR2_ARM_INSTRUCTIONS_THUMB2=y
|
||||
|
||||
# Toolchain
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_URL="https://github.com/openipc/firmware/releases/download/$(OPENIPC_TOOLCHAIN).tgz"
|
||||
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="arm-openipc-linux-gnueabihf"
|
||||
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_9=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
|
||||
# BR2_TOOLCHAIN_EXTERNAL_INET_RPC is not set
|
||||
BR2_TOOLCHAIN_EXTERNAL_CXX=y
|
||||
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/openipc/linux/archive/$(OPENIPC_KERNEL).tar.gz"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(EXTERNAL_VENDOR)/board/$(OPENIPC_SOC_FAMILY)/infinity6e-ssc012b.config"
|
||||
BR2_LINUX_KERNEL_UIMAGE=y
|
||||
BR2_LINUX_KERNEL_XZ=y
|
||||
|
||||
# Filesystem
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL)/package/busybox/busybox.config"
|
||||
BR2_PACKAGE_EXFATPROGS=y
|
||||
BR2_PACKAGE_UBOOT_TOOLS=y
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
|
||||
BR2_PACKAGE_WIRELESS_TOOLS=y
|
||||
BR2_PACKAGE_WPA_SUPPLICANT=y
|
||||
BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
|
||||
BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
|
||||
BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
|
||||
BR2_TARGET_ROOTFS_CPIO=y
|
||||
BR2_TARGET_ROOTFS_SQUASHFS=y
|
||||
BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y
|
||||
|
||||
# OpenIPC
|
||||
BR2_OPENIPC_SOC_VENDOR="sigmastar"
|
||||
BR2_OPENIPC_SOC_MODEL="ssc338q"
|
||||
BR2_OPENIPC_SOC_FAMILY="infinity6e"
|
||||
BR2_OPENIPC_VARIANT="rubyfpv"
|
||||
BR2_OPENIPC_FLASH_SIZE="16"
|
||||
|
||||
# Packages
|
||||
BR2_PACKAGE_DROPBEAR_OPENIPC=y
|
||||
BR2_PACKAGE_EXFAT_OPENIPC=y
|
||||
BR2_PACKAGE_IPCTOOL=y
|
||||
BR2_PACKAGE_JSONFILTER=y
|
||||
BR2_PACKAGE_LIBCURL_OPENIPC=y
|
||||
BR2_PACKAGE_LIBCURL_OPENIPC_CURL=y
|
||||
# BR2_PACKAGE_LIBCURL_OPENIPC_PROXY_SUPPORT is not set
|
||||
# BR2_PACKAGE_LIBCURL_OPENIPC_COOKIES_SUPPORT is not set
|
||||
# BR2_PACKAGE_LIBCURL_OPENIPC_EXTRA_PROTOCOLS_FEATURES is not set
|
||||
BR2_PACKAGE_LIBOGG_OPENIPC=y
|
||||
BR2_PACKAGE_MAJESTIC=y
|
||||
BR2_PACKAGE_MBEDTLS_OPENIPC=y
|
||||
BR2_PACKAGE_OPUS_OPENIPC=y
|
||||
BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y
|
||||
BR2_PACKAGE_RTL8733BU_OPENIPC=y
|
||||
BR2_PACKAGE_RTL8812AU_OPENIPC=y
|
||||
BR2_PACKAGE_RTL8812EU_OPENIPC=y
|
||||
BR2_PACKAGE_RUBYFPV=y
|
||||
BR2_PACKAGE_SIGMASTAR_OSDRV_INFINITY6E=y
|
||||
BR2_PACKAGE_YAML_CLI=y
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Set custom upgrade url
|
||||
fw_setenv upgrade 'https://github.com/OpenIPC/builder/releases/download/latest/ssc338q_rubyfpv_thinker-nor.tgz'
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,72 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# OpenIPC.org | 2024
|
||||
#
|
||||
|
||||
MODULE=/lib/modules/4.9.84/sigmastar
|
||||
|
||||
detect_sensor() {
|
||||
insmod $MODULE/sensor_config.ko
|
||||
if [ -e /dev/srcfg ]; then
|
||||
echo srcfg 0 1 0 0 0 0 > /dev/srcfg
|
||||
rmmod sensor_config
|
||||
fi
|
||||
SENSOR=$(ipcinfo -s)
|
||||
}
|
||||
|
||||
set_sensor() {
|
||||
case $SENSOR in
|
||||
imx307|imx335|imx347|imx415)
|
||||
insmod $MODULE/sensor_${SENSOR}_mipi.ko chmap=1
|
||||
;;
|
||||
*)
|
||||
echo -e "\n\e[1;31mUNSUPPORTED sensor - $SENSOR\e[0m\n" | logger -s -t OpenIPC
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
insert_ko() {
|
||||
insmod $MODULE/mhal.ko
|
||||
insmod $MODULE/mi_common.ko
|
||||
insmod $MODULE/mi_sys.ko cmdQBufSize=768 logBufSize=256
|
||||
insmod $MODULE/mi_rgn.ko
|
||||
insmod $MODULE/mi_ldc.ko
|
||||
insmod $MODULE/mi_ai.ko
|
||||
insmod $MODULE/mi_ao.ko
|
||||
insmod $MODULE/mi_mipitx.ko
|
||||
insmod $MODULE/mi_sensor.ko
|
||||
insmod $MODULE/mi_shadow.ko
|
||||
insmod $MODULE/mi_divp.ko
|
||||
insmod $MODULE/mi_vif.ko
|
||||
insmod $MODULE/mi_vpe.ko
|
||||
insmod $MODULE/mi_venc.ko fw_path=/etc/firmware/chagall.bin
|
||||
|
||||
MAJOR=$(awk '$2=="mi_poll" {print $1}' /proc/devices)
|
||||
mknod /dev/mi_poll c "$MAJOR" 0
|
||||
echo isproot /etc/firmware > /dev/ispmid
|
||||
}
|
||||
|
||||
if [ ! -e /sys/module/mi_common ]; then
|
||||
insert_ko
|
||||
fi
|
||||
|
||||
echo -e "\n\e[1;33mAutodetect sensor\e[0m\n" | logger -s -t OpenIPC
|
||||
detect_sensor
|
||||
|
||||
if [ -z "$SENSOR" ]; then
|
||||
echo -e "\n\e[1;31mSensor parameter MISSING\e[0m\n" | logger -s -t OpenIPC
|
||||
exit 1
|
||||
fi
|
||||
|
||||
DRIVER=$(ls /sys/module | grep $SENSOR)
|
||||
if [ -n "$DRIVER" ]; then
|
||||
rmmod $DRIVER
|
||||
fi
|
||||
|
||||
echo -e "\n\e[1;32mSensor assigned - $SENSOR\e[0m\n" | logger -s -t OpenIPC
|
||||
set_sensor
|
||||
|
||||
# Custom settings
|
||||
gpio set 29
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,12 @@
|
||||
/etc/sensors/gc2053.bin
|
||||
/etc/sensors/gc4653.bin
|
||||
/etc/sensors/sc501ai.bin
|
||||
/lib/modules/4.9.84/kernel/fs/lockd/*.ko
|
||||
/lib/modules/4.9.84/kernel/fs/nfs/*.ko
|
||||
/lib/modules/4.9.84/kernel/fs/nfs_common/*.ko
|
||||
/lib/modules/4.9.84/kernel/net/sunrpc/*.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_gc2053_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_gc4653_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_os04c10_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_sc501ai_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_sc8235_mipi.ko
|
||||
Reference in New Issue
Block a user