mirror of https://github.com/OpenIPC/firmware.git
Sigmastar: update infinity6b0 package
parent
d88527047f
commit
14a9b7107c
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -2077,14 +2077,7 @@ CONFIG_DCACHE_WORD_ACCESS=y
|
|||
# CONFIG_OCFS2_FS is not set
|
||||
# CONFIG_BTRFS_FS is not set
|
||||
# CONFIG_NILFS2_FS is not set
|
||||
CONFIG_F2FS_FS=m
|
||||
CONFIG_F2FS_STAT_FS=y
|
||||
CONFIG_F2FS_FS_XATTR=y
|
||||
CONFIG_F2FS_FS_POSIX_ACL=y
|
||||
# CONFIG_F2FS_FS_SECURITY is not set
|
||||
# CONFIG_F2FS_CHECK_FS is not set
|
||||
# CONFIG_F2FS_FS_ENCRYPTION is not set
|
||||
# CONFIG_F2FS_FAULT_INJECTION is not set
|
||||
# CONFIG_F2FS_FS is not set
|
||||
CONFIG_FS_POSIX_ACL=y
|
||||
# CONFIG_EXPORTFS_BLOCK_OPS is not set
|
||||
CONFIG_FILE_LOCKING=y
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1 +0,0 @@
|
|||
ssc335.initramfs.config.test01
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -733,7 +733,8 @@ CONFIG_MAC80211_MESH=y
|
|||
# CONFIG_MAC80211_DEBUG_MENU is not set
|
||||
CONFIG_MAC80211_STA_HASH_MAX_SIZE=0
|
||||
# CONFIG_WIMAX is not set
|
||||
# CONFIG_RFKILL is not set
|
||||
CONFIG_RFKILL=y
|
||||
CONFIG_RFKILL_GPIO=y
|
||||
# CONFIG_NET_9P is not set
|
||||
# CONFIG_CAIF is not set
|
||||
# CONFIG_CEPH_LIB is not set
|
||||
|
@ -2077,14 +2078,7 @@ CONFIG_DCACHE_WORD_ACCESS=y
|
|||
# CONFIG_OCFS2_FS is not set
|
||||
# CONFIG_BTRFS_FS is not set
|
||||
# CONFIG_NILFS2_FS is not set
|
||||
CONFIG_F2FS_FS=m
|
||||
CONFIG_F2FS_STAT_FS=y
|
||||
CONFIG_F2FS_FS_XATTR=y
|
||||
CONFIG_F2FS_FS_POSIX_ACL=y
|
||||
# CONFIG_F2FS_FS_SECURITY is not set
|
||||
# CONFIG_F2FS_CHECK_FS is not set
|
||||
# CONFIG_F2FS_FS_ENCRYPTION is not set
|
||||
# CONFIG_F2FS_FAULT_INJECTION is not set
|
||||
# CONFIG_F2FS_FS is not set
|
||||
CONFIG_FS_POSIX_ACL=y
|
||||
# CONFIG_EXPORTFS_BLOCK_OPS is not set
|
||||
CONFIG_FILE_LOCKING=y
|
||||
|
|
|
@ -79,7 +79,7 @@ BR2_PACKAGE_MICROBE_WEB=y
|
|||
# BR2_PACKAGE_MOTORS is not set
|
||||
BR2_PACKAGE_OPUS_OPENIPC=y
|
||||
BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y
|
||||
BR2_PACKAGE_SIGMASTAR_OSDRV_SSC335=y
|
||||
BR2_PACKAGE_SIGMASTAR_OSDRV_INFINITY6B0=y
|
||||
# BR2_PACKAGE_SSHPASS is not set
|
||||
BR2_PACKAGE_UACME_OPENIPC=y
|
||||
BR2_PACKAGE_VTUND_OPENIPC=y
|
||||
|
|
|
@ -80,7 +80,7 @@ BR2_PACKAGE_MICROBE_WEB=y
|
|||
# BR2_PACKAGE_MOTORS is not set
|
||||
BR2_PACKAGE_OPUS_OPENIPC=y
|
||||
BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y
|
||||
BR2_PACKAGE_SIGMASTAR_OSDRV_SSC335=y
|
||||
BR2_PACKAGE_SIGMASTAR_OSDRV_INFINITY6B0=y
|
||||
# BR2_PACKAGE_SSHPASS is not set
|
||||
BR2_PACKAGE_UACME_OPENIPC=y
|
||||
BR2_PACKAGE_VTUND_OPENIPC=y
|
||||
|
|
|
@ -80,11 +80,13 @@ BR2_PACKAGE_MICROBE_WEB=y
|
|||
# BR2_PACKAGE_MOTORS is not set
|
||||
BR2_PACKAGE_OPUS_OPENIPC=y
|
||||
BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y
|
||||
BR2_PACKAGE_SIGMASTAR_OSDRV_SSC335=y
|
||||
BR2_PACKAGE_SIGMASTAR_OSDRV_INFINITY6B0=y
|
||||
# BR2_PACKAGE_SSHPASS is not set
|
||||
BR2_PACKAGE_UACME_OPENIPC=y
|
||||
BR2_PACKAGE_VTUND_OPENIPC=y
|
||||
BR2_PACKAGE_YAML_CLI=y
|
||||
BR2_PACKAGE_EXFAT_OPENIPC=y
|
||||
BR2_PACKAGE_EXFATPROGS=y
|
||||
|
||||
# WiFi
|
||||
BR2_PACKAGE_WIRELESS_TOOLS=y
|
||||
|
|
|
@ -80,11 +80,13 @@ BR2_PACKAGE_MICROBE_WEB=y
|
|||
# BR2_PACKAGE_MOTORS is not set
|
||||
BR2_PACKAGE_OPUS_OPENIPC=y
|
||||
BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y
|
||||
BR2_PACKAGE_SIGMASTAR_OSDRV_SSC335=y
|
||||
BR2_PACKAGE_SIGMASTAR_OSDRV_INFINITY6B0=y
|
||||
# BR2_PACKAGE_SSHPASS is not set
|
||||
BR2_PACKAGE_UACME_OPENIPC=y
|
||||
BR2_PACKAGE_VTUND_OPENIPC=y
|
||||
BR2_PACKAGE_YAML_CLI=y
|
||||
BR2_PACKAGE_EXFAT_OPENIPC=y
|
||||
BR2_PACKAGE_EXFATPROGS=y
|
||||
|
||||
# WiFi
|
||||
BR2_PACKAGE_WIRELESS_TOOLS=y
|
||||
|
|
|
@ -80,11 +80,13 @@ BR2_PACKAGE_MICROBE_WEB=y
|
|||
# BR2_PACKAGE_MOTORS is not set
|
||||
BR2_PACKAGE_OPUS_OPENIPC=y
|
||||
BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y
|
||||
BR2_PACKAGE_SIGMASTAR_OSDRV_SSC335=y
|
||||
BR2_PACKAGE_SIGMASTAR_OSDRV_INFINITY6B0=y
|
||||
# BR2_PACKAGE_SSHPASS is not set
|
||||
BR2_PACKAGE_UACME_OPENIPC=y
|
||||
BR2_PACKAGE_VTUND_OPENIPC=y
|
||||
BR2_PACKAGE_YAML_CLI=y
|
||||
BR2_PACKAGE_EXFAT_OPENIPC=y
|
||||
BR2_PACKAGE_EXFATPROGS=y
|
||||
|
||||
# WiFi
|
||||
BR2_PACKAGE_WIRELESS_TOOLS=y
|
||||
|
|
|
@ -80,11 +80,13 @@ BR2_PACKAGE_MICROBE_WEB=y
|
|||
# BR2_PACKAGE_MOTORS is not set
|
||||
BR2_PACKAGE_OPUS_OPENIPC=y
|
||||
BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y
|
||||
BR2_PACKAGE_SIGMASTAR_OSDRV_SSC335=y
|
||||
BR2_PACKAGE_SIGMASTAR_OSDRV_INFINITY6B0=y
|
||||
# BR2_PACKAGE_SSHPASS is not set
|
||||
BR2_PACKAGE_UACME_OPENIPC=y
|
||||
BR2_PACKAGE_VTUND_OPENIPC=y
|
||||
BR2_PACKAGE_YAML_CLI=y
|
||||
BR2_PACKAGE_EXFAT_OPENIPC=y
|
||||
BR2_PACKAGE_EXFATPROGS=y
|
||||
|
||||
# WiFi
|
||||
BR2_PACKAGE_WIRELESS_TOOLS=y
|
||||
|
@ -95,7 +97,9 @@ BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
|
|||
BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC_MEDIATEK_MT7601U=y
|
||||
# BR2_PACKAGE_RTL8188EU is not set
|
||||
# BR2_PACKAGE_RTL8188FU is not set
|
||||
# BR2_PACKAGE_RTL8192EU_OPENIPC is not set
|
||||
# BR2_PACKAGE_WIRELESS_CONFIGURATION is not set
|
||||
|
||||
# WIREGUARD
|
||||
# BR2_PACKAGE_WIREGUARD_LINUX_COMPAT is not set
|
||||
|
|
|
@ -95,7 +95,7 @@ BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
|
|||
BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
|
||||
BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y
|
||||
BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
|
||||
BR2_PACKAGE_RTL8733BU_OPENIPC=y
|
||||
BR2_PACKAGE_RTL8733BU=y
|
||||
# BR2_PACKAGE_WIRELESS_CONFIGURATION is not set
|
||||
|
||||
# Debug
|
||||
|
|
|
@ -100,7 +100,7 @@ BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
|
|||
BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
|
||||
BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y
|
||||
BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
|
||||
BR2_PACKAGE_RTL8733BU_OPENIPC=y
|
||||
BR2_PACKAGE_RTL8733BU=y
|
||||
BR2_PACKAGE_WIRELESS_CONFIGURATION=y
|
||||
|
||||
# Debug
|
||||
|
|
|
@ -70,15 +70,16 @@ source "$BR2_EXTERNAL_GENERAL_PATH/package/quirc-openipc/Config.in"
|
|||
source "$BR2_EXTERNAL_GENERAL_PATH/package/rcjoystick/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/rockchip-osdrv-rv11xx/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/rtl8188eus-openipc/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/rtl8188fu/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/rtl8188fu-openipc/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/rtl8189fs-openipc/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/rtl8192eu-openipc/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/rtl8733bu-openipc/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/rtl8733bu/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/rtl8812au-openipc/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/rtw-hostapd/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/sigmastar-osdrv-infinity6b0/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/sigmastar-osdrv-infinity6e/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/sigmastar-osdrv-msc313e/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/sigmastar-osdrv-ssc335/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/ssw101b/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/uacme-openipc/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/uqmi-openipc/Config.in"
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
config BR2_PACKAGE_RTL8188FU
|
||||
bool "rtl8188fu"
|
||||
depends on BR2_LINUX_KERNEL
|
||||
help
|
||||
RTL8188FU wireless driver
|
|
@ -0,0 +1,20 @@
|
|||
################################################################################
|
||||
#
|
||||
# rtl8188fu
|
||||
#
|
||||
################################################################################
|
||||
|
||||
RTL8188FU_SITE_METHOD = git
|
||||
RTL8188FU_SITE = https://github.com/viktorxda/realtek_wlan
|
||||
RTL8188FU_VERSION = fe80762a68870d1c29111ea822d2be7f8fcdb935
|
||||
|
||||
RTL8188FU_LICENSE = GPL-2.0
|
||||
RTL8188FU_LICENSE_FILES = COPYING
|
||||
|
||||
RTL8188FU_MODULE_MAKE_OPTS = \
|
||||
CONFIG_RTL8188FU=m \
|
||||
KVER=$(LINUX_VERSION_PROBED) \
|
||||
KSRC=$(LINUX_DIR)
|
||||
|
||||
$(eval $(kernel-module))
|
||||
$(eval $(generic-package))
|
|
@ -1,7 +0,0 @@
|
|||
config BR2_PACKAGE_RTL8733BU_OPENIPC
|
||||
bool "rtl8733bu-openipc"
|
||||
help
|
||||
RTL8733BU wifi driver
|
||||
|
||||
comment "RTL8733BU needs a Linux kernel to be built"
|
||||
depends on !BR2_LINUX_KERNEL
|
|
@ -1,19 +0,0 @@
|
|||
################################################################################
|
||||
#
|
||||
# rtl8733bu-openipc
|
||||
#
|
||||
################################################################################
|
||||
|
||||
RTL8733BU_OPENIPC_SITE_METHOD = git
|
||||
RTL8733BU_OPENIPC_SITE = https://github.com/openipc/rtl8733bu
|
||||
RTL8733BU_OPENIPC_VERSION = $(shell git ls-remote $(RTL8733BU_OPENIPC_SITE) HEAD | head -1 | awk '{ print $$1 }')
|
||||
|
||||
RTL8733BU_OPENIPC_LICENSE = GPL-2.0
|
||||
RTL8733BU_OPENIPC_LICENSE_FILES = COPYING
|
||||
|
||||
RTL8733BU_OPENIPC_MODULE_MAKE_OPTS = \
|
||||
CONFIG_RTL8733BU=m \
|
||||
KSRC=$(LINUX_DIR)
|
||||
|
||||
$(eval $(kernel-module))
|
||||
$(eval $(generic-package))
|
|
@ -0,0 +1,5 @@
|
|||
config BR2_PACKAGE_RTL8733BU
|
||||
bool "rtl8733bu"
|
||||
depends on BR2_LINUX_KERNEL
|
||||
help
|
||||
RTL8733BU wireless driver
|
|
@ -0,0 +1,20 @@
|
|||
################################################################################
|
||||
#
|
||||
# rtl8733bu
|
||||
#
|
||||
################################################################################
|
||||
|
||||
RTL8733BU_SITE_METHOD = git
|
||||
RTL8733BU_SITE = https://github.com/viktorxda/realtek_wlan
|
||||
RTL8733BU_VERSION = 1c6ac15690e39570ffdeb81c16a136a35fe2563e
|
||||
|
||||
RTL8733BU_LICENSE = GPL-2.0
|
||||
RTL8733BU_LICENSE_FILES = COPYING
|
||||
|
||||
RTL8733BU_MODULE_MAKE_OPTS = \
|
||||
CONFIG_RTL8733BU=m \
|
||||
KVER=$(LINUX_VERSION_PROBED) \
|
||||
KSRC=$(LINUX_DIR)
|
||||
|
||||
$(eval $(kernel-module))
|
||||
$(eval $(generic-package))
|
|
@ -0,0 +1,4 @@
|
|||
config BR2_PACKAGE_SIGMASTAR_OSDRV_INFINITY6B0
|
||||
bool "sigmastar-osdrv-infinity6b0"
|
||||
help
|
||||
sigmastar-osdrv-infinity6b0 - SigmaStar kernel modules and libs
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,6 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
# DAY mode
|
||||
ir_cut_enable() {
|
||||
# Pin_mux
|
||||
|
@ -23,7 +22,6 @@ ir_cut_enable() {
|
|||
echo "0" >/sys/class/gpio/gpio$gpio_1/value
|
||||
}
|
||||
|
||||
|
||||
# NIGHT mode
|
||||
ir_cut_disable() {
|
||||
# Pin_mux
|
||||
|
@ -46,11 +44,9 @@ ir_cut_disable() {
|
|||
echo "0" >/sys/class/gpio/gpio$gpio_1/value
|
||||
}
|
||||
|
||||
|
||||
gpio_0=0
|
||||
gpio_1=0
|
||||
|
||||
|
||||
if [ $# -lt 2 ]; then
|
||||
echo "Usage: ircut_demo <vendor> <mode>"
|
||||
echo "For example:"
|
|
@ -0,0 +1,90 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# OpenIPC.org | 2023.06.01
|
||||
#
|
||||
|
||||
PATH_MODULE=/lib/modules/4.9.84/sigmastar
|
||||
PATH_FIRMWARE=/etc/sensors/venc_fw/chagall.bin
|
||||
|
||||
# Sensor
|
||||
SENSOR=$(fw_printenv -n sensor)
|
||||
|
||||
# Watchdog
|
||||
watchdog -t 10 /dev/watchdog
|
||||
|
||||
set_sensor() {
|
||||
case $SENSOR in
|
||||
gc2053)
|
||||
# Untested | The information is obtained from the Gospell firmware
|
||||
insmod ${PATH_MODULE}/sensor_gc2053_mipi.ko chmap=1 lane_num=2 hdr_lane_num=2
|
||||
;;
|
||||
gc4653)
|
||||
# Untested | The information is obtained from the Anjoy firmware
|
||||
insmod ${PATH_MODULE}/sensor_gc4653_mipi.ko chmap=1
|
||||
;;
|
||||
imx307)
|
||||
# Untested | The information is obtained from the Anjoy and Brovotech (mclk=37.125M) firmware
|
||||
insmod ${PATH_MODULE}/sensor_imx307_mipi.ko chmap=1 lane_num=2 hdr_lane_num=2 mclk=37.125M
|
||||
;;
|
||||
imx335)
|
||||
# Untested | The information is obtained from the Anjoy firmware
|
||||
insmod ${PATH_MODULE}/sensor_imx335_mipi.ko chmap=1
|
||||
;;
|
||||
sc2239)
|
||||
# Untested | The information is obtained from the IMOU firmware
|
||||
insmod ${PATH_MODULE}/sensor_sc2239_mipi.ko chmap=1
|
||||
;;
|
||||
sc2335)
|
||||
# Untested | The information is obtained from the Tiandy firmware
|
||||
insmod ${PATH_MODULE}/sensor_sc2335_mipi.ko chmap=1 lane_num=2 hdr_lane_num=2
|
||||
;;
|
||||
sc3335)
|
||||
# Untested | The information is obtained from the Uniview firmware
|
||||
insmod ${PATH_MODULE}/sensor_sc3335_mipi.ko chmap=1
|
||||
;;
|
||||
auto)
|
||||
insmod ${PATH_MODULE}/sensor_imx307_mipi.ko chmap=1 lane_num=2 hdr_lane_num=2 mclk=37.125M
|
||||
insmod ${PATH_MODULE}/sensor_gc2053_mipi.ko chmap=1 lane_num=2 hdr_lane_num=2
|
||||
insmod ${PATH_MODULE}/sensor_sc2335_mipi.ko chmap=1 lane_num=2 hdr_lane_num=2
|
||||
;;
|
||||
*)
|
||||
echo -e "\n\e[1;31mAn UNSUPPORTED sensor type is specified - ${SENSOR}\e[0m\n" | logger -s -t OpenIPC
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
insert_ko() {
|
||||
insmod ${PATH_MODULE}/mhal.ko
|
||||
insmod ${PATH_MODULE}/mi_common.ko
|
||||
insmod ${PATH_MODULE}/mi_sys.ko cmdQBufSize=256 logBufSize=256
|
||||
insmod ${PATH_MODULE}/mi_rgn.ko
|
||||
insmod ${PATH_MODULE}/mi_ai.ko
|
||||
insmod ${PATH_MODULE}/mi_ao.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}
|
||||
set_sensor
|
||||
|
||||
major=$(awk '$2=="mi_poll" {print $1}' /proc/devices)
|
||||
mknod /dev/mi_poll c $major 0
|
||||
|
||||
echo isproot /etc/sensors/iqfile > /dev/ispmid
|
||||
mdev -s
|
||||
}
|
||||
|
||||
if [ -z ${SENSOR} ]; then
|
||||
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
|
||||
exit 1
|
||||
else
|
||||
echo -e "\n\e[1;32mThe sensor is assigned - ${SENSOR}\e[0m\n" | logger -s -t OpenIPC
|
||||
fi
|
||||
|
||||
if [ ! -e /dev/mi_poll ]; then
|
||||
insert_ko
|
||||
fi
|
||||
|
||||
exit 0
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,27 @@
|
|||
################################################################################
|
||||
#
|
||||
# sigmastar-osdrv-infinity6b0
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SIGMASTAR_OSDRV_INFINITY6B0_VERSION =
|
||||
SIGMASTAR_OSDRV_INFINITY6B0_SITE =
|
||||
SIGMASTAR_OSDRV_INFINITY6B0_LICENSE = MIT
|
||||
SIGMASTAR_OSDRV_INFINITY6B0_LICENSE_FILES = LICENSE
|
||||
|
||||
define SIGMASTAR_OSDRV_INFINITY6B0_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_INFINITY6B0_PKGDIR)/files/kmod/*.ko
|
||||
$(INSTALL) -m 644 -t $(TARGET_DIR)/lib/modules/4.9.84/sigmastar $(SIGMASTAR_OSDRV_INFINITY6B0_PKGDIR)/files/sensor/kmod/*.ko
|
||||
|
||||
$(INSTALL) -m 755 -d $(TARGET_DIR)/etc/sensors/iqfile
|
||||
$(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensors/iqfile $(SIGMASTAR_OSDRV_INFINITY6B0_PKGDIR)/files/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_INFINITY6B0_PKGDIR)/files/sensor/venc_fw/chagall.bin
|
||||
|
||||
$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/bin
|
||||
$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/bin $(SIGMASTAR_OSDRV_INFINITY6B0_PKGDIR)/files/script/bin/*
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -13,39 +13,39 @@ SENSOR=$(fw_printenv -n sensor)
|
|||
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
|
||||
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
|
||||
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
|
||||
|
||||
major=$(awk '$2=="mi_poll" {print $1}' /proc/devices)
|
||||
mknod /dev/mi_poll c $major 0
|
||||
major=$(awk '$2=="mi_poll" {print $1}' /proc/devices)
|
||||
mknod /dev/mi_poll c $major 0
|
||||
|
||||
echo isproot /etc/sensors/iqfile > /dev/ispmid
|
||||
mdev -s
|
||||
echo isproot /etc/sensors/iqfile > /dev/ispmid
|
||||
mdev -s
|
||||
}
|
||||
|
||||
if [ -z ${SENSOR} ]; then
|
||||
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
|
||||
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
|
||||
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 [ ! -e /dev/mi_poll ]; then
|
||||
insert_ko
|
||||
insert_ko
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
|
|
@ -9,21 +9,19 @@ SIGMASTAR_OSDRV_INFINITY6E_SITE =
|
|||
SIGMASTAR_OSDRV_INFINITY6E_LICENSE = MIT
|
||||
SIGMASTAR_OSDRV_INFINITY6E_LICENSE_FILES = LICENSE
|
||||
|
||||
SIGMASTAR_OSDRV_INFINITY6E_PATH = $(SIGMASTAR_OSDRV_INFINITY6E_PKGDIR)/files
|
||||
|
||||
define SIGMASTAR_OSDRV_INFINITY6E_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/bin
|
||||
$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/bin $(SIGMASTAR_OSDRV_INFINITY6E_PATH)/script/bin/*
|
||||
|
||||
$(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/kmod/*.ko
|
||||
$(INSTALL) -m 644 -t $(TARGET_DIR)/lib/modules/4.9.84/sigmastar $(SIGMASTAR_OSDRV_INFINITY6E_PKGDIR)/files/kmod/*.ko
|
||||
$(INSTALL) -m 644 -t $(TARGET_DIR)/lib/modules/4.9.84/sigmastar $(SIGMASTAR_OSDRV_INFINITY6E_PKGDIR)/files/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/iqfile/iqfile0.bin
|
||||
$(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensors/iqfile $(SIGMASTAR_OSDRV_INFINITY6E_PKGDIR)/files/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
|
||||
$(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensors/venc_fw $(SIGMASTAR_OSDRV_INFINITY6E_PKGDIR)/files/sensor/venc_fw/chagall.bin
|
||||
|
||||
$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/bin
|
||||
$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/bin $(SIGMASTAR_OSDRV_INFINITY6E_PKGDIR)/files/script/bin/*
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
config BR2_PACKAGE_SIGMASTAR_OSDRV_SSC335
|
||||
bool "sigmastar-osdrv-ssc335"
|
||||
help
|
||||
sigmastar-osdrv-ssc335 - SigmaStar kernel modules and libs
|
||||
|
||||
https://openipc.org
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue